/* ==========================================================================
   XGrowth Digital — design system
   1. Fonts  2. Tokens  3. Base  4. Layout  5. Components  6. Sections  7. Utilities
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  /* Color */
  --ink: #0E1B2C;          /* primary text, dark surfaces */
  --ink-2: #33445A;        /* secondary text (7.9:1 on paper) */
  --ink-3: #5A6A7E;        /* muted text (5.1:1 on paper) */
  --paper: #FAF8F4;        /* warm white background */
  --sand: #F2EDE4;         /* alternate section background */
  --white: #FFFFFF;
  --line: #E3DDD2;
  --line-2: #D5CDBF;

  --accent: #14C6A4;       /* growth teal — decorative, on dark */
  --accent-strong: #087464;/* teal for text/buttons on light (5.6:1 on white) */
  --accent-soft: #DDF5EF;
  --blue: #3A6DF0;
  --blue-soft: #E5ECFE;
  --sun: #F5B83D;

  --grad-hero: radial-gradient(60% 70% at 85% 10%, rgba(20,198,164,.16), transparent 60%),
               radial-gradient(50% 60% at 5% 90%, rgba(58,109,240,.10), transparent 60%);
  --grad-dark: radial-gradient(80% 120% at 100% 0%, rgba(20,198,164,.28), transparent 55%),
               radial-gradient(70% 100% at 0% 100%, rgba(58,109,240,.25), transparent 55%), var(--ink);

  /* Type */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .4vw, 1.4375rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.4vw, 4.25rem);

  /* Space & shape */
  --space-section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --container: 1200px;
  --gutter: clamp(1.25rem, .8rem + 2vw, 2rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14,27,44,.06), 0 1px 1px rgba(14,27,44,.04);
  --shadow: 0 10px 30px -12px rgba(14,27,44,.18), 0 2px 6px rgba(14,27,44,.05);
  --shadow-lg: 0 30px 60px -20px rgba(14,27,44,.28), 0 8px 20px -8px rgba(14,27,44,.12);
  --focus: 0 0 0 3px var(--paper), 0 0 0 6px var(--blue);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* component display rules (e.g. .form { display: grid }) must never override the hidden attribute */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .6em; font-weight: 750; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -.035em; font-weight: 800; line-height: 1.05; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; }
h4 { font-size: var(--fs-lg); letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent-strong); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
strong { color: var(--ink); font-weight: 700; }
ul, ol { padding-left: 1.2em; }
::selection { background: var(--accent-soft); color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 4. Layout --------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.section { padding-block: var(--space-section); }
.section--sand { background: var(--sand); }
.section--tight { padding-block: calc(var(--space-section) * .6); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-lg); color: var(--ink-3); margin: 0; }
.grid { display: grid; gap: clamp(1rem, .75rem + 1vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr .85fr; } }

/* 5. Components ----------------------------------------------------------- */

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-strong); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: var(--fs-xl); line-height: 1.55; color: var(--ink-2); }

/* Buttons */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font: inherit; font-size: var(--fs-sm); font-weight: 700; line-height: 1.2; letter-spacing: -.005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: none; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn--accent { --btn-bg: var(--accent-strong); --btn-bd: var(--accent-strong); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-bd: var(--ink); background: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-bd: var(--white); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.4); }
.btn--outline-light:hover { --btn-bd: var(--white); }
.btn--sm { min-height: 40px; padding: .5rem 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(14,27,44,.35); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: none; }
.brand svg { width: 38px; height: 38px; }
.brand__name { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.brand__name span { font-weight: 500; color: var(--accent-strong); margin-left: .2em; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .55rem .85rem; border-radius: 999px;
  color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s;
}
.site-nav a:hover { color: var(--ink); background: rgba(14,27,44,.05); }
.site-nav a[aria-current="page"] { color: var(--ink); background: rgba(14,27,44,.07); }
.header-cta { flex: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .js .header-cta { display: none; }
  .js .site-nav {
    position: fixed; inset: 76px 0 auto 0; margin: 0; padding: 1rem var(--gutter) 1.5rem;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none; max-height: calc(100dvh - 76px); overflow-y: auto;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: .25rem; }
  .js .site-nav a { padding: .9rem 1rem; font-size: var(--fs-base); border-radius: var(--radius-sm); }
  .js .site-nav a.site-nav__cta { display: flex; margin-top: 1rem; padding: .9rem 1rem; color: var(--white); background: var(--accent-strong); border-radius: 999px; font-size: var(--fs-base); }
  /* No-JS fallback: nav becomes a scrollable row under the brand */
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: .75rem; }
  .no-js .site-nav { order: 3; width: 100%; overflow-x: auto; }
  .no-js .header-cta { margin-left: auto; }
}
.site-nav a.site-nav__cta { display: none; }

/* Browser frame (used around screenshots) */
.browser {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(14,27,44,.08);
}
.browser__bar {
  display: flex; align-items: center; gap: .4rem; height: 34px; padding: 0 .85rem;
  background: #F1EFEA; border-bottom: 1px solid var(--line);
}
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9D3C8; }
.browser__bar i:nth-child(1) { background: #F0776B; } .browser__bar i:nth-child(2) { background: #F5BE4F; } .browser__bar i:nth-child(3) { background: #5BC776; }
.browser__url {
  margin-left: .6rem; flex: 1; max-width: 340px; height: 20px; border-radius: 6px; background: var(--white);
  font-size: 11px; line-height: 20px; color: var(--ink-3); padding: 0 .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--sand); }

.phone {
  width: 100%; border-radius: 28px; padding: 8px; background: var(--ink); box-shadow: var(--shadow-lg);
}
.phone img { border-radius: 21px; width: 100%; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; background: var(--sand); }

/* Cards */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.25rem;
  background: var(--accent-soft); color: var(--accent-strong);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--blue { background: var(--blue-soft); color: #2853C7; }
.icon-badge--sun { background: #FDF0D6; color: #8A5A00; }
.icon-badge--ink { background: var(--ink); color: var(--accent); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.85rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23087464' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.check-list--light li::before { background-color: rgba(20,198,164,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2314C6A4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.tag {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 650; background: var(--sand); color: var(--ink-2); border: 1px solid var(--line);
}
.tag--accent { background: var(--accent-soft); color: var(--accent-strong); border-color: transparent; }
.tag--demo { background: #FDF0D6; color: #6E4700; border-color: transparent; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2vw, 4rem); background: var(--grad-hero); }
.page-hero h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); max-width: 18ch; }
.page-hero .lead { max-width: 60ch; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 2rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: var(--fs-xs); color: var(--ink-3); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-2); }
.breadcrumbs a { color: var(--ink-3); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 900px) { .steps--row { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1rem;
  border-radius: 12px; background: var(--ink); color: var(--accent); font-weight: 800; font-size: var(--fs-sm); letter-spacing: .02em;
}
.step h3 { font-size: var(--fs-lg); margin-bottom: .35rem; }
.step p { font-size: var(--fs-sm); color: var(--ink-3); margin: 0; }

.timeline { list-style: none; padding: 0; margin: 0; counter-reset: step; position: relative; }
.timeline::before { content: ""; position: absolute; left: 1.55rem; top: 1rem; bottom: 1rem; width: 2px; background: linear-gradient(var(--accent), var(--blue)); opacity: .35; }
.timeline > li { position: relative; counter-increment: step; padding: 0 0 clamp(2rem, 1.5rem + 2vw, 3rem) 5rem; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 3.1rem; height: 3.1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--accent); font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--paper);
}
.timeline h2 { font-size: var(--fs-h3); margin-bottom: .4rem; padding-top: .55rem; }
.timeline .card { margin-top: 1rem; }

/* Pricing */
.pricing-grid { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 960px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.price-card--featured { background: var(--grad-dark); color: rgba(255,255,255,.82); border-color: transparent; box-shadow: var(--shadow-lg); }
.price-card--featured h3, .price-card--featured .price__amount, .price-card--featured strong { color: var(--white); }
.price-card--featured .price__meta { color: rgba(255,255,255,.7); }
.price-card h3 { font-size: var(--fs-xl); margin-bottom: .25rem; }
.price-card__badge { align-self: flex-start; margin-bottom: 1rem; padding: .3rem .75rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; background: rgba(20,198,164,.18); color: var(--accent); }
.price-card__summary { font-size: var(--fs-sm); min-height: 3.2em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; margin: 1rem 0 1.5rem; }
.price__from { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; width: 100%; }
.price__amount { font-size: clamp(2.5rem, 2rem + 1.5vw, 3.25rem); font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.price__meta { font-size: var(--fs-sm); color: var(--ink-3); font-weight: 600; }
.price-card .check-list { font-size: var(--fs-sm); margin-bottom: 2rem; }
.price-card .btn { margin-top: auto; }
.managed-band {
  margin-top: 1.25rem; display: grid; gap: 1.5rem 2.5rem; align-items: center; padding: 2rem;
  background: var(--white); border: 1px dashed var(--line-2); border-radius: var(--radius-lg);
}
@media (min-width: 900px) { .managed-band { grid-template-columns: 1.1fr 1.4fr auto; } }
.managed-band .check-list { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); font-size: var(--fs-sm); }
.managed-band__title { margin: 1rem 0 .25rem; }
.price--compact { margin: .5rem 0 0; }
.price--compact .price__amount { font-size: 2.25rem; }
.note { font-size: var(--fs-sm); color: var(--ink-3); }
.note--box { padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent-strong); border-radius: var(--radius-sm); }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none;
  padding: 1.15rem 1.35rem; font-weight: 700; color: var(--ink); font-size: var(--fs-base);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--sand)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%230E1B2C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { border-radius: var(--radius); }
.faq .faq__answer { padding: 0 1.35rem 1.25rem; color: var(--ink-2); }
.faq .faq__answer p { margin: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  background: var(--grad-dark); color: rgba(255,255,255,.8);
}
.cta-band h2 { color: var(--white); max-width: 20ch; }
.cta-band p { max-width: 56ch; font-size: var(--fs-lg); }
.cta-band .btn-row { margin-top: 2rem; }
.cta-band__art { position: absolute; right: -40px; bottom: -40px; width: 320px; opacity: .14; pointer-events: none; }
@media (max-width: 700px) { .cta-band__art { display: none; } }

/* Forms */
.form { display: grid; gap: 1.35rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.form legend { font-weight: 750; color: var(--ink); font-size: var(--fs-lg); margin-bottom: .75rem; padding: 0; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .field .label { font-weight: 650; color: var(--ink); font-size: var(--fs-sm); }
.field .optional { font-weight: 500; color: var(--ink-3); }
.field .hint { font-size: var(--fs-xs); color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; padding-right: 2.5rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2333445A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .85rem center / 1.1rem no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); border-radius: var(--radius-sm); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B42318; }
.field .error { display: none; font-size: var(--fs-xs); font-weight: 650; color: #B42318; }
.field.has-error .error { display: block; }
.choice-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.choice { position: relative; display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; background: var(--white); border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; font-size: var(--fs-sm); color: var(--ink); font-weight: 600; transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: var(--ink-3); }
.choice input { width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; accent-color: var(--accent-strong); flex: none; }
.choice:has(input:checked) { border-color: var(--accent-strong); background: #F3FBF8; }
.choice:has(input:focus-visible) { box-shadow: var(--focus); }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status--error { background: #FEF3F2; color: #912018; border: 1px solid #FECDCA; }
.form-status--info { background: var(--blue-soft); color: #1D3E91; }
.form-success:focus, .form-success:focus-visible { outline: none; box-shadow: none; } /* focused programmatically so screen readers announce it; not interactive */
.form-success { text-align: center; padding: clamp(2rem, 1.5rem + 3vw, 4rem) 1.5rem; }
.form-success .icon-badge { margin-inline: auto; width: 64px; height: 64px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); box-shadow: var(--shadow); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); font-size: var(--fs-sm); }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand { color: var(--white); }
.site-footer .brand__name span { color: var(--accent); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; } }
.footer-grid h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--white); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-about p { max-width: 36ch; margin-top: 1.25rem; }
.footer-bottom { margin-top: 3.5rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: var(--fs-xs); color: rgba(255,255,255,.6); }

/* 6. Sections ------------------------------------------------------------- */

/* Home hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(4rem, 3rem + 5vw, 7rem); background: var(--grad-hero); }
.hero__grid { display: grid; gap: clamp(3rem, 2rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1fr 1.02fr; } }
.hero h1 { max-width: 15ch; font-size: clamp(2.375rem, 1.4rem + 3vw, 3.75rem); }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent-strong), #2E62E0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 52ch; margin-bottom: 2rem; }
.hero__assurances { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 2rem 0 0; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.hero__assurances li { display: flex; align-items: center; gap: .45rem; }
.hero__assurances svg { width: 1.1rem; height: 1.1rem; color: var(--accent-strong); }
.hero-visual { position: relative; padding: 0 0 2.5rem 0; }
.hero-visual__main { position: relative; z-index: 1; transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); transform-origin: left center; }
.hero-visual__back { position: absolute; z-index: 0; width: 60%; right: -7%; top: -22%; opacity: .95; transform: rotate(3deg); }
.hero-visual__phone { position: absolute; z-index: 2; width: 27%; left: -5%; bottom: -1%; }
.hero-visual__chip {
  position: absolute; z-index: 3; right: -2%; bottom: 8%; display: flex; align-items: center; gap: .65rem;
  padding: .75rem 1rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: var(--fs-xs); color: var(--ink-2); font-weight: 600;
}
.hero-visual__chip strong { display: block; font-size: var(--fs-sm); }
.hero-visual__chip .icon-badge { width: 38px; height: 38px; margin: 0; border-radius: 10px; }
.hero-visual__chip .icon-badge svg { width: 20px; height: 20px; }
@media (max-width: 999px) { .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; } .hero-visual__main { transform: none; } }
@media (max-width: 560px) { .hero-visual__chip { display: none; } .hero-visual__phone { width: 30%; left: -2%; } }

.hero-band { border-block: 1px solid var(--line); background: var(--white); }
.hero-band ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.25rem; list-style: none; margin: 0; padding: 1.25rem 0; font-size: var(--fs-sm); font-weight: 650; color: var(--ink-2); }
.hero-band li { display: flex; align-items: center; gap: .5rem; }
.hero-band svg { width: 1.15rem; height: 1.15rem; color: var(--accent-strong); }

/* Benefits */
.benefit h3 { font-size: var(--fs-lg); }
.benefit p { font-size: var(--fs-sm); color: var(--ink-3); }

/* Showcase cards (portfolio) */
.showcase { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.showcase-card { display: grid; gap: 1.25rem; text-decoration: none; color: inherit; }
.showcase-card__media { position: relative; transition: transform .35s var(--ease); }
.showcase-card:hover .showcase-card__media { transform: translateY(-4px); }
.showcase-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.showcase-card h3 { margin-bottom: .35rem; }
.showcase-card p { color: var(--ink-3); font-size: var(--fs-sm); }

.demo-feature { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); border-top: 1px solid var(--line); }
.demo-feature:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 960px) {
  .demo-feature { grid-template-columns: 1.25fr 1fr; }
  .demo-feature:nth-child(even) .demo-feature__media { order: 2; }
}
.demo-feature__media { position: relative; }
.demo-feature__media .phone { position: absolute; width: 24%; right: -3%; bottom: -8%; }
@media (max-width: 600px) { .demo-feature__media .phone { display: none; } }
.demo-feature h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); }
.demo-feature .check-list { margin: 1.25rem 0 1.75rem; font-size: var(--fs-sm); }
.demo-feature dl { display: grid; gap: .2rem; margin: 0 0 1rem; font-size: var(--fs-sm); }
.demo-feature dt { font-weight: 700; color: var(--ink); }
.demo-feature dd { margin: 0; color: var(--ink-3); }

.planned-card { background: var(--white); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); padding: 1.5rem; }
.planned-card__art { height: 120px; border-radius: var(--radius); margin-bottom: 1.25rem; background:
  repeating-linear-gradient(-45deg, transparent 0 10px, rgba(14,27,44,.035) 10px 20px), var(--sand);
  display: grid; place-items: center; color: var(--ink-3); }
.planned-card__art svg { width: 40px; height: 40px; opacity: .55; }
.planned-card h3 { font-size: var(--fs-lg); margin-bottom: .35rem; }
.planned-card p { font-size: var(--fs-sm); color: var(--ink-3); margin-bottom: .75rem; }

/* Services */
.service-group { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); border-top: 1px solid var(--line); }
.service-group:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 960px) { .service-group { grid-template-columns: .8fr 1.6fr; gap: 4rem; } .service-group__intro { position: sticky; top: 7rem; align-self: start; } }
.service-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.service-item { padding: 1.35rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.service-item h3 { font-size: var(--fs-base); margin-bottom: .3rem; display: flex; gap: .6rem; align-items: center; }
.service-item h3 svg { width: 20px; height: 20px; color: var(--accent-strong); flex: none; }
.service-item p { font-size: var(--fs-sm); color: var(--ink-3); margin: 0; }

/* Why choose */
.why { background: var(--grad-dark); color: rgba(255,255,255,.78); }
.why h2, .why h3 { color: var(--white); }
.why .eyebrow { color: var(--accent); }
.why .section-head p { color: rgba(255,255,255,.72); }
.why-item { padding: 1.75rem; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.why-item p { font-size: var(--fs-sm); margin: 0; }
.why-item .icon-badge { background: rgba(20,198,164,.15); color: var(--accent); }

/* About */
.values { counter-reset: v; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 2.5rem; }
.prose p, .prose li { font-size: var(--fs-lg); color: var(--ink-2); }
.stat-art { border-radius: var(--radius-lg); overflow: hidden; background: var(--grad-dark); padding: 2rem; }

/* Contact */
.contact-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1.55fr .9fr; } .contact-aside { position: sticky; top: 7rem; } }
.contact-aside .card + .card { margin-top: 1rem; }

/* Error page */
.error-page { text-align: center; padding-block: clamp(5rem, 4rem + 6vw, 9rem); }
.error-page .code { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(100deg, var(--accent-strong), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: center; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare th[scope="row"], .compare thead th:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.compare thead th { font-size: var(--fs-base); color: var(--ink); font-weight: 750; background: var(--paper); }
.compare thead th span { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-3); }
.compare td svg { width: 1.25rem; height: 1.25rem; margin-inline: auto; color: var(--accent-strong); }
.compare td { color: var(--ink-2); }
.compare tbody tr:hover { background: #FCFBF8; }
.plain-list { padding-left: 1.1rem; margin: 0 0 1rem; display: grid; gap: .5rem; font-size: var(--fs-sm); }

/* Process roles */
.process-roles { margin-top: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.process-roles .card { margin-top: 0; padding: 1.35rem; }
.role-title { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 1rem; }
.role-title svg { width: 18px; height: 18px; color: var(--accent-strong); }
.process-roles .check-list { font-size: var(--fs-sm); }

/* About / contact asides */
.h4 { font-size: var(--fs-lg); letter-spacing: -.01em; }
.about-aside { align-self: start; }
@media (min-width: 900px) { .about-aside { position: sticky; top: 7rem; } }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.facts li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .9rem; font-size: var(--fs-sm); }
.facts svg { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong); }
.facts strong { display: block; }
.mini-steps { padding-left: 1.25rem; margin: 0 0 1rem; display: grid; gap: .75rem; font-size: var(--fs-sm); }
.mini-steps li::marker { color: var(--accent-strong); font-weight: 800; }
.center-badge { margin-inline: auto; width: 64px; height: 64px; }

/* 7. Utilities & motion --------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.text-center { text-align: center; }
.center { display: flex; justify-content: center; }
.muted { color: var(--ink-3); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s !important; } .reveal-delay-2 { transition-delay: .16s !important; } .reveal-delay-3 { transition-delay: .24s !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-visual__main { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; }
}
