/* =====================================================================
   ResumeHere.com — design system
   "Confetti-edged blueprint." A clean white enterprise canvas interrupted
   by dark navy editorial panels framed in torn geometric colour. Colour is
   disciplined: one electric blue drives every action, while violet, yellow
   and green live only in decorative edges — never in functional UI.
   Depth comes from colour inversion and radius, not from shadow.
   ===================================================================== */

:root {
  /* Ink */
  --color-navy: #101214;      /* headings, dark panel fills */
  --color-carbon: #292a2e;    /* body text, input borders */
  --color-slate: #1c2b42;     /* outlined action borders, icon strokes */
  --color-indigo: #42526e;    /* helper text, labels, metadata */

  /* Action — the only chromatic colour allowed in functional UI */
  --color-blue: #1868db;
  --color-blue-deep: #0c53b8;

  /* Decorative only — confetti fragments and editorial flourishes */
  --color-violet: #bf63f3;
  --color-yellow: #fca700;
  --color-green: #22a06b;

  /* Semantic state — the only chromatic colours besides blue that carry text */
  --color-success-fg: #0f6b45;   --color-success-bg: #e3fcef;
  --color-error-fg: #ae2a19;     --color-error-bg: #ffedeb;

  /* Muted accent pairs used by tool cards, chips, and icon boxes */
  --color-plum: #6b2f96;
  --color-clay: #9c4221;         --color-clay-bg: #fff0e6;
  --color-rose-bg: #fce4ec;
  --color-yellow-deep: #e59700;  /* yellow hover only */
  --color-selection: #cfe1fb;

  /* Text on dark surfaces. #fff is used directly for the strong step. */
  --color-on-dark: #c7ccd4;
  --color-on-dark-muted: #a9b4c4;

  /* Surfaces */
  --surface-canvas: #ffffff;
  --surface-soft: #f0f1f2;
  --surface-tint: #e9f2fe;
  --surface-lavender: #eed7fc;
  --surface-dark: #101214;

  /* Lines */
  --line-hair: #f0f1f2;
  --line-solid: #dcdfe4;
  --line-strong: #b7b9be;
  --line-mock: #d5d8de;        /* mock chrome */
  --line-mock-blue: #bcd6f7;

  /* Type */
  --font-display: 'Manrope', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-text: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --text-caption: 13px;      --leading-caption: 1.38;
  --text-body: 16px;         --leading-body: 1.5;
  --text-subheading: 20px;   --leading-subheading: 1.4;
  --text-heading-sm: 24px;   --leading-heading-sm: 1.25;
  --text-heading: clamp(26px, 2.6vw, 32px);      --leading-heading: 1.2;
  --text-heading-lg: clamp(32px, 4vw, 48px);     --leading-heading-lg: 1.14;
  --text-display: clamp(32px, 5.6vw, 70px);      --leading-display: 1.04;

  /* Display type tightens optically; UI type stays neutral. */
  --tracking-display: -0.018em;
  --tracking-heading: -0.014em;

  /* Spacing — 4px base */
  --spacing-4: 4px;   --spacing-8: 8px;   --spacing-12: 12px; --spacing-16: 16px;
  --spacing-20: 20px; --spacing-24: 24px; --spacing-32: 32px; --spacing-36: 36px;
  --spacing-40: 40px; --spacing-48: 48px; --spacing-60: 60px; --spacing-64: 64px;
  --spacing-80: 80px; --spacing-100: 100px;

  /* Layout */
  --page-max-width: 1200px;
  --section-gap: clamp(64px, 6vw, 88px);
  --card-padding: 24px;

  /* Radii — large and soft; flatness is the point */
  --radius-nav: 2px;
  --radius-images: 5px;
  --radius-inputs: 8px;
  --radius-icons: 10px;
  --radius-cards: 20px;
  --radius-buttons: 28px;
  --radius-full: 10000px;

  /* Elevation — navy-tinted, never neutral black. One step only. */
  --shadow-subtle: rgba(9, 30, 66, 0.31) 0px 0px 1px 0px, rgba(9, 30, 66, 0.25) 0px 1px 1px 0px;
  --shadow-raised: rgba(9, 30, 66, 0.20) 0px 0px 1px 0px, rgba(9, 30, 66, 0.16) 0px 8px 16px -6px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.72, 0.28, 1);
  --dur: 180ms;
}

/* ---------------------------------------------------------------- reset */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface-canvas);
  color: var(--color-carbon);
  font-family: var(--font-text);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--color-blue); text-decoration: none; }
a:hover { color: var(--color-blue-deep); text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--color-navy);
  font-weight: 500;
  margin: 0;
  letter-spacing: var(--tracking-heading);
}

p { margin: 0; }
ul, ol { margin: 0; }

button { font: inherit; }

::selection { background: var(--color-selection); color: var(--color-navy); }

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
  border-radius: var(--radius-nav);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-navy); color: #fff;
  padding: 10px 16px; border-radius: 0 0 var(--radius-inputs) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------- layout */

.container {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; }
.container--mid { max-width: 960px; }

/* Full-width bands alternate white, soft grey, lavender and dark navy. */
.band { position: relative; padding: var(--section-gap) 0; background: var(--surface-canvas); }
.band--mist { background: var(--surface-soft); }
.band--lavender { background: var(--surface-lavender); }
.band--tint { background: var(--surface-tint); }
.band--dark { background: var(--surface-dark); color: #fff; }
.band--tight { padding: 48px 0; }
.band--ruled { border-top: 1px solid var(--line-hair); }

.band--dark h1, .band--dark h2, .band--dark h3, .band--dark .band__title { color: #fff; }
.band--dark .band__lead, .band--dark .lead { color: var(--color-on-dark); }

/* `.grid-field` is retained as a hook but carries no texture: the system
   gets its rhythm from alternating bands, not from a substrate pattern. */
.grid-field { position: relative; }

.band__head { max-width: 720px; margin-bottom: 44px; }
.band__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.band__head--center .eyebrow { justify-content: center; }
.band__head > * + * { margin-top: 16px; }

/* ----------------------------------------------------------- typography */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-text);
  font-size: var(--text-caption);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-indigo);
}
.eyebrow--blue { color: var(--color-blue); }
.band--dark .eyebrow, .cta-panel .eyebrow { color: var(--color-on-dark-muted); }

.display {
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  font-weight: 500;
  color: var(--color-navy);
  text-wrap: balance;
}
.h1, .band__title--xl {
  font-family: var(--font-display);
  font-size: var(--text-heading-lg);
  line-height: var(--leading-heading-lg);
  letter-spacing: var(--tracking-display);
  font-weight: 500;
}
.band__title, .h2 {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  font-weight: 500;
  color: var(--color-navy);
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-size: var(--text-heading-sm);
  line-height: var(--leading-heading-sm);
  letter-spacing: var(--tracking-heading);
  font-weight: 500;
}
.band__lead, .lead {
  font-size: var(--text-subheading);
  line-height: var(--leading-subheading);
  color: var(--color-indigo);
  font-weight: 400;
  text-wrap: pretty;
}
.muted { color: var(--color-indigo); }
.caption {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  color: var(--color-indigo);
}
.band--dark .caption, .cta-panel .caption { color: var(--color-on-dark-muted); }
.blue { color: var(--color-blue); font-style: normal; }
em.blue, .display em, .h1 em { font-style: normal; color: var(--color-blue); }

/* The editorial flourish: a hand-drawn yellow scribble under the key
   phrase. The text keeps its own colour — the yellow does the work.
   Painted as a background so it survives a line break. */
.penned {
  font-style: normal;
  color: inherit;
  /* The scribble paints per line fragment, so a phrase that wrapped would
     leave an orphan stub under a stray word. Keeping the phrase unbreakable
     moves it to the next line whole. Penned phrases are held to three short
     words so this never overflows a narrow viewport. */
  white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8.4C34 3.6 66 9.6 98 5.4c30-4 62 3.4 99 1.2' fill='none' stroke='%23fca700' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 0.2em;
  background-position: 0 100%;
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: 0.12em;
}

/* On a small screen an unbreakable phrase would overflow horizontally, which
   is worse than an orphan stub. Below 560px the phrase wraps again and the
   scribble becomes a straight rule, which reads correctly on every line. */
@media (max-width: 560px) {
  .penned {
    white-space: normal;
    background-image: none;
    border-bottom: 3px solid var(--color-yellow);
    padding-bottom: 0.04em;
  }
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-buttons);
  font-family: var(--font-text);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.btn:hover { text-decoration: none; }

/* Filled — the colour does the work, so it sits flat. */
.btn--primary { background: var(--color-blue); color: #fff; }
.btn--primary:hover { background: var(--color-blue-deep); color: #fff; }

/* Bordered, transparent fill. */
.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-slate);
}
.btn--outline:hover { background: var(--surface-soft); color: var(--color-navy); }

/* Yellow appears on dark surfaces only — never on the white canvas. */
.btn--yellow { background: var(--color-yellow); color: var(--color-navy); }
.btn--yellow:hover { background: var(--color-yellow-deep); color: var(--color-navy); }

/* Text-link counterpart that sits beside a filled action. */
.btn--ghost {
  background: transparent;
  color: var(--color-navy);
  padding: 10px 4px;
  border-radius: var(--radius-nav);
}
.btn--ghost .btn__arrow { transition: transform var(--dur) var(--ease-out); }
.btn--ghost:hover { color: var(--color-blue); text-decoration: none; }
.btn--ghost:hover .btn__arrow { transform: translateX(3px); }

.btn--sm { padding: 6px 16px; font-size: 14px; }
.btn--lg { padding: 14px 28px; font-size: var(--text-body); }
.btn--block { width: 100%; }

.btn[disabled], .btn.is-disabled { opacity: 0.55; cursor: not-allowed; }

.btn__spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.45);
  border-top-color: #fff;
  animation: spin 640ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* Buttons inverted onto dark panels */
.band--dark .btn--outline, .cta-panel .btn--outline, .hero--dark .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}
.band--dark .btn--outline:hover, .cta-panel .btn--outline:hover, .hero--dark .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}
.band--dark .btn--ghost, .cta-panel .btn--ghost, .hero--dark .btn--ghost { color: #fff; }
.band--dark .btn--ghost:hover, .cta-panel .btn--ghost:hover, .hero--dark .btn--ghost:hover { color: var(--color-yellow); }

/* -------------------------------------------------- confetti decoration */

/* Fragmented geometric colour — flat fills, no gradients, no shadows, no
   stroke. It frames dark surfaces only and never overlaps functional UI. */
.confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.confetti__bit { position: absolute; display: block; }

/* Each fragment is anchored to the panel edge and reaches no more than
   60px inward, so it is always clipped by the edge and never crosses into
   the 1200px content column. Below 1280px there is no clear margin left,
   so the whole frame is withdrawn rather than allowed to sit behind text. */
.confetti__bit--1 {
  left: -80px; top: 9%;
  width: 140px; height: 140px;
  background: var(--color-violet);
  clip-path: polygon(0 0, 100% 14%, 72% 100%, 0 78%);
}
.confetti__bit--2 {
  left: -50px; bottom: 14%;
  width: 110px; height: 70px;
  background: var(--color-yellow);
  clip-path: polygon(0 30%, 88% 0, 100% 74%, 16% 100%);
}
.confetti__bit--3 {
  left: -30px; top: 47%;
  width: 46px; height: 46px;
  background: var(--color-blue);
  clip-path: polygon(50% 0, 100% 66%, 12% 100%);
}
.confetti__bit--4 {
  right: -90px; top: 7%;
  width: 150px; height: 120px;
  background: var(--color-yellow);
  clip-path: polygon(22% 0, 100% 18%, 100% 88%, 0 62%);
}
.confetti__bit--5 {
  right: -46px; bottom: 16%;
  width: 100px; height: 76px;
  background: var(--color-violet);
  clip-path: polygon(0 24%, 82% 0, 100% 82%, 20% 100%);
}
.confetti__bit--6 {
  right: -24px; top: 44%;
  width: 50px; height: 50px;
  background: var(--color-green);
  clip-path: polygon(50% 0, 100% 100%, 0 74%);
}

@media (max-width: 1280px) {
  .confetti { display: none; }
}

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface-canvas);
  border-bottom: 1px solid var(--line-hair);
}
.site-header.is-stuck { box-shadow: var(--shadow-subtle); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 56px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__word {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--color-navy);
  line-height: 1;
}
.brand__word .brand__dot { color: var(--color-blue); font-weight: 500; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-nav);
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.nav__links a:hover { color: var(--color-blue); text-decoration: none; }
.nav__links a.is-active { color: var(--color-blue); font-weight: 500; }
.nav__links a.is-active::after {
  content: '';
  position: absolute; left: 14px; right: 14px; bottom: -1px;
  height: 2px;
  background: var(--color-blue);
}

.nav__sep { width: 1px; height: 20px; background: var(--line-solid); margin: 0 12px; }
.nav__login {
  color: var(--color-blue); padding: 8px 10px; font-size: 14px; font-weight: 500; margin-right: 8px;
  transition: color var(--dur) var(--ease-out);
}
.nav__login:hover { color: var(--color-blue-deep); text-decoration: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 7px 14px;
  border: 1px solid var(--color-slate);
  border-radius: var(--radius-buttons);
  background: transparent;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

@media (max-width: 940px) {
  .site-header__inner { flex-wrap: wrap; }
  /* The toggle only appears when JS can actually operate it. */
  .js .nav-toggle { display: inline-block; }
  /* No-JS fallback: the nav stays in flow as a stacked, fully usable list. */
  .nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 0 14px;
    border-top: 1px solid var(--line-hair);
  }
  .js .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    order: initial;
    width: auto;
    padding: 12px 24px 20px;
    background: var(--surface-canvas);
    border-top: 0;
    border-bottom: 1px solid var(--line-hair);
    box-shadow: var(--shadow-raised);
    display: none;
  }
  .js .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__links a { padding: 11px 8px; }
  .nav__links a.is-active::after { left: 8px; right: auto; width: 14px; bottom: 6px; }
  .nav__sep { display: none; }
  .nav__login { padding: 11px 8px; margin: 0; }
  .nav .btn { margin-top: 8px; }
}

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

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface-canvas);
  padding: clamp(56px, 6vw, 88px) 0 clamp(56px, 6vw, 88px);
  border-bottom: 1px solid var(--line-hair);
}
.hero .container { position: relative; z-index: 1; }

/* The signature: a full-bleed dark panel framed by geometric confetti. */
.hero--dark {
  background: var(--surface-dark);
  color: #fff;
  border-bottom: 0;
}
.hero--dark .hero__title { color: #fff; }
.hero--dark .hero__sub { color: var(--color-on-dark); }
.hero--dark .caption { color: var(--color-on-dark-muted); }

.hero__split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
.hero__copy > * + * { margin-top: 20px; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 70px);
  line-height: 1.04;
  letter-spacing: var(--tracking-display);
  font-weight: 500;
  color: var(--color-navy);
  text-wrap: balance;
}
.hero__sub {
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--color-indigo);
  max-width: 50ch;
  text-wrap: pretty;
}
.hero__visual { position: relative; }

.hero--center { text-align: center; }
.hero--center .hero__title { font-size: clamp(34px, 4.4vw, 56px); }
.hero--center .hero__inner { max-width: 900px; margin: 0 auto; }
.hero--center .hero__inner > * + * { margin-top: 20px; }
.hero--center .hero__sub { margin-left: auto; margin-right: auto; }
.hero--center .actions { justify-content: center; }
.hero--compact { padding: clamp(48px, 5vw, 68px) 0 clamp(48px, 5vw, 64px); }

@media (max-width: 980px) {
  .hero__split { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) {
  .hero { padding: 44px 0 48px; }
  .band { padding: 56px 0; }
  .actions { gap: 12px; }
  .actions .btn { width: 100%; }
  .hero--center .actions .btn, .cta-panel .actions .btn { width: auto; }
}

/* ------------------------------------------------------- rating / trust */

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 18px;
  color: var(--color-carbon);
}
.rating-row__star {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: var(--radius-inputs);
  background: var(--color-success-bg); color: var(--color-success-fg);
}
.rating-row__meta { font-size: var(--text-caption); color: var(--color-indigo); }

.proof-bar {
  display: flex;
  align-items: center;
  gap: 16px 40px;
  flex-wrap: wrap;
}
.proof-bar__label {
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-indigo);
}
.proof-bar__items { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.proof-bar__item {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--surface-soft);
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--color-indigo);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.proof-bar__item:hover { background: var(--surface-tint); color: var(--color-blue); }

/* Stat counters */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  justify-content: center;
}
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat__num {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: var(--tracking-heading);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  line-height: 1.2;
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: var(--tracking-heading);
}
@media (max-width: 700px) {
  .stat-row { gap: 24px 32px; }
  .stat__num, .stat__label { font-size: 22px; }
}

/* ---------------------------------------------------------------- chips */

/* Info badges — pill shaped, tinted, never interactive. */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--surface-soft);
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--color-indigo);
  line-height: 1.38;
}
.chip--blue { background: var(--surface-tint); color: var(--color-blue-deep); }
.chip--mint { background: var(--color-success-bg); color: var(--color-success-fg); }
.chip--lavender { background: var(--surface-lavender); color: var(--color-plum); }
.chip--blush { background: var(--color-clay-bg); color: var(--color-clay); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------------- cards */

.panel {
  background: var(--surface-canvas);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
}
.panel--ash { border-color: var(--line-hair); }
.panel--pad-lg { padding: 32px; }

/* Four-up feature tiles */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.tile-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile {
  position: relative;
  background: var(--surface-canvas);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-cards);
  padding: var(--card-padding);
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.tile:hover { border-color: var(--line-solid); }
.band--mist .tile, .band--lavender .tile { border-color: transparent; }
.band--mist .tile:hover, .band--lavender .tile:hover { border-color: var(--line-solid); }
.tile__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-icons);
  background: var(--surface-tint);
  color: var(--color-blue);
  margin-bottom: 16px;
}
.tile__icon--iris { background: var(--surface-lavender); color: var(--color-plum); }
.tile__title {
  font-family: var(--font-display);
  font-size: var(--text-subheading);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
  color: var(--color-navy);
  margin-bottom: 8px;
}
.tile__body { font-size: var(--text-caption); line-height: 1.55; color: var(--color-indigo); }

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

/* Bento — asymmetric feature layout */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento > * { grid-column: span 2; }
.bento__cell--half { grid-column: span 3; }
.bento__cell--wide { grid-column: span 4; }
.bento__cell--full { grid-column: span 6; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > *, .bento__cell--half, .bento__cell--wide, .bento__cell--full { grid-column: span 1; }
  .bento__cell--full { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .bento > *, .bento__cell--full { grid-column: span 1; }
}

/* A tile that carries a product visual */
.tile--feature {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 0;
  overflow: hidden;
}
.tile--feature .tile__media {
  margin: 4px -1px -1px;
  padding-top: 20px;
  border-top: 1px solid var(--line-hair);
}
.tile--feature .tile__media .mock { border-radius: var(--radius-images) var(--radius-images) 0 0; border-bottom: 0; }

/* Tinted tool cards */
.tool-card {
  border-radius: var(--radius-cards);
  padding: 28px 24px 0;
  background: var(--surface-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.tool-card--lavender { background: var(--surface-lavender); }
.tool-card--mint { background: var(--color-success-bg); }
.tool-card--blush { background: var(--color-clay-bg); }
.tool-card--rose { background: var(--color-rose-bg); }
.tool-card--mist { background: var(--surface-soft); }
.tool-card--sky { background: var(--surface-tint); }
.tool-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-icons);
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-slate);
}
.tool-card--mint .tool-card__icon { color: var(--color-success-fg); }
.tool-card--blush .tool-card__icon { color: var(--color-clay); }
.tool-card--lavender .tool-card__icon { color: var(--color-plum); }
.tool-card--sky .tool-card__icon { color: var(--color-blue); }
.tool-card__title {
  font-family: var(--font-display);
  font-size: var(--text-heading-sm);
  line-height: var(--leading-heading-sm);
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: var(--tracking-heading);
}
.tool-card__body { font-size: var(--text-caption); line-height: 1.55; color: var(--color-indigo); }
.tool-card__media { margin: auto -24px 0; padding: 20px 24px 0; }
.tool-card__media .mock { border-radius: var(--radius-images) var(--radius-images) 0 0; border-bottom: 0; }

/* Step list */
.step-list {
  background: var(--surface-canvas);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-cards);
  overflow: hidden;
}
.step-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--line-hair);
  transition: background-color var(--dur) var(--ease-out);
}
.step-row:last-child { border-bottom: 0; }
.step-row:hover { background: var(--surface-soft); }
.step-row__num { font-size: var(--text-caption); font-weight: 500; color: var(--color-indigo); min-width: 22px; }
.step-row__title { font-size: var(--text-body); font-weight: 500; color: var(--color-navy); }
.step-row__arrow { margin-left: auto; color: var(--color-indigo); }
.step-row.is-active { border-left-color: var(--color-blue); background: var(--surface-tint); }
.step-row.is-active .step-row__title { color: var(--color-blue-deep); }
.step-row.is-active .step-row__num { color: var(--color-blue); }

/* Icon box */
.icon-box {
  width: 40px; height: 40px;
  border-radius: var(--radius-icons);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-blue);
  background: var(--surface-tint);
  flex: none;
}
.icon-box--iris { color: var(--color-plum); background: var(--surface-lavender); }

/* Numbered steps */
.numbered { display: grid; gap: 16px; }
.numbered__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: var(--card-padding);
  background: var(--surface-canvas);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-cards);
  transition: border-color var(--dur) var(--ease-out);
}
.numbered__item:hover { border-color: var(--line-solid); }
.numbered__num {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-body); font-weight: 700; color: #fff;
}
.numbered__title {
  font-family: var(--font-display);
  font-size: var(--text-heading-sm);
  line-height: var(--leading-heading-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
  color: var(--color-navy);
  margin-bottom: 8px;
}
.numbered__body { color: var(--color-indigo); font-size: var(--text-body); line-height: 1.5; }
@media (max-width: 560px) {
  .numbered__item { grid-template-columns: 1fr; gap: 14px; }
}

/* Split feature row (alternating) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
.split + .split { margin-top: clamp(56px, 6vw, 80px); }
.split--reverse .split__media { order: 2; }
.split--reverse .split__body { order: 1; }
.split__body > * + * { margin-top: 16px; }
.split__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: var(--leading-heading);
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
  color: var(--color-navy);
  text-wrap: balance;
}
/* A heading that is also a link keeps heading colour — blue is reserved for
   actions, so a large blue title would read as a button, not a title. */
.split__title a, .band__title a, .article-card__title a, h1 a, h2 a, h3 a {
  color: inherit;
  text-decoration: none;
}
.split__title a:hover, .band__title a:hover, .article-card__title a:hover,
h1 a:hover, h2 a:hover, h3 a:hover {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.split__text { color: var(--color-indigo); line-height: 1.5; }
.band--dark .split__title { color: #fff; }
.band--dark .split__text { color: var(--color-on-dark); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media, .split--reverse .split__body { order: initial; }
  .split + .split { margin-top: 56px; }
}

/* Product screenshot showcase — the blue background IS the frame. */
.showcase {
  background: var(--color-blue);
  border-radius: var(--radius-cards);
  padding: clamp(28px, 3.5vw, 48px);
  overflow: hidden;
}
.showcase .mock {
  transform: rotate(-2deg);
  border: 0;
  border-radius: var(--radius-images);
  box-shadow: none;
}
.showcase .mock--tilt-r { transform: rotate(2deg); }
.showcase--lavender { background: var(--surface-lavender); }
.showcase--dark { background: var(--surface-dark); }
@media (max-width: 560px) {
  .showcase .mock, .showcase .mock--tilt-r { transform: none; }
}

/* Checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.checklist li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--color-indigo);
  line-height: 1.5;
}
.checklist li::before {
  content: '';
  width: 20px; height: 20px; margin-top: 2px;
  border-radius: var(--radius-full);
  background: var(--color-success-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6b45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.checklist--plain li::before { background-color: transparent; }
.band--dark .checklist li { color: var(--color-on-dark); }

/* Definition rows */
.rows { border-top: 1px solid var(--line-hair); }
.rows__item {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-hair);
}
.rows__term {
  font-family: var(--font-display);
  font-size: var(--text-subheading);
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
  color: var(--color-navy);
}
.rows__desc { color: var(--color-indigo); line-height: 1.5; }
@media (max-width: 760px) { .rows__item { grid-template-columns: 1fr; gap: 8px; } }

/* --------------------------------------------------------- product mock */

.mock {
  background: var(--surface-canvas);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-images);
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  color: var(--color-carbon);
  box-shadow: var(--shadow-subtle);
}
.mock--tilt { transform: rotate(-1.4deg); }
.mock--tilt-r { transform: rotate(1.4deg); }
.mock__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-hair);
  background: var(--surface-canvas);
}
.mock__dots { display: flex; gap: 5px; }
.mock__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-hair); display: block; }
.mock__title { font-size: 11px; font-weight: 500; color: var(--color-indigo); }
.mock__pill {
  margin-left: auto;
  font-size: 10px; font-weight: 500;
  padding: 3px 9px; border-radius: var(--radius-full);
  background: var(--color-success-bg); color: var(--color-success-fg);
}
.mock__body { display: grid; grid-template-columns: 118px minmax(0, 1fr); }
.mock__body--single { grid-template-columns: minmax(0, 1fr); }
.mock__side { padding: 14px 12px; border-right: 1px solid var(--line-hair); background: var(--surface-soft); display: grid; gap: 8px; align-content: start; }
.mock__side-item { display: flex; align-items: center; gap: 7px; color: var(--color-indigo); font-size: 10.5px; }
.mock__side-item i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--line-solid); display: block; flex: none; }
.mock__side-item.is-active { color: var(--color-blue); font-weight: 500; }
.mock__side-item.is-active i { border-color: var(--color-blue); background: var(--surface-tint); }
.mock__main { padding: 16px; display: grid; gap: 12px; }

.mock-doc {
  background: var(--surface-canvas);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-images);
  padding: 16px;
  display: grid;
  gap: 10px;
}
.mock-doc__name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--color-navy); }
.mock-doc__role { font-size: 10px; color: var(--color-blue); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.mock-doc__rule { height: 1px; background: var(--line-hair); }
.mock-sec { display: grid; gap: 6px; }
.mock-sec__label { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-indigo); font-weight: 500; }
.line { height: 6px; border-radius: 3px; background: var(--line-hair); }
.line--dark { background: var(--line-mock); }
.line--blue { background: var(--line-mock-blue); }
.line--w90 { width: 90%; } .line--w80 { width: 80%; } .line--w70 { width: 70%; }
.line--w60 { width: 60%; } .line--w50 { width: 50%; } .line--w40 { width: 40%; } .line--w30 { width: 30%; }

.mock-field { display: grid; gap: 5px; }
.mock-field__label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-indigo); font-weight: 500; }
.mock-field__input { height: 22px; border: 1px solid var(--line-hair); border-radius: var(--radius-images); background: var(--surface-canvas); }
.mock-field__input--filled { background: var(--surface-soft); }
.mock-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.mock-col { background: var(--surface-soft); border-radius: var(--radius-inputs); padding: 8px; display: grid; gap: 6px; align-content: start; }
.mock-col__head { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-indigo); font-weight: 600; }
.mock-card { background: var(--surface-canvas); border: 1px solid var(--line-hair); border-radius: var(--radius-images); padding: 7px; display: grid; gap: 4px; }
.mock-card__t { font-size: 10px; font-weight: 500; color: var(--color-carbon); }
.mock-card__m { font-size: 9px; color: var(--color-indigo); }
.mock-card--accent { border-left: 2px solid var(--color-blue); }

.mock-list { display: grid; gap: 7px; }
.mock-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-images);
}
.mock-row__t { font-size: 10.5px; font-weight: 500; color: var(--color-carbon); }
.mock-row__m { font-size: 9.5px; color: var(--color-indigo); margin-left: auto; }
.mock-row--active { border-color: var(--line-mock-blue); background: var(--surface-tint); }

.mock-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9.5px; font-weight: 600;
  padding: 3px 8px; border-radius: var(--radius-full);
}
.mock-badge--mint { background: var(--color-success-bg); color: var(--color-success-fg); }
.mock-badge--blue { background: var(--surface-tint); color: var(--color-blue-deep); }
.mock-badge--blush { background: var(--color-clay-bg); color: var(--color-clay); }

.mock-meter { height: 6px; border-radius: 3px; background: var(--line-hair); overflow: hidden; }
.mock-meter > span { display: block; height: 100%; background: var(--color-blue); border-radius: 3px; }

/* Floating chip cluster over a mock */
.mock-stage { position: relative; }
.mock-float {
  position: absolute;
  z-index: 2;
  background: var(--surface-canvas);
  border-radius: var(--radius-inputs);
  padding: 12px 15px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow-raised);
}
.mock-float--bl { left: -24px; bottom: 30px; }
.mock-float--tr { right: -22px; top: 26px; }
.mock-float__label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-indigo); font-weight: 500;
}

@media (max-width: 560px) {
  .mock-float--bl { left: 0; bottom: -14px; }
  .mock-float--tr { right: 0; top: -14px; }
  .mock--tilt, .mock--tilt-r { transform: none; }
}

/* ----------------------------------------------------------- CTA banner */

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface-dark);
  border-radius: var(--radius-cards);
  padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 56px);
  text-align: center;
  color: #fff;
}
.cta-panel > *:not(.confetti) { position: relative; z-index: 1; }
.cta-panel h2, .cta-panel .h2 { color: #fff; }
.cta-panel .eyebrow { justify-content: center; margin-bottom: 16px; }
.cta-panel__sub {
  color: var(--color-on-dark);
  font-size: var(--text-subheading);
  line-height: var(--leading-subheading);
  margin-top: 16px;
  max-width: 52ch;
  margin-left: auto; margin-right: auto;
}
.cta-panel .actions { justify-content: center; margin-top: 32px; }

/* ------------------------------------------------------------- articles */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}
@media (max-width: 940px) { .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .articles-grid { grid-template-columns: 1fr; } }

.article-card { display: grid; gap: 14px; text-decoration: none; color: inherit; align-content: start; }
.article-card:hover { text-decoration: none; }
.article-card__media {
  display: block;
  border-radius: var(--radius-images);
  overflow: hidden;
  background: var(--surface-soft);
  aspect-ratio: 16 / 9;
}
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.article-card:hover .article-card__media img { transform: scale(1.03); }
.article-card__cat {
  display: inline-block;
  font-size: var(--text-caption); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-blue);
}
.article-card__title {
  font-family: var(--font-display);
  font-size: var(--text-heading-sm);
  line-height: var(--leading-heading-sm);
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
  color: var(--color-navy);
  margin: 8px 0 8px;
  transition: color var(--dur) var(--ease-out);
}
.article-card:hover .article-card__title { color: var(--color-blue); }
.article-card__excerpt { font-size: var(--text-caption); line-height: 1.55; color: var(--color-indigo); }

.article-hero { position: relative; background: var(--surface-soft); padding: 56px 0 0; }
.article-hero__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: var(--text-caption); color: var(--color-indigo); margin-bottom: 16px;
}
.article-hero__cat {
  font-size: var(--text-caption);
  color: var(--color-blue); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
.article-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-heading-lg);
  line-height: var(--leading-heading-lg);
  letter-spacing: var(--tracking-display);
  font-weight: 500;
  max-width: 22ch;
  text-wrap: balance;
}
.article-hero__image {
  margin-top: 40px;
  border-radius: var(--radius-images) var(--radius-images) 0 0;
  overflow: hidden;
}
.article-hero__image img { width: 100%; height: auto; }
@media (max-width: 700px) { .article-hero__title { max-width: none; } }

.article-body { padding: 56px 0 var(--section-gap); }
.article-body > .container { max-width: 760px; }

/* ---------------------------------------------------------------- prose */

.prose { max-width: 760px; }
.prose > * + * { margin-top: 20px; }
.prose h1 {
  font-size: var(--text-heading-lg);
  line-height: var(--leading-heading-lg);
  letter-spacing: var(--tracking-display);
  font-weight: 500;
}
.prose h2 {
  font-size: var(--text-heading);
  line-height: var(--leading-heading);
  font-weight: 500;
  margin-top: 48px;
  color: var(--color-navy);
}
.prose h3 { font-size: var(--text-heading-sm); font-weight: 500; margin-top: 32px; color: var(--color-navy); }
.prose p { color: var(--color-carbon); line-height: 1.6; }
.prose ul, .prose ol { padding-left: 22px; color: var(--color-carbon); line-height: 1.6; display: grid; gap: 8px; }
.prose li::marker { color: var(--line-strong); }
.prose a { color: var(--color-blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose blockquote {
  margin: 0;
  padding: 20px 24px;
  background: var(--surface-soft);
  border-left: 3px solid var(--color-blue);
  border-radius: 0 var(--radius-inputs) var(--radius-inputs) 0;
  color: var(--color-indigo);
}
.prose strong { font-weight: 700; color: var(--color-navy); }
.prose-rule { border: 0; border-top: 1px solid var(--line-hair); margin: 44px 0; }
.prose-figure { margin: 44px 0; }
.prose-figure img { width: 100%; height: auto; border-radius: var(--radius-images); }
.prose-figure figcaption { margin-top: 12px; font-size: var(--text-caption); color: var(--color-indigo); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-caption); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-hair); }
.prose th { color: var(--color-indigo); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

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

.faq { display: grid; gap: 40px; }
.faq__group { display: grid; gap: 8px; }
.faq__heading {
  font-size: var(--text-caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-indigo);
  margin-bottom: 8px;
}
.faq__item {
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-cards);
  background: var(--surface-canvas);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out);
}
.faq__item:hover, .faq__item[open] { border-color: var(--line-solid); }
.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  position: relative;
  font-family: var(--font-display);
  font-size: var(--text-subheading);
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
  color: var(--color-navy);
}
.faq__q::-webkit-details-marker { display: none; }
/* Plus/minus drawn as two flat bars — the system allows no gradients. */
.faq__q::before, .faq__q::after {
  content: '';
  position: absolute; top: 50%;
  background: var(--color-blue);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.faq__q::before { right: 24px; width: 12px; height: 2px; margin-top: -1px; }
.faq__q::after  { right: 29px; width: 2px; height: 12px; margin-top: -6px; }
.faq__item[open] .faq__q::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 24px 24px; color: var(--color-indigo); line-height: 1.6; }
.faq__a > * + * { margin-top: 12px; }

/* ---------------------------------------------------------------- forms */

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.label { font-size: var(--text-caption); font-weight: 500; color: var(--color-indigo); }
.input, .textarea, .select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-carbon);
  border-radius: var(--radius-inputs);
  background: var(--surface-canvas);
  color: var(--color-carbon);
  font-family: inherit;
  font-size: var(--text-body);
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.input::placeholder, .textarea::placeholder { color: var(--color-indigo); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 2px rgba(24, 104, 219, 0.25);
}
.textarea { min-height: 140px; resize: vertical; }
.field__note { font-size: var(--text-caption); color: var(--color-indigo); }

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-inputs);
  font-size: var(--text-caption);
  line-height: 1.45;
}
.alert--error { background: var(--color-error-bg); color: var(--color-error-fg); }
.alert--ok { background: var(--color-success-bg); color: var(--color-success-fg); }
.alert--info { background: var(--surface-tint); color: var(--color-blue-deep); }

.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 64px;
  align-items: center;
  padding: 72px 0 88px;
}
.auth__aside > * + * { margin-top: 20px; }
.auth__card {
  background: var(--surface-canvas);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-cards);
  padding: 32px;
  box-shadow: var(--shadow-subtle);
}
.auth__card > * + * { margin-top: 20px; }
.auth__title { font-family: var(--font-display); font-size: var(--text-heading-sm); font-weight: 500; letter-spacing: var(--tracking-heading); }
.auth__foot { font-size: var(--text-caption); color: var(--color-indigo); text-align: center; }
.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 64px; }
}

.checkbox-row { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: var(--text-caption); color: var(--color-indigo); line-height: 1.5; }
.checkbox-row input { margin: 2px 0 0; accent-color: var(--color-blue); width: 16px; height: 16px; }

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

.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  position: relative;
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-cards);
  padding: 32px;
  background: var(--surface-canvas);
  display: grid;
  gap: 20px;
  align-content: start;
}
.price-card--feature { background: var(--surface-lavender); border-color: transparent; }
.price-card__name { font-family: var(--font-display); font-size: var(--text-subheading); font-weight: 500; color: var(--color-navy); }
.price-card__amount { display: flex; align-items: baseline; gap: 8px; }
.price-card__num {
  font-family: var(--font-display);
  font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -0.024em;
  color: var(--color-navy); font-variant-numeric: tabular-nums;
}
.price-card__per { font-size: var(--text-body); color: var(--color-indigo); }
.price-card__note { font-size: var(--text-caption); color: var(--color-indigo); }

/* ------------------------------------------------------------ changelog */

.changelog { display: grid; gap: 12px; max-width: 880px; }
.changelog__entry {
  display: grid;
  grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-hair);
}
.changelog__side { display: grid; gap: 8px; align-content: start; }
.changelog__date { font-size: var(--text-caption); color: var(--color-indigo); }
.changelog__title {
  font-family: var(--font-display);
  font-size: var(--text-heading-sm); font-weight: 500;
  letter-spacing: var(--tracking-heading); margin-bottom: 8px; color: var(--color-navy);
}
.changelog__body { color: var(--color-indigo); line-height: 1.5; }
@media (max-width: 720px) { .changelog__entry { grid-template-columns: 1fr; gap: 10px; } }

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

.site-footer {
  position: relative;
  background: var(--surface-canvas);
  border-top: 1px solid var(--line-hair);
  padding: clamp(56px, 6vw, 80px) 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 64px;
  padding-bottom: 48px;
}
.footer__brand-col, .footer__cols, .footer__col { min-width: 0; }
.footer__brand-col > * + * { margin-top: 16px; }
.footer__brand { display: inline-flex; align-items: center; gap: 9px; }
.footer__brand-word { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--color-navy); letter-spacing: -0.018em; }
.footer__tag { font-size: var(--text-caption); color: var(--color-indigo); line-height: 1.55; max-width: 42ch; }

.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__col h5 {
  font-family: var(--font-text);
  font-size: var(--text-caption); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-indigo); margin-bottom: 16px;
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer__col a {
  color: var(--color-navy); font-size: var(--text-caption); text-decoration: none;
  transition: color var(--dur) var(--ease-out);
}
.footer__col a:hover { color: var(--color-blue); text-decoration: none; }

.footer__bar {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-hair);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: var(--text-caption); color: var(--color-indigo);
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; gap: 44px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------- motion */

/* Entrance reveals. The `.js` class is set by an inline script in <head>,
   so with JavaScript unavailable nothing is ever hidden. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

/* The hero animates on load rather than on scroll. */
.js .hero__copy > *, .js .hero__visual {
  animation: rise 640ms var(--ease-out) both;
}
.js .hero__copy > *:nth-child(1) { animation-delay: 40ms; }
.js .hero__copy > *:nth-child(2) { animation-delay: 100ms; }
.js .hero__copy > *:nth-child(3) { animation-delay: 160ms; }
.js .hero__copy > *:nth-child(4) { animation-delay: 220ms; }
.js .hero__copy > *:nth-child(5) { animation-delay: 280ms; }
.js .hero__visual { animation-delay: 180ms; animation-duration: 760ms; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .article-card:hover .article-card__media img { transform: none; }
}

/* Footer bottom bar details */
.footer__bar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer__support { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__support a { color: var(--color-navy); font-weight: 500; }
.footer__support a:hover { color: var(--color-blue); text-decoration: none; }
.footer__support-hours { color: var(--color-indigo); }

/* EEA cookie consent bar (lib/consent.php). Fixed to the bottom edge, flat
   white panel on a hairline, the two site buttons. Copied into
   promo/rh-1/styles.css; keep the two in step. */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  padding: 16px clamp(16px, 4vw, 40px);
  background: var(--surface-canvas);
  border-top: 1px solid var(--line-solid);
  box-shadow: 0 -8px 24px rgba(16, 18, 20, 0.06);
  font-size: var(--text-caption); line-height: 1.5; color: var(--color-carbon);
}
.cookie-bar__text { margin: 0; max-width: 72ch; }
.cookie-bar__text a { color: var(--color-blue); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
@media (max-width: 560px) {
  .cookie-bar__actions { width: 100%; }
  .cookie-bar__actions .btn { flex: 1 1 auto; }
}

/* Stacked hero copy (used by the compact single-column heroes) */
.hero__inner { display: grid; gap: 18px; justify-items: start; }
.hero--center .hero__inner { justify-items: center; text-align: center; }

/* Real product screenshots occupy the same frame as the drawn mocks. */
.mock--shot { line-height: 0; }
.mock--shot img { display: block; width: 100%; height: auto; }
