/* Age Calculator site: system fonts, the app's tangerine and navy, light and dark. */
:root { --bg:#fffaf5; --card:#fff; --ink:#141a33; --soft:#4a5068; --accent:#b83a12; --brand:#f2652a; --rule:#f0e4d8; color-scheme:light dark; }
@media (prefers-color-scheme: dark) { :root { --bg:#0f1326; --card:#1a2038; --ink:#f6f2ee; --soft:#b4b7c6; --accent:#ff8a4c; --brand:#ff8a4c; --rule:#262d4a; } }
* { box-sizing:border-box }
body { margin:0; background:var(--bg); color:var(--ink); font:17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
a { color:var(--accent) }
a:focus-visible { outline:3px solid var(--brand); outline-offset:2px; border-radius:4px }
.wrap { max-width:760px; margin:0 auto; padding:0 20px }
.top { display:flex; justify-content:space-between; align-items:center; padding:20px 0; gap:12px; flex-wrap:wrap }
.brand { display:flex; align-items:center; gap:10px; font-weight:700; font-size:20px; color:var(--ink); text-decoration:none }
.brand img { width:36px; height:36px; border-radius:8px }
nav a { margin-left:18px; text-decoration:none; font-weight:600 }
.hero { text-align:center; padding:48px 0 32px }
.hero img { width:128px; height:128px; border-radius:28px; box-shadow:0 10px 30px rgba(20,26,51,.18) }
.hero h1 { font-size:clamp(34px, 6vw, 52px); line-height:1.1; margin:24px 0 12px; letter-spacing:-.02em }
.hero p { color:var(--soft); font-size:20px; max-width:560px; margin:0 auto }
.store-badge { display:inline-block; margin-top:24px; line-height:0 }
.store-badge img { height:54px; width:auto; border-radius:0; box-shadow:none } /* Apple's artwork as supplied, not the icon style */
.shots { display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; margin:16px 0 40px; padding:0; list-style:none }
.shots img { display:block; width:100%; height:auto; border-radius:16px; box-shadow:0 8px 24px rgba(20,26,51,.12) }
.section-title { font-size:24px; margin:40px 0 4px; letter-spacing:-.01em }
.section-title::before { content:""; display:block; width:36px; height:4px; border-radius:2px; background:var(--brand); margin-bottom:12px }
.grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:14px; margin:16px 0 32px }
.grid div { background:var(--card); border-radius:16px; padding:18px 20px }
.grid h3 { margin:0 0 6px; font-size:18px }
.grid p { margin:0; color:var(--soft); font-size:15px; line-height:1.5 }
.note { background:var(--card); border-radius:16px; padding:16px 20px; color:var(--soft); font-size:15px; margin:24px 0 }
.doc { background:var(--card); border-radius:16px; padding:24px 28px; margin:8px 0 32px }
.doc h1 { margin-top:0; font-size:34px; line-height:1.15 }
.doc h2 { font-size:21px; margin:28px 0 8px }
.doc .updated { color:var(--soft); margin-top:-8px }
.doc li { margin:6px 0 }
footer { border-top:1px solid var(--rule); padding:20px 0 40px; color:var(--soft); font-size:14px }
footer .wrap { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap }
@media (max-width: 640px) { .shots { grid-template-columns:repeat(2, 1fr) } }
@media (max-width: 520px) { .doc { padding:20px } nav a { margin-left:12px } }
