/* ==========================================================================
   Wicker — landing page sections
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 4vh);
  padding-bottom: clamp(1.5rem, 3vh, 3rem);
  overflow: clip;
  background: var(--navy);
}

.hero__bg {
  position: absolute;
  inset: -10% -5% -20%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

/* A slow-breathing glow behind the headline. */
.hero__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(1100px, 120vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(217, 124, 80, 0.11), rgba(217, 124, 80, 0.03) 38%, transparent 66%);
  filter: blur(24px);
  animation: breathe 9s var(--ease-in-out) infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%      { transform: scale(1.13); opacity: 1; }
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: clamp(60px, 8vw, 120px) clamp(60px, 8vw, 120px);
  mask-image: radial-gradient(ellipse 85% 70% at 50% 45%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 45%, #000 25%, transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4vh, 3rem);
  flex: 1;
  justify-content: flex-end;
}

.hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: auto;
}

/* Sized so the headline, the lede and the stat strip all clear a 900px-tall
   viewport. Bigger than this and the strip falls below the fold. */
.hero__title {
  font-size: clamp(2.6rem, 8.6vw, 9.25rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  font-weight: 500;
  text-transform: uppercase;
}

.hero__title .font-serif {
  text-transform: none;
  letter-spacing: -0.03em;
  padding-right: 0.08em;
}

.hero__title .outline {
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.55);
}

.hero__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  padding-top: clamp(1rem, 2.5vh, 2rem);
  border-top: 1px solid var(--line-dark-soft);
}

@media (max-width: 900px) {
  .hero__meta { grid-template-columns: 1fr; align-items: start; }
}

.hero__lede {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--gray-300);
  max-width: 46ch;
}

.hero__lede strong { color: var(--on-navy); font-weight: 500; }

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: flex-start;
}

@media (min-width: 901px) {
  .hero__cta { align-items: flex-end; }
}

/* Sits in the hero__top row rather than pinned to the bottom edge, where it
   would land on top of the stat strip. */
.hero__cue {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.hero__cue i {
  display: block;
  width: 22px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--copper));
  animation: cue 2.2s var(--ease-in-out) infinite;
  transform-origin: left;
}

@keyframes cue {
  0%   { transform: scaleX(0); opacity: 0; }
  40%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1) translateX(22px); opacity: 0; }
}

/* Hero stat strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark-soft);
}

@media (max-width: 760px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

.hero-stats__item {
  padding: clamp(1.25rem, 2.4vw, 2rem) 0;
  padding-right: 1.5rem;
  border-right: 1px solid var(--line-dark-soft);
}

.hero-stats__item:last-child { border-right: 0; }

@media (max-width: 760px) {
  .hero-stats__item:nth-child(2n) { border-right: 0; }
  .hero-stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark-soft); }
}

.hero-stats__n {
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 0.1em;
}

.hero-stats__n sup {
  font-size: 0.42em;
  font-family: var(--font-mono);
  color: var(--c-accent);
  top: -0.9em;
}

.hero-stats__l {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 0.7rem;
  max-width: 22ch;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Manifesto
   -------------------------------------------------------------------------- */

.manifesto {
  padding-block: clamp(6rem, 16vh, 13rem);
}

.manifesto__text {
  font-size: clamp(1.75rem, 4.4vw, 4.25rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 400;
  max-width: 20ch;
}

.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

@media (max-width: 900px) { .manifesto__grid { grid-template-columns: 1fr; } }

.manifesto__aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
}

.manifesto__aside p { font-size: 0.9375rem; line-height: 1.7; color: var(--c-mute); }

/* --------------------------------------------------------------------------
   Capability grid
   -------------------------------------------------------------------------- */

.caps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}

@media (max-width: 1000px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .caps { grid-template-columns: 1fr; } }

.cap {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  min-height: clamp(240px, 26vw, 330px);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
}

.cap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Follows the pointer — set by home.js, with a sane fallback. */
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 100%),
    rgba(217, 124, 80, 0.13),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.cap:hover::before { opacity: 1; }

.cap__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: auto;
}

.cap__n {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--c-mute);
}

.cap__icon {
  width: 40px;
  height: 40px;
  color: var(--c-ink);
  transition: transform 0.6s var(--ease-out-expo), color 0.4s var(--ease-out);
}

.cap:hover .cap__icon { transform: translateY(-4px) rotate(-3deg); color: var(--c-accent); }

.cap__title {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
}

.cap__body {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--c-mute);
  max-width: 38ch;
}

.cap__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.cap__tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-mute);
  border: 1px solid var(--c-line);
  border-radius: 3px;
  padding: 0.2rem 0.45rem;
}

/* --------------------------------------------------------------------------
   Pinned rails sequence
   -------------------------------------------------------------------------- */

.rails { position: relative; }

/* ---- Default: the panels simply flow, one after another. --------------
   This is what renders with JavaScript off, under prefers-reduced-motion,
   and on narrow screens. It must be readable on its own — the stacked
   crossfade below is an enhancement, not the baseline. Making the stacked
   state the default left three of the four panels at opacity 0 whenever the
   script did not run. */
.rails__pin {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vh, 5rem);
  padding-block: clamp(3.5rem, 9vh, 6rem);
}

.rails__panel {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 951px) {
  .rails__panel {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 5rem);
  }
}

/* ---- Enhanced: home.js adds .is-stacked only when it is actually going to
   drive the crossfade (wide viewport, motion allowed, ScrollTrigger up).
   Panels overlap in one pinned box, inset from the compact nav above and the
   progress rail below so neither can land on the copy. */
.rails.is-stacked .rails__pin {
  display: block;
  height: 100svh;
  overflow: hidden;
  gap: 0;
  padding-block: 0;
}

.rails.is-stacked .rails__panel {
  position: absolute;
  top: calc(var(--nav-h-compact) + 1.25rem);
  bottom: 5.25rem;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.rails.is-stacked .rails__panel:first-child { opacity: 1; }
.rails.is-stacked .rails__panel.is-active { pointer-events: auto; }

.rails__copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.rails__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.rails__title {
  font-size: clamp(1.75rem, 3.3vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.rails__body {
  font-size: clamp(0.95rem, 1.15vw, 1.0625rem);
  line-height: 1.65;
  color: var(--gray-300);
  max-width: 44ch;
}

.rails__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

.rails__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--gray-300);
  line-height: 1.55;
}

.rails__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  flex: none;
  margin-top: 0.55em;
}

.rails__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: linear-gradient(160deg, #16243C, #0A152A);
  overflow: hidden;
}

/* Inside the pinned box, size from HEIGHT instead, so a short laptop viewport
   shrinks the art rather than clipping it. */
.rails.is-stacked .rails__stage {
  height: 100%;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  justify-self: end;
}

.rails__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(1rem, 2.5vw, 2.25rem);
  will-change: transform;
}

/* Progress rail along the bottom of the pinned block. It only means anything
   while the panels are stacked, so it does not exist otherwise. */
.rails__nav { display: none; }

.rails.is-stacked .rails__nav {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(1.75rem, 5vh, 3.5rem);
  z-index: 3;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.rails__nav-item {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.4s var(--ease-out);
}

.rails__nav-item.is-active { color: var(--on-navy); }

.rails__nav-item i {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--gray-700);
  overflow: hidden;
  position: relative;
}

.rails__nav-item i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.rails__nav-item.is-active i::after,
.rails__nav-item.is-done i::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Hardware
   -------------------------------------------------------------------------- */

.hardware__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 950px) { .hardware__grid { grid-template-columns: 1fr; } }

.hardware__art {
  position: relative;
  will-change: transform;
}

.hardware__art img { width: 100%; }

.hardware__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--c-line);
}

.hardware__spec {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--c-line);
  padding-right: 1.25rem;
}

.hardware__spec:nth-child(odd) { border-right: 1px solid var(--c-line); padding-right: 1.25rem; }
.hardware__spec:nth-child(even) { padding-left: 1.25rem; }

.hardware__spec dt {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 0.4rem;
}

.hardware__spec dd { font-size: 0.9375rem; letter-spacing: -0.015em; }

.model-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.75rem;
}

.model-chip {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--c-mute);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: 0.35rem 0.75rem;
  transition: color 0.35s, border-color 0.35s;
}

.model-chip:hover { color: var(--c-ink); border-color: var(--c-ink); }

/* --------------------------------------------------------------------------
   The money path (pinned)
   -------------------------------------------------------------------------- */

.path { position: relative; background: var(--navy); }

.path__pin {
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-block: clamp(2rem, 6vh, 5rem);
}

@media (max-width: 950px) {
  .path__pin { height: auto; }
}

.path__head {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
  margin-bottom: clamp(2rem, 5vh, 4rem);
}

.path__track {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}

.path__line {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 26px;
  height: 1px;
  background: var(--line-dark);
}

.path__line i {
  position: absolute;
  inset: 0;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.path__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 2rem);
  position: relative;
}

@media (max-width: 950px) {
  .path__steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .path__line { display: none; }
}

.path__step { position: relative; }

.path__node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: var(--navy);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  transition: border-color 0.5s var(--ease-out), background-color 0.5s var(--ease-out);
}

.path__node svg { width: 20px; height: 20px; color: var(--gray-500); transition: color 0.5s var(--ease-out); }

.path__step.is-on .path__node { border-color: var(--c-accent); background: rgba(217, 124, 80, 0.09); }
.path__step.is-on .path__node svg { color: var(--c-accent); }

.path__k {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.55rem;
  transition: color 0.5s var(--ease-out);
}

.path__step.is-on .path__k { color: var(--c-accent); }

.path__t {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  letter-spacing: -0.028em;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.path__d {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-500);
  max-width: 30ch;
  transition: color 0.5s var(--ease-out);
}

.path__step.is-on .path__d { color: var(--gray-300); }

.path__readout {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  border-top: 1px solid var(--line-dark-soft);
  padding-top: clamp(1.25rem, 3vh, 2rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 760px) { .path__readout { grid-template-columns: 1fr 1fr; } }

.path__ro-k {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.path__ro-v {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Dashboard showcase
   -------------------------------------------------------------------------- */

.showcase__frame {
  position: relative;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  overflow: hidden;
  background: #0C1A33;
  perspective: 1600px;
  will-change: transform;
}

.showcase__frame img { width: 100%; display: block; }

.showcase__glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.09) 0%, transparent 42%);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.showcase__frame:hover .showcase__glare { opacity: 1; }

.showcase__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mute);
}

/* --------------------------------------------------------------------------
   Figure
   A framed illustration with a caption row underneath. Lighter than
   .showcase__frame — no pointer tilt — for the places where the diagram IS
   the argument and should not move under the cursor.
   -------------------------------------------------------------------------- */

.figure {
  position: relative;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(160deg, #16243C, #0A152A);
}

.figure img {
  display: block;
  width: 100%;
}

.figure--pad img { padding: clamp(0.5rem, 1.6vw, 1.5rem); }

.figure__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mute);
}

/* --------------------------------------------------------------------------
   Developer
   -------------------------------------------------------------------------- */

.dev__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 950px) { .dev__grid { grid-template-columns: 1fr; } }

.dev__points {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--c-line);
}

.dev__point {
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--c-line);
}

.dev__point h4 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dev__point h4 code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-accent);
  border: 1px solid var(--c-line);
  border-radius: 3px;
  padding: 0.1rem 0.4rem;
}

.dev__point p { font-size: 0.875rem; line-height: 1.6; color: var(--c-mute); }

/* --------------------------------------------------------------------------
   Reliability list
   -------------------------------------------------------------------------- */

.rely__list { border-top: 1px solid var(--c-line); }

.rely__row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(1.25rem, 2.4vw, 2rem);
  border-bottom: 1px solid var(--c-line);
  align-items: start;
  position: relative;
  isolation: isolate;
}

.rely__row::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -0.5);
  z-index: -1;
  background: rgba(217, 124, 80, 0.05);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}

.rely__row:hover::before { opacity: 1; }

@media (max-width: 800px) {
  .rely__row { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .rely__then { grid-column: 2; }
}

.rely__n {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--c-mute);
  padding-top: 0.35rem;
}

.rely__when {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: -0.03em;
  font-weight: 500;
  line-height: 1.25;
}

.rely__then {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--c-mute);
}

.rely__then b {
  color: var(--c-ink);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
}

@media (max-width: 950px) { .plans { grid-template-columns: 1fr; } }

.plan {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-right: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan:last-child { border-right: 0; }

@media (max-width: 950px) {
  .plan { border-right: 0; border-bottom: 1px solid var(--c-line); }
  .plan:last-child { border-bottom: 0; }
}

.plan--feature { background: rgba(217, 124, 80, 0.045); }

.plan__flag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--copper);
  border-radius: 100px;
  padding: 0.25rem 0.6rem;
}

.plan__name {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.plan__for {
  font-size: 0.875rem;
  color: var(--c-mute);
  margin-bottom: 1.75rem;
  min-height: 2.8em;
  line-height: 1.5;
}

.plan__rate {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
}

.plan__rate span {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--c-mute);
  font-weight: 400;
}

.plan__rate-sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-top: 0.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--c-line);
}

.plan__feats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: 1.75rem;
  flex: 1;
}

.plan__feats li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--c-mute);
}

.plan__feats svg {
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 0.35em;
  color: var(--c-accent);
}

.plan .btn { width: 100%; }

.plans-note {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--c-mute);
  margin-top: 1.5rem;
  max-width: 80ch;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { border-top: 1px solid var(--c-line); }

.faq__item { border-bottom: 1px solid var(--c-line); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(1.25rem, 2.2vw, 1.75rem);
  text-align: left;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--c-ink);
  transition: color 0.35s var(--ease-out);
}

.faq__q:hover { color: var(--c-accent); }

.faq__sign {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}

.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  inset: 50% 0 auto 0;
  height: 1.5px;
  margin-top: -0.75px;
  transition: transform 0.5s var(--ease-out-expo);
}

.faq__sign::after { transform: rotate(90deg); }

.faq__item.is-open .faq__sign::after { transform: rotate(0deg); }

.faq__a {
  overflow: hidden;
  height: 0;
}

.faq__a-inner {
  padding-bottom: clamp(1.25rem, 2.2vw, 1.75rem);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--c-mute);
  max-width: 68ch;
}

.faq__a-inner code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--c-ink);
}

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  padding-block: clamp(5rem, 13vh, 9.5rem);
  text-align: center;
  overflow: clip;
  background: var(--navy);
}

.cta__glow {
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: min(1200px, 130vw);
  aspect-ratio: 1;
  translate: -50% 0;
  background: radial-gradient(circle, rgba(217, 124, 80, 0.14), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

.cta__title {
  position: relative;
  font-size: clamp(2.75rem, 10vw, 10rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 500;
  text-transform: uppercase;
}

.cta__title .font-serif { text-transform: none; letter-spacing: -0.03em; }

.cta__sub {
  position: relative;
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  max-width: 52ch;
  color: var(--gray-300);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
}

.cta__btns {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}
