/* bSign marketing site. One light look with navy bands, from the
   "bSign home page" Claude Design canvas. Fonts are served from this site
   (no third-party requests: the page promises privacy). */

@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/archivo-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --navy: #0b1630;
  --navy-2: #13224a;
  --ink: #15233f;
  --muted: #52627d;
  --on-navy: #b9c6dd;
  --on-navy-2: #c9d4e8;
  --on-navy-3: #e6edf9;
  --label: #8fa3c6;
  --line: #e1e7f0;
  --bg: #f6f8fc;
  --panel: #f2f5fa;
  --tint: #eef3fb;
  --blue: #1758c9;
  --blue-dark: #0f47a6;
  --blue-bright: #2f6fdb;
  --blue-light: #62a1ff;
  --teal: #0aa79a;
  --teal-2: #2fd3c2;
  --teal-3: #7fe0d6;
  --green: #12805c;
  --display: "Archivo", "Arial Black", Arial, sans-serif;
  --body: "Public Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: clamp(20px, 5.6vw, 80px);
  --section: clamp(56px, 8.4vw, 120px);
}

*, *::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; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { max-width: calc(1280px + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.on-navy .eyebrow { color: var(--blue-light); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw + 16px, 50px); line-height: 1.04; letter-spacing: -0.025em; }
.lead { font-size: clamp(16px, 0.4vw + 14.5px, 18px); line-height: 1.6; color: var(--muted); }
.on-navy .lead { color: var(--on-navy); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.check { flex-shrink: 0; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; background: #e9f0fd; color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 12px; font-size: 16px; font-weight: 700; border: 1px solid transparent; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.on-navy .btn-primary, .btn-bright { background: var(--blue-bright); color: #fff; }
.on-navy .btn-primary:hover, .btn-bright:hover { background: var(--blue); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,0.28); color: #fff; font-weight: 600; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--blue-dark); font-weight: 800; }
.btn-white:hover { background: #e9f0fd; color: var(--blue-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }

/* ---------- header + hero ---------- */
.site-header, .hero-band { background: var(--navy); color: #fff; }
.nav { height: 76px; display: flex; align-items: center; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); position: relative; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.brand-name small { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: var(--label); margin-top: 3px; }
.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; margin-left: 16px; }
.nav-links a { color: var(--on-navy-2); }
.nav-links a:hover { color: #fff; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav-signin { color: var(--on-navy-3); font-size: 15px; font-weight: 600; }
.nav-signin:hover { color: #fff; }
.nav-cta { height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; background: transparent; color: #fff; place-items: center; cursor: pointer; }
.menu { display: none; }

.hero { padding-block: 84px 110px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.pill-short, .swipe-note { display: none; }
.swipe-note { align-items: center; gap: 6px; margin-top: -10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pill-flag { align-self: flex-start; display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(10,167,154,0.14); border: 1px solid rgba(10,167,154,0.4); color: var(--teal-3); font-size: 14px; font-weight: 600; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(42px, 7.2vw + 14px, 76px); line-height: 0.98; letter-spacing: -0.03em; }
.hero h1 span { color: var(--blue-light); }
.hero-sub { max-width: 600px; font-size: clamp(17px, 0.6vw + 14px, 20px); line-height: 1.55; color: var(--on-navy); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 15px; color: var(--on-navy-2); }
.hero-points li { display: flex; gap: 8px; align-items: center; }

.composite { position: relative; height: 580px; }
.doc-card { position: absolute; left: 60px; top: 20px; width: 470px; max-width: calc(100% - 60px); background: #fff; color: var(--ink); border-radius: 20px; padding: 26px 28px; box-shadow: 0 40px 80px rgba(0,0,0,0.45); display: flex; flex-direction: column; gap: 16px; }
.doc-top { display: flex; align-items: center; gap: 12px; }
.doc-top .icon-tile { width: 38px; height: 38px; border-radius: 10px; }
.doc-title { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.doc-title b { font-size: 15px; }
.doc-title small { font-size: 12.5px; color: var(--muted); }
.badge-turn { padding: 4px 10px; border-radius: 999px; background: #fff4e0; color: #8a5a00; font-size: 12px; font-weight: 700; white-space: nowrap; }
.lines { display: flex; flex-direction: column; gap: 8px; padding: 4px 0; }
.lines i { display: block; height: 9px; border-radius: 5px; background: #e8edf5; }
.lines i:nth-child(1) { width: 92%; } .lines i:nth-child(3) { width: 78%; } .lines i:nth-child(4) { width: 86%; }
.doc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.doc-field { display: flex; flex-direction: column; gap: 5px; }
.doc-field small, .sig-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); }
.doc-field span { height: 36px; border-radius: 8px; border: 1px solid #c9d6ea; padding: 0 10px; display: flex; align-items: center; font-size: 14px; }
.doc-check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.doc-check i { width: 18px; height: 18px; border-radius: 5px; background: var(--blue); display: grid; place-items: center; }
.doc-attach { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px dashed #9fb6dc; background: #f7faff; font-size: 13.5px; }
.doc-attach b { font-weight: 600; }
.doc-attach small { font-size: 12px; color: var(--muted); margin-left: auto; }
.sig-box { border-radius: 12px; border: 2px solid var(--blue); background: #f4f8ff; height: 98px; position: relative; display: flex; align-items: flex-end; padding: 10px 14px; }
.sig-box .sig-label { position: absolute; left: 14px; top: 9px; color: var(--blue); }
.sig-box svg { position: absolute; left: 30px; top: 24px; height: calc(100% - 34px); width: auto; max-width: calc(100% - 44px); }
.sig-box small { margin-left: auto; font-size: 12px; color: var(--muted); }
.doc-foot { display: flex; align-items: center; gap: 12px; }
.verified { flex-grow: 1; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--green); font-weight: 700; }
.doc-finish { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 14.5px; font-weight: 700; }
.float-log { position: absolute; right: -10px; top: 0; width: 258px; background: var(--navy-2); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 16px 16px 12px; box-shadow: 0 24px 50px rgba(0,0,0,0.4); display: flex; flex-direction: column; gap: 10px; }
.float-log h2 { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--label); }
.float-log li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--on-navy-3); }
.float-log li svg { flex-shrink: 0; margin-top: 2px; }
.float-log li small { display: block; color: var(--label); font-size: 12px; }
.float-seal { position: absolute; left: 0; bottom: 6px; width: 300px; background: #fff; color: var(--ink); border-radius: 16px; padding: 16px 18px; box-shadow: 0 24px 50px rgba(0,0,0,0.4); display: flex; gap: 14px; align-items: center; }
.float-seal .icon-tile { background: #e3f7f4; color: #0a8a7f; }
.float-seal b { display: block; font-size: 14.5px; }
.float-seal code { font-size: 12px; color: var(--muted); font-family: ui-monospace, Menlo, Consolas, monospace; }

/* ---------- built for ---------- */
.built { background: #fff; border-bottom: 1px solid var(--line); }
.built .wrap { padding-block: 30px; display: flex; align-items: center; gap: 44px; }
.built-label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); width: 220px; flex-shrink: 0; }
.built ul { display: flex; flex-grow: 1; justify-content: space-between; gap: 20px; font-family: var(--display); font-weight: 700; font-size: 19px; }
.built li { display: flex; align-items: center; gap: 10px; }

/* ---------- how it works ---------- */
.how { padding-block: var(--section) 110px; display: flex; flex-direction: column; gap: 56px; }
.how-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.how-head .head { max-width: 700px; }
.how-head > p { max-width: 420px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.step-no { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; color: #d3def0; }
.step h3 { font-family: var(--display); font-size: 22px; font-weight: 800; }
.step p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.step .chip { margin-top: auto; align-self: flex-start; padding: 6px 11px; border-radius: 8px; background: var(--tint); font-size: 13px; font-weight: 600; }
.step.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.step.dark .step-no { color: var(--blue-bright); }
.step.dark p { color: var(--on-navy); }
.step.dark .chip { background: rgba(255,255,255,0.1); color: var(--on-navy-3); }

/* ---------- features ---------- */
.features { background: #fff; }
.features .wrap { padding-block: var(--section); display: flex; flex-direction: column; gap: 56px; }
.features .head { max-width: 820px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { border-radius: 20px; border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 20px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.card-bulk { grid-column: span 2; border: 0; background: var(--navy); color: #fff; padding: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: center; }
.card-bulk h3 { font-size: 28px; letter-spacing: -0.015em; }
.card-bulk p { font-size: 16px; color: var(--on-navy); }
.card-bulk > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.sheet { background: var(--navy-2); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; font-size: 13px; }
.sheet div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px 14px; border-top: 1px solid rgba(255,255,255,0.06); }
.sheet div:first-child { background: rgba(255,255,255,0.06); color: var(--label); font-weight: 700; font-size: 11.5px; letter-spacing: 0.04em; border-top: 0; }
.st-signed { color: var(--teal-2); font-weight: 700; }
.st-viewed { color: var(--blue-light); font-weight: 700; }
.st-sent { color: var(--on-navy-2); }
.card-logic { border: 0; background: var(--panel); }
.card-logic h3 { font-size: 22px; }
.card-logic p { font-size: 15.5px; }
.card-logic .rules { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.card-logic .rules span { align-self: flex-start; padding: 7px 11px; border-radius: 8px; background: #fff; border: 1px solid #d6e0ef; font-size: 13px; }
.card-logic .rules .mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.card-sites { grid-column: span 3; border: 0; background: var(--tint); padding: 30px 34px; flex-direction: row; align-items: center; gap: 28px; }
.card-sites .icon-tile { width: 54px; height: 54px; border-radius: 14px; background: var(--blue); color: #fff; }
.card-sites > div { display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.card-sites h3 { font-size: 22px; }
.card-sites p { font-size: 15.5px; }
.card-sites a { font-size: 15px; font-weight: 700; white-space: nowrap; }

/* ---------- security ---------- */
.security { background: var(--navy); color: #fff; }
.security .wrap { padding-block: var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; }
.sec-main { grid-column: span 7; display: flex; flex-direction: column; gap: 44px; }
.sec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 36px; }
.sec-grid h3 { font-size: 18px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.sec-grid p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--on-navy); }
.compliance { grid-column: span 5; align-self: start; margin-top: 40px; background: #fff; color: var(--ink); border-radius: 22px; padding: 36px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.tag-teal { align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: #e3f7f4; color: #0a6f66; font-size: 12.5px; font-weight: 700; }
.compliance h2 { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.015em; }
.compliance p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.compliance ul { display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 600; }
.compliance li { display: flex; gap: 10px; align-items: center; }
.compliance .btn { height: 50px; }

/* ---------- pricing ---------- */
.pricing { background: #fff; }
.pricing .wrap { padding-block: var(--section); display: flex; flex-direction: column; gap: 52px; }
.price-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.price-head .head { max-width: 760px; }
.currency { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.cur-switch { display: flex; padding: 4px; border-radius: 12px; background: var(--tint); gap: 4px; }
.cur-switch button { border: 0; cursor: pointer; height: 38px; padding: 0 16px; border-radius: 9px; font: 700 14px var(--body); background: transparent; color: var(--muted); }
.cur-switch button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(11,22,48,0.12); }
.cur-switch button small { margin-left: 4px; font-size: 12px; font-weight: 700; color: var(--green); }
.cur-note { font-size: 14px; color: var(--muted); }
html:not(.js) .cur-switch { display: none; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { border-radius: 22px; padding: 34px; display: flex; flex-direction: column; gap: 20px; position: relative; }
.plan h3 { font-family: var(--display); font-weight: 800; font-size: 24px; }
.plan-desc { margin-top: 6px; font-size: 15px; color: var(--muted); }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font-family: var(--display); font-weight: 800; font-size: 60px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 16px; color: var(--muted); }
.plan-price .big-word { font-size: 44px; letter-spacing: -0.02em; line-height: 1.36; }
.plan ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan-ess { border: 1px solid var(--line); background: #fff; }
.plan-flag { position: absolute; top: -14px; left: 32px; padding: 5px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; }
.plan-bus { background: var(--navy); color: #fff; }
.plan-bus .plan-desc, .plan-bus .plan-price span, .plan-bus .plan-alt { color: var(--on-navy); }
.plan-bus ul { color: var(--on-navy-3); }
.plan-cost { display: flex; flex-direction: column; gap: 8px; }
.plan-alt { font-size: 13.5px; color: var(--muted); }
.free-plan { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 18px; border: 1px dashed #b9cbe6; background: #f7faff; }
.free-plan p { flex-grow: 1; font-size: 16px; line-height: 1.5; }
.free-plan .btn { height: 48px; }
.plan-org { border: 1px solid var(--line); background: var(--bg); }
.calc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; border-radius: 22px; background: var(--tint); padding: 34px 38px; }
.calc-input { grid-column: span 5; display: flex; flex-direction: column; gap: 14px; }
.calc-title { font-family: var(--display); font-weight: 800; font-size: 22px; }
.calc-input label { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--muted); }
.calc-input label b { color: var(--ink); font-size: 18px; font-variant-numeric: tabular-nums; }
.calc-input input { width: 100%; accent-color: var(--blue); height: 28px; }
.calc-out { grid-column: span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.calc-out div { background: #fff; border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; border: 2px solid transparent; }
.calc-out div.best { border-color: var(--blue); }
.calc-out span { font-size: 14px; font-weight: 600; color: var(--muted); }
.calc-out output { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-out output small { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.calc-out em { font-style: normal; font-size: 13px; color: var(--muted); }
html:not(.js) .calc { display: none; }

/* ---------- use cases ---------- */
.uses { padding-block: var(--section); display: flex; flex-direction: column; gap: 48px; }
.uses-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.use { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.use h3 { font-family: var(--display); font-weight: 800; font-size: 24px; }
.use p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.use ul { list-style: disc; padding-left: 18px; font-size: 14.5px; line-height: 1.9; }

/* ---------- faq ---------- */
.faq { background: #fff; }
.faq .wrap { padding-block: var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; }
.faq-head { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; }
.faq-head p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.faq-list { grid-column: span 8; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.faq-list h3 { font-size: 18px; font-weight: 700; }
.faq-list summary { display: block; }
.faq-list p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ---------- cta + footer ---------- */
.cta { background: var(--blue); color: #fff; }
.cta .wrap { padding-block: 110px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw + 18px, 60px); line-height: 1; letter-spacing: -0.03em; max-width: 900px; }
.cta p { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: #dce8ff; max-width: 640px; }
.cta-btns { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.cta .btn-ghost { border-color: rgba(255,255,255,0.5); font-weight: 700; }

.site-footer { background: var(--navy); color: var(--on-navy-2); }
.site-footer .wrap { padding-block: 72px 40px; display: flex; flex-direction: column; gap: 48px; }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.foot-brand { grid-column: span 4; display: flex; flex-direction: column; gap: 16px; }
.foot-brand .brand b { font-family: var(--display); font-weight: 800; font-size: 22px; }
.foot-brand p { font-size: 15px; line-height: 1.6; max-width: 320px; }
.mail, .foot-brand .mail { color: #fff; font-weight: 600; font-size: 15px; }
.mail:hover { color: var(--on-navy-3); }
.foot-col { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-col h2 { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--label); }
.foot-col a { color: var(--on-navy-2); }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13.5px; color: var(--label); }
.foot-bottom > span:not(.made) { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lang { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.18); color: var(--on-navy-3); font-size: 13.5px; font-weight: 600; }
.made { display: flex; align-items: center; gap: 8px; }

/* ---------- get-started page ---------- */
.page-head { padding-block: 64px 72px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; align-items: start; }
.page-copy { grid-column: span 5; display: flex; flex-direction: column; gap: 22px; }
.page-copy h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -0.03em; }
.page-copy ul { display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; color: var(--on-navy-2); }
.page-copy li { display: flex; gap: 10px; align-items: flex-start; }
.page-copy li svg { margin-top: 3px; }
.form-card { grid-column: 7 / span 6; background: #fff; color: var(--ink); border-radius: 22px; padding: 34px; box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: 16px var(--body); color: var(--ink); border: 1px solid #c9d6ea; border-radius: 10px; padding: 0 12px; height: 46px; background: #fff; width: 100%; }
.field textarea { height: auto; min-height: 110px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(23,88,201,0.18); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #c0392b; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.form-foot .btn { width: 100%; }
.form-note { font-size: 13px; line-height: 1.55; color: var(--muted); }
.form-error { border-radius: 10px; background: #fdecea; color: #8e2a1f; padding: 10px 12px; font-size: 14px; }
.form-done { display: flex; flex-direction: column; gap: 12px; }
.form-done h2 { font-family: var(--display); font-weight: 800; font-size: 28px; }
.form-done p { font-size: 16px; line-height: 1.6; color: var(--muted); }

.notfound { padding-block: 96px 120px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.notfound h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -0.03em; }
.notfound p { font-size: 18px; color: var(--on-navy); max-width: 560px; }

/* ---------- cookie banner + settings (built by site.js) ---------- */
.cookie { position: fixed; z-index: 60; left: 24px; bottom: 24px; width: min(460px, calc(100% - 48px)); background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 24px 60px rgba(11,22,48,0.28), 0 0 0 1px rgba(11,22,48,0.06); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.cookie-title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 18px; }
.cookie-title svg { color: var(--blue); flex-shrink: 0; }
.cookie-text { font-size: 14px; line-height: 1.55; color: var(--muted); }
.cookie-text a { font-weight: 600; }
.cookie-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.cookie-btns .btn { height: 46px; padding: 0 12px; font-size: 14.5px; }
.btn-soft { background: var(--tint); color: var(--ink); }
.btn-soft:hover { background: #dfe8f6; color: var(--ink); }
.cookie-link, .foot-link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.cookie-link { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--blue); }
.cookie-link:hover { color: var(--blue-dark); text-decoration: underline; }
.foot-link { color: var(--on-navy-2); font-size: 15px; }
.foot-link:hover { color: #fff; }
.cookie-dialog { border: 0; border-radius: 20px; padding: 0; width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(11,22,48,0.4); }
.cookie-dialog::backdrop { background: rgba(11,22,48,0.55); }
.cookie-dialog form { padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.cookie-dialog h2 { font-family: var(--display); font-weight: 800; font-size: 24px; }
.cookie-dialog > form > p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-bottom: 10px; }
.cookie-row { display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--line); }
.cookie-row label { display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.cookie-row b { font-size: 15.5px; }
.cookie-row span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.switch { appearance: none; -webkit-appearance: none; margin: 2px 0 0; width: 46px; height: 28px; border-radius: 999px; background: #c9d4e8; position: relative; cursor: pointer; flex-shrink: 0; transition: background 0.15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform 0.15s; }
.switch:checked { background: var(--blue); }
.switch:checked::after { transform: translateX(18px); }
.switch:disabled { background: var(--teal); cursor: not-allowed; }
.cookie-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin-top: 10px; }
.cookie-actions .btn { height: 48px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .switch, .switch::after { transition: none; } }

/* ---------- FAQ: open on wide screens, tap to open below 900px ---------- */
.faq-list summary { list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
@media (min-width: 901px) {
  .faq-list summary { pointer-events: none; }
}

/* ---------- tablets and large phones (up to 1180px) ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 20px; margin-left: 0; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 56px 72px; gap: 52px; }
  .hero-copy { max-width: 680px; }
  .composite { width: 100%; max-width: 600px; justify-self: center; }
  .built .wrap { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 28px; }
  .built-label { width: auto; }
  .built ul { flex-wrap: wrap; justify-content: flex-start; gap: 10px; font-size: 16px; }
  .built li { padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); gap: 8px; }
  .built li svg { width: 20px; height: 20px; }
  .how { gap: 40px; }
  .how-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .how-head > p { max-width: 620px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .features .wrap { gap: 40px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .card-bulk, .card-logic, .card-sites { grid-column: span 2; }
  .card-logic .rules { flex-direction: row; flex-wrap: wrap; margin-top: 4px; }
  /* one column: the 12-column grids' gaps alone are wider than a small phone */
  .security .wrap, .faq .wrap, .page-head, .calc { grid-template-columns: minmax(0, 1fr); }
  .sec-main, .compliance { grid-column: auto; }
  .compliance { margin-top: 0; }
  .pricing .wrap { gap: 40px; }
  .price-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .currency { align-items: flex-start; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .plan-org { grid-column: span 2; }
  .calc-input, .calc-out { grid-column: auto; }
  .uses { gap: 36px; }
  .uses-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .use { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 10px; align-items: start; }
  .use h3, .use p { grid-column: 1; }
  .use ul { grid-column: 2; grid-row: 1 / span 2; }
  .faq-head, .faq-list { grid-column: auto; }
  .faq .wrap { gap: 32px; }
  .foot-brand { grid-column: span 12; }
  .foot-col { grid-column: span 3; }
  .page-copy, .form-card { grid-column: auto; }
  .page-copy { max-width: 640px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-signin { display: none; }
  .menu-btn { display: grid; }
  .nav { gap: 10px; }
  .menu:not([hidden]) { display: flex; flex-direction: column; position: absolute; top: 76px; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); z-index: 40; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.12); padding: 8px var(--gutter) 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
  .menu a { color: var(--on-navy-3); font-size: 17px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .menu a:last-child { border-bottom: 0; }
  /* FAQ as an accordion */
  .faq-list { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
  .faq-list details { border-bottom: 1px solid var(--line); }
  .faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; }
  .faq-list summary::after { content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2px 12px no-repeat, var(--tint); }
  .faq-list details[open] summary::after { background: linear-gradient(#fff, #fff) center / 12px 2px no-repeat, var(--blue); }
  .faq-list summary h3 { font-size: 17px; }
  .card-bulk { display: flex; flex-direction: column; gap: 20px; }
  .faq-list p { margin: 0 0 20px; max-width: 640px; }
}

/* ---------- phones (up to 600px) ---------- */
@media (max-width: 600px) {
  .nav { height: 64px; }
  .h2 { font-size: 28px; }
  .menu:not([hidden]) { top: 64px; }
  .brand-name small { display: none; }
  .brand-name b { font-size: 21px; }
  .brand svg { width: 32px; height: 32px; }
  .nav-cta { height: 40px; padding: 0 14px; font-size: 14px; }

  .hero { padding-block: 32px 52px; gap: 40px; }
  .hero-copy { gap: 20px; }
  .pill-flag { font-size: 13px; padding: 6px 12px 6px 9px; }
  .pill-long { display: none; }
  .pill-short { display: inline; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; height: 54px; }
  .hero-points { flex-direction: column; gap: 10px; margin-top: 0; }
  .hero-points li { align-items: flex-start; }
  .hero-points svg { margin-top: 3px; }
  /* the sample document: everything shown, the seal badge tucked under it */
  .composite { height: auto; display: flex; flex-direction: column; }
  .doc-card { position: relative; left: auto; top: auto; width: 100%; max-width: none; padding: 20px; gap: 14px; border-radius: 18px; box-shadow: 0 24px 48px rgba(0,0,0,0.4); }
  .doc-field span { font-size: 13.5px; }
  .doc-attach small, .lines i:nth-child(n+3) { display: none; }
  .sig-box { height: 88px; }
  .sig-box small { position: absolute; right: 14px; top: 9px; font-size: 11.5px; }
  .float-log { display: none; }
  .float-seal { position: relative; left: auto; bottom: auto; width: auto; align-self: flex-start; margin: -22px 0 0 16px; padding: 12px 16px 12px 12px; gap: 12px; border-radius: 14px; }
  .float-seal .icon-tile { width: 38px; height: 38px; border-radius: 10px; }

  .built .wrap { padding-block: 20px; gap: 12px; }
  .built-label { font-size: 12px; }
  .built ul { align-self: stretch; min-width: 0; flex-wrap: nowrap; overflow-x: auto; gap: 8px; font-size: 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .built li { flex: 0 0 auto; padding: 7px 14px 7px 10px; }
  .built li svg { width: 18px; height: 18px; }

  /* swipe rows: steps, plans and use cases sit side by side, the next card peeking in */
  .steps, .plans, .uses-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .steps::-webkit-scrollbar, .plans::-webkit-scrollbar, .uses-grid::-webkit-scrollbar, .built ul::-webkit-scrollbar { display: none; }
  .steps > *, .plans > *, .uses-grid > * { flex: 0 0 84%; scroll-snap-align: start; }
  .swipe-note { display: flex; }

  /* how it works: one card per step */
  .how { gap: 24px; }
  .step { padding: 22px; border-radius: 18px; gap: 12px; }
  .step-no { font-size: 34px; }
  .step h3 { font-size: 20px; }
  .step p { font-size: 15px; }

  /* features: the two showcase cards, then a grid of icon tiles */
  .features .wrap { gap: 28px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-bulk, .card-logic, .card-sites { grid-column: 1 / -1; }
  .card-bulk { display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: 18px; }
  .card-bulk h3 { font-size: 22px; }
  .card-bulk p { font-size: 15px; }
  .sheet { font-size: 12px; }
  .sheet div { grid-template-columns: 1.4fr 1fr; padding: 9px 12px; }
  .sheet div span:nth-child(2) { display: none; }
  .card-logic { padding: 22px; border-radius: 18px; }
  .card-logic h3 { font-size: 20px; }
  .bento > .card:nth-child(n+3):nth-last-child(n+2) { padding: 16px; gap: 12px; border-radius: 16px; background: #fff; }
  .bento > .card:nth-child(n+3):nth-last-child(n+2) .icon-tile { width: 40px; height: 40px; border-radius: 11px; }
  .bento > .card:nth-child(n+3):nth-last-child(n+2) h3 { font-family: var(--body); font-weight: 700; font-size: 15px; line-height: 1.3; }
  .bento > .card:nth-child(n+3):nth-last-child(n+2) p { display: none; }
  .card-sites { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; border-radius: 18px; }
  .card-sites .icon-tile { width: 46px; height: 46px; border-radius: 12px; }
  .card-sites h3 { font-size: 19px; }

  .security .wrap { gap: 32px; }
  .sec-main { gap: 28px; }
  .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sec-grid h3 { font-size: 16.5px; }
  .sec-grid p { margin-top: 4px; padding-left: 30px; font-size: 14.5px; }
  .compliance { padding: 24px; border-radius: 18px; gap: 14px; }
  .compliance h2 { font-size: 24px; }
  .compliance p, .compliance ul { font-size: 14.5px; }

  .pricing .wrap { gap: 28px; }
  .currency { width: 100%; }
  .cur-switch { width: 100%; }
  .cur-switch button { flex: 1; padding: 0; }
  .plans { padding-top: 18px; align-items: flex-start; }
  .plans > * { flex-basis: 86%; }
  .plan { padding: 24px; gap: 16px; border-radius: 18px; }
  .plan h3 { font-size: 21px; }
  .plan-price b { font-size: 48px; }
  .plan-price .big-word { font-size: 32px; line-height: 1.2; }
  .plan ul { font-size: 14.5px; gap: 8px; }
  .plan .btn { height: 50px; font-size: 15.5px; }
  .calc { padding: 22px; gap: 18px; border-radius: 18px; }
  .calc-title { font-size: 19px; }
  .free-plan { flex-wrap: wrap; padding: 18px; gap: 12px 14px; }
  .free-plan p { flex-basis: calc(100% - 60px); font-size: 15px; }
  .free-plan .btn { width: 100%; }
  .calc-out { gap: 10px; }
  .calc-out div { padding: 14px; border-radius: 14px; }
  .calc-out output { font-size: 24px; }
  .calc-out em { font-size: 12px; }

  .uses { gap: 24px; }
  .use { display: flex; padding: 22px; border-radius: 18px; }
  .use h3 { font-size: 20px; }

  .faq .wrap { gap: 24px; }
  .cta .wrap { padding-block: 64px; gap: 18px; }
  .cta-btns { flex-direction: column; width: 100%; gap: 10px; }
  .cta-btns .btn { width: 100%; height: 54px; }

  .site-footer .wrap { padding-block: 44px 28px; gap: 28px; }
  .foot-grid { gap: 28px 20px; }
  .foot-col { grid-column: span 6; gap: 10px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; font-size: 12.5px; }
  .foot-bottom > span:not(.made) { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }

  .page-head { padding-block: 36px 48px; gap: 28px; }
  .form-card { padding: 22px; border-radius: 18px; }
  .form { grid-template-columns: minmax(0, 1fr); gap: 14px; }

  /* the cookie banner becomes a bottom sheet */
  .cookie { left: 0; right: 0; bottom: 0; width: auto; border-radius: 20px 20px 0 0; padding: 20px var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 430px) {
  .doc-top .icon-tile, .doc-title small { display: none; }
}
@media (max-width: 374px) {
  .doc-fields { grid-template-columns: minmax(0, 1fr); }
  .calc-out { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Privacy policy and terms: long text in a readable column, with the
   sections listed beside it on wide screens ---- */
.legal-head { padding-block: 56px 64px; display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.legal-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4vw, 54px); line-height: 1.04; letter-spacing: -0.03em; }
.legal-body { padding-block: 56px var(--section); display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 9px; font-size: 14px; line-height: 1.35; }
.legal-toc b { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--blue); }
.legal-text { max-width: 720px; min-width: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.68; color: var(--ink); overflow-wrap: anywhere; }
.legal-text p, .legal-text ul { margin: 0; }
.legal-text h2 { font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1.2; letter-spacing: -0.01em; margin-top: 28px; scroll-margin-top: 24px; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { font-size: 16.5px; font-weight: 700; margin-top: 6px; }
.legal-text ul { padding-left: 22px; display: flex; flex-direction: column; gap: 7px; }
.legal-text ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 7px; }
.legal-text ul { list-style: disc; }
.legal-text ol { list-style: decimal; }
.legal-text li::marker { color: var(--blue); font-weight: 700; }
.legal-text .lead a, .legal-head .lead a { color: inherit; }
.legal-text a { color: var(--blue); }
.legal-text .note { background: var(--tint); border-left: 3px solid var(--blue); border-radius: 8px; padding: 14px 18px; }
@media (max-width: 900px) {
  .legal-head { padding-block: 36px 44px; }
  .legal-body { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 36px 64px; }
  .legal-toc { position: static; display: none; }
}
