/* Hallmark · genre: editorial · macrostructure: Workbench · theme: studied-DNA (source: SwiftUI reference screenshots) · enrichment: E4 screenshot-led · nav: N6 · footer: Ft6 · pre-emit critique: P5 H5 E5 S5 R5 V5 · contrast: pass (40–41) · honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (49) · mobile: pass (34, 49, 50–57) */

:root {
  --color-paper: #faf9f6;
  --color-surface: #ffffff;
  --color-ink: #191817;
  --color-muted: #77736f;
  --color-line: #e8e6e1;
  --color-yellow: #f2c94c;
  --color-yellow-soft: #fff1be;
  --color-sage: #ddeedb;
  --color-sky: #dcecf0;
  --color-peach: #fce2d8;
  --color-lavender: #e8e3f3;
  --color-paper-ink: #191817;
  --color-accent-ink: #191817;
  --color-focus: #7c5c00;
  --color-shadow: rgb(25 24 23 / 8%);
  --gradient-paper: linear-gradient(132deg, var(--color-paper) 0%, var(--color-peach) 42%, var(--color-sky) 100%);
  --font-display: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --font-body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;
  --radius-small: 0.75rem;
  --radius-card: 2rem;
  --radius-pill: 999px;
  --shadow-soft: 0 1.25rem 3.5rem var(--color-shadow);
  --max-width: 76rem;
  --focus-ring: 0 0 0 0.2rem var(--color-paper), 0 0 0 0.35rem var(--color-focus);
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: 1rem; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page-width { width: min(calc(100% - 3rem), var(--max-width)); margin-inline: auto; }

.site-shell { background: var(--gradient-paper); background-attachment: fixed; }
.site-header { padding-block: 1.25rem 0; }
.masthead-meta { display: flex; justify-content: space-between; gap: var(--space-2); color: var(--color-muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; line-height: 1.2; text-transform: uppercase; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: 1.75rem 1.4rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--color-ink); font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -0.035em; line-height: 1; text-decoration: none; }
.wordmark-mark { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--color-ink); border-radius: 50%; font-size: 1.25rem; font-style: normal; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; font-size: 0.84rem; font-weight: 700; letter-spacing: 0.03em; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta):hover, .site-nav a.active { color: var(--color-muted); }
.nav-cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.72rem 1rem; border: 1px solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); transition: transform 180ms ease, background 180ms ease; }
.nav-cta:hover, .button-dark:hover { background: var(--color-yellow); color: var(--color-accent-ink); transform: translateY(-2px); }
.masthead-rule { border-bottom: 1px solid var(--color-line); }
.nav-toggle { display: none; border: 0; background: transparent; }

.eyebrow, .section-kicker { margin: 0 0 1rem; color: var(--color-muted); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.2em; line-height: 1.2; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; min-width: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-style: normal; font-weight: 400; letter-spacing: -0.045em; line-height: 1.02; }
h1 { font-size: clamp(3.6rem, 6.6vw, 6.4rem); }
h2 { font-size: clamp(2.8rem, 5.5vw, 5.25rem); }
h3 { font-size: clamp(2rem, 3.25vw, 3.1rem); }
p { margin: 0; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; padding-block: clamp(4.5rem, 7vw, 6.5rem) clamp(6rem, 10vw, 8.5rem); }
.hero-copy { padding-bottom: 1rem; }
.hero h1 { max-width: 11.5ch; }
.hero h1 span { color: var(--color-muted); }
.hero-lede { max-width: 34rem; margin-top: 2rem; color: var(--color-muted); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.38; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 3rem; padding: 0.85rem 1.2rem; border: 1px solid transparent; border-radius: var(--radius-pill); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.01em; line-height: 1; text-decoration: none; white-space: nowrap; transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease; }
.button-dark { background: var(--color-ink); color: var(--color-paper); }
.button-outline { border-color: var(--color-ink); background: transparent; color: var(--color-ink); }
.button-outline:hover { background: var(--color-ink); color: var(--color-paper); transform: translateY(-2px); }
.button-large { min-height: 3.6rem; padding-inline: 1.5rem; }
.text-link, .inline-link { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--color-ink); font-size: 0.9rem; font-weight: 800; text-decoration: underline; text-decoration-color: var(--color-yellow); text-decoration-thickness: 0.18em; text-underline-offset: 0.25em; }
.text-link:hover, .inline-link:hover { color: var(--color-muted); }
.hero-note { display: flex; align-items: center; gap: 0.6rem; margin-top: 2.5rem; color: var(--color-muted); font-size: 0.78rem; font-weight: 700; }
.note-dot { display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--color-yellow); }
.hero-visual { position: relative; min-height: 41rem; overflow-x: clip; }
.hero-shot { position: absolute; top: 0; right: 7%; width: min(71%, 25rem); margin: 0; transform: rotate(3deg); }
.hero-shot img { width: 100%; height: clamp(28rem, 44vw, 36rem); border: 0.45rem solid var(--color-surface); border-radius: 2.4rem; box-shadow: var(--shadow-soft); object-fit: cover; object-position: 50% 0%; }
.hero-shot figcaption, .tour-shot figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.8rem; color: var(--color-muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }

.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 10vw, 11rem); align-items: end; padding-block: 0 var(--space-7); }
.intro h2 { max-width: 10ch; }
.intro-body { max-width: 31rem; padding-bottom: 0.6rem; color: var(--color-muted); font-size: 1.18rem; line-height: 1.5; }

.workbench { padding-block: var(--space-6) var(--space-7); }
.section-heading { max-width: 47rem; padding-bottom: clamp(3rem, 7vw, 6rem); }
.section-heading h2 { max-width: 9.5ch; }
.tour-list { display: grid; gap: clamp(4.5rem, 10vw, 10rem); }
.tour-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.25rem, 8vw, 8rem); align-items: center; }
.tour-row-right { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.tour-copy { max-width: 29rem; }
.step-number { display: inline-block; margin-bottom: 1.35rem; color: var(--color-muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; }
.tour-copy p { margin: 1.35rem 0 1.6rem; color: var(--color-muted); font-size: 1.05rem; line-height: 1.55; }
.tour-shot { width: min(100%, 22rem); margin: 0; padding: clamp(1rem, 2.4vw, 1.6rem) clamp(1rem, 2.4vw, 1.6rem) 1rem; border-radius: var(--radius-card); justify-self: end; }
.tour-row-right .tour-shot { justify-self: start; }
.tour-shot img { width: 100%; height: clamp(24rem, 38vw, 31rem); border-radius: 1.5rem; box-shadow: var(--shadow-soft); object-fit: cover; object-position: 50% 0%; }
.shot-sage { background: var(--color-sage); }
.shot-peach { background: var(--color-peach); }
.shot-sky { background: var(--color-sky); }
.shot-yellow { background: var(--color-yellow-soft); }

.privacy-band { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2.5rem, 9vw, 9rem); align-items: end; padding: clamp(2rem, 5vw, 4.8rem); border-radius: var(--radius-card); background: var(--color-sage); }
.privacy-band h2 { max-width: 8ch; }
.privacy-band-copy > p:not(.eyebrow) { max-width: 31rem; margin: 1.5rem 0 2rem; color: var(--color-muted); font-size: 1.1rem; }
.privacy-list { display: grid; gap: 0; border-top: 1px solid var(--color-ink); }
.privacy-line { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.4rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--color-ink); }
.privacy-line span { grid-row: span 2; color: var(--color-muted); font-size: 0.73rem; font-weight: 800; }
.privacy-line strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; }
.privacy-line small { color: var(--color-muted); font-size: 0.8rem; }

.download { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 10vw, 10rem); align-items: end; padding-block: var(--space-7); }
.download h2 { max-width: 8ch; }
.download-action { max-width: 29rem; }
.download-action p { margin-bottom: 1.6rem; color: var(--color-muted); font-size: 1.1rem; }
.download-action small { display: block; margin-top: 0.8rem; color: var(--color-muted); font-size: 0.72rem; }

.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; padding-block: 2.5rem 2rem; border-top: 1px solid var(--color-line); }
.footer-brand p { margin-top: 1rem; color: var(--color-muted); font-size: 0.85rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; gap: 0.7rem 1.3rem; font-size: 0.8rem; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--color-muted); }
.footer-bottom { display: flex; justify-content: space-between; grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--color-line); color: var(--color-muted); font-size: 0.72rem; }

.legal-main, .support-main { padding-block: clamp(4.5rem, 9vw, 8rem) var(--space-7); }
.legal-intro, .support-hero { max-width: 55rem; padding-bottom: clamp(4rem, 8vw, 7rem); }
.legal-intro h1, .support-hero h1 { font-size: clamp(3.8rem, 8vw, 7rem); }
.legal-lede { max-width: 39rem; margin-top: 1.6rem; color: var(--color-muted); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.4; }
.last-updated { margin-top: 1.6rem; color: var(--color-muted); font-size: 0.8rem; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 0.28fr) minmax(0, 0.72fr); gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.legal-index { position: sticky; top: 1.5rem; display: grid; gap: 0.65rem; color: var(--color-muted); font-size: 0.78rem; }
.legal-index span { margin-bottom: 0.4rem; color: var(--color-ink); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-index a { text-decoration: none; }
.legal-index a:hover { color: var(--color-ink); }
.legal-copy { max-width: 47rem; }
.legal-copy section { padding-block: 0 4.5rem; }
.legal-copy section + section { padding-top: 4.5rem; border-top: 1px solid var(--color-line); }
.legal-copy h2 { max-width: 12ch; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.legal-copy p:not(.section-kicker) { max-width: 44rem; margin-top: 1.4rem; color: var(--color-muted); font-size: 1.05rem; line-height: 1.65; }
.legal-copy .section-kicker { margin-bottom: 1.1rem; }
.legal-table { margin-top: 2rem; border-top: 1px solid var(--color-ink); }
.legal-table div { display: grid; grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 1.2fr); gap: 1.25rem; padding: 1.2rem 0; border-bottom: 1px solid var(--color-line); }
.legal-table strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }
.legal-table span { color: var(--color-muted); font-size: 0.95rem; }

.support-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.7fr); gap: 2rem 6rem; align-items: end; max-width: none; }
.support-hero h1 { max-width: 8ch; }
.support-contact { display: flex; align-items: center; gap: 1rem; justify-self: end; min-width: 16rem; padding: 1.2rem; border-radius: var(--radius-card); background: var(--color-yellow); text-decoration: none; transition: transform 180ms ease; }
.support-contact:hover { transform: translateY(-3px) rotate(-1deg); }
.support-contact small, .support-contact strong { display: block; }
.support-contact small { margin-bottom: 0.25rem; color: var(--color-muted); font-size: 0.73rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.support-contact strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }
.contact-mark { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--color-ink); border-radius: 50%; font-size: 1.3rem; }
.support-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(2rem, 9vw, 9rem); align-items: start; }
.support-aside { max-width: 22rem; }
.support-aside h2 { max-width: 8ch; font-size: clamp(2.6rem, 5vw, 4.5rem); }
.support-aside p:not(.eyebrow) { margin-top: 1.35rem; color: var(--color-muted); font-size: 1.05rem; }
.faq-list { border-top: 1px solid var(--color-ink); }
details { border-bottom: 1px solid var(--color-line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; cursor: pointer; font-family: var(--font-display); font-size: clamp(1.55rem, 2.5vw, 2.15rem); font-weight: 400; line-height: 1.1; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 auto; color: var(--color-muted); font-family: var(--font-body); font-size: 1.5rem; }
details[open] summary::after { content: "−"; }
details p { max-width: 42rem; padding: 0 3rem 1.35rem 0; color: var(--color-muted); font-size: 1rem; line-height: 1.6; }
.support-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center; margin-top: var(--space-7); padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-card); background: var(--color-peach); }
.support-note-mark { display: grid; place-items: center; width: 4rem; height: 4rem; border: 1px solid var(--color-ink); border-radius: 50%; font-family: var(--font-display); font-size: 2.4rem; }
.support-note h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
.support-note p:not(.eyebrow) { max-width: 36rem; margin-top: 0.9rem; color: var(--color-muted); }

@media (max-width: 58rem) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.75fr); gap: 2rem; }
  .hero-visual { min-height: 35rem; }
  .hero-shot { width: min(78%, 22rem); }
  .hero-shot img { height: 31rem; }
  .intro, .download { gap: 3rem; }
  .privacy-band { gap: 3rem; }
}

@media (max-width: 48rem) {
  .page-width { width: min(calc(100% - 2rem), var(--max-width)); }
  .masthead-meta { font-size: 0.58rem; }
  .masthead-meta span:last-child { display: none; }
  .masthead { padding-block: 1.2rem; }
  .nav-toggle { display: grid; gap: 0.35rem; width: 2.8rem; padding: 0.65rem; cursor: pointer; }
  .nav-toggle-line { display: block; width: 100%; height: 1px; background: var(--color-ink); transition: transform 180ms ease; }
  .nav-open .nav-toggle-line:first-of-type { transform: translateY(0.2rem) rotate(45deg); }
  .nav-open .nav-toggle-line:last-of-type { transform: translateY(-0.2rem) rotate(-45deg); }
  .site-nav { position: absolute; z-index: 10; top: 5.8rem; right: 1rem; left: 1rem; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-soft); }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 0.8rem 0.4rem; }
  .site-nav .nav-cta { justify-content: center; margin-top: 0.5rem; }
  .hero { display: block; padding-block: 4.5rem 6rem; }
  .hero h1 { max-width: 9ch; }
  .hero-visual { min-height: 35rem; margin-top: 3.5rem; }
  .hero-shot { right: 8%; width: min(76%, 22rem); }
  .hero-shot img { height: 29rem; }
  .intro, .privacy-band, .download, .support-hero, .support-grid, .legal-layout { grid-template-columns: 1fr; }
  .intro { gap: 2rem; padding-bottom: 6rem; }
  .intro h2, .privacy-band h2, .download h2 { max-width: 10ch; }
  .workbench { padding-block: 5rem 6rem; }
  .section-heading { padding-bottom: 3.5rem; }
  .tour-list { gap: 5rem; }
  .tour-row, .tour-row-right { grid-template-columns: 1fr; gap: 2rem; }
  .tour-row-right .tour-shot, .tour-shot { order: 2; justify-self: start; width: min(100%, 23rem); }
  .tour-shot img { height: 28rem; }
  .tour-copy { order: 1; }
  .privacy-band { gap: 3rem; padding: 2rem 1.5rem; }
  .download { gap: 2.5rem; padding-block: 6rem; }
  .site-footer { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { grid-column: auto; }
  .legal-main, .support-main { padding-block: 4.5rem 6rem; }
  .legal-intro, .support-hero { padding-bottom: 4rem; }
  .legal-index { position: static; padding-bottom: 3rem; border-bottom: 1px solid var(--color-line); }
  .legal-copy section + section { padding-top: 3.5rem; }
  .legal-table div { grid-template-columns: 1fr; gap: 0.3rem; }
  .support-contact { justify-self: start; }
  .support-note { grid-template-columns: auto minmax(0, 1fr); }
  .support-note .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 24rem) {
  .masthead-meta span:first-child { max-width: 16rem; }
  .hero { padding-top: 3.5rem; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 4.5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 29rem; }
  .hero-shot { width: 78%; }
  .hero-shot img { height: 25rem; }
  .button { white-space: nowrap; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
