/* ==========================================================================
   StorePOS theme
   1. Font face      5. Header / nav
   2. Tokens         6. Sections & components
   3. Reset          7. Pricing / FAQ / footer
   4. Typography     8. Utilities & motion
   ========================================================================== */

/* 1. Font face ----------------------------------------------------------- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dmsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/dmsans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Tokens -------------------------------------------------------------- */
:root {
  --navy-900: #011e46;
  --navy-800: #012e68;
  --navy-700: #0a3f8c;
  --blue:     #0076fe;
  --blue-600: #005fd4;
  --blue-050: #eaf3ff;
  --mint:     #00f4b3;
  --mint-700: #00a97c;

  --ink:      #0a1b33;
  --ink-soft: #3d4f6b;
  --muted:    #61728c;
  --line:     #e3eaf4;
  --line-soft:#eef3fa;
  --bg:       #ffffff;
  --bg-soft:  #f5f8fd;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(1, 30, 70, .06), 0 2px 8px rgba(1, 30, 70, .04);
  --shadow:    0 4px 12px rgba(1, 30, 70, .06), 0 12px 32px rgba(1, 30, 70, .07);
  --shadow-lg: 0 18px 48px rgba(1, 30, 70, .14), 0 4px 12px rgba(1, 30, 70, .06);
  --shadow-glow: 0 24px 70px rgba(0, 118, 254, .35);

  --header-h: 80px;
  --top-offset: 0px;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);

  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 3. Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }

:where(a, button, input, textarea, select, summary, details):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: #fff; color: var(--navy-900);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700; box-shadow: var(--shadow);
}
.skip-link:focus { left: 0; }

/* 4. Typography ---------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -.015em; }
h4 { font-size: 1.0625rem; letter-spacing: -.01em; }
p  { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 700; }

.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .9rem;
}
.on-dark .eyebrow { color: var(--mint); }

/* 5. Layout & header ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-head { max-width: 46rem; margin: 0 auto clamp(2.25rem, 4vw, 3.5rem); text-align: center; }
.section-head p { margin-bottom: 0; }

.site-header {
  position: sticky; top: var(--top-offset); z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(1, 30, 70, .06); }

/* The WordPress admin bar is fixed; keep the header clear of it. */
body.admin-bar { --top-offset: 32px; }
@media screen and (max-width: 782px) { body.admin-bar { --top-offset: 46px; } }

.header-inner {
  display: flex; align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 158px; height: auto; transition: filter .3s var(--ease); }

/* Nav sits next to the wordmark; the CTAs take the right edge. */
.nav { margin-right: auto; }
.nav ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .55rem .85rem; border-radius: 999px;
  color: var(--ink); font-weight: 500; font-size: .9375rem;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav a:hover, .nav .current-menu-item > a { background: var(--blue-050); color: var(--blue-600); }
.nav .nav-cta { display: none; }

.header-cta { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.header-cta .btn { border-radius: 999px; padding: .62rem 1.3rem; }

/* ---- Header overlays the dark hero until you scroll ---------------------
   Every template opens with .hero or .page-hero. Browsers without :has()
   simply keep the solid white header, which is still correct.            */
body:has(.hero, .page-hero) .site-header { position: fixed; inset-inline: 0; }
body:has(.hero, .page-hero) .hero { padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem)); }
body:has(.hero, .page-hero) .page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 4.75rem)); }

body:has(.hero, .page-hero) .site-header:not(.is-stuck) {
  background: transparent; box-shadow: none; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body:has(.hero, .page-hero) .site-header:not(.is-stuck) .brand img { filter: brightness(0) invert(1); }
body:has(.hero, .page-hero) .site-header:not(.is-stuck) .nav a { color: rgba(255, 255, 255, .88); }
body:has(.hero, .page-hero) .site-header:not(.is-stuck) .nav a:hover,
body:has(.hero, .page-hero) .site-header:not(.is-stuck) .nav .current-menu-item > a {
  background: rgba(255, 255, 255, .14); color: #fff;
}
body:has(.hero, .page-hero) .site-header:not(.is-stuck) .nav-toggle {
  color: #fff; border-color: rgba(255, 255, 255, .32);
}
body:has(.hero, .page-hero) .site-header:not(.is-stuck) .header-cta .btn--ghost {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .34); color: #fff;
}
body:has(.hero, .page-hero) .site-header:not(.is-stuck) .header-cta .btn--ghost:hover {
  background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .6); color: #fff;
}

/* With the mobile panel open the header must be solid, whatever is behind it. */
body:has(.nav.is-open) .site-header {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
body:has(.nav.is-open) .site-header .brand img { filter: none; }
body:has(.nav.is-open) .site-header .nav a { color: var(--ink); }
body:has(.nav.is-open) .site-header .nav-toggle { color: var(--ink); border-color: var(--line); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; color: var(--ink);
}

/* 6. Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.55rem; border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: .9688rem; letter-spacing: -.01em;
  cursor: pointer; text-align: center;
  transition: transform .18s var(--ease), background .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(0, 118, 254, .3); }
.btn--primary:hover { background: var(--blue-600); color: #fff; box-shadow: 0 10px 26px rgba(0, 118, 254, .38); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-600); background: var(--blue-050); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-lg); }
.btn--outline-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.3); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); color: #fff; }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.section-head .btn-row { justify-content: center; }

/* 7. Hero ---------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(1100px 560px at 18% -10%, #0a4fb0 0%, transparent 60%),
    radial-gradient(900px 480px at 92% 8%, #0076fe 0%, transparent 55%),
    linear-gradient(165deg, #011e46 0%, #012e68 52%, #01234f 100%);
  color: #fff;
}
.hero::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none; z-index: -1;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(95deg, var(--mint) 10%, #7ef4d5 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--mint);
}
.hero-copy { max-width: 46rem; margin-inline: auto; text-align: center; }
.hero-copy .lede { color: rgba(255, 255, 255, .78); max-width: 38rem; margin-inline: auto; }
.hero .btn-row { justify-content: center; margin-top: 1.9rem; }

.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .5rem .4rem .45rem; margin-bottom: 1.4rem;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; font-size: .875rem; color: rgba(255, 255, 255, .9);
}
.pill b {
  background: var(--mint); color: var(--navy-900);
  padding: .1rem .55rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem;
  margin-top: 1.6rem; font-size: .9rem; color: rgba(255, 255, 255, .72);
}
.hero-meta li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta .icon { width: 17px; height: 17px; color: var(--mint); }

/* 8. POS mockup ---------------------------------------------------------- */
.mockup-shell {
  position: relative; max-width: 1000px; margin: clamp(2.5rem, 5vw, 3.75rem) auto 0;
  border-radius: var(--radius-lg); background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18); padding: 10px;
  box-shadow: var(--shadow-glow);
}
.mockup {
  border-radius: 18px; overflow: hidden; background: #f7f9fc;
  border: 1px solid rgba(1, 30, 70, .08);
}
.mockup-bar {
  display: flex; align-items: center; gap: .55rem;
  padding: .7rem .9rem; background: #fff; border-bottom: 1px solid var(--line);
}
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe6f1; }
.mockup-bar span {
  margin-left: auto; font-size: .75rem; color: var(--muted);
  background: var(--bg-soft); padding: .2rem .7rem; border-radius: 999px;
}
.pos { display: grid; grid-template-columns: 1fr 300px; min-height: 420px; }
.pos-main { padding: 1rem; }
.pos-search {
  display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .6rem .8rem; color: var(--muted); font-size: .875rem;
}
.pos-search .icon { width: 17px; height: 17px; color: var(--blue); }
.pos-tabs { display: flex; gap: .4rem; margin-bottom: .9rem; flex-wrap: wrap; }
.pos-tabs b, .pos-tabs em {
  font-style: normal; font-size: .78rem; font-weight: 600;
  padding: .32rem .75rem; border-radius: 999px;
}
.pos-tabs b { background: var(--navy-900); color: #fff; }
.pos-tabs em { background: #fff; color: var(--ink-soft); border: 1px solid var(--line); }
.pos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.pos-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: .6rem; text-align: left;
}
.pos-item .thumb {
  height: 46px; border-radius: 8px; margin-bottom: .5rem;
  background: linear-gradient(135deg, var(--blue-050), #dbe9ff);
}
.pos-item:nth-child(3n) .thumb { background: linear-gradient(135deg, #e4fff6, #c2f7e6); }
.pos-item:nth-child(4n) .thumb { background: linear-gradient(135deg, #eef2f9, #dfe7f4); }
.pos-item strong { display: block; font-size: .76rem; color: var(--ink); line-height: 1.3; }
.pos-item span { font-size: .76rem; color: var(--muted); }

.pos-cart { background: #fff; border-left: 1px solid var(--line); padding: 1rem; display: flex; flex-direction: column; }
.pos-cart h5 { margin: 0 0 .75rem; font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.pos-line { display: flex; justify-content: space-between; gap: .5rem; padding: .5rem 0; border-bottom: 1px dashed var(--line-soft); font-size: .8rem; }
.pos-line strong { display: block; color: var(--ink); font-weight: 600; }
.pos-line span { color: var(--muted); font-size: .74rem; }
.pos-line b { color: var(--ink); white-space: nowrap; }
.pos-total { margin-top: auto; padding-top: .9rem; }
.pos-total div { display: flex; justify-content: space-between; font-size: .8rem; padding: .18rem 0; }
.pos-total .grand { font-size: 1.15rem; font-weight: 700; color: var(--ink); padding-top: .5rem; border-top: 1px solid var(--line); margin-top: .4rem; }
.pos-pay {
  margin-top: .8rem; background: var(--blue); color: #fff; text-align: center;
  border-radius: var(--radius-sm); padding: .7rem; font-weight: 700; font-size: .875rem;
}
.pos-badge {
  position: absolute; z-index: 2; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: .6rem .8rem;
  display: flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 600; color: var(--ink);
}
.pos-badge .icon { width: 18px; height: 18px; color: var(--blue); }
.pos-badge--a { top: 16%; left: -18px; }
.pos-badge--b { bottom: 14%; right: -18px; }
.pos-badge--b .icon { color: var(--mint-700); }

/* 9. Cards & grids ------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.4vw, 1.9rem);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4e0f0; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .9375rem; margin-bottom: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 1.05rem;
  border-radius: 13px; background: var(--blue-050); color: var(--blue);
}
.card-icon .icon { width: 23px; height: 23px; }
.card--mint .card-icon { background: #e2fff6; color: var(--mint-700); }
.card--navy .card-icon { background: #e8eefa; color: var(--navy-800); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split-media { order: -1; }

.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; font-size: .9375rem; }
.ticks .icon { flex: 0 0 auto; width: 20px; height: 20px; margin-top: .18rem; color: var(--mint-700); }
.on-dark .ticks .icon { color: var(--mint); }

/* 10. Dark band ---------------------------------------------------------- */
.band-dark {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(800px 420px at 85% 0%, #0a4fb0 0%, transparent 60%),
    linear-gradient(150deg, #011e46, #012e68);
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p, .band-dark li { color: rgba(255, 255, 255, .76); }
.band-dark .card {
  background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .13);
  backdrop-filter: blur(6px);
}
.band-dark .card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .22); }
.band-dark .card-icon { background: rgba(255, 255, 255, .1); color: var(--mint); }

/* 11. Comparison table --------------------------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .9375rem; }
table.compare th, table.compare td { padding: .95rem 1.15rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.compare thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare td .icon { width: 19px; height: 19px; }
table.compare .yes { color: var(--mint-700); }
table.compare .no { color: #c2ccdb; }
table.compare th[scope='row'] { font-weight: 600; color: var(--ink); }
.col-highlight { background: linear-gradient(to bottom, rgba(0,118,254,.05), rgba(0,118,254,.02)); }

/* 12. Pricing ------------------------------------------------------------ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.6vw, 2.1rem);
  display: flex; flex-direction: column; height: 100%;
}
.plan--featured {
  border-color: var(--blue); box-shadow: 0 18px 50px rgba(0, 118, 254, .16);
  transform: translateY(-6px);
}
.plan-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .3rem .85rem; border-radius: 999px; white-space: nowrap;
}
.plan h3 { margin-bottom: .3rem; }
.plan .plan-tag { font-size: .9rem; color: var(--muted); min-height: 2.6em; margin-bottom: 1rem; }
.plan-price { display: flex; align-items: baseline; gap: .25rem; margin-bottom: .2rem; }
.plan-price .cur { font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.plan-price .amt { font-size: clamp(2.5rem, 4vw, 3.1rem); font-weight: 700; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.plan-price .per { font-size: .95rem; color: var(--muted); font-weight: 500; }
.plan-sites {
  display: inline-block; margin-bottom: 1.3rem;
  background: var(--blue-050); color: var(--blue-600);
  font-size: .8125rem; font-weight: 700; padding: .28rem .7rem; border-radius: 999px;
}
.plan .ticks { margin-top: 1.3rem; flex: 1 1 auto; }
.plan .btn { margin-top: .4rem; }
.plan-note { margin-top: .9rem; font-size: .8rem; color: var(--muted); text-align: center; }

.price-foot {
  margin-top: 1.5rem; text-align: center; font-size: .9375rem; color: var(--muted);
}

/* 13. FAQ ---------------------------------------------------------------- */
.faq { max-width: 48rem; margin-inline: auto; display: grid; gap: .6rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq details[open] { border-color: #cfdcef; box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.3rem; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: 0 0 auto; width: 11px; height: 11px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq .faq-body { padding: 0 1.3rem 1.2rem; font-size: .9375rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* 14. Forms -------------------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: #d23b3b; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font-size: .9375rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 118, 254, .13);
}
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
  padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  font-size: .9375rem; margin-bottom: 1.25rem; border: 1px solid;
}
.notice--success { background: #e9fff8; border-color: #a5eed6; color: #056b4e; }
.notice--error { background: #fff0f0; border-color: #f4c2c2; color: #a32626; }

/* 15. Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .66); padding-block: clamp(2.75rem, 5vw, 4rem) 1.75rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: flex-start; justify-content: space-between; }
.footer-brand { max-width: 22rem; }
.footer-brand img { width: 160px; margin-bottom: .95rem; }
.footer-brand p { font-size: .9rem; margin: 0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.footer-nav a { color: rgba(255, 255, 255, .78); font-size: .9rem; font-weight: 500; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2.25rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: .82rem;
}
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-bottom a { color: rgba(255, 255, 255, .7); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom p { margin: 0; }

/* 16. Page shell --------------------------------------------------------- */
.page-hero {
  background: linear-gradient(170deg, #011e46, #012e68);
  color: #fff; padding-block: clamp(3rem, 6vw, 4.75rem);
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .6rem; }
.page-hero p { color: rgba(255, 255, 255, .76); max-width: 42rem; margin-inline: auto; }

.prose { max-width: 48rem; margin-inline: auto; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-top: 2.4rem; }
.prose h3 { margin-top: 1.7rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: .45rem; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.25rem; font-size: .9375rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .65rem .85rem; text-align: left; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose .meta { font-size: .875rem; color: var(--muted); padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.75rem; }

/* 17. Responsive --------------------------------------------------------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .plan--featured { transform: none; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse .split-media { order: 0; }
  .pos { grid-template-columns: 1fr; }
  .pos-cart { border-left: 0; border-top: 1px solid var(--line); }
  .pos-badge { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: calc(var(--top-offset) + var(--header-h)) 0 auto; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 1rem var(--gutter) 1.5rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
    max-height: calc(100dvh - var(--top-offset) - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav a { padding: .8rem 1rem; font-size: 1rem; }
  .nav .nav-cta { display: block; margin-top: .75rem; }
  .nav .nav-cta a { background: var(--blue); color: #fff; text-align: center; font-weight: 700; }
  .nav .nav-cta a:hover { background: var(--blue-600); color: #fff; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .pos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .hero .btn-row { flex-direction: column; }
}

/* 18. Motion ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
