@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../assets/fonts/nunito-v26-latin-800.woff2") format("woff2");
}

:root {
    color-scheme: light;
    /* Theme tokens from mockup-premium-1.html. */
    --bg: #fcfdfb;
    --surface: #fff;
    --soft: #f0f4ee;
    --ink: #142a20;
    --muted: #5e6f63;
    --line: #dce5da;
    --accent: #9b591c;
    --accent-soft: #fff0d9;
    --button: #1e3a2b;
    --sage: #62826c;
    --radius: 24px;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }

a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--ink); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent-soft); }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; margin: 0; }
h1, h2 { text-wrap: balance; }
h3 { letter-spacing: -.025em; }
p { margin: 0 0 1rem; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; transform: translateY(-160%); padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-nav { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; height: 86px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand span { font: 800 1.7rem/1 "Nunito", var(--sans); letter-spacing: -.05em; color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links > a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 15px 22px; border: 1px solid transparent; border-radius: 10px; font: 600 .9375rem/1.35 var(--sans); text-decoration: none; text-align: center; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-apple { display: block; width: 15px; height: 20px; fill: currentColor; flex: none; margin-top: -2px; }
.site-nav .btn { min-height: 42px; padding: 10px 16px; font-size: .875rem; }
.btn-solid { color: white; background: var(--button); }
.btn-solid:hover { color: white; background: var(--button); box-shadow: 0 8px 20px -10px var(--button); }
.breadcrumbs { padding-top: 30px; font-size: .82rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: var(--muted); }
.hero { max-width: 820px; padding: 28px 0 30px; }
.hero .setup-note { margin: 12px 0 0; font-size: .875rem; color: var(--muted); }
.eyebrow { display: block; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 20px; }
h1 { font-size: clamp(2.2rem, 3.8vw, 3.3rem); }
h1 span { color: var(--sage); }
.lead { font-size: 1.1rem; line-height: 1.75; color: var(--muted); margin: 14px 0 0; max-width: 700px; }
.meta { color: var(--muted); font-size: .8rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 72px; border-top: 1px solid var(--line); padding-top: 28px; }
.article-body { min-width: 0; }
.article-body h2 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 24px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { position: relative; counter-increment: step; padding: 0 0 44px 56px; }
.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; background: var(--button); color: white; border-radius: 50%; font: 600 .875rem/1 var(--sans); }
.steps h3 { padding-top: 5px; margin-bottom: 14px; font-size: 1.4rem; }
.steps p { color: var(--muted); }
.steps strong { color: var(--ink); }
figure { margin: 22px 0 0; }
.screenshot-frame { display: block; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 26px -16px #203a2d30; }
.screenshot-frame img { width: 100%; border-radius: 5px; }
.screenshot-menu { max-width: 340px; }
figcaption { margin-top: 10px; font-size: .78rem; color: var(--muted); line-height: 1.6; }
.sidebar { align-self: start; position: sticky; top: 108px; }
.sidebar h2 { font-size: .73rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .15em; margin-bottom: 16px; }
.toc { list-style: none; padding: 0; margin: 0 0 30px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 18px; font-size: .87rem; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--accent); background: var(--soft); }
.sidebar-note { padding: 24px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.sidebar-note img { width: 34px; height: 34px; margin-bottom: 12px; }
.sidebar-note p { font-size: .88rem; color: var(--muted); margin: 8px 0; }
.sidebar-note a { font-size: .87rem; font-weight: 600; }
.mobile-note { display: none; }
.article-section { padding: 38px 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 19px 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; cursor: pointer; font-weight: 500; line-height: 1.5; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; flex-shrink: 0; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 14px 0 0; color: var(--muted); font-size: .94rem; }
.source-note { color: var(--muted); font-size: .8rem; margin: 24px 0 52px; }
footer { border-top: 1px solid var(--line); padding: 35px 0; background: var(--bg); }
.foot-links a, .foot-legal a { text-decoration: none; }
.foot-links a:hover, .foot-legal a:hover { text-decoration: underline; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: .85rem; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; font-size: .75rem; color: var(--muted); }
.foot-legal a { color: var(--muted); }
.copy { font-size: .83rem; color: var(--muted); }
@media (max-width: 1000px) {
    .wrap { width: calc(100% - 56px); }
    .article-layout { grid-template-columns: minmax(0, 1fr) 200px; gap: 35px; }
    .nav-links { gap: 20px; }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 40px); }
    .nav-inner { height: 72px; gap: 14px; }
    .brand span { font-size: 1.5rem; }
    .brand img { width: 32px; height: 32px; }
    .hero { padding: 24px 0; }
    .hero h1 { font-size: clamp(2.1rem, 6.5vw, 2.8rem); }
    .hero h1 { max-width: 600px; }
    .article-layout { display: flex; flex-direction: column; gap: 28px; padding-top: 30px; }
    .sidebar { display: none; }
    .toc { display: flex; flex-wrap: wrap; gap: 8px 18px; border: 0; margin: 0; }
    .toc a { padding: 4px 0; text-decoration: underline; }
    .mobile-note { display: block; max-width: 440px; margin: 0 0 32px; }
    .nav-links > a:not(.btn) { display: none; }
}
@media (max-width: 480px) {
    .wrap { width: calc(100% - 40px); }
    .nav-inner { padding: 0; }
    .nav-inner .btn { padding: 10px 14px; font-size: .84rem; }
    .brand { gap: 8px; }
    .brand img { width: 32px; height: 32px; }
    .steps > li { padding-left: 0; }
    .steps h3 { padding-left: 48px; min-height: 36px; margin-bottom: 18px; }
    .lead { font-size: 1rem; }
    .screenshot-frame { padding: 6px; }
}
@media (max-width: 400px) {
    .wrap { width: calc(100% - 32px); }
    .site-nav .btn { padding: 10px 12px; gap: 8px; font-size: .75rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
    .btn:hover { transform: none; }
}
