/* ============================================================
   Bastion — Marketing site styles
   Reuses the app's brand tokens: calm teal, slate-indigo,
   cool low-sat neutrals, Figtree + DM Mono.
   ============================================================ */

:root {
  /* Brand */
  --teal-800: #084d53;
  --teal-700: #0a6168;
  --teal-600: #0e8088;
  --teal-500: #149aa3;
  --teal-100: #d7ecee;
  --teal-50:  #eef7f7;

  --slate-800: #28344a;
  --slate-700: #33415c;
  --slate-600: #44567a;
  --slate-100: #e6eaf1;
  --slate-50:  #f1f3f8;

  /* Neutrals */
  --ink-900: #131c1d;
  --ink-700: #33433f;
  --ink-500: #5d6f6c;
  --ink-400: #859593;
  --ink-300: #aab8b6;
  --line:    #e3eae9;
  --line-2:  #eef2f1;
  --surface: #ffffff;
  --bg:      #eef3f2;
  --bg-2:    #f6f9f8;

  /* Semantic */
  --allow:    #1f9d6b;
  --allow-50: #e6f5ee;
  --block:    #d68a13;
  --block-50: #fbf0db;
  --danger:   #cf5a4e;

  /* Shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(19,28,29,.06), 0 1px 3px rgba(19,28,29,.04);
  --sh-2: 0 2px 8px rgba(19,28,29,.06), 0 10px 30px rgba(19,28,29,.07);
  --sh-3: 0 18px 50px rgba(19,28,29,.16);
  --sh-teal: 0 14px 40px rgba(14,128,136,.26);

  --font: "Figtree", system-ui, -apple-system, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1160px;
  --pad: clamp(20px, 5vw, 40px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--bg-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-weight: 700; font-size: 16px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  padding: 13px 22px; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal-600); color: #fff; box-shadow: var(--sh-teal); }
.btn--primary:hover { background: var(--teal-700); }
.btn--ghost { background: var(--surface); color: var(--ink-900); border-color: var(--line); box-shadow: var(--sh-1); }
.btn--ghost:hover { border-color: var(--ink-300); }
.btn--lg { font-size: 17px; padding: 15px 26px; }
.btn--sm { font-size: 14.5px; padding: 9px 16px; }
.btn i { font-size: 1.15em; }

/* ---------- Pills / eyebrows ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-700); background: var(--teal-50);
  border: 1px solid var(--teal-100); border-radius: var(--r-pill);
  padding: 6px 13px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--allow); box-shadow: 0 0 0 3px var(--allow-50); }

.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.section-head { max-width: 680px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); }
.section-head .lead { margin-top: 16px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-500); }

/* ============================================================
   Header / nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,249,248,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand__mark { width: 30px; height: 34px; flex: 0 0 auto; }
.nav__links { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav__links a { font-size: 15.5px; font-weight: 600; color: var(--ink-700); transition: color .15s ease; }
.nav__links a:hover { color: var(--teal-700); }
.nav__spacer { flex: 1 1 auto; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 78% -8%, #eaf5f4 0%, rgba(234,245,244,0) 55%),
    radial-gradient(90% 70% at 12% 0%, #f0f5f4 0%, rgba(240,245,244,0) 60%),
    var(--bg-2);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  padding-top: clamp(40px, 6vw, 78px); padding-bottom: clamp(56px, 7vw, 96px);
}
.hero h1 { font-size: clamp(38px, 6vw, 66px); letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--teal-600); }
.hero__sub { margin-top: 22px; font-size: clamp(17px, 2.1vw, 21px); color: var(--ink-500); max-width: 540px; }
.hero__cta { margin-top: 32px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-500); }
.hero__trust i { color: var(--teal-600); font-size: 16px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__visual { order: -1; }
}

/* ---------- Hero phone stack ---------- */
.hero__visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 520px; }
.phone-glow {
  position: absolute; inset: 6% 12% 2%;
  background: radial-gradient(60% 50% at 50% 40%, rgba(14,128,136,.20), rgba(14,128,136,0) 70%);
  filter: blur(8px); z-index: 0;
}

/* ============================================================
   Phone mockup (static, brand-accurate)
   ============================================================ */
.phone {
  position: relative; z-index: 1;
  width: 300px; flex: 0 0 auto;
  background: #0c1517; border-radius: 46px; padding: 11px;
  box-shadow: var(--sh-3), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone--sm { width: 240px; }
.phone__screen {
  position: relative; border-radius: 36px; overflow: hidden;
  background: var(--bg); height: 600px;
}
.phone--sm .phone__screen { height: 470px; }
.phone__notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 26px; background: #0c1517; border-radius: 999px; z-index: 6;
}
.scr { height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.scr__bar { display: flex; justify-content: space-between; align-items: center; padding: 13px 22px 4px; font-size: 13px; font-weight: 700; }
.scr__bar i { font-size: 14px; margin-left: 4px; }
.scr__body { flex: 1; overflow: hidden; padding: 6px 16px 16px; }

.scr__greet { font-size: 13px; color: var(--ink-400); font-weight: 600; margin-top: 8px; }
.scr__title { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }

.scr-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.scr-stat__c { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; box-shadow: var(--sh-1); }
.scr-stat__n { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.scr-stat__l { font-size: 11px; font-weight: 600; color: var(--ink-400); margin-top: 1px; }

.scr-sh { font-size: 12px; font-weight: 700; color: var(--ink-400); text-transform: uppercase; letter-spacing: .05em; margin: 16px 2px 9px; }

.scr-dev { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 12px 13px; box-shadow: var(--sh-1); margin-bottom: 9px; }
.scr-dev__ic { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); font-size: 19px; }
.scr-dev__nm { font-size: 14px; font-weight: 700; display: block; }
.scr-dev__meta { font-size: 11.5px; font-weight: 600; color: var(--ink-400); margin-top: 1px; display: flex; align-items: center; gap: 6px; }
.scr-dev__online { display: inline-flex; align-items: center; gap: 5px; color: var(--allow); }
.scr-dev__online .d { width: 6px; height: 6px; border-radius: 50%; background: var(--allow); }

.scr-cat { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 12px 13px; box-shadow: var(--sh-1); margin-bottom: 9px; }
.scr-cat.is-on { border-color: var(--teal-600); background: var(--teal-50); }
.scr-cat__ic { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; font-size: 19px; background: var(--line-2); color: var(--ink-400); }
.scr-cat.is-on .scr-cat__ic { background: var(--teal-600); color: #fff; }
.scr-cat__nm { font-size: 14px; font-weight: 700; display: block; }
.scr-cat__st { font-size: 11.5px; font-weight: 700; color: var(--ink-400); margin-top: 1px; display: block; }
.scr-cat.is-on .scr-cat__st { color: var(--teal-700); }
.scr-sw { width: 44px; height: 26px; border-radius: 999px; background: var(--line); position: relative; flex: 0 0 auto; }
.scr-sw__k { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: left .2s; }
.scr-cat.is-on .scr-sw { background: var(--teal-600); }
.scr-cat.is-on .scr-sw__k { left: 21px; }

/* SME tinted screen variant */
.scr--sme .scr-dev__ic { background: var(--slate-50); color: var(--slate-600); }
.scr--sme .scr-cat.is-on { border-color: var(--slate-600); background: var(--slate-50); }
.scr--sme .scr-cat.is-on .scr-cat__ic { background: var(--slate-600); }
.scr--sme .scr-cat.is-on .scr-sw { background: var(--slate-600); }
.scr--sme .scr-cat.is-on .scr-cat__st { color: var(--slate-700); }

/* floating chip on hero */
.float-chip {
  position: absolute; z-index: 3; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-2);
  padding: 11px 14px; display: flex; align-items: center; gap: 10px;
}
.float-chip i { font-size: 20px; }
.float-chip b { font-size: 14px; font-weight: 800; display: block; }
.float-chip small { font-size: 11.5px; color: var(--ink-400); font-weight: 600; }
.float-chip--a { left: -6px; top: 18%; }
.float-chip--b { right: -10px; bottom: 16%; }
@media (max-width: 520px) { .float-chip { display: none; } }

/* ============================================================
   Trust strip
   ============================================================ */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 22px 0; }
.strip__item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--ink-700); }
.strip__item i { color: var(--teal-600); font-size: 20px; }

/* ============================================================
   Generic card grid
   ============================================================ */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--sh-1); transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line); }
.card__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: var(--teal-50); color: var(--teal-600); margin-bottom: 18px; }
.card__ic--slate { background: var(--slate-50); color: var(--slate-600); }
.card__ic--amber { background: var(--block-50); color: var(--block); }
.card h3 { font-size: 19px; font-weight: 800; }
.card p { margin-top: 9px; color: var(--ink-500); font-size: 15.5px; }

/* ============================================================
   How it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.step__n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--teal-600); letter-spacing: .08em; }
.step h3 { font-size: 20px; margin-top: 12px; }
.step p { margin-top: 9px; color: var(--ink-500); font-size: 15.5px; }
.step__ic { position: absolute; top: 26px; right: 26px; font-size: 24px; color: var(--ink-300); }

/* ============================================================
   Audience split
   ============================================================ */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 880px) { .aud { grid-template-columns: 1fr; } }
.aud__card { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 30px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.aud__card--family { background: linear-gradient(165deg, #effaf9, #ffffff 60%); border-color: var(--teal-100); }
.aud__card--team { background: linear-gradient(165deg, #f2f4fa, #ffffff 60%); border-color: var(--slate-100); }
.aud__card--ent { background: linear-gradient(165deg, #11201f, #18302f); border-color: #1d3a38; color: #eaf3f2; }
.aud__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.aud__card--family .aud__tag { color: var(--teal-700); }
.aud__card--team .aud__tag { color: var(--slate-600); }
.aud__card--ent .aud__tag { color: #6fd2cf; }
.aud__card h3 { font-size: 24px; margin-top: 12px; }
.aud__card p { margin-top: 10px; font-size: 15.5px; color: var(--ink-500); }
.aud__card--ent p { color: #b6cdcb; }
.aud__list { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.aud__list li { display: flex; gap: 10px; font-size: 14.5px; font-weight: 600; align-items: flex-start; }
.aud__list i { color: var(--teal-600); font-size: 18px; margin-top: 1px; flex: 0 0 auto; }
.aud__card--team .aud__list i { color: var(--slate-600); }
.aud__card--ent .aud__list i { color: #6fd2cf; }
.aud__foot { margin-top: auto; padding-top: 22px; }
.aud__price { font-size: 15px; font-weight: 700; }
.aud__price b { font-size: 24px; }
.aud__card--ent .aud__price { color: #eaf3f2; }
.aud__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal-700); margin-top: 14px; font-size: 15px; }
.aud__card--team .aud__more { color: var(--slate-600); }
.aud__card--ent .aud__more { color: #6fd2cf; }

/* ============================================================
   Feature list (split)
   ============================================================ */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 26px; margin-top: 44px; }
@media (max-width: 880px) { .feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat { grid-template-columns: 1fr; } }
.feat__item { display: flex; gap: 14px; align-items: flex-start; padding: 4px 0; }
.feat__ic { width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center; font-size: 21px; background: var(--teal-50); color: var(--teal-600); }
.feat__item h4 { font-size: 16.5px; font-weight: 800; margin: 2px 0 0; }
.feat__item p { font-size: 14.5px; color: var(--ink-500); margin-top: 5px; }

/* ============================================================
   Platforms
   ============================================================ */
.plats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.plat { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 11px 18px 11px 14px; box-shadow: var(--sh-1); font-weight: 700; font-size: 15px; }
.plat i { font-size: 21px; color: var(--ink-700); }
.plat small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-400); }

/* ============================================================
   Honesty section
   ============================================================ */
.honest { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-1); margin-top: 44px; }
.honest__cols { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .honest__cols { grid-template-columns: 1fr; } }
.honest__col { padding: 30px clamp(24px, 4vw, 38px); }
.honest__col + .honest__col { border-left: 1px solid var(--line); }
@media (max-width: 760px) { .honest__col + .honest__col { border-left: none; border-top: 1px solid var(--line); } }
.honest__h { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; }
.honest__h.can i { color: var(--allow); }
.honest__h.cant i { color: var(--block); }
.honest__h i { font-size: 22px; }
.honest__list { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.honest__list li { font-size: 15px; color: var(--ink-700); display: flex; gap: 11px; align-items: flex-start; }
.honest__list li i { margin-top: 2px; font-size: 17px; flex: 0 0 auto; }
.honest__col.can li i { color: var(--allow); }
.honest__col.cant li i { color: var(--block); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { margin-top: 40px; display: grid; gap: 12px; max-width: 820px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--sh-1); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { transition: transform .2s ease; color: var(--ink-400); font-size: 20px; flex: 0 0 auto; }
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 22px; color: var(--ink-500); font-size: 15.5px; max-width: 70ch; }

/* ============================================================
   CTA band
   ============================================================ */
.ctaband { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 68px); background: linear-gradient(150deg, var(--teal-700), var(--teal-600) 55%, var(--teal-500)); color: #fff; box-shadow: var(--sh-3); }
.ctaband::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 90% -20%, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.ctaband__in { position: relative; z-index: 1; max-width: 640px; }
.ctaband h2 { font-size: clamp(28px, 4vw, 42px); }
.ctaband p { margin-top: 14px; font-size: 18px; color: rgba(255,255,255,.86); }
.ctaband .btns { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn--onteal { background: #fff; color: var(--teal-700); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn--onteal:hover { background: #f0faf9; }
.btn--onteal-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--onteal-ghost:hover { background: rgba(255,255,255,.2); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink-900); color: #c4d2d0; padding: 64px 0 38px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer .brand { color: #fff; }
.footer__about { margin-top: 16px; font-size: 14.5px; color: #8fa3a1; max-width: 280px; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #7d918f; font-weight: 700; margin: 0 0 14px; }
.footer__col a { display: block; font-size: 14.5px; color: #c4d2d0; padding: 5px 0; transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__bar { border-top: 1px solid #243231; margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: #7d918f; }
.footer__bar .mono { font-size: 13px; }

/* ============================================================
   Pricing page
   ============================================================ */
.price-hero { background: radial-gradient(120% 80% at 78% -8%, #eaf5f4 0%, rgba(234,245,244,0) 55%), var(--bg-2); padding: clamp(48px, 7vw, 88px) 0 clamp(20px, 3vw, 36px); text-align: center; }
.price-hero h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.03em; }
.price-hero .lead { margin: 18px auto 0; max-width: 600px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-500); }

.billing { display: inline-flex; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px; margin-top: 30px; box-shadow: var(--sh-1); }
.billing button { border: none; background: transparent; font-family: var(--font); font-weight: 700; font-size: 15px; color: var(--ink-500); padding: 9px 20px; border-radius: var(--r-pill); cursor: pointer; transition: color .15s; display: inline-flex; align-items: center; gap: 8px; }
.billing button.is-active { background: var(--teal-600); color: #fff; box-shadow: var(--sh-1); }
.billing .save { font-family: var(--mono); font-size: 11px; font-weight: 500; background: var(--allow-50); color: var(--allow); padding: 2px 7px; border-radius: 999px; }
.billing button.is-active .save { background: rgba(255,255,255,.22); color: #fff; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; padding-bottom: clamp(48px, 6vw, 80px); }
@media (max-width: 880px) { .tiers { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

.tier { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px 24px; box-shadow: var(--sh-1); }
.tier--pop { border-color: var(--teal-600); box-shadow: var(--sh-2); }
.tier--ent { background: linear-gradient(170deg, #11201f, #16302e); border-color: #1d3a38; color: #eaf3f2; }
.tier__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--teal-600); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em; padding: 5px 14px; border-radius: 999px; box-shadow: var(--sh-teal); white-space: nowrap; }
.tier__name { font-size: 14px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--teal-700); }
.tier--ent .tier__name { color: #6fd2cf; }
.tier__for { font-size: 14px; color: var(--ink-500); margin-top: 6px; min-height: 40px; }
.tier--ent .tier__for { color: #b6cdcb; }
.tier__price { margin-top: 18px; display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; min-height: 46px; }
.tier__amt { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.tier__per { font-size: 14px; font-weight: 700; color: var(--ink-400); }
.tier__sub { font-size: 13px; color: var(--ink-400); margin-top: 8px; min-height: 34px; }
.tier--ent .tier__sub { color: #9fb6b4; }
.tier__btn { margin-top: 20px; width: 100%; justify-content: center; }
.tier__inst { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 12.5px; font-weight: 700; color: var(--ink-500); background: var(--bg); border-radius: 999px; padding: 6px 12px; align-self: flex-start; }
.tier__inst i { font-size: 15px; color: var(--teal-600); }
.tier--ent .tier__inst { background: rgba(255,255,255,.08); color: #cfe0de; }
.tier--ent .tier__inst i { color: #6fd2cf; }
.tier__divider { height: 1px; background: var(--line); margin: 20px 0; }
.tier--ent .tier__divider { background: #234240; }
.tier__feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.tier__feats li { display: flex; gap: 10px; font-size: 14px; font-weight: 600; align-items: flex-start; color: var(--ink-700); }
.tier--ent .tier__feats li { color: #cfe0de; }
.tier__feats i { color: var(--teal-600); font-size: 17px; margin-top: 1px; flex: 0 0 auto; }
.tier--ent .tier__feats i { color: #6fd2cf; }
.tier__feats .muted { color: var(--ink-400); font-weight: 600; }

/* pricing comparison note + faq reuse */
.price-note { text-align: center; color: var(--ink-400); font-size: 14px; margin-top: 8px; }

/* ============================================================
   Product tour (interactive showcase)
   ============================================================ */
.tour-wrap { display: grid; grid-template-columns: 1fr 320px; gap: clamp(32px, 5vw, 60px); align-items: center; margin-top: 48px; }
@media (max-width: 900px) { .tour-wrap { grid-template-columns: 1fr; gap: 36px; } .tour-stage { order: -1; } }
.tour-tabs { display: flex; flex-direction: column; gap: 12px; }
.tour-tab { display: flex; gap: 15px; align-items: flex-start; padding: 17px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); cursor: pointer; text-align: left; box-shadow: var(--sh-1); transition: border-color .18s ease, box-shadow .2s ease, background .2s ease, transform .12s ease; font-family: var(--font); }
.tour-tab:hover { border-color: var(--ink-300); }
.tour-tab.is-active { border-color: var(--teal-600); box-shadow: var(--sh-2); background: linear-gradient(120deg, var(--teal-50), #fff 70%); }
.tour-tab__ic { width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center; font-size: 22px; background: var(--line-2); color: var(--ink-400); transition: background .2s, color .2s; }
.tour-tab.is-active .tour-tab__ic { background: var(--teal-600); color: #fff; }
.tour-tab__tt { font-size: 16.5px; font-weight: 800; display: block; }
.tour-tab__ds { font-size: 13.5px; color: var(--ink-500); margin-top: 3px; display: block; }
.tour-stage { position: relative; display: flex; justify-content: center; }
.tour-stage .phone-glow { inset: 8% 6% 4%; }
.tour-screen { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.tour-screen.is-active { opacity: 1; pointer-events: auto; position: relative; }
.tour-dots { display: none; }
@media (max-width: 900px) {
  .tour-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
  .tour-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
  .tour-dot.is-active { background: var(--teal-600); transform: scale(1.25); }
}

/* history rows inside screens */
.scr-hrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.scr-hrow:last-child { border-bottom: none; }
.scr-hrow__fav { width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; font-weight: 700; font-size: 13px; font-family: var(--mono); }
.scr-hrow__dm { display: block; font-size: 13px; font-weight: 700; }
.scr-hrow__ct { display: block; font-size: 11px; color: var(--ink-400); font-weight: 600; margin-top: 1px; }
.scr-pill { font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 999px; flex: 0 0 auto; letter-spacing: .02em; }
.scr-pill--ok { background: var(--allow-50); color: var(--allow); }
.scr-pill--no { background: var(--block-50); color: var(--block); }

/* setup screen */
.scr-field { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 11px 13px; box-shadow: var(--sh-1); }
.scr-field__l { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-400); font-weight: 800; }
.scr-field__row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.scr-field__v { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--teal-700); flex: 1; overflow: hidden; text-overflow: ellipsis; }
.scr-field__cp { color: var(--ink-400); font-size: 15px; }
.scr-bigbtn { margin-top: 12px; width: 100%; background: var(--teal-600); color: #fff; border-radius: 12px; padding: 12px; text-align: center; font-weight: 700; font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.scr-step { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; }
.scr-step__n { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); font-weight: 700; font-size: 11px; display: grid; place-items: center; flex: 0 0 auto; font-family: var(--mono); margin-top: 1px; }
.scr-step__t { font-size: 12.5px; font-weight: 600; color: var(--ink-700); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
