:root {
  color-scheme: light dark;
  --paper: #f7f5ef;
  --surface: #fffdf8;
  --ink: #171715;
  --muted: #66645e;
  --hairline: rgba(23, 23, 21, .12);
  --accent: #ef8b00;
  --accent-ink: #9b5600;
  --header: rgba(247, 245, 239, .82);
  --shadow: 0 28px 90px rgba(45, 38, 25, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; font-size: 17px; line-height: 1.55; letter-spacing: -.012em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
figure { margin: 0; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.github-mark { width: 1.05em; height: 1em; flex: 0 0 auto; fill: currentColor; }
.inline-mark { margin: 0 .24em 0 .12em; vertical-align: -.08em; }
.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; left: 16px; top: -80px; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--hairline); background: var(--header); backdrop-filter: saturate(160%) blur(22px); }
.nav { min-height: 66px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.025em; text-decoration: none; }
.brand img { border-radius: 8px; }
.nav-links { margin-left: auto; display: flex; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 570; }
.nav-links a:hover { color: var(--ink); }
.nav-cta, .secondary-button { text-decoration: none; font-weight: 650; border-radius: 999px; }
.nav-cta { background: var(--ink); color: var(--paper); padding: 8px 15px; font-size: 13px; }
.hero { padding-top: clamp(76px, 10vw, 144px); display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; align-items: center; }
.hero-copy { max-width: 830px; }
.eyebrow { margin: 0 0 16px; color: var(--accent-ink); font-size: 14px; line-height: 1.2; font-weight: 720; letter-spacing: .07em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -.052em; line-height: .98; }
h1 { font-size: clamp(58px, 8vw, 108px); }
h1 span { color: var(--accent); }
h2 { font-size: clamp(44px, 6vw, 74px); }
h3 { font-size: 24px; line-height: 1.08; }
.lede { max-width: 720px; margin: 30px 0 0; color: var(--muted); font-size: clamp(20px, 2.4vw, 27px); line-height: 1.35; letter-spacing: -.025em; }
.hero-icon { justify-self: end; border-radius: 23%; filter: drop-shadow(0 24px 28px rgba(63, 44, 17, .2)); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; color: var(--muted); font-size: 13px; }
.store-badge { display: inline-block; border-radius: 10px; transition: transform .2s ease; }
.store-badge:hover { transform: translateY(-2px); }
.hero-media { grid-column: 1 / -1; margin-top: clamp(44px, 7vw, 90px); }
.edge-media img { width: 100%; }
.source-strip { margin-top: clamp(80px, 10vw, 140px); border-block: 1px solid var(--hairline); }
.source-row { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.source-row p { font-weight: 660; }
.source-row ul, .format-list, .check-list, .not-list { list-style: none; margin: 0; padding: 0; }
.source-row ul { display: flex; flex-wrap: wrap; gap: 10px; }
.source-row li { padding: 8px 14px; border: 1px solid var(--hairline); border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 650; background: var(--surface); display: inline-flex; align-items: center; gap: 7px; }
.feature { padding-block: clamp(110px, 15vw, 210px); display: grid; grid-template-columns: minmax(310px, .82fr) minmax(450px, 1.18fr); gap: clamp(52px, 8vw, 110px); align-items: start; }
.feature.reverse { grid-template-columns: minmax(450px, 1.18fr) minmax(310px, .82fr); }
.feature.reverse .section-copy { order: 2; }
.section-copy > p:not(.eyebrow), .formats-heading > p { color: var(--muted); font-size: 20px; line-height: 1.52; }
.section-copy > p:not(.eyebrow) { margin: 26px 0 0; }
.sticky-copy { position: sticky; top: 130px; }
.check-list { margin-top: 28px; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.scope-note { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--hairline); }
.scope-note .scope-title { margin: 0 0 14px; color: var(--ink); font-size: 15px; font-weight: 720; letter-spacing: .01em; }
.not-list { display: grid; gap: 10px; }
.not-list li { position: relative; padding-left: 28px; color: var(--muted); }
.not-list li::before { content: "×"; position: absolute; left: 1px; color: #d9604c; font-size: 20px; line-height: 1.2; font-weight: 760; }
.scope-note > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.edge-media img, .portrait-shot img, .format-gallery img { border: 0; border-radius: 0; background: transparent; filter: drop-shadow(0 28px 42px rgba(45, 38, 25, .18)); }
.quiet { font-size: 15px !important; }
.editor-section { background: #102a22; color: #f8f3e7; overflow: hidden; }
.editor-grid { padding-block: clamp(100px, 14vw, 190px); display: grid; grid-template-columns: minmax(450px, 1.12fr) minmax(320px, .88fr); align-items: center; gap: clamp(56px, 8vw, 110px); }
.editor-section .eyebrow { color: #e5b970; }
.editor-section .section-copy > p:not(.eyebrow) { color: rgba(248, 243, 231, .7); }
.editor-details { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.editor-details span { padding: 8px 13px; border: 1px solid rgba(248, 243, 231, .18); border-radius: 999px; color: rgba(248, 243, 231, .82); font-size: 14px; }
.formats-section { padding-block: clamp(105px, 14vw, 190px); background: #087fbb; color: #fff; overflow: hidden; }
.formats-section .eyebrow { color: rgba(255,255,255,.72); }
.formats-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.formats-heading > p { color: rgba(255,255,255,.78); margin: 0 0 5px; }
.format-list { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid rgba(255,255,255,.26); margin-top: 58px; }
.format-list li { padding: 22px 14px; display: grid; gap: 2px; border-right: 1px solid rgba(255,255,255,.2); }
.format-list li:last-child { border-right: 0; }
.format-list strong { font-size: 16px; }
.format-list span { color: rgba(255,255,255,.64); font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; }
.format-gallery { margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.format-gallery figure:nth-child(2) { margin-top: 110px; }
.formats-section .format-gallery img { filter: drop-shadow(0 36px 44px rgba(0, 30, 52, .32)); }
.native { padding-block: clamp(110px, 15vw, 200px); }
.native-heading { max-width: 780px; }
.native-grid { margin-top: 68px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 28px; overflow: hidden; }
.native-grid article { padding: clamp(30px, 5vw, 56px); background: var(--surface); }
.native-grid p { margin: 16px 0 0; color: var(--muted); max-width: 430px; }
.symbol { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 44px; border-radius: 13px; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent-ink); font-size: 22px; font-weight: 750; }
.kit-section { background: #e9dfca; color: #201d18; padding-block: 85px; }
.kit-card { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.kit-card > div { max-width: 750px; }
.kit-card h2 { font-size: clamp(42px, 5vw, 66px); }
.kit-card p:not(.eyebrow) { color: #6f6758; font-size: 19px; max-width: 690px; }
.secondary-button { flex: 0 0 auto; padding: 12px 18px; border: 1px solid rgba(32,29,24,.22); }
.github-button { display: inline-flex; align-items: center; gap: 9px; }
.final-cta { padding-block: clamp(110px, 15vw, 190px); text-align: center; }
.final-cta > img { margin: 0 auto 30px; border-radius: 24px; filter: drop-shadow(0 18px 22px rgba(63,44,17,.18)); }
.final-cta p:not(.eyebrow) { max-width: 650px; margin: 26px auto 32px; color: var(--muted); font-size: 20px; }
.final-cta .store-badge { margin-inline: auto; }
.footer { min-height: 130px; display: flex; align-items: center; gap: 26px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); }
.footer p { margin: 0 auto 0 0; }
.footer nav { display: flex; gap: 22px; }
.document { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0 140px; }
.document .brand { margin-bottom: 70px; }
.document h1 { font-size: clamp(48px, 8vw, 76px); }
.document h2 { margin-top: 58px; font-size: 28px; line-height: 1.12; letter-spacing: -.035em; }
.document p, .document li { color: var(--muted); }
.document ul { padding-left: 22px; }
.document .updated { margin-top: 20px; font-size: 14px; }
.document .back { display: inline-block; margin-top: 56px; font-weight: 650; }
.support-grid { margin-top: 58px; display: grid; gap: 16px; }
.support-card { padding: 24px; border: 1px solid var(--hairline); border-radius: 18px; background: var(--surface); }
.support-card h2 { margin-top: 0; }
@media (prefers-color-scheme: dark) {
  :root { --paper: #101210; --surface: #181a18; --ink: #f3f0e8; --muted: #aaa79f; --hairline: rgba(255,255,255,.12); --accent: #ff9f0a; --accent-ink: #ffb340; --header: rgba(16, 18, 16, .8); --shadow: 0 28px 90px rgba(0,0,0,.34); }
  .edge-media img, .portrait-shot img, .format-gallery img { filter: drop-shadow(0 28px 42px rgba(0,0,0,.42)); }
  .kit-section { background: #25211a; color: #f3eee4; }
  .kit-card p:not(.eyebrow) { color: #aca495; }
  .secondary-button { border-color: rgba(255,255,255,.2); }
}
@media (max-width: 820px) {
  .shell { width: min(100% - 30px, 680px); }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-icon { width: 132px; justify-self: start; order: -1; }
  .hero-copy { order: 0; }
  .hero-media { order: 1; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .source-row { padding-block: 26px; align-items: flex-start; flex-direction: column; }
  .feature, .feature.reverse, .editor-grid { grid-template-columns: 1fr; }
  .feature.reverse .section-copy { order: 0; }
  .sticky-copy { position: static; }
  .portrait-shot { max-width: 640px; margin-inline: auto; }
  .formats-heading { grid-template-columns: 1fr; gap: 24px; }
  .format-list { grid-template-columns: 1fr 1fr; }
  .format-list li { border-bottom: 1px solid rgba(255,255,255,.2); }
  .format-gallery { grid-template-columns: 1fr; }
  .format-gallery figure:nth-child(2) { margin-top: 0; }
  .native-grid { grid-template-columns: 1fr; }
  .kit-card { align-items: flex-start; flex-direction: column; }
  .footer { padding-block: 34px; align-items: flex-start; flex-wrap: wrap; }
  .footer p { width: 100%; order: 3; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 52px; }
  h2 { font-size: 42px; }
  .nav-cta { font-size: 0; }
  .nav-cta::after { content: "App Store"; font-size: 13px; }
  .format-list { grid-template-columns: 1fr; }
  .footer nav { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
