/* TexOS360 website. Same colours, type and radii as the workspace app. */
:root {
  --b950: #0b2a6f; --b900: #1e3a8a; --b800: #1e40af; --b700: #1d4ed8; --b600: #2563eb; --b500: #3b82f6;
  --b300: #93c5fd; --b200: #bfdbfe; --b100: #dbeafe; --b50: #eff6ff;
  --ink: #0f172a; --text-2: #334155; --muted: #64748b; --faint: #94a3b8;
  --bg: #ffffff; --bg-2: #f4f7fd; --line: #e2e8f0; --line-2: #cbd5e1;
  --green: #059669; --green-bg: #ecfdf5; --red: #dc2626; --red-bg: #fef2f2; --amber: #b45309; --amber-bg: #fffbeb;
  --radius: 12px; --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -6px rgba(15, 23, 42, .10);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 56px -16px rgba(15, 23, 42, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 400 16px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--ink); }
p { margin: 0; }
a { color: var(--b700); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--b500); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ic { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--text-2); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s, transform .05s; }
.btn:hover { background: var(--bg-2); border-color: var(--line-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn.primary { background: var(--b700); border-color: var(--b700); color: #fff; }
.btn.primary:hover { background: var(--b800); border-color: var(--b800); }
.btn.white { background: #fff; border-color: #fff; color: var(--b900); }
.btn.white:hover { background: var(--b50); }
.btn.outline-light { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn.outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn.lg { height: 48px; padding: 0 24px; font-size: 15px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .15s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.top-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.logo { grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; z-index: 1; }
.logo:hover { text-decoration: none; }
.logo img { display: block; height: 42px; width: auto; }
.nav { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; pointer-events: none; }
.nav-links { grid-column: 2; justify-self: center; display: flex; align-items: center; gap: 4px; pointer-events: auto; }
.nav-links > a, .nav-end > a:not(.btn) { padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-size: 14.5px; font-weight: 500; }
.nav-links > a:hover, .nav-end > a:not(.btn):hover { color: var(--ink); background: var(--bg-2); text-decoration: none; }
.nav a.on { color: var(--b700); }
.nav-end { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 8px; pointer-events: auto; }
.menu-btn { display: none; grid-column: 3; grid-row: 1; justify-self: end; z-index: 2; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-ico, .menu-ico::before, .menu-ico::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .18s var(--ease), opacity .18s; }
.menu-ico::before, .menu-ico::after { content: ''; position: absolute; left: 0; }
.menu-ico::before { top: -6px; }
.menu-ico::after { top: 6px; }
.top.open .menu-ico { background: transparent; }
.top.open .menu-ico::before { top: 0; transform: rotate(45deg); }
.top.open .menu-ico::after { top: 0; transform: rotate(-45deg); }

/* ---------- shared section bits ---------- */
section { padding: 96px 0; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; color: var(--b700); margin-bottom: 12px; }
.sec-head h2, .h2 { font-size: 40px; font-weight: 800; letter-spacing: -.025em; }
.sec-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* browser window around a real screenshot */
.frame { border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.frame-bar .dots { display: flex; gap: 6px; }
.frame-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.frame-bar .url { flex: 1; max-width: 360px; margin: 0 auto; height: 22px; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: 11.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.frame-bar .url .ic { width: 12px; height: 12px; color: var(--green); }
.frame img { display: block; width: 100%; height: auto; }
.frame.flat { box-shadow: var(--shadow); }

/* phone around a real phone screenshot */
.phone { width: 260px; border-radius: 40px; padding: 10px; background: #0f172a; box-shadow: var(--shadow-lg); flex: none; }
.phone img { display: block; width: 100%; height: auto; border-radius: 30px; }

/* ---------- home: hero ---------- */
.hero { padding: 72px 0 0; background: linear-gradient(180deg, var(--bg-2), #fff 78%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { font-size: 56px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.hero h1 .accent { color: var(--b700); }
.hero .lead { margin-top: 20px; font-size: 19px; color: var(--text-2); max-width: 470px; }
.hero .cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ic { width: 16px; height: 16px; color: var(--green); }
.hero-shot { position: relative; margin-right: -180px; padding-bottom: 56px; }
.hero-shot .frame { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hero-shot .phone { position: absolute; left: -40px; bottom: 24px; width: 170px; border-radius: 30px; padding: 7px; }
.hero-shot .phone img { border-radius: 24px; }
.hero-shot .frame { margin-left: 40px; }

/* module strip */
.strip { padding: 40px 0; border-bottom: 1px solid var(--line); }
.strip-in { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.strip a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 8px; border-radius: var(--radius); color: var(--text-2); font-size: 14px; font-weight: 600; text-align: center; transition: background-color .15s; }
.strip a:hover { background: var(--bg-2); text-decoration: none; color: var(--ink); }
.strip .k-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--b50); color: var(--b700); display: flex; align-items: center; justify-content: center; }
.strip .k-ic .ic { width: 22px; height: 22px; }

/* feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.feature .feature-text > p { margin-top: 16px; font-size: 17px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 15.5px; }
.ticks li .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--b700); }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.feature .link-arrow { margin-top: 28px; }
.shot-pair { position: relative; }
.shot-pair .frame + .frame { position: absolute; width: 58%; right: -24px; bottom: -40px; }

/* production route: the seam that connects the stages */
.route { list-style: none; margin: 28px 0 0; padding: 0; display: flex; gap: 0; position: relative; }
.route::before { content: ''; position: absolute; left: 6px; right: 6px; top: 6px; border-top: 2px dashed var(--b300); }
.route li { position: relative; flex: 1; padding-top: 22px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.route li::before { content: ''; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--b700); }
.route li:last-child { flex: none; }

/* small feature cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card .k-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--b50); color: var(--b700); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card h3 { font-size: 16.5px; font-weight: 700; }
.card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps .card { position: relative; }
.steps .num { width: 32px; height: 32px; border-radius: 50%; background: var(--b700); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.addr { display: inline-block; margin-top: 12px; font: 500 13px ui-monospace, Consolas, monospace; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; color: var(--text-2); }

/* dark band, same blue as the app sidebar */
.band { background: linear-gradient(160deg, #0b2a6f 0%, #12379a 100%); color: #dbe7ff; border: 0; }
.band .kicker { color: var(--b300); }
.band h2, .band h3 { color: #fff; }
.band .sec-head p { color: #b9cbf5; }
.band .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.band .card .k-ic { background: rgba(255, 255, 255, .1); color: #fff; }
.band .card p { color: #b9cbf5; }
.band-foot { margin-top: 40px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.plan.featured { border: 2px solid var(--b700); padding: 31px 27px; box-shadow: var(--shadow); }
.plan .pick { position: absolute; top: -13px; left: 27px; background: var(--b700); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan .for { margin-top: 4px; font-size: 14px; color: var(--muted); }
.plan .price { margin-top: 20px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .price b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--muted); font-size: 14px; }
.plan .users { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.plan .ticks { margin: 24px 0 28px; gap: 10px; flex: 1; align-content: start; }
.plan .ticks li { font-size: 14.5px; }
.plan .ticks li .ic { width: 18px; height: 18px; }
.plans-note { margin-top: 24px; text-align: center; color: var(--muted); font-size: 14px; }
.plans-loading { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px; }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.compare th, .compare td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--bg-2); font-size: 15px; font-weight: 700; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td .ic { width: 20px; height: 20px; color: var(--b700); vertical-align: middle; }
.compare td .no { color: var(--faint); }
.compare .grp td { background: #fafbfe; font-weight: 600; font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 18px; height: 18px; color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 24px 20px; color: var(--text-2); font-size: 15px; }

/* ---------- mobile ---------- */
.mobile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.phones .phone:nth-child(2) { margin-top: 64px; }
.phones.bleed { align-items: flex-end; }
.phones.bleed .phone:nth-child(2) { margin-top: 0; margin-bottom: -64px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px 0 16px; border-radius: 12px; background: #0f172a; color: #fff; }
.store:hover { text-decoration: none; background: #1e293b; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; color: #94a3b8; line-height: 1.2; }
.store b { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
div.store { cursor: default; }
div.store small { color: #fcd34d; }

/* final call to action */
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 48px 56px; border-radius: 20px; background: linear-gradient(120deg, #0b2a6f, #1d4ed8); color: #fff; }
.cta-box h2 { color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.cta-box p { margin-top: 8px; color: #c7d7fb; font-size: 17px; }
.cta-box .cta { display: flex; gap: 12px; flex-wrap: wrap; }
section.cta-sec { padding: 0 0 96px; }

/* ---------- inner pages ---------- */
.page-hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--bg-2), #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 48px; font-weight: 800; letter-spacing: -.03em; max-width: 820px; }
.page-hero p.lead { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 720px; }
.page-hero .cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center p.lead { margin-left: auto; margin-right: auto; }
.page-hero.center .cta { justify-content: center; }

.subnav { position: sticky; top: 68px; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px 24px; }
.subnav a { flex: none; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.subnav a:hover, .subnav a.on { background: var(--b50); color: var(--b700); text-decoration: none; }
.module { padding: 88px 0; border-bottom: 1px solid var(--line); }
.module:nth-of-type(even) { background: var(--bg-2); }
.module .feature + .feature { margin-top: 72px; }
.module .shots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 48px; }
.module .shots:has(> figure:only-child) { grid-template-columns: minmax(0, 760px); justify-content: center; }
.module figure { margin: 0; }
.module figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

.prose { max-width: 760px; padding: 64px 24px 96px; margin: 0 auto; }
.prose h1 { font-size: 40px; font-weight: 800; letter-spacing: -.025em; }
.prose .updated { margin-top: 8px; color: var(--muted); font-size: 14px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 40px 0 8px; }
.prose p { color: var(--text-2); margin-top: 12px; }

.sec-list { display: grid; gap: 16px; }
.sec-item { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.sec-item .k-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--b50); color: var(--b700); display: flex; align-items: center; justify-content: center; }
.sec-item .k-ic .ic { width: 24px; height: 24px; }
.sec-item h3 { font-size: 18px; font-weight: 700; }
.sec-item p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* diagram: one database per company */
.isolation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.iso { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 20px; text-align: center; }
.iso .addr { margin: 0 0 16px; }
.iso .db { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; border-radius: 10px; background: var(--b50); color: var(--b900); font-size: 13px; font-weight: 600; }
.iso .db .ic { width: 28px; height: 28px; color: var(--b700); }
.iso .key { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.iso .key .ic { width: 14px; height: 14px; }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); transition: border-color .15s; }
a.contact-card:hover { border-color: var(--b300); text-decoration: none; }
.contact-card .k-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--b50); color: var(--b700); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-card small { display: block; font-size: 13px; color: var(--muted); }
.contact-card b { display: block; margin-top: 2px; font-size: 16px; font-weight: 600; word-break: break-word; }

/* ---------- forms (same fields as the app) ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.field .opt { font-weight: 400; color: var(--muted); }
.input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; outline: none; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; min-height: 96px; padding: 10px 14px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.input:focus { border-color: var(--b500); box-shadow: 0 0 0 3px rgba(59, 130, 246, .18); }
.field .help { font-size: 13px; color: var(--muted); }
.field .help.ok { color: var(--green); }
.field .err { font-size: 13px; color: var(--red); font-weight: 500; }
.field.has-err .input { border-color: #fca5a5; background: #fff8f8; }
.with-suffix { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.with-suffix:focus-within { border-color: var(--b500); box-shadow: 0 0 0 3px rgba(59, 130, 246, .18); }
.with-suffix .input { border: 0; box-shadow: none; border-radius: 0; min-width: 0; }
.with-suffix span { display: flex; align-items: center; padding: 0 14px; background: var(--bg-2); border-left: 1px solid var(--line); color: var(--muted); font-size: 14px; white-space: nowrap; }
.field.has-err .with-suffix { border-color: #fca5a5; }
.with-suffix span[data-prefix] { border-left: 0; border-right: 1px solid var(--line); padding-right: 10px; }
.with-suffix span[hidden] { display: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.alert { padding: 12px 14px; border-radius: 10px; background: var(--red-bg); color: var(--red); border: 1px solid #fecaca; font-size: 14.5px; font-weight: 500; }
.alert.ok { background: var(--green-bg); color: var(--green); border-color: #a7f3d0; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); cursor: pointer; }
.check-row input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--b700); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.code-input { font: 600 28px ui-monospace, Consolas, monospace; letter-spacing: .4em; text-align: center; height: 60px; }

/* sign-up and sign-in pages */
.auth-page { background: var(--bg-2); padding: 56px 0 96px; }
.signup-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.panel-body { padding: 40px; }
.panel h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.panel .lead { margin-top: 8px; color: var(--muted); }
.stepper { list-style: none; margin: 28px 0 32px; padding: 0; display: flex; gap: 8px; }
.stepper li { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--faint); }
.stepper li::before { content: ''; height: 4px; border-radius: 4px; background: var(--line); }
.stepper li.on, .stepper li.done { color: var(--b700); }
.stepper li.on::before, .stepper li.done::before { background: var(--b700); }
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; }
.form-actions .btn.primary { min-width: 160px; }
.plan-pick { display: grid; gap: 12px; }
.plan-opt { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; transition: border-color .15s, background-color .15s; }
.plan-opt:hover { border-color: var(--b300); }
.plan-opt:has(input:checked) { border-color: var(--b700); background: var(--b50); box-shadow: 0 0 0 1px var(--b700) inset; }
.plan-opt input { width: 18px; height: 18px; accent-color: var(--b700); flex: none; }
.plan-opt .po-main { flex: 1; min-width: 0; }
.plan-opt b { display: block; font-size: 15.5px; }
.plan-opt small { display: block; color: var(--muted); font-size: 13px; }
.plan-opt .po-price { text-align: right; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-opt .po-price small { font-weight: 400; }
.side-panel { background: linear-gradient(160deg, #0b2a6f, #1d4ed8); color: #dbe7ff; border-radius: var(--radius-lg); padding: 36px; position: sticky; top: 96px; }
.side-panel h2 { color: #fff; font-size: 20px; font-weight: 700; }
.side-panel ol { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: s; }
.side-panel ol li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; counter-increment: s; }
.side-panel ol li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.side-panel ol b { display: block; color: #fff; font-size: 15px; }
.side-panel ol span { font-size: 14px; color: #b9cbf5; }
.side-panel hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .14); margin: 28px 0; }
.side-panel .mini { display: grid; gap: 10px; font-size: 14px; }
.side-panel .mini div { display: flex; gap: 10px; align-items: center; }
.side-panel .mini .ic { width: 18px; height: 18px; color: var(--b300); }
.done-box { text-align: center; padding: 16px 0 8px; }
.done-box .big-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.done-box .big-ic .ic { width: 32px; height: 32px; }
.done-box h2 { font-size: 26px; font-weight: 800; }
.done-box p { margin: 12px auto 0; max-width: 460px; color: var(--muted); }
.signin-wrap { max-width: 480px; margin: 0 auto; }
.signin-wrap .panel-body { padding: 40px; }
.signin-wrap .panel .k-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--b50); color: var(--b700); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.signin-wrap .panel .k-ic .ic { width: 26px; height: 26px; }
.signin-wrap form { margin-top: 28px; display: grid; gap: 16px; }
.below { margin-top: 24px; text-align: center; font-size: 14.5px; color: var(--muted); }
.text-btn { border: 0; background: none; padding: 0; color: var(--b700); font-weight: 600; cursor: pointer; font-size: 14.5px; }
.text-btn:hover { text-decoration: underline; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; font-size: 13px; color: var(--muted); }
.secure-note .ic { width: 16px; height: 16px; color: var(--green); }

/* 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound .code { font-size: 14px; font-weight: 600; color: var(--b700); }
.notfound h1 { margin-top: 8px; font-size: 40px; font-weight: 800; letter-spacing: -.025em; }
.notfound p { margin: 16px auto 0; max-width: 480px; color: var(--muted); font-size: 17px; }
.notfound .cta { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.foot { background: #0a1f52; color: #b9cbf5; padding: 64px 0 0; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot .logo { color: #fff; background: #fff; border-radius: 12px; padding: 8px 12px; width: fit-content; }
.foot .logo img { height: 36px; }
.foot-brand p { margin-top: 16px; max-width: 360px; font-size: 14.5px; }
.foot h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.foot-in > div > a { display: block; color: #b9cbf5; font-size: 14.5px; padding: 4px 0; }
.foot-in > div > a:hover { color: #fff; text-decoration: none; }
.foot-contact { margin-top: 20px; display: grid; gap: 8px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 8px; color: #dbe7ff; font-size: 14.5px; }
.foot-contact .ic { width: 16px; height: 16px; color: var(--b300); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #8fa6dc; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-shot { margin-right: -24px; }
  .hero-shot .phone { display: none; }
  .strip-in { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  body.menu-open { overflow: hidden; }
  .top { z-index: 60; }
  .top-in { display: flex; height: 64px; }
  .logo img { height: 34px; }
  .menu-btn { display: inline-flex; margin-left: auto; flex: none; }
  .nav { display: none; position: fixed; left: 0; right: 0; top: 64px; height: calc(100vh - 64px); height: calc(100dvh - 64px); bottom: auto; z-index: 55; grid-column: auto; pointer-events: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 8px 16px calc(20px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: auto; }
  .top.open .nav { display: flex; }
  .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links > a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 14px; border-radius: 12px; font-size: 17px; font-weight: 600; color: var(--ink); }
  .nav-links > a::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--line-2); border-bottom: 2px solid var(--line-2); transform: rotate(-45deg); flex: none; }
  .nav-links > a.on { background: var(--b50); color: var(--b700); }
  .nav-links > a.on::after { border-color: var(--b300); }
  .nav-end { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 10px; }
  .nav-end > a:not(.btn) { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 16px; font-weight: 600; color: var(--ink); }
  .nav-end .btn { height: 52px; border-radius: 12px; font-size: 16px; }
  .subnav { top: 64px; }
  section { padding: 64px 0; }
  .hero { padding-top: 36px; padding-bottom: 36px; }
  .hero-grid, .feature, .feature.flip, .mobile-grid, .split, .signup-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature.flip .feature-text { order: 0; }
  .feature + .feature { margin-top: 56px; }
  .feature h3 { font-size: 26px; }
  .hero h1 { font-size: 36px; }
  .hero-shot { margin-right: 0; margin-left: 0; padding-bottom: 0; }
  .hero-shot .frame { margin-left: 0; border-radius: var(--radius); }
  .sec-head h2, .h2 { font-size: 30px; }
  .page-hero { padding: 48px 0 36px; }
  .page-hero h1 { font-size: 34px; }
  .plans, .steps, .cards.three, .contact-cards, .isolation { grid-template-columns: minmax(0, 1fr); }
  .module .shots { grid-template-columns: minmax(0, 1fr); }
  .shot-pair .frame + .frame { display: none; }
  .side-panel { position: static; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .cta-box { padding: 32px 24px; }
  .phones.bleed { margin-bottom: -48px; }
  .phones.bleed .phone:nth-child(2) { margin-bottom: 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 32px; }
  .hero .lead, .page-hero p.lead { font-size: 16.5px; }
  .hero .cta, .page-hero .cta, .cta-box .cta { flex-direction: column; align-items: stretch; }
  .hero .cta .btn, .page-hero .cta .btn, .cta-box .cta .btn { width: 100%; }
  .page-hero h1 { font-size: 30px; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2, .h2 { font-size: 28px; }
  .strip-in { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .strip a { padding: 14px 8px; font-size: 13.5px; }
  .cards { grid-template-columns: 1fr; }
  .ticks.two { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .input, select.input, textarea.input { font-size: 16px; }
  .with-suffix { flex-wrap: wrap; }
  .with-suffix span { flex: 1 0 100%; border-left: 0; border-top: 1px solid var(--line); min-height: 40px; padding: 8px 14px; font-size: 13.5px; }
  .stepper li { font-size: 11.5px; line-height: 1.3; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .form-actions > span { display: none; }
  .form-actions .btn { width: 100%; min-width: 0; }
  .panel h1 { font-size: 26px; }
  .panel-body, .signin-wrap .panel-body { padding: 24px 18px; }
  .auth-page { padding: 20px 0 64px; }
  .plan { padding: 24px 20px; }
  .plan .price b { font-size: 32px; }
  .plan-opt { align-items: flex-start; }
  .phones { gap: 12px; }
  .phones .phone { width: 46%; border-radius: 28px; padding: 6px; }
  .phones .phone img { border-radius: 23px; }
  .route { flex-direction: column; gap: 12px; }
  .route::before { display: none; }
  .route li { flex: none; padding: 0 0 0 22px; }
  .route li::before { top: 2px; }
  .cta-box { align-items: stretch; padding: 28px 20px; border-radius: 16px; }
  .cta-box h2 { font-size: 26px; }
  .frame-bar .url { display: none; }
  .faq summary { padding: 16px; align-items: flex-start; }
  .faq details p { padding: 0 16px 16px; }
  .sec-item { padding: 18px; gap: 14px; }
  .foot { padding-top: 40px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 32px; }
  .prose { padding: 36px 20px 72px; }
  .prose h1 { font-size: 30px; }
  .notfound { padding: 72px 0; }
  .notfound h1 { font-size: 30px; }
  section.cta-sec { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
