:root {
  color-scheme: light;
  --bg: #f7fbff;
  --bg-soft: #edf5ff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #141c2e;
  --muted: #56637a;
  --quiet: #7c8799;
  --accent: #142e66;
  --accent-soft: #dce9ff;
  --line: rgba(20, 28, 46, 0.10);
  --shadow: 0 24px 70px rgba(20, 46, 102, 0.13);
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(220, 233, 255, 0.9), transparent 34rem),
    linear-gradient(145deg, #f7fbff 0%, #edf5ff 45%, #fbfdff 100%);
  color: var(--text);
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px clamp(18px, 5vw, 76px);
  background: rgba(247, 251, 255, 0.78);
  border-bottom: 1px solid rgba(20, 28, 46, 0.08);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 8px 20px rgba(20, 46, 102, 0.16); }
.nav { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font: inherit;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(20, 46, 102, 0.24);
}
.button.secondary { background: #fff; color: var(--accent); border: 1px solid var(--line); box-shadow: none; }
main { overflow: hidden; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(34px, 5vw, 86px);
  align-items: center;
  padding: clamp(58px, 8vw, 120px) clamp(18px, 6vw, 96px) clamp(48px, 8vw, 110px);
}
.hero-copy { max-width: 720px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
h1 {
  margin: 0;
  font-size: clamp(48px, 7.4vw, 108px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: 0;
}
.lead {
  margin: 24px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.app-note { margin-top: 18px; color: var(--quiet); font-size: 14px; }
.hero-device {
  position: relative;
  min-height: 630px;
  display: grid;
  place-items: center;
}
.hero-device::before {
  content: "";
  position: absolute;
  width: min(88%, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 46, 102, 0.12), transparent 62%);
}
.device-card {
  position: relative;
  width: min(100%, 620px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}
.device-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone-frame, .tablet-frame {
  background: #111827;
  padding: 10px;
  box-shadow: 0 24px 70px rgba(20, 28, 46, 0.28);
  overflow: hidden;
}
.phone-frame { width: 240px; border-radius: 42px; transform: rotate(-4deg) translateX(-66px); }
.tablet-frame { position: absolute; width: 420px; border-radius: 30px; transform: rotate(3deg) translateX(64px); }
.phone-frame img, .tablet-frame img { border-radius: inherit; background: #fff; }
.phone-frame img { border-radius: 31px; }
.tablet-frame img { border-radius: 20px; }
.floating-label {
  position: absolute;
  right: 18px;
  bottom: 24px;
  padding: 12px 15px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-size: 14px;
  box-shadow: 0 14px 40px rgba(20, 46, 102, 0.10);
}
.section { padding: clamp(54px, 8vw, 112px) clamp(18px, 6vw, 96px); }
.section-heading { max-width: 860px; margin: 0 auto 34px; text-align: center; }
h2 { margin: 0; font-size: clamp(34px, 5vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: 0; }
.section-heading p, .legal-cta p { color: var(--muted); font-size: 19px; line-height: 1.55; }
.feature-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(20, 46, 102, 0.07);
}
.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 34px;
}
.feature-card h3 { margin: 0 0 10px; font-size: 22px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.55; }

.screens-section { background: rgba(255, 255, 255, 0.42); border-block: 1px solid rgba(20, 28, 46, 0.07); }
.screens-toolbar { display: flex; justify-content: center; margin: 28px 0 30px; }
.segmented {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}
.segmented button {
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.segmented button[aria-pressed="true"] { background: var(--accent); color: white; }
.screenshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.shot {
  border: 1px solid rgba(20, 28, 46, 0.10);
  background: #111827;
  box-shadow: 0 20px 50px rgba(20, 28, 46, 0.16);
  overflow: hidden;
}
.shot.phone { border-radius: 34px; padding: 8px; }
.shot.tablet { display: none; border-radius: 24px; padding: 8px; }
.shot img { width: 100%; border-radius: 25px; }
.shot.tablet img { border-radius: 15px; }
body.show-ipad .shot.phone { display: none; }
body.show-ipad .shot.tablet { display: block; }
.legal-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(24px, 4vw, 46px);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 34px clamp(18px, 6vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer strong { display: block; color: var(--text); margin-bottom: 6px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: flex-end; }
.legal-main { padding: clamp(46px, 7vw, 92px) clamp(18px, 6vw, 96px); }
.legal-document {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}
.legal-document h1 { font-size: clamp(42px, 6vw, 76px); }
.legal-document h2 { margin-top: 34px; font-size: 26px; }
.legal-document p, .legal-document address { color: var(--muted); font-size: 18px; line-height: 1.65; font-style: normal; }
@media (max-width: 1180px) {
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .hero { grid-template-columns: 1fr; }
  .hero-device { min-height: 560px; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { position: static; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; gap: 16px; overflow-x: auto; padding-bottom: 2px; }
  .header-actions { margin-left: auto; }
  .button { width: 100%; }
  .hero-actions .button { width: auto; }
  .hero-device { min-height: 470px; }
  .device-card { padding: 14px; border-radius: 26px; }
  .device-stage { min-height: 430px; }
  .phone-frame { width: 190px; transform: rotate(-4deg) translateX(-42px); }
  .tablet-frame { width: 310px; transform: rotate(3deg) translateX(42px); }
  .floating-label { left: 14px; right: 14px; bottom: 14px; }
  .feature-grid, .screenshot-grid, .legal-cta, .footer { grid-template-columns: 1fr; }
  .legal-actions, .footer nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: no-preference) {
  .device-card, .feature-card, .shot { transition: transform 180ms ease, box-shadow 180ms ease; }
  .feature-card:hover, .shot:hover { transform: translateY(-4px); box-shadow: 0 22px 58px rgba(20, 46, 102, 0.13); }
}
