:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --ink: #17222a;
  --muted: #62717b;
  --panel: #ffffff;
  --line: #dce3e6;
  --coral: #e84e42;
  --teal: #167d86;
  --blue: #3d95bd;
  --yellow: #f5bd43;
  --shadow: 0 24px 70px rgba(29, 55, 68, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin-top: 0; }

.site-header, .policy-header { align-items: center; display: flex; gap: 18px; justify-content: space-between; padding: 16px clamp(18px, 5vw, 72px); }
.site-header { background: rgba(245, 247, 248, 0.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.brand { align-items: center; display: inline-flex; font-weight: 900; gap: 10px; }
.brand img { border-radius: 8px; height: 42px; object-fit: cover; width: 42px; }
.nav-links, .footer-links, .header-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px 20px; }
.nav-links a, .footer-links a, .policy-page a { color: var(--teal); font-weight: 800; }
.header-cta, .button { align-items: center; border: 1px solid var(--line); border-radius: 8px; display: inline-flex; font-weight: 900; min-height: 44px; padding: 10px 16px; }
.header-cta { color: var(--teal); }
.button.primary { background: var(--coral); border-color: var(--coral); color: #fff; }
.language-toggle { background: #fff; border: 1px solid var(--line); border-radius: 8px; display: inline-flex; gap: 2px; padding: 3px; }
.language-toggle button { background: transparent; border: 0; border-radius: 6px; color: var(--muted); cursor: pointer; font-size: 0.76rem; font-weight: 950; height: 32px; width: 38px; }
.language-toggle button.is-active { background: var(--ink); color: #fff; }

.hero { align-items: center; display: grid; gap: clamp(28px, 5vw, 62px); grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); min-height: auto; overflow: hidden; padding: 34px clamp(18px, 5vw, 72px) 40px; position: relative; }
.hero::before { background: var(--yellow); content: ""; height: 10px; left: 0; position: absolute; top: 0; width: 33%; }
.eyebrow { color: var(--teal); font-size: 0.78rem; font-weight: 950; letter-spacing: 0.12em; margin-bottom: 12px; text-transform: uppercase; }
h1 { font-size: clamp(3.5rem, 8vw, 7.4rem); letter-spacing: 0; line-height: 0.88; margin-bottom: 22px; max-width: 900px; }
h2 { font-size: clamp(2rem, 4.3vw, 4.5rem); letter-spacing: 0; line-height: 1; margin-bottom: 18px; }
h3 { font-size: 1.22rem; margin-bottom: 9px; }
.hero-copy { color: var(--muted); font-size: 1.16rem; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.availability { color: var(--muted); font-size: 0.9rem; font-weight: 750; margin: 18px 0 0; }
.icon-stage { justify-self: center; max-width: 420px; width: 100%; }
.icon-stage img { border-radius: 22%; box-shadow: var(--shadow); display: block; height: auto; width: 100%; }
.icon-stage figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 14px; text-align: center; }

.app-description { background: #fff; display: grid; gap: clamp(28px, 5vw, 70px); grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr); padding: clamp(44px, 6vw, 76px) clamp(18px, 6vw, 88px); }
.app-description h2 { margin-bottom: 0; }
.description-copy { color: var(--muted); font-size: 1.08rem; }
.description-copy p { margin-bottom: 18px; }
.description-copy p:last-child { margin-bottom: 0; }

.flow { background: #fff; padding: clamp(52px, 7vw, 92px) clamp(18px, 6vw, 88px); }
.section-heading { max-width: 980px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; max-width: 760px; }
.flow-grid { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 38px 0 0; padding: 0; }
.flow-grid li { border-left: 1px solid var(--line); min-height: 230px; padding: 24px; }
.flow-grid li:first-child { border-left: 0; }
.flow-grid span { align-items: center; background: var(--ink); border-radius: 50%; color: #fff; display: flex; font-weight: 900; height: 36px; justify-content: center; margin-bottom: 36px; width: 36px; }
.flow-grid strong { display: block; font-size: 1.15rem; margin-bottom: 8px; }
.flow-grid p, .features p, .site-footer p, .policy-section p, .policy-section li { color: var(--muted); }

.screenshots { background: #f8fafb; border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 74px) clamp(18px, 6vw, 88px); }
.screenshot-groups { display: grid; gap: 30px; margin-top: 28px; }
.screenshot-groups h3 { font-size: 1.12rem; margin-bottom: 12px; }
.screenshot-strip { display: flex; gap: 16px; overflow-x: auto; padding: 2px 2px 18px; scroll-snap-type: x proximity; }
.screenshot-strip img { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 36px rgba(29, 55, 68, 0.12); display: block; flex: 0 0 auto; height: 340px; object-fit: contain; scroll-snap-align: start; width: auto; }
.ipad-strip img { border-radius: 16px; height: 300px; }

.object-band { align-items: center; background: #dff0f1; display: grid; gap: 36px; grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr); padding: clamp(60px, 8vw, 104px) clamp(18px, 6vw, 88px); }
.object-list { display: flex; flex-wrap: wrap; gap: 10px; }
.object-list span { background: #fff; border: 1px solid #b9d9dc; border-radius: 7px; font-weight: 900; padding: 12px 16px; }
.features { display: grid; gap: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: clamp(64px, 9vw, 112px) clamp(18px, 6vw, 88px); }
.features article { border-left: 1px solid var(--line); padding: 12px 28px 12px 30px; }
.features article:first-child { border-left: 0; padding-left: 0; }

.store-band { align-items: center; background: var(--ink); color: #fff; display: grid; gap: 30px; grid-template-columns: minmax(0, 0.9fr) auto; padding: 48px clamp(18px, 6vw, 88px); }
.store-band p { color: rgba(255,255,255,.7); margin-bottom: 0; }
.store-band .eyebrow { color: #75d2d8; }
.store-links { display: flex; flex-wrap: wrap; gap: 10px; }
.store-links a { background: #fff; border-radius: 8px; color: var(--ink); font-weight: 900; padding: 12px 16px; }
.site-footer { align-items: start; border-top: 1px solid var(--line); display: flex; gap: 28px; justify-content: space-between; padding: 30px clamp(18px, 6vw, 88px); }
.site-footer p { margin: 12px 0 0; }

.policy-header { border-bottom: 1px solid var(--line); }
.policy-page { margin: 0 auto; max-width: 960px; padding: clamp(50px, 8vw, 92px) clamp(18px, 5vw, 42px); }
.policy-page h1 { font-size: clamp(3rem, 8vw, 6.2rem); }
.policy-date { color: var(--muted); font-weight: 800; margin-bottom: 42px; }
.policy-section { border-top: 1px solid var(--line); padding: 28px 0; }
.policy-section h2 { font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.12; margin-bottom: 12px; }
.policy-section ul { margin: 0; padding-left: 22px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero, .app-description, .object-band, .store-band { grid-template-columns: 1fr; }
  .hero { padding-top: 38px; }
  .icon-stage { max-width: 360px; }
  .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-grid li:nth-child(3) { border-left: 0; }
  .screenshot-strip, .ipad-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: 1fr; }
  .features article, .features article:first-child { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0; }
  .site-footer { display: grid; }
}

@media (max-width: 520px) {
  .site-header, .policy-header { padding-inline: 14px; }
  .header-cta { display: none; }
  .language-toggle button { width: 34px; }
  h1 { font-size: 4rem; }
  .hero { padding-inline: 10px; }
  .hero-copy-wrap { padding-inline: 8px; }
  .icon-stage { width: 100%; }
  .icon-stage figcaption { padding-inline: 12px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid li, .flow-grid li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); min-height: 0; padding: 24px 0; }
  .flow-grid span { margin-bottom: 18px; }
  .screenshot-strip, .ipad-strip { gap: 14px; margin-inline: -10px; padding: 4px 10px 18px; scroll-snap-type: x mandatory; }
  .screenshot-strip img { height: 330px; scroll-snap-align: center; }
  .ipad-strip img { height: 280px; }
}
