:root {
  color-scheme: light;
  --ink: #28241f;
  --muted: #6e675f;
  --field: #f4efe8;
  --paper: #fbf8f3;
  --gold: #88602f;
  --line: #dfd4c6;
  --sunrise: #ff8b28;
  --sunset: #6257f5;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--field);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Avenir Next", "Segoe UI", sans-serif;
}

a { color: #725530; }
a:hover, a:focus-visible { color: var(--ink); }

.site-shell { width: 100%; max-width: 1160px; margin: 0 auto; padding: 28px 28px 88px; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 110px;
}

.wordmark { color: var(--ink); font-weight: 700; letter-spacing: .22em; text-decoration: none; font-size: 13px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.nav-links a { text-decoration: none; }

.eyebrow { color: var(--gold); letter-spacing: .18em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
h1, h2, h3 { width: 100%; max-width: 100%; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
h1 { max-width: 820px; margin: 18px 0 24px; font-size: clamp(48px, 8vw, 104px); }
h2 { margin: 0 0 18px; font-size: clamp(30px, 4vw, 52px); }
h3 { margin: 0 0 12px; font-size: 22px; }
p { width: 100%; max-width: 680px; }
.lede { max-width: 640px; color: var(--muted); font-size: clamp(20px, 2.3vw, 29px); line-height: 1.35; }

.hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(300px, .96fr); gap: 72px; align-items: end; min-width: 0; }
.hero-copy { min-width: 0; padding-bottom: 24px; }
.hero-art { position: relative; min-height: 440px; border: 1px solid var(--line); border-radius: 34px; overflow: hidden; background: linear-gradient(145deg, #f9e7c7 0%, #f7c58c 42%, #7660f2 100%); box-shadow: 0 22px 70px rgba(76, 55, 33, .12); }
.hero-art::before { content: ""; position: absolute; inset: -18% 8% 30%; border-radius: 48% 52% 42% 58%; background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.9), rgba(255,232,181,.28) 35%, rgba(255,140,42,.2) 60%, transparent 72%); filter: blur(4px); }
.hero-art::after { content: ""; position: absolute; left: 9%; right: 9%; bottom: 18%; height: 24%; border-radius: 50%; background: linear-gradient(180deg, rgba(58,45,99,.08), rgba(40,36,31,.38)); filter: blur(14px); transform: rotate(-3deg); }
.hero-device { position: absolute; z-index: 1; width: 42%; right: 11%; bottom: 8%; padding: 7px; border-radius: 28px; background: #24211f; box-shadow: 0 22px 42px rgba(40,36,31,.3); transform: rotate(4deg); }
.hero-device img { display: block; width: 100%; border-radius: 22px; }

.section { margin-top: 150px; }
.section-intro { max-width: 760px; margin-bottom: 42px; }
.section-intro p { color: var(--muted); font-size: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-width: 0; min-height: 220px; padding: 28px; border-top: 1px solid var(--line); background: rgba(251,248,243,.46); }
.card p { color: var(--muted); }
.pill { display: inline-flex; margin-top: 16px; padding: 7px 11px; border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.62); font-size: 12px; }
.cta { display: inline-flex; align-items: center; margin-top: 20px; padding: 14px 20px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; }
.cta:hover, .cta:focus-visible { color: var(--field); background: var(--ink); }

.prose { max-width: 780px; }
.prose, h1, h2, h3, p, li { min-width: 0; overflow-wrap: anywhere; }
.prose h1 { font-size: clamp(44px, 7vw, 82px); }
.prose h2 { margin-top: 60px; font-size: 30px; }
.prose p, .prose li { color: var(--muted); font-size: 18px; }
.prose strong { color: var(--ink); }
.policy-meta { padding: 18px 20px; border-left: 3px solid var(--gold); background: #eee6db; color: var(--muted); }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 150px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer a { text-decoration: none; }

:focus-visible { outline: 3px solid var(--sunrise); outline-offset: 4px; }

@media (max-width: 900px) {
  .site-shell { padding: 22px 20px 60px; }
  h1, h2, h3, p, li, .lede, .prose p, .prose li, .section-intro p, .card p { width: 100% !important; max-width: 100% !important; }
  h1, .prose h1 { white-space: normal; font-size: 40px; }
  .lede, .prose p, .prose li { font-size: 17px; }
  .site-nav { align-items: flex-start; flex-direction: column; margin-bottom: 70px; }
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { width: 100%; max-width: 100%; }
  .hero-art { min-height: 350px; }
  .hero-device { width: 43%; }
  .section { margin-top: 96px; }
  .feature-grid { grid-template-columns: 1fr; }
  footer { margin-top: 96px; }
}
