/* ============================================================
   HELIOCASTLE — PLAN PAGE
   One plan, explained: the opening frame with the price, the three
   things that make it different, what it carries up from the plans
   below it, and how the work runs.
   ============================================================ */

.plan-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(130px, 14vw, 180px) var(--pad-x) clamp(60px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.plan-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
  align-items: center;
  gap: clamp(30px, 4vw, 70px);
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.plan-hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 12px;
}
.plan-hero-title em { font-style: normal; color: var(--gold); }

.plan-hero-rule {
  display: block;
  width: 58px;
  height: 2px;
  margin: 26px 0 0;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.plan-hero-lead {
  max-width: 46ch;
  margin-top: 26px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.9;
}

/* --- the price --- */
.plan-figure {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: clamp(30px, 3.4vw, 44px);
}
.plan-figure span {
  font-family: var(--serif);
  font-size: clamp(17px, 1.7vw, 24px);
  color: var(--text);
}
.plan-figure b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  color: var(--gold);
}
.plan-figure-note {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.plan-hero .btn { margin-top: clamp(26px, 3vw, 38px); }

/* --- the screens ---
   Only a wrapper now. The tablet and phone are drawn in plan-devices.css
   and carry their own glow and floor, so nothing here should style the
   images inside: a `.plan-shot img { width: 100% }` left over from an
   earlier photograph outranks the mark's own width and blows it up to
   fill the screen. */
.plan-shot { position: relative; }

/* ============================================================
   THE THREE THINGS THIS PLAN ADDS
   ============================================================ */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  margin-top: clamp(34px, 4vw, 54px);
}

.pillar-card {
  position: relative;
  padding: clamp(26px, 2.4vw, 38px);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.pillar-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 0.6s var(--ease);
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgb(var(--accent-rgb) / 0.28);
  box-shadow: 0 26px 55px rgb(var(--shadow-rgb) / calc(0.5 * var(--shadow-a)));
}
.pillar-card:hover::before { width: 100%; }

.pillar-icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
  stroke-width: 1.2;
  margin-bottom: 20px;
}
.pillar-card h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pillar-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================================
   WHAT IT CARRIES UP FROM THE PLANS BELOW
   ============================================================ */

.carries {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 2vw, 30px);
  margin-top: clamp(30px, 3.4vw, 44px);
}

.carry {
  padding: clamp(24px, 2.2vw, 34px);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 2px solid rgb(var(--accent-rgb) / 0.45);
}
.carry h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.carry h3 b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.carry ul { list-style: none; display: grid; gap: 10px; }
.carry li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 11px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgb(var(--ink-rgb) / 0.8);
}
.carry svg { width: 16px; height: 16px; margin-top: 2px; color: var(--gold); }
