@import "tailwindcss";

:root {
  --navy: #082f63;
  --navy-2: #0d4a6f;
  --teal: #1ba7a8;
  --teal-soft: #dff5f3;
  --ink: #102f3c;
  --muted: #5f747d;
  --line: #d9e7e8;
  --paper: #ffffff;
  --wash: #f4faf9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-geist), Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky; top: 0; z-index: 20; height: 84px; display: flex; align-items: center; gap: 38px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(217,231,232,.8); backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: 225px; height: auto; }
.footer-brand strong span { color: var(--teal); }
nav { display: flex; gap: 28px; font-size: 14px; font-weight: 560; color: #36515c; }
nav a:hover, .footer-links a:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switcher {
  display: inline-flex; align-items: center; gap: 3px; padding: 3px;
  border: 1px solid var(--line); border-radius: 11px; background: #f4faf9;
}
.language-switcher button {
  width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: #607780; font: inherit; font-size: 11px; font-weight: 800;
  cursor: pointer; transition: background .18s, color .18s, box-shadow .18s;
}
.language-switcher button:hover { color: var(--navy); }
.language-switcher button.is-active { background: white; color: var(--navy); box-shadow: 0 3px 10px rgba(8,47,99,.12); }
.language-switcher button:focus-visible { outline: 3px solid rgba(27,167,168,.28); outline-offset: 2px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  border-radius: 12px; background: linear-gradient(135deg, var(--navy), #0b5a7a); color: white;
  font-size: 15px; font-weight: 720; box-shadow: 0 12px 26px rgba(8,47,99,.16); transition: transform .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(8,47,99,.22); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 13px; border-radius: 10px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; color: var(--navy); }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 690px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; padding: 86px 0 92px; }
.hero-copy { max-width: 610px; }
.eyebrow { margin: 0 0 18px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 650px; font-size: clamp(48px, 5.7vw, 76px); line-height: .99; letter-spacing: -.055em; color: var(--navy); }
.hero-lead { max-width: 590px; margin: 28px 0 30px; font-size: 19px; line-height: 1.62; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.device-note { margin-top: 23px; font-size: 13px; color: #70848c; }

.app-preview { padding: 22px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(155deg, #f7fbfb 0%, #e9f8f6 100%); box-shadow: 0 34px 70px rgba(8,47,99,.15); }
.preview-top { display: flex; align-items: center; gap: 14px; padding: 6px 8px 20px; }
.preview-top img { border-radius: 16px; box-shadow: 0 6px 18px rgba(8,47,99,.12); }
.preview-top div { display: flex; flex-direction: column; }
.preview-top small { margin-bottom: 5px; color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.preview-top strong { color: var(--navy); font-size: 24px; }
.preview-card { position: relative; overflow: hidden; padding: 32px; border-radius: 22px; color: white; background: linear-gradient(135deg, #0c426c, #159b9e); }
.preview-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -80px; border-radius: 50%; background: rgba(255,255,255,.08); }
.preview-card > span { font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.preview-card h2 { margin: 12px 0 8px; font-size: 25px; letter-spacing: -.025em; }
.preview-card p { margin: 0 0 28px; font-size: 13px; color: #d8f5f3; }
.preview-card button { width: 100%; min-height: 46px; border: 0; border-radius: 12px; background: white; color: var(--navy); font-weight: 760; }
.preview-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.preview-stats div { display: flex; flex-direction: column; padding: 17px; border-radius: 14px; background: rgba(255,255,255,.82); }
.preview-stats span { margin-bottom: 7px; font-size: 10px; color: var(--muted); }
.preview-stats strong { color: var(--navy); font-size: 18px; }

.trust-strip { display: flex; justify-content: center; gap: 0; padding: 22px 24px; background: var(--navy); color: white; }
.trust-strip span { padding: 0 38px; font-size: 13px; font-weight: 650; text-align: center; }
.trust-strip span + span { border-left: 1px solid rgba(255,255,255,.2); }

.how, .modalities, .story, .safety, .install { padding: 118px 0; }
.section-heading { max-width: 690px; }
.section-heading h2, .story h2, .everyday h2, .final-cta h2 { margin: 0; color: var(--navy); font-size: clamp(36px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 22px 0 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.feature { padding: 32px 0 12px; border-top: 2px solid var(--teal); }
.feature > span { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.feature h3, .modality-card h3 { margin: 24px 0 12px; color: var(--navy); font-size: 23px; letter-spacing: -.025em; }
.feature p, .modality-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.feature-visual { position: relative; height: 142px; margin-top: 26px; overflow: hidden; border: 1px solid #d7e9e8; border-radius: 18px; background: linear-gradient(145deg, #f7fcfb, #e8f6f4); }
.record-sheet { position: absolute; width: 104px; height: 112px; left: 50%; top: 17px; transform: translateX(-50%); padding: 29px 19px 0; border: 2px solid var(--navy); border-radius: 10px; background: white; box-shadow: 0 9px 20px rgba(8,47,99,.08); }
.record-sheet::before { content: ""; position: absolute; left: 28px; top: -7px; width: 44px; height: 13px; border-radius: 6px; background: var(--teal); }
.record-sheet i, .report-sheet i, .mini-device i { display: block; height: 4px; margin-bottom: 11px; border-radius: 3px; background: #c3d9dd; }
.record-sheet i:nth-child(2) { width: 82%; }
.record-sheet i:nth-child(3) { width: 62%; }
.visual-record b { position: absolute; right: calc(50% - 72px); bottom: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 4px solid #edf8f6; border-radius: 50%; background: var(--teal); color: white; font-size: 19px; }

.visual-calc { display: grid; grid-template-columns: 1fr 24px 1fr; align-items: center; gap: 8px; padding: 22px 20px 42px; }
.visual-calc > div { min-width: 0; }
.visual-calc small { display: block; margin-bottom: 12px; color: #6d838b; font-size: 8px; font-style: normal; font-weight: 800; letter-spacing: .1em; }
.visual-calc i { display: block; height: 34px; border: 2px solid #b7d8d8; border-radius: 8px; background: white; }
.visual-calc > div:first-child i { box-shadow: inset 0 -13px 0 #c9eeea; }
.visual-calc > div:nth-child(3) i { box-shadow: inset 0 -22px 0 #69cbc6; }
.visual-calc > span { color: var(--navy); font-size: 24px; font-weight: 700; text-align: center; }
.visual-calc strong { position: absolute; left: 20px; right: 20px; bottom: 14px; padding-top: 10px; border-top: 1px solid #cfe2e2; color: var(--navy); font-size: 10px; letter-spacing: .11em; text-align: center; }

.report-sheet { position: absolute; left: 45px; top: 25px; width: 78px; height: 94px; padding: 23px 14px 0; border: 2px solid var(--navy); border-radius: 9px; background: white; box-shadow: 0 8px 18px rgba(8,47,99,.08); }
.report-sheet::before { content: ""; position: absolute; left: 14px; top: 11px; width: 28px; height: 5px; border-radius: 3px; background: var(--teal); }
.report-sheet i { height: 3px; margin-bottom: 9px; }
.report-sheet i:nth-child(2) { width: 80%; }
.sync-path { position: absolute; left: 128px; right: 109px; top: 45px; height: 42px; border-top: 2px dashed #87c9c6; }
.sync-path span { position: absolute; left: 50%; top: -18px; display: grid; place-items: center; width: 34px; height: 34px; transform: translateX(-50%); border: 1px solid #c8e4e2; border-radius: 50%; background: white; color: var(--teal); font-size: 18px; }
.mini-device { position: absolute; right: 45px; top: 32px; width: 60px; height: 85px; padding: 20px 10px 0; border: 3px solid var(--navy); border-radius: 13px; background: white; box-shadow: 0 8px 18px rgba(8,47,99,.08); }
.mini-device::after { content: ""; position: absolute; left: 22px; bottom: 6px; width: 11px; height: 3px; border-radius: 2px; background: #a9c4ca; }
.mini-device i { height: 5px; margin-bottom: 10px; }
.mini-device i:first-child { background: var(--teal); }

.demo {
  width: min(1180px, calc(100% - 48px)); margin: 0 auto 118px; padding: 58px;
  display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 70px;
  overflow: hidden; border-radius: 30px; color: white;
  background: linear-gradient(135deg, #082f63, #075876 62%, #149b9d);
  box-shadow: 0 30px 70px rgba(8,47,99,.17);
}
.demo-copy h2 { margin: 0; font-size: clamp(36px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.demo-copy > p:not(.eyebrow) { margin: 22px 0 18px; color: #d6ecee; font-size: 17px; line-height: 1.65; }
.demo-copy > span { color: #9bdedb; font-size: 12px; font-weight: 650; }
.demo-player { padding: 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: rgba(255,255,255,.09); }
.demo-player video { display: block; width: 100%; max-height: 660px; border-radius: 16px; background: #061f34; object-fit: contain; }

.modalities { width: 100%; max-width: none; padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: max(24px, calc((100vw - 1180px) / 2)); background: var(--wash); }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 80px; }
.split-heading > p { margin: 0 0 4px !important; }
.modality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.modality-card { min-height: 300px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.modality-meta { display: flex; justify-content: space-between; align-items: center; }
.modality-meta span { color: var(--teal); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.modality-meta small { color: #7a8d94; font-size: 11px; }

.everyday { width: 100%; max-width: none; margin: 0; padding: 0; }
.everyday-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; padding: 100px max(24px, calc((100vw - 1180px) / 2)); background: linear-gradient(135deg, #082f63, #075876 65%, #0c8f91); color: white; }
.eyebrow.light { color: #8fe2dc; }
.everyday h2 { color: white; }
.everyday ul { margin: 0; padding: 0; list-style: none; }
.everyday li { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.everyday li:first-child { border-top: 1px solid rgba(255,255,255,.18); }
.everyday li strong { font-size: 14px; }
.everyday li span { font-size: 14px; line-height: 1.5; color: #cce7e8; }

.story { display: grid; grid-template-columns: 260px 1fr; gap: 100px; align-items: start; }
.story-mark { position: sticky; top: 110px; display: grid; place-items: center; width: 240px; height: 300px; border-radius: 120px 120px 26px 26px; background: linear-gradient(160deg, var(--teal-soft), #b9e8e3); color: var(--teal); font-family: Georgia, serif; font-size: 140px; font-style: italic; }
.story-copy { max-width: 750px; }
.story-copy > p:not(.eyebrow) { margin: 28px 0 0; color: #4b666f; font-size: 18px; line-height: 1.8; }
blockquote { margin: 42px 0 0; padding: 26px 0 26px 28px; border-left: 3px solid var(--teal); color: var(--navy); font-size: 20px; line-height: 1.55; }
blockquote strong { font-family: Georgia, serif; font-style: italic; }

.safety { border-top: 1px solid var(--line); }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 52px; }
.safety-grid p { margin: 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.75; }

.install { width: 100%; max-width: none; padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: max(24px, calc((100vw - 1180px) / 2)); background: var(--wash); }
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.install-card { padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 14px 34px rgba(8,47,99,.06); }
.platform-heading { display: flex; align-items: center; gap: 16px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.platform-icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: white; font-size: 15px; }
.platform-icon::before { content: ""; position: absolute; width: 13px; height: 17px; border: 2px solid white; border-radius: 8px 8px 10px 10px; }
.platform-icon.android { background: var(--teal); }
.platform-icon.android::before { width: 20px; height: 14px; border-radius: 8px 8px 4px 4px; }
.platform-heading small { display: block; margin-bottom: 4px; color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.platform-heading h3 { margin: 0; color: var(--navy); font-size: 21px; letter-spacing: -.025em; }
.install-card ol { margin: 26px 0 0; padding: 0; list-style: none; }
.install-card li { display: grid; grid-template-columns: 30px 1fr; gap: 13px; align-items: start; padding: 11px 0; }
.install-card li > span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #b9d9d7; border-radius: 50%; color: var(--teal); font-size: 11px; font-weight: 800; }
.install-card li p { margin: 3px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.install-card li strong { color: var(--ink); }
.install-note { max-width: 780px; margin: 26px 0 0; color: #6d8189; font-size: 13px; line-height: 1.6; }

.final-cta { display: flex; flex-direction: column; align-items: center; padding: 92px 24px; text-align: center; border-radius: 30px; background: var(--wash); }
.final-cta img { margin-bottom: 24px; border-radius: 16px; }
.final-cta p { max-width: 610px; margin: 20px auto 30px; color: var(--muted); font-size: 17px; line-height: 1.6; }

footer { width: min(1180px, calc(100% - 48px)); margin: 88px auto 0; padding: 38px 0 46px; display: grid; grid-template-columns: 1fr auto; gap: 20px; border-top: 1px solid var(--line); }
.footer-brand strong { font-size: 23px; color: var(--navy); }
.footer-brand p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 24px; align-items: start; color: #506a73; font-size: 13px; }
.footer-legal { grid-column: 1 / -1; margin: 26px 0 0; color: #829198; font-size: 12px; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 58px; padding-top: 66px; }
  .hero-copy { max-width: 720px; }
  .app-preview { width: min(620px, 100%); margin: 0 auto; }
  .feature-grid, .modality-grid { grid-template-columns: 1fr; }
  .install-grid { grid-template-columns: 1fr; }
  .feature { min-height: 190px; }
  .modality-card { min-height: 230px; }
  .split-heading, .everyday-panel { grid-template-columns: 1fr; gap: 48px; }
  .story { grid-template-columns: 160px 1fr; gap: 54px; }
  .demo { grid-template-columns: 1fr; gap: 42px; padding: 44px; }
  .demo-player video { max-height: 720px; }
  .story-mark { width: 150px; height: 210px; font-size: 90px; }
}

@media (max-width: 620px) {
  .site-header { height: 74px; gap: 9px; padding: 0 14px; }
  .brand img { width: 138px; height: auto; }
  .header-actions { gap: 7px; }
  .language-switcher { gap: 1px; padding: 2px; border-radius: 9px; }
  .language-switcher button { width: 27px; height: 30px; border-radius: 7px; font-size: 9px; }
  .button-small { min-height: 38px; padding: 0 10px; font-size: 10px; white-space: nowrap; }
  .section { width: min(100% - 32px, 1180px); }
  .hero { padding: 58px 0 68px; }
  .hero h1 { font-size: 47px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .button { width: 100%; }
  .app-preview { padding: 14px; border-radius: 20px; }
  .preview-top strong { font-size: 19px; }
  .preview-card { padding: 25px 20px; }
  .preview-stats { grid-template-columns: 1fr; }
  .trust-strip { flex-direction: column; gap: 14px; padding: 24px; }
  .trust-strip span { padding: 0; }
  .trust-strip span + span { border: 0; }
  .how, .modalities, .story, .safety, .install { padding-top: 82px; padding-bottom: 82px; }
  .modalities { padding-left: 16px; padding-right: 16px; }
  .install { padding-left: 16px; padding-right: 16px; }
  .install-card { padding: 26px 22px; }
  .section-heading h2, .story h2, .everyday h2, .final-cta h2 { font-size: 38px; }
  .feature-grid, .modality-grid { margin-top: 44px; }
  .everyday-panel { padding: 78px 20px; }
  .everyday li { grid-template-columns: 1fr; gap: 7px; }
  .story { display: block; }
  .story-mark { position: static; width: 88px; height: 108px; margin-bottom: 34px; border-radius: 44px 44px 14px 14px; font-size: 54px; }
  .story-copy > p:not(.eyebrow) { font-size: 16px; }
  .demo { width: calc(100% - 32px); margin-bottom: 82px; padding: 28px 20px 20px; gap: 28px; border-radius: 24px; }
  .demo-copy h2 { font-size: 38px; }
  .demo-copy > p:not(.eyebrow) { font-size: 15px; }
  .demo-player { padding: 8px; border-radius: 18px; }
  .demo-player video { border-radius: 12px; }
  .safety-grid { grid-template-columns: 1fr; gap: 24px; }
  .final-cta { width: calc(100% - 32px); padding: 70px 22px; border-radius: 22px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 390px) {
  .site-header { padding: 0 10px; }
  .brand img { width: 122px; }
  .button-small { padding: 0 8px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
