:root {
  --ink: #1f211d;
  --muted: #666b61;
  --paper: #fbfaf6;
  --cream: #f4f0e7;
  --orange: #ef6849;
  --green: #71806a;
  --line: rgba(31, 33, 29, .12);
  --shadow: 0 24px 70px rgba(52, 45, 34, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 760; text-decoration: none; letter-spacing: -.02em; }
.mark { display: block; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 11px; object-fit: cover; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.hero { min-height: 780px; padding: 76px 0 90px; overflow: hidden; background: radial-gradient(circle at 78% 20%, #f3d8c8 0, transparent 30%), radial-gradient(circle at 15% 75%, #dfe8d9 0, transparent 28%); }
.hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 72px; align-items: center; }
.eyebrow { color: var(--orange); font-size: 13px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 18px 0 22px; max-width: 650px; font-size: clamp(54px, 7vw, 88px); line-height: .98; letter-spacing: -.06em; }
.lead { max-width: 560px; color: var(--muted); font-size: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; }
.store-badge { width: 168px; }
.platform-note { color: var(--muted); font-size: 14px; }
.devices { position: relative; min-height: 590px; }
.phone { position: absolute; z-index: 3; right: 56%; top: 0; width: 240px; padding: 5px; border-radius: 32px; background: #171815; box-shadow: var(--shadow); transform: rotate(-3deg); }
.phone img { border-radius: 27px; }
.tablet { position: absolute; z-index: 2; left: 33%; top: 72px; width: 450px; padding: 8px; border-radius: 28px; background: #1b1c1a; box-shadow: var(--shadow); transform: rotate(2deg); }
.tablet img { border-radius: 20px; }
section { padding: 110px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 52px; }
h2 { margin: 10px 0 0; max-width: 740px; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.05em; }
.section-copy { max-width: 410px; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { min-height: 250px; padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.68); }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #fde6de; color: var(--orange); font-size: 23px; }
.feature h3 { margin: 44px 0 8px; font-size: 23px; letter-spacing: -.03em; }
.feature p { margin: 0; color: var(--muted); }
.showcase { background: var(--cream); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.story-card { position: relative; min-height: 720px; padding: 42px; overflow: hidden; border-radius: 36px; background: #dce5d6; }
.story-card.orange { background: #f4d6c8; }
.story-card h3 { max-width: 430px; margin: 0 0 10px; font-size: 38px; line-height: 1.05; letter-spacing: -.04em; }
.story-card p { max-width: 430px; color: #555c52; }
.story-card .screen { position: absolute; width: 270px; left: 50%; bottom: -130px; transform: translateX(-50%); border: 5px solid #1b1c1a; border-radius: 30px; box-shadow: var(--shadow); }
.story-card .screen img { border-radius: 25px; }
.platforms { text-align: center; }
.platforms h2 { margin-inline: auto; }
.platforms .section-copy { margin: 20px auto 50px; }
.mac-frame { width: min(1000px, 100%); margin: 0 auto; padding: 9px; border-radius: 22px; background: #1c1d1a; box-shadow: var(--shadow); }
.mac-frame img { border-radius: 14px; }
.platform-labels { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.pill { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: white; font-size: 14px; }
.closing { padding: 100px 0; text-align: center; background: var(--ink); color: white; }
.closing h2 { margin-inline: auto; }
.closing p { color: #bfc3ba; }
.closing .cta-row { justify-content: center; }
footer { padding: 40px 0; background: var(--ink); color: #bfc3ba; border-top: 1px solid rgba(255,255,255,.1); }
.footer-row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; }
.legal { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 80px 0 120px; }
.legal h1 { font-size: clamp(44px, 7vw, 70px); }
.legal h2 { margin-top: 42px; font-size: 26px; letter-spacing: -.03em; }
.legal p, .legal li { color: var(--muted); }
@media (max-width: 850px) {
  .nav-links a:not(.support) { display: none; }
  .hero { padding-top: 45px; }
  .hero-grid { grid-template-columns: 1fr; gap: 45px; }
  .devices { min-height: 510px; }
  .phone { right: auto; left: 4%; width: 190px; }
  .tablet { left: 25%; width: 430px; }
  .section-head { display: block; }
  .features, .story { grid-template-columns: 1fr; }
  .story-card { min-height: 650px; }
}
@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, 1180px); }
  h1 { font-size: 52px; }
  .hero { min-height: 880px; }
  .devices { min-height: 380px; }
  .phone { width: 145px; }
  .tablet { left: 28%; top: 50px; width: 330px; }
  section { padding: 80px 0; }
  .feature { min-height: 220px; border-radius: 20px; }
  .story-card { display: flex; min-height: 620px; padding: 30px; flex-direction: column; border-radius: 24px; }
  .story-card .screen { position: relative; left: auto; bottom: auto; width: min(240px, 86%); margin: 28px auto -160px; transform: none; flex: 0 0 auto; }
}
