:root {
  color-scheme: light;
  --ink: #071426;
  --ink-soft: #10233d;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: #dce3ed;
  --muted: #5a6a7f;
  --blue: #2d63ff;
  --aqua: #56edc1;
  --warm: #ffcc75;
  --radius: 1.5rem;
  --shadow: 0 1.5rem 4rem rgba(7, 20, 38, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 1rem; line-height: 1.6; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--aqua); color: var(--ink); font-weight: 800; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }

.contact-strip { background: #04101f; color: #dce8f8; font-size: .82rem; }
.contact-strip__inner { min-height: 2.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.contact-strip a, .contact-strip button { text-decoration: none; }
.contact-strip a:first-child span { color: #8192a9; margin-right: .5rem; }
.contact-strip__actions { display: flex; align-items: center; gap: 1.35rem; }
.text-action { appearance: none; border: 0; padding: 0; color: inherit; background: none; cursor: pointer; font-weight: 750; }
.text-action:hover, .text-action:focus-visible { color: var(--aqua); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(7,20,38,.08); backdrop-filter: blur(16px); }
.nav-wrap { height: 5rem; display: flex; align-items: center; gap: 2.4rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.5rem; font-weight: 900; letter-spacing: -.055em; }
.brand-logo { width: 10.2rem; height: auto; max-height: 3.2rem; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; }
.desktop-nav a { text-decoration: none; color: #334158; font-size: .9rem; font-weight: 700; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--blue); }
.nav-actions { display: flex; gap: .7rem; }
.button { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; gap: .45rem; border: 1px solid transparent; border-radius: .85rem; padding: .7rem 1.05rem; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, .menu-button:focus-visible, .dialog-close:focus-visible { outline: 3px solid rgba(45,99,255,.28); outline-offset: 2px; }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button--primary { background: var(--blue); color: white; box-shadow: 0 .7rem 1.5rem rgba(45,99,255,.22); }
.button--ghost { background: transparent; color: var(--ink); border-color: #cfd8e6; }
.button--accent { background: var(--aqua); color: #04101f; box-shadow: 0 .8rem 2rem rgba(86,237,193,.18); }
.button--light { background: rgba(255,255,255,.1); color: white; border-color: rgba(255,255,255,.24); }
.button--large { min-height: 3.4rem; padding: .9rem 1.25rem; }
.button--full { width: 100%; }
.menu-button { display: none; margin-left: auto; width: 2.8rem; height: 2.8rem; border: 1px solid var(--line); background: white; border-radius: .8rem; }
.menu-button span { display: block; width: 1.1rem; height: 2px; margin: .25rem auto; background: var(--ink); }
.mobile-menu { padding: 1rem 1.5rem 1.5rem; background: white; border-top: 1px solid var(--line); }
.mobile-menu a, .mobile-menu button { display: block; width: 100%; padding: .8rem 0; border: 0; background: none; text-align: left; text-decoration: none; color: var(--ink); font-weight: 750; }

.hero { position: relative; overflow: hidden; min-height: 45rem; background: var(--ink); color: white; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 4.5rem 4.5rem; mask-image: linear-gradient(to bottom, black, transparent 92%); }
.hero::after { content: ""; position: absolute; width: 32rem; height: 32rem; right: -14rem; top: -10rem; background: var(--blue); border-radius: 50%; filter: blur(8rem); opacity: .3; }
.hero__layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .92fr) minmax(28rem, 1.08fr); align-items: center; gap: 4rem; min-height: 45rem; padding-block: 5rem; }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: #aab8ca; font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 2.2rem; height: 2px; background: var(--aqua); }
.eyebrow--dark { color: var(--muted); }
.hero h1 { max-width: 12ch; margin: 1.2rem 0 1.3rem; font-size: clamp(3rem, 5.5vw, 5.4rem); line-height: .98; letter-spacing: -.065em; }
.hero__lead { max-width: 40rem; margin: 0; color: #b7c4d5; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.proof-list { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; margin: 2rem 0 0; padding: 0; list-style: none; color: #dce6f2; font-size: .82rem; font-weight: 700; }
.proof-list li::before { content: "✓"; color: var(--aqua); margin-right: .45rem; }

.product-visual { position: relative; min-height: 30rem; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 1.6rem; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.035)); box-shadow: var(--shadow); transform: perspective(80rem) rotateY(-4deg) rotateX(1deg); }
.product-visual::after { content: ""; position: absolute; inset: auto -15% -30% 25%; height: 65%; background: var(--blue); filter: blur(6rem); opacity: .2; }
.visual-chrome { height: 3.2rem; display: flex; align-items: center; gap: .42rem; padding-inline: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); color: #aab8ca; }
.visual-chrome span { width: .55rem; height: .55rem; border: 1px solid currentColor; border-radius: 50%; }
.visual-chrome strong { margin-left: auto; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.product-visual > img { width: 100%; height: calc(100% - 3.2rem); min-height: 26.8rem; object-fit: cover; object-position: top left; }
.product-visual.has-image .visual-placeholder { display: none; }
.visual-placeholder { position: absolute; inset: 3.2rem 0 0; z-index: 1; display: grid; place-content: center; justify-items: center; text-align: center; padding: 2rem; }
.visual-placeholder p { margin: 1rem 0 .2rem; font-weight: 850; }
.visual-placeholder small { max-width: 18rem; color: #94a4b8; }
.placeholder-mark { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 1.5rem 1.5rem 1.5rem .4rem; background: rgba(86,237,193,.12); border: 1px solid rgba(86,237,193,.32); color: var(--aqua); font-size: 2.2rem; font-weight: 900; }
.placeholder-icon { display: grid; place-items: center; width: 4rem; height: 4rem; border: 1px solid currentColor; border-radius: 50%; color: var(--blue); font-size: 1.7rem; }
.visual-index { position: absolute; z-index: 2; right: 1rem; bottom: .8rem; color: #8b9bb0; font-size: .66rem; letter-spacing: .1em; }

.principles { padding-block: 7rem; background: white; }
.principles__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 6rem; }
.section-no { color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .13em; }
.principles h2, .section-heading h2, .story-copy h2, .security-section h2, .mobile-app-copy h2, .final-cta h2 { margin: 1rem 0 0; font-size: clamp(2.3rem, 4.2vw, 4rem); line-height: 1.04; letter-spacing: -.055em; }
.principles__list article { display: grid; grid-template-columns: 12rem 1fr; gap: 2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.principles__list article:last-child { border-bottom: 1px solid var(--line); }
.principles__list strong { font-size: 1.04rem; }
.principles__list p { margin: 0; color: var(--muted); }

.feature-story { padding-block: 7rem; }
.feature-story--ink { background: #0b192d; color: white; }
.story-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 5rem; align-items: center; }
.story-grid--reverse .story-copy { order: 2; }
.story-copy p { color: var(--muted); font-size: 1.08rem; }
.feature-story--ink .story-copy p { color: #aab8ca; }
.story-copy ul { margin: 2rem 0 0; padding: 0; list-style: none; }
.story-copy li { padding: .65rem 0; border-bottom: 1px solid var(--line); font-weight: 750; }
.feature-story--ink .story-copy li { border-color: rgba(255,255,255,.15); }
.story-copy li::before { content: "↗"; color: var(--blue); margin-right: .75rem; }
.product-visual--light { min-height: 28rem; background: white; border-color: var(--line); transform: perspective(80rem) rotateY(-2deg); }
.product-visual--light .visual-chrome { border-color: var(--line); color: var(--muted); }
.product-visual--light .visual-placeholder small { color: var(--muted); }
.product-visual--dark { min-height: 28rem; transform: perspective(80rem) rotateY(2deg); }

.module-field { padding-block: 7rem; background: #eaf0f8; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #bdc9d8; border-left: 1px solid #bdc9d8; }
.module-grid article { position: relative; min-height: 18rem; overflow: hidden; padding: 1.5rem; border-right: 1px solid #bdc9d8; border-bottom: 1px solid #bdc9d8; background: rgba(255,255,255,.38); }
.module-grid article > span { color: var(--blue); font-size: .72rem; font-weight: 900; }
.module-grid h3 { margin: 3rem 0 .8rem; font-size: 1.35rem; line-height: 1.15; }
.module-grid p { margin: 0; color: var(--muted); font-size: .92rem; }
.module-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.security-section { padding-block: 7rem; background: var(--warm); }
.security-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6rem; }
.security-grid > div:first-child > p { max-width: 34rem; color: #5d4a27; font-size: 1.08rem; }
.security-points { display: grid; grid-template-columns: 1fr 1fr; }
.security-points article { min-height: 13rem; padding: 1.3rem; border: 1px solid rgba(7,20,38,.25); margin: 0 -1px -1px 0; }
.security-points span { color: #84601d; font-size: .7rem; font-weight: 900; }
.security-points h3 { margin: 2rem 0 .5rem; }
.security-points p { margin: 0; color: #5d4a27; font-size: .9rem; }

.mobile-app-section { padding-block: 7rem; overflow: hidden; background: #071426; color: white; }
.mobile-app-section[hidden] { display: none; }
.mobile-app-grid { display: grid; grid-template-columns: minmax(20rem, .85fr) 1.15fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.phone-stage { display: grid; place-items: center; min-height: 39rem; position: relative; }
.phone-stage::before { content: ""; position: absolute; width: 30rem; height: 30rem; border-radius: 50%; background: radial-gradient(circle, rgba(86,237,193,.2), transparent 68%); }
.phone-frame { position: relative; width: min(19rem, 82vw); aspect-ratio: 9 / 19.5; overflow: hidden; border: .55rem solid #14243a; border-radius: 3.1rem; background: linear-gradient(155deg, #10233c, #081220); box-shadow: 0 2.5rem 6rem rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.12); }
.phone-speaker { position: absolute; z-index: 4; top: .65rem; left: 50%; width: 5.2rem; height: .35rem; border-radius: 1rem; background: #020711; transform: translateX(-50%); }
.phone-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .75rem; padding: 2rem; text-align: center; }
.phone-placeholder small { color: #98a9be; line-height: 1.45; }
.mobile-app-copy > p { max-width: 40rem; margin: 1.5rem 0 0; color: #b8c7d9; font-size: 1.12rem; line-height: 1.7; }
.store-badges { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.store-badge { position: relative; display: grid; min-width: 12.5rem; padding: .75rem 3.5rem .75rem 1rem; border: 1px solid rgba(255,255,255,.3); border-radius: .85rem; background: white; color: #071426; text-decoration: none; }
.store-badge span { font-size: .66rem; }
.store-badge strong { font-size: 1.12rem; line-height: 1.15; }
.store-badge em { position: absolute; top: 50%; right: .75rem; color: #526176; font-size: .68rem; font-style: normal; font-weight: 850; transform: translateY(-50%); }
.store-badge:not([aria-disabled="true"]):hover { border-color: var(--aqua); transform: translateY(-2px); }
.store-badge[aria-disabled="true"] { cursor: default; opacity: .68; }
.store-badge:not([aria-disabled="true"]) em { display: none; }

.final-cta { padding-block: 6rem; background: var(--blue); color: white; }
.final-cta__inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
.final-cta .section-no { color: var(--aqua); }
.final-cta p { color: #dce5ff; font-size: 1.05rem; }
.final-cta__actions { display: flex; gap: .7rem; }

.footer { padding: 4.5rem 0 1.5rem; background: #04101f; color: #dce6f2; }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; }
.brand--footer { color: white; }
.brand--footer .brand-logo { width: 11rem; }
.footer h2 { margin: 0 0 1rem; color: #7f91a9; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.footer p, .footer a, .footer button { display: block; margin: 0 0 .55rem; color: #b5c3d4; text-decoration: none; font-size: .9rem; }
.footer button { padding: 0; border: 0; background: none; cursor: pointer; }
.footer a:hover, .footer button:hover { color: var(--aqua); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); color: #75879e; font-size: .75rem; }

.demo-dialog { width: min(35rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 1.5rem; box-shadow: 0 2rem 7rem rgba(0,0,0,.38); }
.demo-dialog::backdrop { background: rgba(2,10,20,.72); backdrop-filter: blur(5px); }
.demo-dialog form { position: relative; padding: clamp(1.5rem, 5vw, 2.5rem); }
.demo-dialog h2 { margin: .8rem 0; font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.06; letter-spacing: -.045em; }
.demo-dialog form > p:not(.eyebrow):not(.form-message) { margin: 0 0 1.4rem; color: var(--muted); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 1.4rem; }
.demo-dialog label:not(.consent):not(.honeypot) { display: block; margin-top: 1rem; font-size: .84rem; font-weight: 800; }
.demo-dialog input:not([type="checkbox"]) { width: 100%; min-height: 3rem; margin-top: .35rem; padding: .7rem .85rem; border: 1px solid #cbd5e1; border-radius: .7rem; background: #f9fbfd; }
.consent { display: grid; grid-template-columns: 1.2rem 1fr; gap: .65rem; align-items: start; margin: 1.2rem 0; color: var(--muted); font-size: .78rem; }
.consent input { width: 1.1rem; height: 1.1rem; margin: .2rem 0 0; }
.honeypot { position: fixed !important; left: -10000px !important; opacity: 0 !important; pointer-events: none !important; }
.form-message { min-height: 1.5rem; margin: .8rem 0 0; font-size: .85rem; font-weight: 750; text-align: center; }
.form-message[data-state="success"] { color: #087455; }
.form-message[data-state="error"] { color: #b42318; }

.legal { min-height: 100vh; background: white; }
.legal header { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.legal main { width: min(48rem, calc(100% - 3rem)); margin: auto; padding: 5rem 0; }
.legal h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); line-height: 1; letter-spacing: -.055em; }
.legal p { color: var(--muted); }
.legal .placeholder-notice { padding: 1.2rem; border-left: 4px solid var(--warm); background: #fff8e8; color: #5d4a27; }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .nav-actions { margin-left: auto; }
  .hero__layout { grid-template-columns: 1fr; gap: 3rem; }
  .hero h1 { max-width: 15ch; }
  .hero__visual { width: min(44rem, 100%); }
  .principles__grid, .security-grid, .mobile-app-grid { grid-template-columns: 1fr; gap: 3rem; }
  .mobile-app-copy { order: -1; }
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-grid--reverse .story-copy { order: initial; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta__inner { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 2rem, 74rem); }
  .contact-strip__inner { min-height: 3.2rem; }
  .contact-strip a:first-child span { display: none; }
  .contact-strip__actions .text-action:first-child { display: none; }
  .nav-actions { display: none; }
  .menu-button { display: block; }
  .nav-wrap { height: 4.4rem; }
  .hero, .hero__layout { min-height: auto; }
  .hero__layout { padding-block: 4rem; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .hero__actions, .final-cta__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .button, .final-cta__actions .button { width: 100%; }
  .hero__visual, .product-visual--light, .product-visual--dark { min-height: 22rem; transform: none; }
  .product-visual > img { min-height: 18.8rem; }
  .principles, .feature-story, .module-field, .security-section, .mobile-app-section { padding-block: 5rem; }
  .phone-stage { min-height: 34rem; }
  .store-badges { flex-direction: column; }
  .store-badge { width: 100%; }
  .principles__list article { grid-template-columns: 1fr; gap: .5rem; }
  .section-heading { display: block; }
  .module-grid { grid-template-columns: 1fr; }
  .module-grid article { min-height: 14rem; }
  .security-points { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
