@font-face { font-family: 'Marcellus'; src: url('fonts/marcellus-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('fonts/plex-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('fonts/plex-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('fonts/plex-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex'; src: url('fonts/plex-he-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Plex'; src: url('fonts/plex-he-500.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Plex'; src: url('fonts/plex-he-600.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }

:root {
  --navy: #12203A; --navy-2: #1B2D4D; --night: #0D1830; --line-d: #26375A;
  --ivory: #F5F1E8; --paper: #FFFFFF; --mist: #F3F2EE; --line: #E3E0D8;
  --ink: #12203A; --text: #3A4560; --muted: #66708A; --on-d: #C6CCD8; --on-d2: #8D97AD;
  --brass: #A8874F; --brass-l: #C9AA72;
  --sans: 'Plex', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --wrap: 1240px; --g: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brass-l); color: var(--navy); padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 3px; }
.d :focus-visible, .top :focus-visible { outline-color: var(--brass-l); }

.t1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.05; letter-spacing: -0.028em; font-weight: 500; }
.t2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -0.022em; font-weight: 500; }
.t3 { font-size: 20px; line-height: 1.35; letter-spacing: -0.01em; font-weight: 500; }
.big { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; }
.d { background: var(--navy); color: var(--on-d); }
.d h1, .d h2, .d h3 { color: #fff; }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 6px; border: 1px solid transparent; font-size: 16px; font-weight: 500;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 160ms ease, border-color 160ms ease, transform 120ms var(--ease); }
.btn:active { transform: scale(.98); }
.btn-a { background: var(--brass-l); color: var(--navy); }
.btn-a:hover { background: #D6B984; }
.btn-o { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-o:hover { border-color: #fff; }
.btn-n { background: var(--navy); color: #fff; }
.btn-n:hover { background: var(--navy-2); }
.btn-l { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-l:hover { border-color: #BDB7A8; }
.btn-s { min-height: 38px; padding: 7px 14px; font-size: 14.5px; }
.arrow { width: 14px; height: 14px; transition: transform 160ms var(--ease); }
.btn:hover .arrow { transform: translateX(2px); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(2px); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.top.edge { border-bottom-color: var(--line-d); }
.top .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand-word { font-family: 'Marcellus', Georgia, serif; font-size: 15px; letter-spacing: .2em; white-space: nowrap; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--on-d); text-decoration: none; font-size: 15px; }
.nav a:hover { color: #fff; }
.top-r { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { min-height: 38px; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--line-d); background: none; color: var(--on-d); cursor: pointer; font-size: 14.5px; }
.lang:hover { color: #fff; border-color: var(--on-d2); }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: none; color: #fff; cursor: pointer; place-items: center; }
.nav-demo { display: none; }
@media (max-width: 940px) {
  .nav { display: none; }
  .top-r .btn { display: none; }
  .menu-btn { display: grid; }
  .nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; inset-inline: 0; background: var(--navy); padding: 4px var(--g) 18px; border-bottom: 1px solid var(--line-d); }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: 18px; }
  .nav.open .nav-demo { display: block; color: var(--brass-l); border: 0; }
}

/* hero */
.hero { padding: clamp(56px, 8vw, 104px) 0 0; overflow: hidden; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
.hero-head p { color: var(--on-d); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--on-d2); }
.hero-shot { position: relative; margin-top: clamp(48px, 6vw, 72px); }
.frame { position: relative; border-radius: 12px; background: var(--ivory); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -20px rgba(0,0,0,.55), 0 12px 24px -12px rgba(0,0,0,.4); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #E9E5DB; border-bottom: 1px solid #DDD7CA; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CFC8B8; }
.frame-bar span { margin-inline-start: 14px; font-size: 12.5px; color: #7B8090; background: #F5F2EB; padding: 2px 12px; border-radius: 5px; }
.frame img { width: 100%; height: auto; }
.hero-shot .frame { margin-bottom: -1px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hero-shot .clip { max-height: 620px; overflow: hidden; border-radius: 12px 12px 0 0; }
.phone { position: absolute; width: clamp(150px, 19vw, 250px); border-radius: 34px; padding: 8px; background: #0A1222;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 70px -24px rgba(0,0,0,.6); }
.phone img { border-radius: 27px; width: 100%; height: auto; }
.hero-shot .phone { inset-inline-end: clamp(8px, 3vw, 40px); bottom: -60px; z-index: 2; }
.caption { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.hero + .after { padding-top: 96px; }
@media (max-width: 940px) {
  .hero-head { grid-template-columns: 1fr; }
  .hero-shot .clip { max-height: 360px; }
  .hero-shot .phone { width: 128px; bottom: -40px; border-radius: 24px; padding: 6px; }
  .hero-shot .phone img { border-radius: 19px; }
}

/* section shells */
.sec { padding: clamp(80px, 10vw, 136px) 0; }
.sec-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-h p { max-width: 540px; }
@media (max-width: 940px) { .sec-h { grid-template-columns: 1fr; } }
.mist { background: var(--mist); }

/* sources */
.src { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr) minmax(0, .8fr); gap: 0; align-items: center; position: relative; }
.feeds { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feeds li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 15px 0; border-bottom: 1px solid var(--line); position: relative; }
.feeds b { font-weight: 500; color: var(--ink); font-size: 16.5px; }
.feeds span { font-size: 14.5px; color: var(--muted); }
.feeds em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 13.5px; color: var(--muted); padding: 3px 9px; border: 1px solid var(--line); border-radius: 5px; background: #fff; white-space: nowrap; }
.wires { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.hub { display: grid; place-items: center; }
.hub svg { width: min(180px, 70%); height: auto; overflow: visible; }
.outs { list-style: none; margin: 0; padding: 0; }
.outs li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.outs li:first-child { border-top: 1px solid var(--line); }
.outs b { display: block; font-size: 34px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.outs span { font-size: 15px; color: var(--muted); }
@media (max-width: 940px) {
  .src { grid-template-columns: 1fr; gap: 28px; }
  .wires { display: none; }
  .hub svg { width: 120px; }
}

/* tour */
.tour { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.jobs { list-style: none; margin: 0; padding: 0; }
.job { border-top: 1px solid var(--line); }
.job:last-child { border-bottom: 1px solid var(--line); }
.job button { width: 100%; text-align: start; background: none; border: 0; padding: 20px 0 22px; cursor: pointer; position: relative; }
.job .v { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: var(--brass); margin-bottom: 4px; }
.job .h { display: block; font-size: 19px; font-weight: 500; color: var(--muted); line-height: 1.35; transition: color 200ms ease; }
.job .p { display: block; font-size: 15.5px; color: var(--muted); margin-top: 8px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 420ms var(--ease), opacity 300ms ease; }
.job .bar { position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: 0; background: var(--ink); }
.job[aria-current="true"] .h { color: var(--ink); }
.job[aria-current="true"] .p { max-height: 160px; opacity: 1; }
.screens { position: relative; position: sticky; top: 96px; }
.screens .frame { box-shadow: 0 0 0 1px rgba(18,32,58,.08), 0 30px 60px -30px rgba(18,32,58,.35); }
.screens .stack { position: relative; aspect-ratio: 1440 / 900; }
.screens .stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 450ms ease; }
.screens .stack img.on { opacity: 1; }
@media (max-width: 940px) { .tour { grid-template-columns: 1fr; } .screens { position: relative; top: 0; order: -1; } }

/* app */
.app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.phones { position: relative; height: clamp(440px, 46vw, 600px); }
.phones .phone { position: absolute; width: clamp(190px, 21vw, 270px); }
.phones .phone:first-child { inset-inline-start: 4%; top: 0; z-index: 2; }
.phones .phone:last-child { inset-inline-start: 42%; top: 70px; opacity: .96; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; }
.checks li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-d); color: var(--on-d); font-size: 16px; }
.checks li:last-child { border-bottom: 1px solid var(--line-d); }
.checks svg { flex-shrink: 0; margin-top: 4px; }
@media (max-width: 940px) { .app { grid-template-columns: 1fr; } .phones { height: 470px; max-width: 460px; } }

/* pricing */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.plist { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15.5px; }
.plist caption { text-align: start; font-size: 13.5px; color: var(--muted); padding-bottom: 8px; }
.plist td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.plist tr:first-child td { border-top: 1px solid var(--line); }
.plist td:nth-child(2), .plist td:nth-child(3) { text-align: end; white-space: nowrap; padding-inline-start: 16px; }
.plist td:nth-child(2) { color: var(--muted); }
.plist td:nth-child(3) { color: var(--ink); font-weight: 500; width: 70px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 28px; }
.facts div { font-size: 15px; color: var(--muted); }
.facts b { display: block; color: var(--ink); font-weight: 500; font-size: 16px; }
.calc { border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 32px); background: #fff; box-shadow: 0 1px 2px rgba(18,32,58,.04), 0 20px 40px -28px rgba(18,32,58,.25); }
.calc h3 { font-size: 19px; }
.calc .hint { font-size: 14.5px; color: var(--muted); margin-top: 4px; }
.field { padding: 14px 0 6px; border-top: 1px solid var(--line); margin-top: 14px; }
.field + .field { margin-top: 0; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--text); }
.field output { color: var(--ink); font-weight: 500; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; margin: 4px 0 0; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to var(--dir, right), var(--navy) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 3px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 3px; background: var(--navy); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); margin-top: -7.5px; }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); }
[dir="rtl"] input[type=range] { --dir: left; }
.res { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.res b { display: block; font-size: 34px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.res span { font-size: 14px; color: var(--muted); }
.bd { grid-column: 1 / -1; display: grid; gap: 7px; margin-top: 4px; }
.bd-row { display: grid; grid-template-columns: 1fr auto; font-size: 14px; color: var(--text); }
.bd-row i { grid-column: 1 / -1; display: block; height: 3px; background: var(--mist); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.bd-row i::after { content: ''; display: block; height: 100%; width: var(--w, 0); background: var(--brass); transition: width 250ms var(--ease); }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }
@media (max-width: 940px) { .price { grid-template-columns: 1fr; } }

/* who */
.who { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.who div { padding: 22px 20px 26px 0; }
.who div + div { padding-inline-start: 20px; border-inline-start: 1px solid var(--line); }
.who h3 { font-size: 17px; }
.who p { font-size: 15px; color: var(--muted); margin-top: 6px; }
@media (max-width: 940px) { .who { grid-template-columns: 1fr 1fr; } .who div, .who div + div { padding: 20px 16px 20px 0 !important; border-inline-start: 0 !important; border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .who { grid-template-columns: 1fr; } }

/* security */
.sec2 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); }
.sec2 ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.sec2 li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }
.sec2 li b { display: block; color: var(--ink); font-weight: 500; font-size: 16.5px; margin-bottom: 3px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
@media (max-width: 940px) { .sec2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sec2 ul { grid-template-columns: 1fr; } }

/* end */
.end { padding: clamp(72px, 9vw, 120px) 0; }
.end .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
@media (max-width: 940px) { .end .wrap { grid-template-columns: 1fr; } }
.foot { background: var(--night); color: var(--on-d2); padding: 52px 0 36px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot h4 { color: #fff; font-size: 14.5px; margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 4px 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot p { margin-top: 14px; max-width: 340px; }
.foot-b { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-d); font-size: 13.5px; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; } }

/* legal */
.legal-hero { padding: 72px 0 48px; }
.legal-hero h1 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.025em; }
.legal-hero p { margin-top: 12px; }
.legal-hero .meta { font-size: 14px; color: var(--on-d2); }
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: 56px; padding-bottom: 104px; }
.legal-nav { position: sticky; top: 96px; align-self: start; }
.legal-nav h2 { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; }
.legal-nav a { display: block; padding: 6px 0; text-decoration: none; color: var(--muted); font-size: 15px; }
.legal-nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.legal-nav a:hover { color: var(--ink); }
.prose { max-width: 700px; font-size: 16.5px; }
.prose h2 { font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 24px 0 6px; }
.prose p { margin: 10px 0; }
.prose ul, .prose ol { padding-inline-start: 22px; }
.prose li { margin: 5px 0; }
.prose .note { background: var(--mist); border-radius: 8px; padding: 14px 18px; margin: 0 0 28px; color: var(--text); font-size: 15.5px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.prose th, .prose td { text-align: start; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; color: var(--ink); }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-nav { position: static; } .legal-nav ul { display: flex; flex-wrap: wrap; gap: 0 16px; } }

section[id], [id^="h-"] { scroll-margin-top: 84px; }
