/* Valet Notes uses the app's Classic theme: warm paper, the four space colors, and
   iA Writer Duo for headings, as in the editor. Tokens mirror AppearanceTheme.swift
   in the top-drawer project. */
@font-face{font-family:"iA Writer Duo";src:url("fonts/iAWriterDuoS-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"iA Writer Duo";src:url("fonts/iAWriterDuoS-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}

body.app-valetnotes{color-scheme:light;--bg:#f5f2ea;--ink:#292e29;--muted:#5c655b;--line:#b9bbae;--action:#2c332e;--action-ink:#f5f2ea;
--space-1:#eee3cc;--space-2:#dde6d8;--space-3:#dce5ea;--space-4:#e9ddd6;--accent-1:#755b2f;--accent-2:#42604b;--accent-3:#3d6075;--accent-4:#80585d;--accent:var(--accent-2);
--mono:"iA Writer Duo",ui-monospace,"SF Mono",Menlo,monospace;background:var(--bg);color:var(--ink)}
@media(prefers-color-scheme:dark){body.app-valetnotes{color-scheme:dark;--bg:#202420;--ink:#f1eee5;--muted:#aeb5ac;--line:#535a52;--action:#f1eee5;--action-ink:#202420;
--space-1:#302e26;--space-2:#26312b;--space-3:#263039;--space-4:#342b2d;--accent-1:#d1b781;--accent-2:#a1c1a4;--accent-3:#9fbfd3;--accent-4:#cfa7ab}}

.app-valetnotes .family-header,.app-valetnotes .family-footer,.app-valetnotes .app-landing{max-width:1320px}
.app-valetnotes .family-brand{font-family:var(--mono);font-weight:700;letter-spacing:-.02em}
.app-valetnotes .family-brand img{border-radius:8px}
.app-valetnotes .family-header nav{align-items:center}
.app-valetnotes a{color:var(--accent)}
.app-valetnotes .family-header nav a,.app-valetnotes .family-footer nav a{color:var(--ink);text-decoration:none}
.app-valetnotes .family-header nav a:hover,.app-valetnotes .family-footer nav a:hover{text-decoration:underline;text-underline-offset:4px}
.app-valetnotes .family-header .nav-beta{padding:10px 16px;border:1px solid var(--ink);border-radius:6px}

.app-valetnotes h1,.app-valetnotes h2,.app-valetnotes h3{font-family:var(--mono);font-weight:700;letter-spacing:-.03em;color:var(--ink)}
.app-valetnotes h1{font-size:clamp(36px,4vw,58px);line-height:1.1;margin:0 0 26px;max-width:16ch}
.app-valetnotes h2{font-size:clamp(28px,2.8vw,40px);line-height:1.15;margin:0 0 20px;max-width:22ch}
.app-valetnotes h3{font-size:20px;line-height:1.3;letter-spacing:-.02em;margin:0 0 10px}
.app-valetnotes .app-landing p{font-size:17px;line-height:1.65;color:var(--muted);margin:0 0 20px}
.app-valetnotes .eyebrow{font-family:var(--mono);font-weight:400;color:var(--muted);font-size:12px;letter-spacing:.08em;margin-bottom:18px}
.app-valetnotes .app-landing .intro{font-size:19px;max-width:40ch}

.app-valetnotes .primary-action{display:inline-flex;align-items:center;min-height:48px;padding:13px 22px;border-radius:6px;background:var(--action);color:var(--action-ink);text-decoration:none;font-size:15px;font-weight:600}
.app-valetnotes .primary-action:hover{opacity:.9}
.hero-actions{margin:30px 0 14px}
.app-valetnotes .app-landing .availability{font-size:13px;line-height:1.6;margin:0;max-width:46ch}

.valet-hero{display:grid;grid-template-columns:1fr 1.35fr;align-items:center;gap:40px;padding:72px 0 64px}
.hero-devices{position:relative;width:100%;aspect-ratio:1.55;isolation:isolate}
.hero-device{position:absolute;display:block;line-height:0;filter:drop-shadow(0 10px 12px rgb(36 40 36 / .14))}
.hero-device img{display:block;width:100%;height:auto}
.hero-device-mac{width:86%;bottom:3%;left:7%;z-index:1}
.hero-device-ipad{width:50%;bottom:0;right:0;z-index:2}
.hero-device-phone{width:23%;left:0;bottom:0;z-index:3}
.hero-device:focus-visible{outline:3px solid var(--ink);outline-offset:6px;z-index:4}

.section{border-top:1px solid var(--line);padding:76px 0;scroll-margin-top:24px}
.problem-copy{max-width:760px}
.problem-copy>p{font-size:19px;max-width:58ch}

/* The three steps sit on the app's first three space colors, numbered like spaces. */
ol.steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:40px 0 0}
.steps li{padding:26px 26px 28px;border-radius:14px;background:var(--space-1);border-top:3px solid var(--accent-1)}
.steps li:nth-child(2){background:var(--space-2);border-color:var(--accent-2)}
.steps li:nth-child(3){background:var(--space-3);border-color:var(--accent-3)}
.step-number{display:block;font-family:var(--mono);font-weight:700;font-size:15px;margin-bottom:14px;color:var(--accent-1)}
.steps li:nth-child(2) .step-number{color:var(--accent-2)}
.steps li:nth-child(3) .step-number{color:var(--accent-3)}
.app-valetnotes .steps p{font-size:15px;color:var(--ink);margin:0;opacity:.86}

.capture-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:56px 0 0;align-items:start}
.capture-row figure{margin:0;text-align:center}
.capture-row a{display:block;width:fit-content;max-width:100%;margin:auto}
.capture-row img{display:block;width:100%;max-width:280px;height:auto}
.capture-row figcaption{font-size:14px;color:var(--muted);margin-top:14px}

.mac-drawer{margin:40px 0 0}
.mac-drawer a{display:block;line-height:0;border-radius:10px;overflow:hidden;border:1px solid var(--line);box-shadow:0 12px 30px rgb(36 40 36 / .12)}
.mac-drawer img{display:block;width:100%;height:auto}
.mac-drawer figcaption{font-size:14px;color:var(--muted);margin-top:14px}
.mac-copy{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.mac-copy p{max-width:48ch}

.details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin-top:36px}
.app-valetnotes .details p{font-size:15px;margin:0}
.details h3{font-size:17px}

.app-valetnotes .closing{max-width:none;padding:76px 0 8px}
.closing .hero-actions{margin-top:24px}

/* Support and privacy pages. */
.app-valetnotes .document h1{font-size:clamp(34px,5vw,50px)}
.app-valetnotes .document h2{font-size:24px;margin-top:44px}
.app-valetnotes .document .updated{color:var(--muted);font-size:14px}

@media(max-width:1000px){.valet-hero{grid-template-columns:1fr 1.15fr;gap:24px}.details{grid-template-columns:repeat(2,minmax(0,1fr))}.mac-copy{gap:32px}}
@media(max-width:760px){
.app-valetnotes .family-header{flex-wrap:wrap;gap:12px}.app-valetnotes .family-header nav{gap:18px}.app-valetnotes .family-header nav a{font-size:13px}.app-valetnotes .family-header .nav-beta{padding:8px 12px}
.valet-hero{grid-template-columns:1fr;padding:44px 0;gap:22px}.valet-hero>div:first-child{display:contents}.valet-hero h1,.valet-hero .eyebrow,.valet-hero .intro{margin:0}.hero-devices{grid-row:3;max-width:620px;margin:12px auto 18px}.hero-actions{margin:0 0 4px}
.section{padding:52px 0}ol.steps{grid-template-columns:1fr;gap:14px;margin-top:28px}.capture-row{gap:12px;margin-top:36px}.capture-row figcaption{font-size:12px}.mac-copy{grid-template-columns:1fr;gap:0}}
@media(max-width:480px){.app-valetnotes .family-header nav{width:100%;justify-content:space-between;gap:10px}.details{grid-template-columns:1fr;gap:22px}.capture-row figcaption{font-size:11px}}
