/* Nordic Archive · Mark Olson · MIT. Palette provenance: emacs/README.md. */
:root {
  color-scheme: light dark;
  --bg: #F4F6F5;
  --panel: #E9EEEC;
  --ink: #202A2E;
  --secondary: #3D4B50;
  --muted: #526267;
  --line: #C8D2CF;
  --link: #2F648F;
  --pine: #2E6F62;
  --wash: #B8C8CC;
  --copper: #A65332;
  --surface: #FAFBFA;
  --hover: #E3EAE7;
  --serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #172024;
    --panel: #10171A;
    --ink: #E6EBE8;
    --secondary: #C6CFCC;
    --muted: #A3AFAC;
    --line: #354349;
    --link: #9BC4E5;
    --pine: #78BDAA;
    --wash: #38515A;
    --copper: #E49A73;
    --surface: #1C282D;
    --hover: #233238;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .16s ease, background-color .16s ease, border-color .16s ease; }
a:hover { color: var(--link); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; border-radius: 3px; }
::selection { background: var(--wash); color: var(--ink); }
.skip { position: absolute; left: 24px; top: -100px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); z-index: 3; }
.skip:focus { top: 12px; }
.shell { max-width: 1184px; margin: 0 auto; padding: 0 48px; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 36px; padding: 31px 0; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; text-decoration: none; }
.mark { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--pine); background: var(--surface); }
.mark svg { width: 24px; height: 24px; }
.brand-copy { display: grid; gap: 2px; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em; overflow-wrap: anywhere; }
.brand-caption { color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .01em; }
.wordmark-brand { min-height: 46px; gap: 0; }
.brand-wordmark { display: block; flex: 0 0 auto; width: auto; height: 42px; max-width: 100%; color: var(--ink); }
.nav { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 15px; border-radius: 999px; color: var(--muted); font-size: 12px; line-height: 1.4; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: var(--hover); color: var(--ink); }
.nav a[aria-current=page] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px #0000000c, 0 0 0 1px var(--line); }
.nav a:focus-visible { outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.14; text-wrap: balance; overflow-wrap: anywhere; }
h1 { margin: 22px 0 25px; font-size: clamp(46px, 6vw, 76px); letter-spacing: -.055em; }
.hero { padding: 88px 0 76px; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 80px; }
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: 760px; }
.eyebrow, .section-label { color: var(--pine); font: 10px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--pine); vertical-align: .1em; }
.lede { max-width: 600px; margin: 0; color: var(--secondary); font: 22px/1.55 var(--serif); text-wrap: pretty; overflow-wrap: anywhere; }
.archive-index { padding: 10px 0 0 26px; border-left: 1px solid var(--line); }
.archive-index .section-label { margin: 0 0 12px; color: var(--muted); font-size: 9px; }
.archive-index a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 47px; text-decoration: none; color: var(--secondary); font-size: 13px; }
.archive-index a + a { border-top: 1px solid var(--line); }
.archive-index a:hover { color: var(--pine); }
.archive-count { display: flex; align-items: center; gap: 19px; color: var(--muted); font: 10px/1.5 var(--mono); font-variant-numeric: tabular-nums; }
.archive-count > span { color: var(--pine); font: 16px var(--sans); }
.home-grid { display: grid; grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr); align-items: start; gap: 64px; padding: 0 0 100px; }
.writing-feed, .archive-sidebar { min-width: 0; }
.featured { position: relative; overflow: hidden; padding: 35px 36px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.featured::before { content: ''; position: absolute; top: 0; left: 36px; width: 42px; height: 3px; background: var(--pine); }
.featured-top, .featured-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.featured-top time { color: var(--muted); font: 10px/1.6 var(--mono); }
.featured h2 { max-width: 580px; margin: 30px 0 15px; font-size: clamp(28px, 3.5vw, 40px); letter-spacing: -.035em; }
.featured h2 a { text-decoration: none; }
.featured h2 a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.featured:has(a:hover) { border-color: var(--pine); }
.featured:has(a:focus-visible) { outline: 2px solid var(--link); outline-offset: 5px; }
.featured a:focus-visible { outline: none; }
.featured > p { max-width: 540px; margin: 0; color: var(--secondary); font: 17px/1.65 var(--serif); text-wrap: pretty; overflow-wrap: anywhere; }
.featured-bottom { margin-top: 29px; padding-top: 21px; border-top: 1px solid var(--line); }
.read-link { display: inline-flex; align-items: center; gap: 14px; color: var(--pine); font-size: 12px; font-weight: 500; }
.read-link > span { font-size: 17px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin: 0; padding: 0 0 15px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin: 0; color: var(--muted); font: 10px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.section-head > a { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font: 10px/1.6 var(--mono); text-decoration: none; }
.section-head > a:hover { color: var(--pine); }
.recent-heading { margin-top: 38px; }
.archive-sidebar { padding-top: 7px; }
.page-list { padding: 0; margin: 0; list-style: none; }
.page-list li { border-bottom: 1px solid var(--line); }
.page-list a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; text-decoration: none; }
.page-item-copy { display: grid; gap: 7px; min-width: 0; }
.page-title { font: 22px/1.25 var(--serif); letter-spacing: -.015em; overflow-wrap: anywhere; }
.page-arrow { color: var(--muted); font-size: 16px; }
.page-list a:hover .page-arrow { color: var(--pine); }
.id { color: var(--muted); font: 10px/1.5 var(--mono); letter-spacing: .02em; white-space: nowrap; }
.sidebar-caption { margin: 27px 0 0; color: var(--muted); font: italic 15px/1.65 var(--serif); }
.entry { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) 18px; gap: 18px; padding: 25px 0 24px; border-bottom: 1px solid var(--line); }
.entry time { padding-top: 4px; color: var(--muted); font: 10px/1.65 var(--mono); font-variant-numeric: tabular-nums; }
.entry h3 { margin: 0 0 9px; font-size: 25px; letter-spacing: -.025em; }
.entry h3 a { text-decoration: none; }
.entry h3 a::after { content: ''; position: absolute; inset: 0; }
.entry p { margin: 0 0 12px; color: var(--secondary); font-size: 13px; line-height: 1.7; text-wrap: pretty; overflow-wrap: anywhere; }
.entry-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); font: 10px/1.5 var(--mono); }
.kind { color: var(--pine); }
.entry-arrow { padding-top: 3px; color: var(--muted); font-size: 16px; }
.entry:has(a:hover) .entry-arrow { color: var(--pine); }
.quiet { padding: 21px 0; color: var(--muted); font: 16px/1.7 var(--serif); }
.empty-state { padding: 40px 0 55px; }
.empty-state h2 { max-width: 480px; margin: 17px 0; font-size: 32px; letter-spacing: -.025em; }
.empty-state p { margin: 0; color: var(--muted); font-size: 14px; }
.archive-hero { max-width: 800px; }
.archive-total { margin-left: 20px; padding-left: 20px; border-left: 1px solid var(--line); color: var(--muted); letter-spacing: .03em; }
.archive { padding-bottom: 100px; }
.archive-year { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.archive-year + .archive-year { margin-top: 45px; }
.year { margin: 0; padding-top: 19px; color: var(--pine); font: 28px/1.2 var(--serif); letter-spacing: -.035em; }
.archive-entries { min-width: 0; }
.archive .entry { grid-template-columns: 95px minmax(0, 1fr) 18px; }
.archive .entry:first-child { padding-top: 19px; }
.archive .entry:last-child { border-bottom: 0; }
.archive .entry h3 { font-size: 28px; }
.archive .entry p { max-width: 580px; font-size: 14px; }
.note { max-width: 720px; margin: 0 auto; padding: 42px 0 92px; }
.back-link { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; margin: 0 0 42px; color: var(--muted); font-size: 12px; text-decoration: none; }
.back-link > span { font-size: 17px; }
.note-header > h1 { margin: 20px 0 23px; font-size: clamp(40px, 5.5vw, 61px); letter-spacing: -.05em; }
.note .lede { max-width: none; margin: 0 0 28px; font-size: 23px; }
.note-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 22px; padding: 0 0 26px; border-bottom: 1px solid var(--line); color: var(--muted); font: 10px/1.6 var(--mono); }
.note-meta .id { margin-left: auto; text-decoration: none; }
.prose { padding-top: 34px; font: 20px/1.8 var(--serif); overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1.3em; text-wrap: pretty; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 1.65em 0 .7em; letter-spacing: -.025em; }
.prose h1, .prose h2 { font-size: 32px; }
.prose h3 { font-size: 26px; }
.prose h4 { font-size: 22px; }
.prose a { color: var(--link); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { padding-left: .2em; margin: .35em 0; }
.prose blockquote { margin: 1.6em 0; padding: 5px 0 5px 26px; border-left: 2px solid var(--pine); color: var(--secondary); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose pre { max-width: 100%; overflow: auto; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font: 13px/1.7 var(--mono); }
.prose code { font-family: var(--mono); font-size: .78em; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font: 14px/1.6 var(--sans); }
.prose th, .prose td { padding: 12px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); background: var(--panel); font-weight: 600; }
.prose td { color: var(--secondary); }
.prose img, .prose svg { max-width: 100%; height: auto; }
.prose math[display=block] { max-width: 100%; overflow-x: auto; margin: 1.6em 0; }
.prose a > code.link-id { display: inline-block; vertical-align: .12em; padding: 1px 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font: 10px/1.5 var(--mono); letter-spacing: .01em; white-space: nowrap; }
.prose a:hover > code.link-id, .prose a:focus-visible > code.link-id { border-color: var(--pine); color: var(--pine); }
.prose details { min-width: 0; margin: 1.5em 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.prose details > summary { padding: 19px 22px; border-radius: 11px; background: var(--panel); color: var(--ink); cursor: pointer; font: 22px/1.45 var(--serif); }
.prose details > summary > code { display: inline-block; vertical-align: middle; margin-inline-start: .65em; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--muted); font: 10px/1.6 var(--mono); letter-spacing: .02em; white-space: nowrap; }
.prose details > summary::marker { color: var(--pine); font-size: .7em; }
.prose details[open] > summary { border-bottom: 1px solid var(--line); border-radius: 11px 11px 0 0; }
.prose details > summary:hover { color: var(--link); }
.prose details > div { min-width: 0; padding: 24px; }
.prose details > div > :first-child { margin-top: 0; }
.prose details > div > :last-child { margin-bottom: 0; }
.prose details > div h2 { font-size: 27px; }
.prose details > div h3 { font-size: 23px; }
.prose details > div > footer { margin: 22px 0 0; padding-top: 15px; border-top: 1px solid var(--line); font: 10px/1.7 var(--mono); }
.prose details details > summary { font-size: 20px; }
.backlinks { margin-top: 60px; padding: 26px 0 0; border-top: 1px solid var(--line); }
.backlinks .section-head { padding-bottom: 7px; border-bottom: 0; }
.backlinks .section-head > span { color: var(--pine); font-size: 18px; }
.backlinks ul { padding: 0; margin: 0; list-style: none; }
.backlinks li + li { border-top: 1px solid var(--line); }
.backlinks li a { display: block; padding: 15px 0; color: var(--secondary); font: 21px/1.4 var(--serif); text-decoration: none; }
.backlinks li a:hover { color: var(--link); }
.footer { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 26px; padding: 31px 0 38px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-title { display: block; color: var(--secondary); font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.footer-caption { display: block; margin-top: 4px; font: 11px/1.7 var(--serif); }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 26px; font: 9px/1.7 var(--mono); }
.footer-links a { display: inline-flex; align-items: center; gap: 12px; min-height: 30px; text-decoration: none; }
.footer-links a > span { font-size: 16px; }
.preview { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 14px; padding: 11px 24px; border-bottom: 1px solid var(--line); background: var(--panel); color: var(--copper); font-size: 12px; text-align: center; }
.preview strong { font-weight: 600; }
@media (max-width: 960px) {
  .shell { padding: 0 36px; }
  .home-hero { grid-template-columns: minmax(0, 1fr) 200px; gap: 42px; }
  .home-grid { gap: 38px; }
  .featured { padding: 30px 28px 24px; }
  .featured::before { left: 28px; }
  .archive-year { grid-template-columns: 100px minmax(0, 1fr); }
  .archive .entry { grid-template-columns: 73px minmax(0, 1fr) 18px; }
}
@media (max-width: 740px) {
  .shell { padding: 0 24px; }
  .masthead { flex-direction: column; align-items: stretch; gap: 24px; padding: 25px 0 22px; }
  .brand { align-self: flex-start; }
  .nav { align-self: flex-start; max-width: 100%; }
  .nav a { min-height: 44px; padding: 0 15px; font-size: 12px; }
  .hero { padding: 55px 0 44px; }
  .home-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  h1 { margin: 20px 0 21px; font-size: clamp(43px, 9vw, 64px); }
  .lede { font-size: 21px; }
  .archive-index { display: flex; flex-wrap: wrap; gap: 0 22px; padding: 0; border-left: 0; }
  .archive-index .section-label { flex: 1 0 100%; margin-bottom: 2px; }
  .archive-index a { min-height: 43px; gap: 12px; font-size: 12px; }
  .archive-index a + a { border-top: 0; }
  .archive-count { gap: 0; font-size: 10px; }
  .archive-count > span { display: none; }
  .home-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-bottom: 60px; }
  .featured { padding: 29px 25px 24px; border-radius: 15px; }
  .featured::before { left: 25px; }
  .featured h2 { margin-top: 24px; font-size: 34px; }
  .featured > p { font-size: 17px; }
  .featured-bottom { margin-top: 24px; padding-top: 18px; }
  .entry, .archive .entry { grid-template-columns: 60px minmax(0, 1fr) 13px; gap: 13px; padding: 23px 0; }
  .entry h3, .archive .entry h3 { font-size: 24px; }
  .entry p, .archive .entry p { font-size: 13px; }
  .entry time { font-size: 9px; }
  .entry-arrow { font-size: 15px; }
  .entry-meta { gap: 7px 12px; }
  .archive-sidebar { padding-top: 0; }
  .page-title { font-size: 23px; }
  .page-list a { padding: 18px 0; }
  .sidebar-caption { margin-top: 24px; }
  .archive { padding-bottom: 65px; }
  .archive-year { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 22px; }
  .year { padding-top: 0; font-size: 26px; }
  .archive-year + .archive-year { margin-top: 30px; }
  .note { padding: 24px 0 65px; }
  .back-link { margin-bottom: 28px; }
  .note-header > h1 { font-size: clamp(38px, 8vw, 55px); }
  .note .lede { font-size: 22px; }
  .note-meta { gap: 10px 17px; padding-bottom: 23px; }
  .prose { padding-top: 29px; font-size: 19px; }
  .prose h1, .prose h2 { font-size: 29px; }
  .prose h3 { font-size: 24px; }
  .prose pre { padding: 17px; font-size: 12px; }
  .prose blockquote { padding-left: 20px; }
  .prose details > summary { padding: 16px; font-size: 21px; }
  .prose details > div { padding: 18px; }
  .prose details details > summary { font-size: 19px; }
  .prose details details > div { padding: 14px; }
  .prose details > div h2 { font-size: 25px; }
  .backlinks { margin-top: 43px; }
  .footer { align-items: flex-start; padding-top: 25px; }
  .footer-links { gap: 10px 20px; }
}
@media (max-width: 370px) {
  .shell { padding: 0 20px; }
  .nav { gap: 0; }
  .nav a { padding: 0 12px; font-size: 11px; }
  .archive-index { column-gap: 17px; }
  .archive-index a { gap: 8px; }
  .featured { padding: 26px 21px 21px; }
  .featured h2 { font-size: 30px; }
  .featured-top { column-gap: 8px; }
  .featured-top time { font-size: 9px; }
  .entry, .archive .entry { grid-template-columns: 51px minmax(0, 1fr); gap: 12px; }
  .entry-arrow { display: none; }
  .note-meta .id { margin-left: 0; }
  .prose details > summary { padding: 14px; }
  .prose details > div { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a { transition: none; }
}
@media print {
  :root { --bg: white; --surface: white; --panel: #f2f2f2; --ink: black; --secondary: #333; --muted: #555; --line: #ccc; --pine: #333; --link: #333; }
  .nav, .preview, .skip, .back-link, .footer-links, .archive-index { display: none; }
  html { scroll-behavior: auto; }
  .shell { max-width: none; padding: 0; }
  .masthead { padding: 0 0 16px; }
  .note { max-width: none; padding: 30px 0; }
  .note-header > h1 { font-size: 38px; }
  .prose { font-size: 12pt; }
  .prose pre, .prose table, .prose math[display=block] { overflow: visible; }
  .prose details { break-inside: avoid; }
  .prose a { color: inherit; }
  .footer { padding-bottom: 0; }
}

.prose figure { max-width: 100%; margin: 1.6em 0; }
.prose figcaption { margin-top: 12px; color: var(--muted); font: 12px/1.65 var(--sans); }

/* Product compositions reuse Nordic Archive's palette and ordinary document controls. */
.product-note { max-width: none; padding-top: 28px; }
.product-note > .back-link { min-height: 32px; margin-bottom: 14px; }
.product-note > .note-header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.product-note > .note-header > .eyebrow, .product-note > .note-header > .lede { display: none; }
.product-note > .note-header > h1 { margin: 0; font-size: 26px; letter-spacing: -.035em; }
.product-note > .note-header > .note-meta { flex: 1; justify-content: flex-end; min-width: 0; margin: 0; padding: 0; border: 0; }
.product-note > .note-header > .note-meta .id { margin-left: 0; }
.product-note > .prose { padding-top: 0; }
.product { --product-button-ink: #F4F6F5; --product-shadow: #1720241a; color: var(--secondary); font: 15px/1.75 var(--sans); }
.product h2, .product h3 { color: var(--ink); }
.product h2 { margin: 16px 0 23px; font-size: clamp(35px, 4vw, 48px); line-height: 1.1; letter-spacing: -.045em; }
.product h3 { margin: 0 0 13px; font-size: 27px; line-height: 1.15; letter-spacing: -.025em; }
.product p { margin: 0 0 1.3em; }
.product strong { color: var(--ink); font-weight: 600; }
.product img { display: block; width: 100%; height: auto; }
.product .product-copy, .product .product-media, .product .product-card { min-width: 0; }
.product .product-kicker { margin: 0 0 16px; color: var(--pine); font: 10px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.product .product-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 46px; padding: 48px 0 70px; }
.product .product-hero h2 { margin: 21px 0 26px; font-size: clamp(43px, 5.2vw, 66px); line-height: 1.03; letter-spacing: -.055em; }
.product .product-hero h2 em { display: block; margin-top: 17px; color: var(--pine); font-size: .78em; line-height: 1.12; }
.product .product-intro { max-width: 400px; margin: 0 0 25px; font-size: 16px; line-height: 1.8; }
.product .product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px 24px; margin: 26px 0 16px; }
.product .product-actions > a:not(.product-button) { font-size: 12px; text-decoration-color: var(--line); }
.product a.product-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border-radius: 999px; background: var(--link); color: var(--product-button-ink); font-size: 12px; font-weight: 500; line-height: 1.5; text-align: center; text-decoration: none; }
.product a.product-button:hover { background: var(--pine); }
.product a.product-app-store-badge { display: inline-flex; flex: 0 0 auto; padding: 10px; background: transparent; line-height: 0; text-decoration: none; }
.product a.product-app-store-badge img { width: auto; height: 40px; max-width: none; }
.product .product-facts { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.9; }
.product .product-gallery { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; width: 100%; max-width: 474px; margin: 0 auto; }
.product .product-gallery::before { content: ''; position: absolute; top: 108px; left: 2%; width: 98%; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; opacity: .7; }
.product .product-device { position: relative; isolation: isolate; }
.product .product-device > .product-screen { position: absolute; z-index: 0; overflow: hidden; }
.product .product-device > .product-screen img { width: 100%; height: 100%; }
.product .product-device > .product-bezel { position: relative; z-index: 1; pointer-events: none; }
.product .product-device-iphone > .product-screen { top: 2.2%; left: 5.102040816%; width: 89.795918367%; height: 95.6%; border-radius: 13.636364% / 6.276151%; }
.product .product-device-ipad > .product-screen { top: 5.130434783%; left: 4.133333333%; width: 91.733333333%; height: 89.739130435%; border-radius: 2.034884% / 2.713178%; }
.product .product-hero-primary, .product .product-hero-secondary { position: relative; min-width: 0; margin: 0; }

.product .product-hero-secondary { margin-top: 90px; }
.product .product-caption { margin: 18px 0 0; color: var(--muted); font: 10px/1.7 var(--sans); text-align: center; }
.product .product-hero-primary > .product-caption { color: var(--pine); font: italic 15px/1.5 var(--serif); }

.product .product-section { margin: 0; padding: 64px 0; border-top: 1px solid var(--line); }
.product .product-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 68px; }
.product .product-split > .product-copy > :last-child { margin-bottom: 0; }
.product .product-steps { margin: 25px 0 0; color: var(--pine); font: 44px/1.2 var(--serif); letter-spacing: .08em; }
.product .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.product .product-section > .product-grid { margin-top: 42px; }
.product .product-card { font-size: 13px; line-height: 1.8; }
.product .product-card > .product-kicker { margin-bottom: 15px; font-size: 9px; }
.product .product-grid:not(:has(.product-media)) > .product-card { padding: 5px 0 6px 24px; border-left: 1px solid var(--line); }
.product .product-grid:not(:has(.product-media)) > .product-card:first-child { padding-left: 0; border-left: 0; }
.product .product-media { margin: 0; }

.product .product-grid:has(.product-media) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.product .product-grid:has(.product-media) > .product-card { padding: 33px 36px 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); font-size: 14px; }
.product .product-grid:has(.product-media) > .product-card h2 { max-width: 350px; margin: 0 0 19px; font-size: 39px; }
.product .product-card > .product-media { margin-top: 30px; padding-top: 0; }
.product .product-card > .product-media > .product-device { width: min(100%, 244px); margin: 0 auto; }
.product .product-card > .product-media > .product-caption { max-width: 310px; margin: 20px auto 0; }
.product .product-split:has(details) { align-items: start; }
.product details { margin: 0 0 11px; font-size: 14px; }
.product details > summary { padding: 17px 19px; font: 500 14px/1.55 var(--sans); }
.product details > div { padding: 18px 19px; line-height: 1.75; }
.product .product-closing { padding: 48px 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); text-align: center; }
.product .product-closing h2 { max-width: 620px; margin: 17px auto 26px; font-size: 46px; }
.product .product-icon { width: 62px; margin: 0 auto 25px; }
.product .product-icon img { border-radius: 14px; }
.product .product-closing > .product-actions { justify-content: center; }
@media (prefers-color-scheme: dark) {
  .product { --product-button-ink: #172024; --product-shadow: #10171a80; }
}
@media (max-width: 1040px) {
  .product .product-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
  .product .product-hero h2 { font-size: 52px; }

  .product .product-hero-secondary { margin-top: 72px; }
  .product .product-split { gap: 42px; }
  .product .product-grid { gap: 24px; }
  .product .product-grid:has(.product-media) > .product-card { padding: 29px 28px 24px; }
  .product .product-grid:has(.product-media) > .product-card h2 { font-size: 35px; }
}
@media (max-width: 740px) {
  .product-note { padding-top: 18px; }
  .product-note > .back-link { display: none; }
  .product-note > .note-header { gap: 10px 16px; padding-bottom: 16px; }
  .product-note > .note-header > h1 { font-size: 24px; }
  .product-note > .note-header > .note-meta { gap: 12px; }
  .product-note > .note-header > .note-meta time { display: none; }
  .product .product-hero { grid-template-columns: minmax(0, 1fr); gap: 33px; padding: 35px 0 47px; }
  .product .product-hero h2 { max-width: 540px; margin: 17px 0 21px; font-size: clamp(42px, 9vw, 58px); }
  .product .product-hero h2 em { margin-top: 12px; }
  .product .product-intro { max-width: 450px; margin-bottom: 21px; font-size: 15px; line-height: 1.75; }
  .product .product-actions { margin: 22px 0 15px; gap: 14px; }
  .product .product-hero .product-actions > a:not(.product-button):not(.product-app-store-badge) { display: none; }
  .product .product-gallery { grid-template-columns: minmax(0, 1fr); max-width: 270px; }
  .product .product-gallery::before { top: 85px; left: 0; width: 100%; }

  .product .product-hero-secondary { display: none; }
  .product .product-hero-primary > .product-caption { margin-top: 16px; }
  .product .product-section { padding: 43px 0; }
  .product h2 { margin: 13px 0 20px; font-size: 36px; }
  .product h3 { font-size: 25px; }
  .product .product-split { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .product .product-split > .product-copy > h2:last-child { margin-bottom: 0; }
  .product .product-steps { margin-top: 22px; font-size: 39px; }
  .product .product-grid, .product .product-grid:has(.product-media) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .product .product-section > .product-grid { margin-top: 31px; }
  .product .product-grid:not(:has(.product-media)) > .product-card, .product .product-grid:not(:has(.product-media)) > .product-card:first-child { padding: 0; border-left: 0; }
  .product .product-grid:not(:has(.product-media)) > .product-card + .product-card { padding-top: 24px; border-top: 1px solid var(--line); }
  .product .product-card { font-size: 14px; }
  .product .product-grid:has(.product-media) > .product-card { padding: 27px 25px 24px; }
  .product .product-grid:has(.product-media) > .product-card h2 { font-size: 34px; }
  .product .product-card > .product-media { margin-top: 26px; }
  .product .product-card > .product-media > .product-device { width: min(100%, 235px); }

  .product .product-caption { margin-top: 14px; }
  .product .product-closing { padding: 36px 22px; border-radius: 17px; }
  .product .product-closing h2 { font-size: 36px; }
  .product .product-icon { width: 54px; margin-bottom: 21px; }
}
@media (max-width: 370px) {
  .product .product-hero h2 { font-size: 40px; }
  .product .product-kicker { font-size: 9px; }
  .product .product-gallery { padding: 0 7px; }
  .product .product-hero-primary { width: min(100%, 245px); }
  .product .product-grid:has(.product-media) > .product-card { padding: 25px 20px 22px; }
  .product .product-grid:has(.product-media) > .product-card h2 { font-size: 32px; }
}
@media print {
  .product-note > .note-header { display: block; }
  .product-note > .note-header > .note-meta { margin-top: 10px; justify-content: flex-start; }
  .product .product-hero, .product .product-split { display: block; }
  .product .product-hero { padding: 25px 0; }
  .product .product-gallery { height: auto; padding: 20px 0; }
  .product .product-hero-primary { position: static; width: 180px; margin: auto; transform: none; }
  .product .product-hero-secondary { display: none; }
  .product .product-gallery::before { display: none; }
  .product .product-section { padding: 25px 0; }

  .product .product-card > .product-media > .product-device { max-width: 160px; }
  .product .product-media { break-inside: avoid; }
  .product a.product-button { border: 1px solid var(--line); background: transparent; color: var(--ink); }
}
