:root {
  color-scheme: light dark;
  --ink: #102a43;
  --muted: #52677d;
  --paper: #f7fbff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --line: #d8e5ef;
  --brand: #087e8b;
  --brand-dark: #07566f;
  --accent: #e8f8f6;
  --navy: #082b4c;
  --warm: #ffb657;
  --shadow: 0 24px 70px rgba(16, 42, 67, 0.12);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% -10%, rgba(104, 214, 207, 0.22), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, var(--paper) 60%, #eff7fb 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--brand); }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #ff9d1c; outline-offset: 4px; }

.skip-link {
  position: fixed; left: 1rem; top: -5rem; z-index: 100;
  padding: 0.7rem 1rem; border-radius: 12px; background: var(--navy); color: #fff;
}
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(216, 229, 239, 0.72);
  background: rgba(251, 253, 255, 0.86); backdrop-filter: blur(18px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.72rem; color: var(--navy); text-decoration: none; font-weight: 850; letter-spacing: -0.03em; font-size: 1.2rem; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 8px 22px rgba(8, 43, 76, 0.16); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links > a:not(.button) { color: var(--ink); text-decoration: none; font-size: 0.94rem; font-weight: 700; }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--navy); padding: 0.55rem; border-radius: 10px; }
.nav-toggle svg { width: 26px; height: 26px; display: block; }

.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.72rem 1.12rem; border: 1px solid transparent; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: white;
  text-decoration: none; font-weight: 800; box-shadow: 0 12px 26px rgba(7, 86, 111, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.button:hover { color: white; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(7, 86, 111, 0.25); }
.button.secondary { color: var(--navy); background: rgba(255,255,255,.84); border-color: var(--line); box-shadow: none; }
.button.secondary:hover { color: var(--navy); }

.hero { padding: 5.8rem 0 4rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr); align-items: center; gap: 3.2rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: var(--brand-dark); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--brand); }
h1, h2, h3 { color: var(--navy); line-height: 1.08; text-wrap: balance; }
h1 { margin: 1rem 0 1.3rem; max-width: 750px; font-size: clamp(3.15rem, 6vw, 6.2rem); letter-spacing: -0.066em; }
h2 { margin: .7rem 0 1rem; font-size: clamp(2.15rem, 4vw, 3.65rem); letter-spacing: -0.05em; }
h3 { margin: .5rem 0 .7rem; font-size: 1.24rem; letter-spacing: -0.025em; }
.lead { max-width: 650px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .65rem 1.15rem; margin-top: 1.6rem; color: var(--muted); font-size: .88rem; font-weight: 700; }
.trust-row span { display: inline-flex; align-items: center; gap: .4rem; }
.trust-row svg { width: 18px; color: var(--brand); }
.hero-art { position: relative; min-height: 590px; }
.hero-photo { width: 100%; height: 590px; object-fit: cover; border-radius: 36px; box-shadow: var(--shadow); }
.floating-card {
  position: absolute; left: -2.3rem; bottom: 2.4rem; width: min(320px, 72%); padding: 1.15rem;
  border: 1px solid rgba(255,255,255,.75); border-radius: 22px; background: rgba(255,255,255,.92);
  box-shadow: 0 22px 55px rgba(8,43,76,.2); backdrop-filter: blur(16px);
}
.floating-card strong { display: block; color: var(--navy); font-size: 1.08rem; }
.floating-card span { color: var(--muted); font-size: .88rem; }
.freshness { height: 7px; margin-top: .9rem; border-radius: 10px; background: #dbe9ef; overflow: hidden; }
.freshness::before { content: ""; display: block; width: 78%; height: 100%; background: linear-gradient(90deg, var(--brand), #59cdbd); }

.section { padding: 6rem 0; }
.section.compact { padding: 3.4rem 0; }
.section-head { max-width: 720px; margin-bottom: 2.2rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.demo-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.search-box { display: flex; gap: .65rem; margin-top: 1.35rem; }
.search-box input { min-width: 0; flex: 1; border: 1px solid #bed1de; border-radius: 14px; padding: .85rem 1rem; color: var(--ink); background: var(--surface-solid); }
.search-box button { cursor: pointer; }
.result-card { min-height: 270px; padding: 1.6rem; border-radius: 22px; color: #fff; background: linear-gradient(145deg, var(--navy), #0b526c); display: grid; align-content: center; }
.result-card .result-label { color: #96e3d7; font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.result-card h3 { color: white; font-size: 2rem; }
.result-card p { color: #d7e9f2; }
.result-meta { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .8rem; }
.result-meta span { padding: .35rem .65rem; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .83rem; font-weight: 750; }
.suggestions { margin-top: .8rem; color: var(--muted); font-size: .85rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.icon-tile { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: var(--brand-dark); background: var(--accent); }
.icon-tile svg { width: 23px; height: 23px; }
.feature-card p { margin-bottom: 0; color: var(--muted); }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.platform-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 1.55rem; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 14px 40px rgba(16, 42, 67, .07); }
.platform-card p { flex: 1; color: var(--muted); }
.platform-card .button { width: 100%; margin-top: .5rem; text-align: center; }
.platform-icon { display: grid; width: 52px; height: 52px; margin-bottom: 1.1rem; place-items: center; border-radius: 16px; color: var(--brand-dark); background: var(--accent); }
.platform-icon svg { width: 27px; height: 27px; }
.availability { display: inline-flex; padding: .25rem .55rem; border-radius: 999px; color: var(--brand-dark); background: var(--accent); font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.availability.beta { color: #68420a; background: #fff0cf; }
.platform-contact { width: 100%; margin-top: .75rem; color: var(--muted); font-size: .82rem; font-weight: 750; text-align: center; overflow-wrap: anywhere; }
.privacy-band { padding: 3rem; border-radius: 32px; background: var(--navy); color: #d6e8f1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.privacy-band h2, .privacy-band h3 { color: #fff; }
.privacy-band a { color: #a6f1e4; }
.privacy-list { display: grid; gap: .8rem; }
.privacy-item { display: grid; grid-template-columns: 32px 1fr; gap: .75rem; align-items: start; }
.privacy-item b { display: block; color: white; }
.privacy-item span { color: #bdd1dc; font-size: .92rem; }
.privacy-item svg { width: 25px; color: #79ddcd; margin-top: .15rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: steps; }
.step { padding: 1.45rem; border-top: 1px solid var(--line); counter-increment: steps; }
.step::before { content: "0" counter(steps); display: block; color: var(--brand); font-weight: 900; letter-spacing: .08em; }
.faq { display: grid; gap: .75rem; }
.faq details { border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.2rem; background: var(--surface); }
.faq summary { cursor: pointer; color: var(--navy); font-weight: 850; }
.faq p { color: var(--muted); }
.cta { padding: 3rem; border-radius: 32px; background: linear-gradient(135deg, #e1f7f3, #eaf2fb); text-align: center; }
.cta p { color: var(--muted); }
.support-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 2.5rem; align-items: center; padding: 2.5rem; border: 1px solid var(--line); border-radius: 32px; background: var(--surface); box-shadow: var(--shadow); }
.support-band h2 { margin-bottom: .7rem; }
.support-band p { max-width: 700px; margin-bottom: 0; color: var(--muted); }
.support-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.support-actions span { width: 100%; color: var(--muted); font-size: .9rem; font-weight: 750; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0; }
.support-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.support-card h2 { margin-top: 0; font-size: 1.3rem; }
.support-card p { margin-bottom: 0; color: var(--muted); }
.beta-callout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); gap: 2rem; align-items: center; margin: 2rem 0; padding: 2rem; border: 1px solid #efd59f; border-radius: 24px; background: linear-gradient(135deg, #fff8e8, #f5fbff); }
.beta-callout h2 { margin-bottom: .5rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.beta-callout p { margin-bottom: 0; color: var(--muted); }

.site-footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .6fr; gap: 2rem; }
.footer-copy { max-width: 480px; color: var(--muted); font-size: .92rem; }
.footer-links { display: grid; align-content: start; gap: .45rem; }
.footer-links b { color: var(--navy); margin-bottom: .35rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }

.legal-hero { padding: 4.8rem 0 2.2rem; }
.legal-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 3.5rem; align-items: start; padding-bottom: 6rem; }
.legal-nav { position: sticky; top: 105px; display: grid; gap: .3rem; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.legal-nav a { padding: .45rem .6rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .88rem; font-weight: 700; }
.legal-nav a:hover { background: var(--accent); color: var(--navy); }
.legal-content { min-width: 0; }
.legal-content h2 { margin-top: 2.8rem; font-size: 1.75rem; letter-spacing: -.03em; }
.legal-content h3 { margin-top: 2rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content strong { color: var(--ink); }
.notice { padding: 1rem 1.1rem; border-left: 4px solid var(--brand); border-radius: 8px; background: var(--accent); color: var(--ink); }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }

@media (prefers-color-scheme: dark) {
  :root { --ink:#e5f0f5; --muted:#aec2cf; --paper:#071b2b; --surface:rgba(12,40,58,.86); --surface-solid:#0c283a; --line:#23465b; --navy:#f2fbff; --accent:#113d48; --brand:#68d6c9; --brand-dark:#86e2d5; --shadow:0 24px 70px rgba(0,0,0,.3); }
  body { background: radial-gradient(circle at 85% -10%, rgba(56,143,147,.2), transparent 30rem), linear-gradient(180deg,#071b2b,#092335); }
  .site-header { background:rgba(7,27,43,.88); }
  .button { color:#062c39; background:linear-gradient(135deg,#8ce7da,#4fc2c2); }
  .button:hover { color:#062c39; }
  .button.secondary { background:#0c283a; color:var(--ink); }
  .floating-card { background:rgba(9,37,55,.92); border-color:#2c5368; }
  .privacy-band { background:#041521; }
  .cta { background:linear-gradient(135deg,#123d48,#102e4a); }
  .beta-callout { border-color:#594a2b; background:linear-gradient(135deg,#312a1c,#102e4a); }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 68px; padding: 1rem; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-solid); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .35rem; }
  .hero { padding-top: 3.8rem; }
  .hero-grid, .demo-panel, .privacy-band, .support-band, .beta-callout { grid-template-columns: 1fr; }
  .hero-art { min-height: 430px; }
  .hero-photo { height: 430px; }
  .floating-card { left: 1rem; }
  .feature-grid, .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; gap: 1rem; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav-links { left: 14px; right: 14px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .hero-grid { gap: 2.3rem; }
  .hero-art, .hero-photo { min-height: 350px; height: 350px; }
  .hero-photo { object-position: 58% center; }
  .section { padding: 4.2rem 0; }
  .demo-panel, .privacy-band, .cta { padding: 1.25rem; }
  .search-box { flex-direction: column; }
  .feature-grid, .platform-grid, .steps, .support-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

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