:root {
  color-scheme: light;
  --bg: #f5fbfc;
  --paper: rgba(255, 255, 255, 0.82);
  --paper-solid: #ffffff;
  --ink: #102f3f;
  --muted: #5d7480;
  --soft: #edf7f8;
  --line: rgba(20, 72, 91, 0.13);
  --accent: #0997ba;
  --accent-deep: #087c9b;
  --day: #73d0c8;
  --night: #173f55;
  --shadow: 0 24px 70px rgba(16, 58, 74, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(79, 220, 215, .18), transparent 31rem),
    radial-gradient(circle at 90% 14%, rgba(23, 115, 183, .11), transparent 30rem),
    var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-deep); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }

header {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-icon { width: 39px; height: 39px; border-radius: 10px; filter: drop-shadow(0 7px 12px rgba(12, 104, 136, .18)); }
.brandmark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: linear-gradient(145deg, #89ebe0, #2eb7d4); color: var(--night); font-size: 27px; line-height: 1; }
nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
nav a { color: var(--muted); font-size: 14px; font-weight: 620; text-decoration: none; }
nav a:hover { color: var(--ink); }
.nav-pill { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.54); }

.landing { width: 100%; }
.landing section { max-width: 1180px; margin: 0 auto; padding: 96px 30px; }
.hero { padding-top: 84px !important; text-align: center; }
.hero-copy { max-width: 870px; margin: 0 auto; }
.app-icon { width: 118px; height: 118px; margin: 0 auto 26px; border-radius: 27px; filter: drop-shadow(0 22px 28px rgba(12, 83, 127, .24)); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 7px 13px; border: 1px solid rgba(9, 151, 186, .2); border-radius: 999px; background: rgba(255,255,255,.62); color: var(--accent-deep); font-size: 13px; font-weight: 720; letter-spacing: .025em; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(9,151,186,.1); }
.hero h1 { max-width: 840px; margin: 0 auto 22px; font-size: clamp(48px, 7vw, 84px); line-height: .98; letter-spacing: -.065em; font-weight: 800; }
.gradient-text { color: var(--accent-deep); }
.hero .lead { max-width: 710px; margin: 0 auto 30px; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; color: var(--muted); }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 32px 0 24px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: 14px; font-weight: 720; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(180deg, #0aacca, #078dad); box-shadow: 0 12px 28px rgba(8, 142, 174, .25); }
.button-secondary { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.72); }
.badges { display: flex; justify-content: center; gap: 10px 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.badge { display: inline-flex; align-items: center; gap: 7px; }
.badge::before { content: "✓"; color: var(--accent-deep); font-weight: 800; }

.product-stage { position: relative; margin-top: 70px; padding: 10px; border: 1px solid rgba(255,255,255,.95); border-radius: 29px; background: linear-gradient(140deg, rgba(255,255,255,.92), rgba(210,240,243,.66)); box-shadow: var(--shadow); }
.product-stage::before { content: ""; position: absolute; inset: -80px 18% auto; height: 170px; background: rgba(54, 213, 215, .24); filter: blur(80px); z-index: -1; }
.window-bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 13px; }
.window-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff625a; box-shadow: 16px 0 #ffc044, 32px 0 #2ac653; }
.product-stage img { width: 100%; border-radius: 18px; border: 1px solid rgba(15, 68, 87, .1); }
.screen-caption { margin: 16px 0 4px; color: var(--muted); font-size: 13px; }

.section-heading { max-width: 710px; margin: 0 auto 52px; text-align: center; }
.section-heading .kicker { color: var(--accent-deep); font-size: 13px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.section-heading h2 { margin: 10px 0 14px; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 19px; }

.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 300px; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: 0 14px 40px rgba(24, 72, 87, .07); }
.feature-card h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.feature-card p { max-width: 46ch; margin: 0; color: var(--muted); }
.feature-card.wide { grid-column: span 7; }
.feature-card.narrow { grid-column: span 5; min-height: 450px; }
.feature-card.full { grid-column: 1 / -1; min-height: 245px; }
.feature-icon { display: grid; width: 42px; height: 42px; margin-bottom: 30px; place-items: center; border-radius: 12px; background: var(--soft); color: var(--accent-deep); font-size: 21px; font-weight: 800; }

.mini-timeline { position: absolute; left: 30px; right: 30px; bottom: 30px; }
.mini-time { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 650; }
.track { position: relative; display: flex; height: 44px; overflow: hidden; border-radius: 12px; background: #e5ecee; }
.track span { display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.track .night { width: 35%; color: #cce1e8; background: var(--night); }
.track .day { width: 48%; color: #205e63; background: var(--day); }
.track .night.end { width: 17%; }
.now-line { position: absolute; top: -5px; bottom: -5px; left: 63%; width: 3px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 4px rgba(9,151,186,.12); }

.city-stack { position: absolute; left: 30px; right: 30px; bottom: 25px; display: grid; gap: 8px; }
.city-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 11px 14px; border-radius: 12px; background: rgba(230, 243, 246, .72); }
.city-row:nth-child(2) { background: rgba(255,255,255,.8); }
.city-name { font-weight: 730; }
.city-zone { display: block; color: var(--muted); font-size: 11px; font-weight: 550; }
.city-clock { font-size: 19px; font-variant-numeric: tabular-nums; font-weight: 690; }

.event-demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; height: 100%; }
.event-card { padding: 18px; border-radius: 16px; background: #f6f3fa; border: 1px solid rgba(76, 45, 94, .1); }
.event-title { display: flex; align-items: center; gap: 10px; font-weight: 740; }
.event-color { width: 8px; height: 40px; border-radius: 99px; background: #a847c2; }
.event-meta { color: var(--muted); font-size: 13px; }

.privacy-banner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: 48px !important; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(224,247,246,.82)); box-shadow: 0 20px 55px rgba(18, 71, 86, .08); }
.privacy-banner h2 { margin: 0 0 14px; font-size: clamp(32px, 4vw, 48px); line-height: 1.07; letter-spacing: -.04em; }
.privacy-banner p { margin: 0; color: var(--muted); font-size: 18px; }
.privacy-points { display: grid; gap: 12px; }
.privacy-point { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid rgba(10, 124, 155, .12); border-radius: 13px; background: rgba(255,255,255,.62); font-weight: 650; }
.privacy-point span { display: grid; flex: 0 0 auto; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; }

.final-cta { text-align: center; }
.final-card { padding: 65px 30px; border-radius: 30px; background: var(--night); color: #fff; box-shadow: var(--shadow); }
.final-card h2 { max-width: 720px; margin: 0 auto 16px; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.05em; }
.final-card p { max-width: 590px; margin: 0 auto 28px; color: #bfd4dd; font-size: 18px; }
.final-card .button-secondary { background: #fff; }

main:not(.landing) { max-width: 900px; margin: 18px auto 48px; padding: 52px 58px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper-solid); box-shadow: 0 16px 50px rgba(20, 67, 83, .08); }
main:not(.landing) h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 50px); line-height: 1.08; letter-spacing: -.04em; }
main:not(.landing) h2 { margin: 34px 0 10px; font-size: 22px; line-height: 1.35; }
main:not(.landing) p { margin: 0 0 16px; }
.lead { color: var(--muted); font-size: 20px; line-height: 1.55; }
.meta { padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.callout { margin: 28px 0; padding: 22px 26px; border-radius: 17px; background: var(--soft); }
.callout h2 { margin: 0 0 8px !important; }
.callout p:last-child { margin: 0; }
.contact { font-weight: 680; overflow-wrap: anywhere; }
li { padding: 4px 0; }
details { padding: 17px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 680; }
details p { margin: 12px 0 0 !important; color: var(--muted); }

footer { max-width: 1180px; margin: 0 auto; padding: 32px 30px 45px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid rgba(9,151,186,.45); outline-offset: 4px; border-radius: 5px; }

@media (max-width: 820px) {
  .landing section { padding: 72px 20px; }
  .hero { padding-top: 56px !important; }
  .hero h1 { font-size: clamp(44px, 13vw, 68px); }
  .product-stage { margin-top: 48px; border-radius: 20px; }
  .product-stage img { border-radius: 12px; }
  .feature-card.wide, .feature-card.narrow, .feature-card.full { grid-column: 1 / -1; }
  .privacy-banner { grid-template-columns: 1fr; margin: 0 20px !important; padding: 34px !important; }
  .event-demo { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  header { padding: 18px 20px; align-items: flex-start; }
  nav { justify-content: flex-end; gap: 12px; }
  nav a:not(.nav-pill) { display: none; }
  .brand { font-size: 17px; }
  .brand-icon { width: 35px; height: 35px; }
  .hero .lead { font-size: 18px; }
  .product-stage { margin-left: -8px; margin-right: -8px; padding: 6px; }
  .window-bar { height: 25px; }
  .window-dot { width: 8px; height: 8px; box-shadow: 13px 0 #ffc044, 26px 0 #2ac653; }
  .feature-card { min-height: 330px; padding: 24px; }
  .mini-timeline, .city-stack { left: 24px; right: 24px; }
  .final-card { padding: 50px 22px; border-radius: 23px; }
  main:not(.landing) { margin: 0 12px 32px; padding: 32px 24px; border-radius: 18px; }
  footer { flex-direction: column; padding: 24px 20px 36px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --bg: #0c1d26; --paper: rgba(18, 43, 54, .9); --paper-solid: #112a36; --ink: #edf8fa; --muted: #aec4cc; --soft: #183945; --line: rgba(180, 224, 232, .14); --accent: #3ac8d9; --accent-deep: #73dbe3; --shadow: 0 25px 70px rgba(0, 0, 0, .28); }
  body { background: radial-gradient(circle at 10% 0%, rgba(38, 176, 180, .15), transparent 31rem), radial-gradient(circle at 90% 14%, rgba(26, 92, 161, .14), transparent 30rem), var(--bg); }
  .nav-pill, .eyebrow, .button-secondary { background: rgba(255,255,255,.05); }
  .product-stage { background: linear-gradient(140deg, rgba(34,65,76,.88), rgba(16,47,59,.85)); border-color: rgba(255,255,255,.12); }
  .city-row { background: rgba(31,68,79,.82); }
  .city-row:nth-child(2) { background: rgba(19,45,57,.9); }
  .event-card { background: #2a2034; }
  .privacy-banner { background: linear-gradient(145deg, rgba(25,56,67,.94), rgba(18,55,62,.92)); }
  .privacy-point { background: rgba(255,255,255,.04); }
  .final-card { background: #071a24; }
}
