/* ============================================================
   Practice Ready Assistant — design system
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FAF7F2;
  --paper-2: #F3EEE6;
  --ink: #122220;
  --ink-soft: #44544f;
  --teal: #0C5B4A;
  --teal-deep: #07382F;
  --teal-tint: #E4EFEA;
  --amber: #E9A13B;
  --amber-soft: #F6DDB4;
  --line: rgba(18, 34, 32, 0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 20px;
  --radius-lg: 28px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}

::selection { background: var(--amber-soft); color: var(--ink); }

img, svg, canvas { display: block; max-width: 100%; }

a { color: inherit; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(84px, 11vw, 150px); }

section[id] { scroll-margin-top: 76px; }

/* ---------- type ---------- */

.section__head {
  max-width: 720px;
  margin: 0 auto clamp(44px, 6vw, 80px);
  text-align: center;
}
.section__head--left { margin-inline: 0; text-align: left; }

.section__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.section__eyebrow--light { color: var(--amber); text-align: center; margin-bottom: clamp(32px, 5vw, 64px); }

.section__title {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: 'opsz' 80;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.section__title em {
  font-style: italic;
  color: var(--teal);
}

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  min-height: 48px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
              box-shadow 0.35s var(--ease-out);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 1px 2px rgba(7, 56, 47, 0.2);
}
.btn--primary::before { background: var(--teal-deep); }
.btn--primary:hover { box-shadow: 0 10px 30px -8px rgba(7, 56, 47, 0.45); }
.btn--primary:hover::before { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost::before { background: var(--teal-tint); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn--ghost:hover::before { transform: translateY(0); }

.btn--light {
  background: var(--paper);
  color: var(--teal-deep);
}
.btn--light::before { background: var(--amber); }
.btn--light:hover { color: var(--ink); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.35); }
.btn--light:hover::before { transform: translateY(0); }

.btn--lg { padding: 16px 32px; min-height: 54px; font-size: 16.5px; }
.btn--xl { padding: 19px 40px; min-height: 60px; font-size: 17.5px; }
.btn--nav { padding: 10px 22px; min-height: 44px; font-size: 14.5px; }

.btn__arrow { display: inline-flex; transition: transform 0.35s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform 0.45s var(--ease-out), background-color 0.35s ease,
              box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(250, 247, 242, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }

.nav__inner {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--teal-deep);
  min-height: 44px;
}
.nav__logo-mark { color: var(--teal); display: inline-flex; }
.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  display: inline-flex;
  flex-direction: column;
}
.nav__logo-text em {
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: var(--teal);
}

.nav__links {
  display: flex;
  gap: clamp(16px, 2.5vw, 34px);
}
.nav__links a {
  position: relative;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 10px 2px;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 6px;
  height: 2px;
  background: var(--amber);
  transition: right 0.35s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__burger {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* mobile menu */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mmenu.is-open { opacity: 1; pointer-events: auto; }
.mmenu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.mmenu__links > a:not(.btn) {
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 560;
  text-decoration: none;
  padding: 8px 16px;
  color: var(--ink);
  transition: color 0.25s;
}
.mmenu__links > a:not(.btn):hover { color: var(--teal); }
.mmenu__links .btn { margin-top: 24px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(96px, 12vh, 132px) 48px;
  overflow: clip;
  background:
    radial-gradient(1100px 600px at 78% 18%, rgba(12, 91, 74, 0.10), transparent 60%),
    radial-gradient(800px 520px at 12% 85%, rgba(233, 161, 59, 0.12), transparent 60%),
    var(--paper);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__veil {
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}
.hero__eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(233, 161, 59, 0.25);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 580;
  font-variation-settings: 'opsz' 120;
  font-size: clamp(42px, 6.8vw, 90px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  max-width: 14ch;
}
.hero__title-accent {
  font-style: italic;
  color: var(--teal);
  position: relative;
  white-space: nowrap;
}
.hero__title-accent::after {
  content: '';
  position: absolute;
  left: -2%;
  bottom: 0.04em;
  width: 104%;
  height: 0.14em;
  background: var(--amber);
  border-radius: 999px;
  opacity: 0.55;
  z-index: -1;
  transform-origin: left center;
}

.hero__title .w {
  display: inline-block;
  will-change: transform;
}

.hero__sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 34px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero__ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero__ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__ticks li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

/* hero visual: clock + chips */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
}

.clockcard {
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -24px rgba(7, 56, 47, 0.35);
  padding: clamp(28px, 3.4vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.clock { width: clamp(160px, 19vw, 270px); height: auto; }
.clock__face { fill: var(--paper); }
.clock__ring { fill: none; stroke: var(--teal); stroke-width: 4; }
.clock__marks line { stroke: rgba(18, 34, 32, 0.35); stroke-width: 3; stroke-linecap: round; }
.clock__marks line.is-quarter { stroke: var(--teal); stroke-width: 4; }
/* Pivot is baked into the SVG rotate()/GSAP svgOrigin matrix — CSS transform-origin must stay 0 0. */
.clock__hand { stroke-linecap: round; }
.clock__hand--hour { stroke: var(--ink); stroke-width: 8; }
.clock__hand--min { stroke: var(--teal); stroke-width: 5.5; }
.clock__pin { fill: var(--amber); }
.clockcard__caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--teal-deep);
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 10px 26px -12px rgba(7, 56, 47, 0.3);
  white-space: nowrap;
}
.chip__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
}
.chip--1 { top: 6%; left: 0; }
.chip--2 { top: 26%; right: -2%; }
.chip--3 { bottom: 22%; left: -4%; }
.chip--4 { bottom: 4%; right: 4%; }

.hero__scrollhint {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__scrollhint-line {
  width: 1.5px;
  height: 34px;
  background: var(--ink-soft);
  opacity: 0.5;
  animation: scrollPulse 2s var(--ease-out) infinite;
  transform-origin: top center;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- the model (assistant + agents) ---------- */

.model { padding-bottom: 0; }

.model__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  max-width: 1000px;
  margin-inline: auto;
}

.model__role {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.model__card--human .model__role { background: var(--teal); color: #fff; }
.model__card--agents .model__role { background: var(--amber-soft); color: var(--ink); }

.model__card--human { border-color: rgba(12, 91, 74, 0.45); }
.model__card--agents { background: var(--teal-tint); }

.model__note {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 23px);
  color: var(--teal-deep);
  max-width: 46ch;
  margin: clamp(32px, 4vw, 48px) auto 0;
}

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

/* ---------- why / value cards ---------- */

.why { background: var(--paper); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.card {
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              border-color 0.4s ease;
}
.card--feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -24px rgba(7, 56, 47, 0.35);
  border-color: rgba(12, 91, 74, 0.35);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--teal-tint);
  color: var(--teal);
  margin-bottom: 22px;
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s var(--ease-out);
}
.card--feature:hover .card__icon {
  background: var(--teal);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}

.card__title {
  font-family: var(--font-display);
  font-weight: 580;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.card__body { color: var(--ink-soft); font-size: 15.5px; }

.card--cta {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background-image: radial-gradient(420px 200px at 110% -10%, rgba(233, 161, 59, 0.35), transparent 60%);
}
.card__title--cta {
  color: #fff;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.25;
}
.card--cta .btn { align-self: flex-start; }

/* ---------- stats (pinned) ---------- */

.stats {
  background: var(--teal-deep);
  color: var(--paper);
}
.stats__pin {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-block: 80px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
}

.stat { border-top: 1px solid rgba(250, 247, 242, 0.25); padding-top: 28px; }

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: 'opsz' 120;
  font-size: clamp(56px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat__unit {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 26px);
  color: var(--amber);
}
.stat__label {
  color: rgba(250, 247, 242, 0.75);
  font-size: 15.5px;
  max-width: 34ch;
}

/* ---------- how it works ---------- */

.how { background: var(--paper-2); }

.how__track { position: relative; }

.how__line {
  position: absolute;
  left: 0; right: 0;
  top: 27px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}
.how__line-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--teal);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  list-style: none;
  counter-reset: step;
}

.step { position: relative; padding-top: 0; }

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--teal);
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 580;
  font-size: 23px;
  margin-bottom: 10px;
}
.step__body { color: var(--ink-soft); font-size: 15.5px; }
.step__body strong { color: var(--ink); }

.how__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(48px, 6vw, 72px);
}

/* ---------- about ---------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.about__copy p {
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-size: 16.5px;
}
.about__copy p:first-child {
  color: var(--ink);
  font-size: 18.5px;
}

.about__side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 110px;
}

.founder { margin: 0 0 24px; }
.founder img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.founder figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.pullquote {
  background: var(--teal-tint);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
  position: relative;
}
.pullquote::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 110px;
  line-height: 1;
  color: var(--amber);
}
.pullquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 520;
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.35;
  color: var(--teal-deep);
}

.mission {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  background: #fff;
}
.mission__title {
  font-family: var(--font-display);
  font-weight: 580;
  font-size: 21px;
  margin-bottom: 12px;
}
.mission p { color: var(--ink-soft); font-size: 15.5px; }
.mission p + p { margin-top: 12px; }

/* ---------- pricing ---------- */

.pricing { background: var(--paper-2); }

.pricing__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 72px);
  box-shadow: 0 30px 80px -40px rgba(7, 56, 47, 0.35);
  position: relative;
  overflow: hidden;
}
.pricing__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.pricing__price {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: 'opsz' 120;
  font-size: clamp(72px, 9vw, 128px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.pricing__currency { font-size: 0.45em; vertical-align: 0.7em; color: var(--teal); }
.pricing__per {
  font-style: italic;
  font-size: 0.28em;
  color: var(--amber);
  letter-spacing: 0;
}
.pricing__tagline {
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 40ch;
}

.pricing__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: center;
}
.pricing__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.pricing__list li:last-child { border-bottom: none; padding-bottom: 0; }
.pricing__list li::before {
  content: '✓';
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- faq ---------- */

.faq__list { display: flex; flex-direction: column; gap: 12px; }

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq__item[open] {
  border-color: rgba(12, 91, 74, 0.4);
  box-shadow: 0 16px 40px -24px rgba(7, 56, 47, 0.3);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  min-height: 64px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 580;
  font-size: 18.5px;
  letter-spacing: -0.005em;
  -webkit-user-select: none;
  user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }

.faq__icon {
  position: relative;
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal-tint);
  transition: background 0.3s ease, transform 0.4s var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--teal);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out), background 0.3s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--teal); transform: rotate(135deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__a { padding: 0 24px; overflow: hidden; }
.faq__a p { color: var(--ink-soft); padding-bottom: 24px; max-width: 65ch; }

/* ---------- final cta ---------- */

.cta {
  background: var(--teal-deep);
  background-image:
    radial-gradient(900px 480px at 85% 0%, rgba(12, 91, 74, 0.9), transparent 65%),
    radial-gradient(700px 420px at 8% 100%, rgba(233, 161, 59, 0.18), transparent 60%);
  color: var(--paper);
}
.cta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: 'opsz' 110;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 18ch;
}
.cta__title em { font-style: italic; color: var(--amber); }
.cta__sub {
  color: rgba(250, 247, 242, 0.8);
  max-width: 48ch;
  font-size: 17px;
}
.cta .btn--xl { margin-top: 10px; }

/* ---------- footer ---------- */

.footer {
  background: var(--teal-deep);
  color: rgba(250, 247, 242, 0.75);
  border-top: 1px solid rgba(250, 247, 242, 0.14);
  padding-block: 40px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__logo { color: var(--paper); }
.footer__logo .nav__logo-mark { color: var(--amber); }
.footer__logo .nav__logo-text em { color: var(--amber); }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer__links a {
  text-decoration: none;
  font-size: 14.5px;
  padding: 8px 0;
  display: inline-block;
  transition: color 0.25s;
}
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 13.5px; opacity: 0.7; }

/* ============================================================
   Animation initial states (JS removes/animates these).
   Guarded so content is visible without JS or with reduced motion.
   ============================================================ */

html.has-motion [data-hero],
html.has-motion [data-reveal],
html.has-motion [data-reveal-card],
html.has-motion [data-step],
html.has-motion [data-stat] {
  opacity: 0;
}
html.has-motion .hero__title { opacity: 0; } /* JS reveals once words are split */
html.has-motion .hero__title-accent::after { transform: scaleX(var(--underline, 0)); }
.hero__title .w { display: inline-block; will-change: transform; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__title { max-width: 16ch; }
  .hero__visual { min-height: 0; margin-top: 8px; max-width: 520px; justify-self: center; width: 100%; }
  .hero { padding-bottom: 96px; }
  .stats__grid { grid-template-columns: 1fr; gap: 36px; }
  .stats__pin { min-height: 0; }
  .how__steps { grid-template-columns: repeat(2, 1fr); }
  .how__line { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .about__side { position: static; }
  .pricing__card { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .why__grid { grid-template-columns: 1fr; }
  .how__steps { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: 110px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .chip { position: static; justify-self: start; }
  .chip--2, .chip--4 { justify-self: end; }
  .clockcard { width: 100%; }
  .hero__scrollhint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}

/* ============================================================
   Get Started form (get-started.html)
   ============================================================ */

.gs { padding: 150px 0 90px; min-height: 70vh; }
.gs__wrap { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.gs__head { text-align: center; margin-bottom: 36px; }
.gs__title {
  font-family: var(--font-display);
  font-weight: 580;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.gs__sub { color: var(--ink-soft); max-width: 52ch; margin-inline: auto; }

.gs__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 30px 80px -40px rgba(7, 56, 47, 0.3);
  scroll-margin-top: 90px;
}

.gs__progress {
  display: flex;
  gap: 8px;
  list-style: none;
  margin-bottom: 32px;
  padding: 0;
}
.gs__progress li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  padding-bottom: 12px;
  border-bottom: 3px solid var(--line);
  transition: color 0.3s, border-color 0.3s;
}
.gs__progress li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  font-size: 11.5px;
  flex: none;
}
.gs__progress li.is-active { color: var(--teal-deep); border-color: var(--teal); }
.gs__progress li.is-active span { background: var(--teal); color: #fff; }
.gs__progress li.is-done { color: var(--teal); border-color: var(--teal); }

.gs__step { display: none; border: 0; padding: 0; margin: 0; }
.gs__step.is-active { display: block; }
.gs__legend {
  font-family: var(--font-display);
  font-weight: 580;
  font-size: 22px;
  margin-bottom: 20px;
}

.gs__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gs__field { display: block; margin-bottom: 16px; }
.gs__label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.gs__input {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  min-height: 48px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.gs__input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(12, 91, 74, 0.12);
}
.gs__input--area { resize: vertical; min-height: 96px; }
select.gs__input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }

.gs__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.gs__success { text-align: center; padding: 24px 0 8px; }
.gs__success-icon { color: var(--teal); display: flex; justify-content: center; margin-bottom: 18px; }
.gs__success-title {
  font-family: var(--font-display);
  font-weight: 580;
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 10px;
}
.gs__success-body { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 24px; }

.gs__error {
  margin-top: 16px;
  background: #FBEFE9;
  border: 1px solid rgba(196, 90, 40, 0.35);
  color: #8A3A14;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14.5px;
}

/* Branched fields toggle via the hidden attribute; .gs__field sets display:block,
   which would otherwise beat the UA [hidden] rule, so restate it here. */
.gs__field[hidden] { display: none; }

/* Inline per-field validation */
.gs__hint { font-weight: 400; color: var(--ink-soft); }
.gs__field--error .gs__input {
  border-color: #C4552B;
  box-shadow: 0 0 0 4px rgba(196, 85, 43, 0.12);
}
.gs__field-error {
  display: block;
  margin-top: 6px;
  color: #8A3A14;
  font-size: 12.5px;
  font-weight: 600;
}

/* Multi-select task checkboxes */
.gs__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.gs__check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.gs__check:hover { border-color: var(--teal); }
.gs__check input {
  width: 18px; height: 18px;
  flex: none;
  accent-color: var(--teal);
  cursor: pointer;
}
.gs__check:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); }
.gs__field--tasks.gs__field--error .gs__checks { outline: 1.5px solid transparent; }
@media (max-width: 600px) { .gs__checks { grid-template-columns: 1fr; } }

.gs__fineprint {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 22px;
}

/* ============ Thank-you / conversion page ============ */
.ty__card { text-align: center; padding-block: clamp(40px, 6vw, 64px); }
.ty__icon {
  color: var(--teal);
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
}
.ty__icon svg { width: 100%; height: 100%; display: block; }
.ty__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}
/* Hide the animated bits pre-paint; thank-you.js reveals them. Without
   motion everything renders fully drawn and visible by default. */
.has-motion .ty__icon,
.has-motion [data-ty-fade] { opacity: 0; }

@media (max-width: 600px) {
  .gs__row { grid-template-columns: 1fr; gap: 0; }
  .gs__progress li { font-size: 0; gap: 0; justify-content: center; }
  .gs__progress li span { font-size: 11.5px; }
}

/* ============ Motion failsafe ============
   Everything the motion system hides pre-reveal is force-revealed 3.5s after
   load unless the page's animation JS confirmed itself healthy by adding
   .pra-motion-ok to <html>. Covers gsap blocked by an extension, a script
   error mid-init, or an entrance tween that never ran. */
html.has-motion:not(.pra-motion-ok) [data-hero],
html.has-motion:not(.pra-motion-ok) [data-reveal],
html.has-motion:not(.pra-motion-ok) [data-reveal-card],
html.has-motion:not(.pra-motion-ok) [data-step],
html.has-motion:not(.pra-motion-ok) [data-stat],
html.has-motion:not(.pra-motion-ok) .hero__title,
html.has-motion:not(.pra-motion-ok) .ty__icon,
html.has-motion:not(.pra-motion-ok) [data-ty-fade] {
  animation: praMotionFailsafe 0.5s ease 3.5s forwards;
}
@keyframes praMotionFailsafe { to { opacity: 1; } }
