/* Taskland site. The mocks copy the app 1:1 (src/constants/theme.ts, Mac Theme.swift):
   same palette, radii and type; the page around them is quiet, mono-labelled and roomy. */
:root {
  --bg: #F4F4F6;
  --app: #EEEEF1;
  --card: #FFFFFF;
  --sunken: #F3F3F6;
  --text: #121214;
  --muted: #76757E;
  --faint: #B0AFB7;
  --accent: #FF5B1F;
  --accent-soft: #FFE9DF;
  --green: #22B566;
  --green-soft: #DDF5E7;
  --red: #E5484D;
  --ink: #050506;
  --ink-card: #141416;
  --ink-sunken: #1E1E21;
  --ink-text: #F5F5F7;
  --ink-muted: #8D8D95;
  --mac: #FFC233;
  --rounded: ui-rounded, "Nunito", "SF Pro Rounded", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -0.01em; }
.display { font-family: var(--rounded); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
.i { width: 1em; height: 1em; flex: none; }
kbd { font: 600 0.82em var(--mono); display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .35em; margin: 0 .1em; border-radius: 7px; background: var(--card); color: var(--text); box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------- nav ---------- */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; justify-content: center; padding: 14px 12px 0; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 6px 24px rgba(18,18,20,.06); }
.nav a { text-decoration: none; font: 500 13px var(--mono); color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { color: var(--text); background: var(--sunken); }
.nav a[aria-current] { color: var(--text); }
.nav .logo { display: flex; align-items: center; gap: 8px; padding: 4px 14px 4px 6px; color: var(--text); font: 900 17px var(--rounded); letter-spacing: -.02em; }
.nav .logo img { width: 26px; height: 26px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; border: 0; text-decoration: none; font: 700 16px var(--sans); transition: transform .15s, background .2s; }
.btn .i { width: 20px; height: 20px; }
.btn:active { transform: scale(.97); }
.btn.dark { background: var(--text); color: #fff; }
.btn.dark:hover { background: #2A2A2E; }
.btn.light { background: #fff; color: var(--text); }
.btn.ghost { background: transparent; color: var(--muted); font-size: 14px; }
.btn.ghost:hover { color: var(--text); background: rgba(0,0,0,.04); }

/* ---------- hero ---------- */
.hero { text-align: center; padding-top: 72px; display: flex; flex-direction: column; align-items: center; }
.news { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 32px; transition: transform .2s; }
.news:hover { transform: translateY(-1px); }
.news .tag { background: var(--accent-soft); color: var(--accent); padding: 4px 10px; border-radius: 999px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.news .arr .i { width: 14px; height: 14px; color: var(--muted); }
.news.bf .tag { background: var(--text); color: #fff; white-space: nowrap; }
.hero h1 { font-size: clamp(44px, 8.6vw, 104px); max-width: 14ch; }
.grow-word { color: var(--accent); position: relative; display: inline-block; }
.grow-word::after { content: ""; position: absolute; right: -0.36em; top: -0.12em; width: .42em; height: .42em; background: var(--green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M223.45,40.07a8,8,0,0,0-7.52-7.52C139.8,28.08,78.82,51,52.82,94a87.09,87.09,0,0,0-12.76,49A101.72,101.72,0,0,0,46.7,175.2a4,4,0,0,0,6.61,1.43l85-86.3a8,8,0,0,1,11.32,11.32L56.74,195.94,42.55,210.13a8.2,8.2,0,0,0-.6,11.1,8,8,0,0,0,11.71.43l16.79-16.79c14.14,6.84,28.41,10.57,42.56,11.07q1.67.06,3.33.06A86.93,86.93,0,0,0,162,203.18C205,177.18,227.93,116.21,223.45,40.07Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M223.45,40.07a8,8,0,0,0-7.52-7.52C139.8,28.08,78.82,51,52.82,94a87.09,87.09,0,0,0-12.76,49A101.72,101.72,0,0,0,46.7,175.2a4,4,0,0,0,6.61,1.43l85-86.3a8,8,0,0,1,11.32,11.32L56.74,195.94,42.55,210.13a8.2,8.2,0,0,0-.6,11.1,8,8,0,0,0,11.71.43l16.79-16.79c14.14,6.84,28.41,10.57,42.56,11.07q1.67.06,3.33.06A86.93,86.93,0,0,0,162,203.18C205,177.18,227.93,116.21,223.45,40.07Z'/%3E%3C/svg%3E") center/contain no-repeat; animation: sprout 2.4s cubic-bezier(.2,.9,.3,1.3) .4s both; transform-origin: 0 100%; }
@keyframes sprout { from { transform: scale(0) rotate(-30deg); } to { transform: scale(1) rotate(0); } }
.lead, .sub { text-wrap: pretty; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 34em; margin: 24px auto 0; }
.ctas { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 18px; }
.meta i { width: 4px; height: 4px; border-radius: 2px; background: var(--faint); }

/* ---------- live demo ---------- */
.demo { margin-top: 56px; }
.stage { position: relative; padding: 40px 0; }
.space { position: relative; margin-left: 220px; height: 640px; border-radius: 40px; overflow: hidden; background: radial-gradient(120% 90% at 60% 40%, #121A3A 0%, #070A1C 55%, #05060F 100%); }
.planet { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity 1.2s; }
.planet.ready { opacity: 1; }
.planet:active { cursor: grabbing; }
.loading { position: absolute; left: 0; right: 0; top: 50%; text-align: center; color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.loading::before { content: ""; display: block; width: 120px; height: 120px; margin: -80px auto 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9BD15A, #2F7A3B 55%, #1B4FA8 56%, #0F2E66); opacity: .5; animation: breathe 2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .75; } }
.hud { position: absolute; top: 22px; left: 160px; display: flex; gap: 8px; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 17px; background: rgba(0,0,0,.5); color: var(--ink-text); font-size: 13px; font-weight: 600; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.chip .dot { width: 8px; height: 8px; border-radius: 4px; background: #3DD68C; }
.style-bar { position: absolute; top: 22px; right: 22px; display: flex; gap: 8px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--sunken); }
.seg button { border: 0; background: transparent; height: 32px; min-width: 36px; padding: 0 12px; border-radius: 999px; display: grid; place-items: center; font: 600 13px var(--sans); color: var(--muted); transition: background .2s, color .2s; }
.seg button .i { width: 16px; height: 16px; }
.seg button.on { background: var(--card); color: var(--text); }
.seg.dark { background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.seg.dark button { color: rgba(255,255,255,.55); padding: 0 8px; }
.seg.dark button:hover { color: #fff; }
.seg.dark button.on { background: rgba(255,255,255,.16); color: #fff; }
.homebtn { position: absolute; right: 22px; bottom: 22px; width: 52px; height: 52px; border: 0; border-radius: 26px; display: grid; place-items: center; background: var(--accent); color: #fff; transition: transform .15s; }
.homebtn .i { width: 24px; height: 24px; }
.homebtn:active { transform: scale(.92); }
.stage > .phone { position: absolute; left: 0; top: 0; }
.hint { text-align: center; color: var(--muted); font-size: 13px; margin-top: 8px; }
.hint .tri { color: var(--accent); }

/* ---------- the phone (1:1 with the app; 402×874 pt, scaled) ---------- */
.phone { width: 402px; height: 874px; padding: 11px; border-radius: 66px; background: #1A1A1D; box-shadow: inset 0 0 0 2px #3A3A3F, 0 40px 80px -30px rgba(18,18,20,.45); zoom: .82; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 55px; overflow: hidden; background: var(--app); }
.app { font-family: var(--sans); color: var(--text); text-align: left; }
.status { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 46px; background: linear-gradient(var(--app) 70%, transparent); }
.status b { font: 600 17px var(--sans); letter-spacing: -.02em; }
.status .island { position: absolute; left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.status .sys { display: flex; gap: 6px; align-items: center; }
.status .sys svg { height: 12px; width: auto; fill: currentColor; }
.app-scroll { position: absolute; inset: 0; overflow-y: auto; padding: 66px 16px 130px; display: flex; flex-direction: column; gap: 16px; scrollbar-width: none; }
.app-scroll::-webkit-scrollbar { display: none; }
.app-head { display: flex; align-items: flex-end; gap: 12px; }
.app-head > div:first-child { flex: 1; }
.app-sub { font-size: 13px; font-weight: 600; color: var(--muted); }
.app-title { font: 800 34px/1.15 var(--rounded); letter-spacing: -.5px; }
.vswitch { display: flex; padding: 3px; border-radius: 999px; background: var(--sunken); margin-bottom: 6px; }
.vswitch span { width: 40px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); }
.vswitch span.on { background: var(--card); color: var(--accent); }
.vswitch .i { width: 17px; height: 17px; }
.filters { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; flex: none; }
.filters::-webkit-scrollbar { display: none; }
.fchip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--card); color: var(--muted); font: 600 13px var(--sans); }
.fchip .i { width: 15px; height: 15px; color: var(--ic, currentColor); }
.fchip.tint { background: color-mix(in srgb, var(--t) 14%, transparent); color: var(--t); }
.fchip.on { background: var(--t, var(--text)); color: var(--app); }
.fchip.on .i { color: var(--app); }
.card { background: var(--card); border-radius: 24px; }
.quick { padding: 8px 16px; }
.quick-row { display: flex; align-items: center; gap: 12px; }
.quick input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; font: 500 16px var(--sans); color: var(--text); padding: 0; }
.quick input::placeholder { color: var(--faint); }
.rbtn { width: 36px; height: 36px; border-radius: 18px; border: 0; display: grid; place-items: center; background: var(--sunken); color: var(--muted); margin-left: -4px; flex: none; }
.rbtn .i { width: 17px; height: 17px; }
.rbtn.add { color: var(--faint); }
.rbtn.add.on { background: var(--accent); color: #fff; }
.heard { display: flex; flex-wrap: wrap; gap: 8px; }
.heard:not(:empty) { padding-bottom: 8px; }
.heard span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: var(--sunken); font-size: 13px; font-weight: 600; animation: pop .25s ease-out both; }
.heard .i { width: 12px; height: 12px; color: var(--c, var(--muted)); }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }
.rows { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; padding: 16px; min-height: 64px; border-radius: 18px; background: var(--card); }
.row.just, .mrow.just { animation: rowIn .25s ease-out both; }
@keyframes rowIn { from { transform: translateY(-6px); opacity: 0; } }
.check { width: 26px; height: 26px; flex: none; border-radius: 13px; border: 2.5px solid var(--c, var(--accent)); background: transparent; display: grid; place-items: center; padding: 0; color: var(--app); position: relative; transition: background .2s, border-color .2s, transform .15s; }
.check:hover { transform: scale(1.08); }
.check:active { transform: scale(.9); }
.check .i { width: 13px; height: 13px; }
.row.done .check { background: var(--green); border-color: var(--green); }
.check::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; }
.row.just .check::after { animation: ring .6s ease-out; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row-title { font-size: 16px; font-weight: 500; line-height: 1.3; }
.row.done .row-title { color: var(--muted); text-decoration: line-through; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.row-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.row-meta .i { width: 12px; height: 12px; }
.row-meta .mono { font-size: 12px; font-weight: 500; }
.row-meta .late { color: var(--red); }
.urgent { width: 26px; height: 26px; flex: none; border-radius: 13px; display: grid; place-items: center; color: var(--red); background: rgba(229,72,77,.14); }
.urgent .i { width: 12px; height: 12px; }
.leaves { display: flex; gap: 2px; color: var(--green); }
.leaves .i { width: 12px; height: 12px; }
.leaves .off { color: var(--sunken); }
.sec-label { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 -8px 4px; }
.fab { position: absolute; right: 16px; bottom: 100px; width: 56px; height: 56px; border-radius: 28px; border: 0; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.18); z-index: 2; }
.fab .i { width: 26px; height: 26px; }
.fab:active { transform: scale(.94); }
.toast { position: absolute; left: 50%; bottom: 112px; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--text); color: var(--app); font-size: 17px; font-weight: 700; white-space: nowrap; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.2,1.4,.4,1), opacity .2s; }
.toast .i { width: 20px; height: 20px; color: var(--green); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 88px; padding: 8px 8px 0; display: flex; background: rgba(250,250,252,.94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); z-index: 2; }
.tabbar span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; color: #8E8E93; }
.tabbar .i { width: 26px; height: 26px; }
.tabbar .on { color: var(--accent); }
.homebar { position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #121214; z-index: 3; }

/* ---------- sections ---------- */
.section { padding-top: 140px; }
.head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.head h2 { font-size: clamp(36px, 5.4vw, 60px); }
.head h2 span { color: var(--muted); }
.head .sub { color: var(--muted); font-size: 18px; margin-top: 18px; }

/* bento */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { background: var(--card); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 28px; overflow: hidden; min-width: 0; }
.tile.span2 { grid-column: span 2; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 40px; }
.tile-copy { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-content: start; }
.tile-copy h3 { font: 800 26px/1.15 var(--rounded); letter-spacing: -.02em; }
.tile-copy .num { color: var(--faint); font-size: 13px; padding-top: 6px; }
.tile-copy p { grid-column: 1 / -1; color: var(--muted); }
.tile-art { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; border-radius: 24px; background: var(--app); padding: 24px; }
.delights { text-align: center; color: var(--muted); font-size: 13px; margin-top: 28px; }

/* 01 capture */
.m-capture { display: flex; flex-direction: column; gap: 12px; }
.cap-arrow { text-align: center; font-size: 12px; color: var(--faint); }
.card-row { animation: none; }
.cap-try { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cap-try button { border: 0; background: rgba(255,255,255,.7); border-radius: 999px; padding: 6px 12px; font: 500 12px var(--mono); color: var(--muted); transition: background .2s, color .2s; }
.cap-try button:hover, .cap-try button.on { background: var(--card); color: var(--text); }

/* 02 calendar */
.m-cal { display: flex; flex-direction: column; gap: 14px; }
.m-cal .seg { align-self: flex-start; }
.cal-head { display: flex; align-items: center; gap: 12px; }
.cal-head b { flex: 1; text-align: center; font-size: 17px; font-weight: 700; }
.arrowbtn { width: 32px; height: 32px; border-radius: 16px; display: grid; place-items: center; background: var(--card); font-size: 20px; line-height: 1; color: var(--text); }
.mgrid-cal { background: var(--card); border-radius: 24px; padding: 8px; display: grid; grid-template-columns: repeat(7, 1fr); }
.mgrid-cal .wd { text-align: center; font-size: 12px; font-weight: 600; color: var(--faint); padding: 2px 0 4px; }
.mgrid-cal button { border: 0; background: none; padding: 3px 0; display: flex; flex-direction: column; align-items: center; min-height: 42px; }
.mgrid-cal .n { width: 30px; height: 30px; border-radius: 15px; display: grid; place-items: center; font-size: 15px; font-weight: 400; }
.mgrid-cal .out .n { color: var(--faint); }
.mgrid-cal .today .n { color: var(--accent); font-weight: 700; }
.mgrid-cal .sel .n { background: var(--accent); color: #fff; font-weight: 700; }
.mgrid-cal .dots { display: flex; gap: 3px; height: 6px; margin-top: 2px; }
.mgrid-cal .dots i { width: 5px; height: 5px; border-radius: 3px; background: var(--d); }
.day-label { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.day-label b { font-size: 16px; }
.day-label b.today { color: var(--accent); }
.day-label span { font-size: 13px; font-weight: 600; color: var(--muted); }
.m-cal .row { padding: 12px 14px; min-height: 52px; }
.m-cal .row .check { width: 22px; height: 22px; border-width: 2px; }
.m-cal .row-title { font-size: 15px; }
.cal-empty { color: var(--faint); font-size: 15px; }
[data-cal-body] { display: flex; flex-direction: column; gap: 8px; min-height: 300px; }

/* 03 forest */
.m-forest { display: flex; flex-direction: column; gap: 12px; }
.tile-w { background: var(--card); border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.tile-head { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.tile-head span { flex: 1; }
.tile-head b { font-size: 12px; font-weight: 500; }
.tile-head .i { width: 13px; height: 13px; }
.grid22 { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, auto); gap: 3px; margin: 4px 0; }
.grid22 i { aspect-ratio: 1; border-radius: 3.5px; background: var(--sunken); transition: transform .15s; }
.grid22 i.l1 { background: rgba(34,181,102,.35); }
.grid22 i.l2 { background: rgba(34,181,102,.6); }
.grid22 i.l3 { background: var(--green); }
.grid22 i.none { background: transparent; }
.grid22 i:hover { transform: scale(1.5); }
.stat { font-size: 12px; color: var(--muted); }
.cell-tip { text-align: center; font-size: 12px; color: var(--muted); min-height: 18px; }
.fstats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fstats .tile-w { gap: 0; }
.fstats b { font: 800 36px/1.1 var(--rounded); letter-spacing: -1px; }
.fstats span { font-size: 13px; font-weight: 600; color: var(--muted); }
.nextpill { align-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); font-size: 13px; color: var(--muted); font-weight: 600; }
.nextpill b { color: var(--text); }
.nextpill .i { width: 14px; height: 14px; color: var(--accent); }

/* 04 house */
.m-house { background: var(--app); display: flex; flex-direction: column; gap: 14px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-head h4 { font: 800 24px var(--rounded); }
.xbtn { width: 30px; height: 30px; border-radius: 15px; background: #C9C9CF; color: #fff; display: grid; place-items: center; }
.xbtn .i { width: 14px; height: 14px; }
.tiers { display: flex; justify-content: space-between; }
.tier { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--faint); width: 20%; text-align: center; }
.tier i { width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center; background: #E2E2E7; color: var(--faint); transition: background .3s, color .3s; }
.tier i .i { width: 20px; height: 20px; }
.tier.past i { background: var(--card); color: var(--green); }
.tier.cur { color: var(--text); }
.tier.cur i { background: var(--accent); color: #fff; }
.now { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.now .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.now b { font-size: 18px; font-weight: 700; }
.now .mono { font-size: 13px; color: var(--muted); }
.bar { height: 8px; border-radius: 4px; background: var(--sunken); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); transition: width .4s; }
.now p { color: var(--muted); font-size: 14px; }
.soon { padding: 6px 14px; }
.soon-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.soon-row .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sunken); color: var(--muted); flex: none; }
.soon-row .ic .i { width: 16px; height: 16px; }
.soon-row .ic.locked { color: var(--accent); }
.soon-row div { flex: 1; display: flex; flex-direction: column; }
.soon-row b { font-size: 16px; font-weight: 700; }
.soon-row small { font-size: 13px; color: var(--faint); font-weight: 600; }
.soon-row em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; }
.slider { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 4px; }
.slider b { color: var(--text); }
.slider input { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.slider input::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: var(--card); }
.slider input::-moz-range-track { height: 8px; border-radius: 4px; background: var(--card); }
.slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 13px; background: var(--accent); box-shadow: 0 0 0 5px rgba(255,91,31,.18); }
.slider input::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 13px; background: var(--accent); }

/* 05 fire */
.m-fire { display: flex; flex-direction: column; gap: 12px; position: relative; }
.fire-scene { background: linear-gradient(#BFE6FF, #E8F6FF); border-radius: 20px; padding: 10px 10px 0; transition: background .8s; }
.fire-svg { width: 100%; height: auto; }
.fl { transform-origin: 120px 70px; animation: flick .5s ease-in-out infinite alternate; transition: transform .8s, opacity .8s; }
.f2 { animation: flick .35s ease-in-out infinite alternate-reverse; transform-origin: 120px 70px; }
@keyframes flick { to { transform: scale(1.06, .93) skewX(3deg); } }
.steam { fill: rgba(255,255,255,.9); opacity: 0; transition: opacity .5s; }
.m-fire.out .fl { transform: scale(0); opacity: 0; }
.m-fire.out .steam { opacity: 1; animation: steam 2.2s ease-out forwards; }
@keyframes steam { to { transform: translateY(-30px); opacity: 0; } }
.m-fire.out .fire-scene { background: linear-gradient(#CDEBFF, #F2FAFF); }
.bubble { position: relative; background: var(--card); border-radius: 16px; padding: 10px 14px; font-size: 13px; font-weight: 600; }
.m-fire.out .bubble { color: var(--green); }

/* 06 notifications + widget */
.m-notify { display: flex; gap: 16px; align-items: center; justify-content: center; }
.lock { flex: 1.3; max-width: 340px; border-radius: 28px; padding: 18px 12px 14px; background: linear-gradient(160deg, #6BB7F5, #F3A76A 70%, #F28A5B); color: #fff; }
.lock-time { text-align: center; font: 700 52px/1 var(--rounded); letter-spacing: -.02em; margin-bottom: 14px; opacity: .95; }
.notes { display: flex; flex-direction: column; gap: 6px; }
.note { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #121214; }
.reveal.in .note { animation: noteIn .6s cubic-bezier(.2,1.2,.4,1) both; }
.note img { width: 30px; height: 30px; border-radius: 8px; }
.note div { flex: 1; display: flex; flex-direction: column; font-size: 13px; line-height: 1.25; min-width: 0; }
.note b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note span { color: #3A3A40; }
.note em { font-style: normal; font-size: 11px; color: #3A3A40; align-self: flex-start; }
.reveal.in .n1 { animation-delay: .9s; } .reveal.in .n2 { animation-delay: .5s; } .reveal.in .n3 { animation-delay: .1s; }
@keyframes noteIn { from { transform: translateY(-14px) scale(.96); opacity: 0; } }
.widget { flex: 1; max-width: 190px; aspect-ratio: 1; border-radius: 24px; background: var(--card); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.w-head { display: flex; align-items: center; gap: 6px; }
.w-head b { font: 800 16px var(--rounded); flex: 1; }
.w-head span { font-size: 11px; color: var(--muted); }
.w-add { width: 26px; height: 26px; border-radius: 13px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.w-add .i { width: 13px; height: 13px; }
.widget p { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.widget p i { width: 14px; height: 14px; flex: none; border-radius: 7px; border: 2px solid var(--c); }

/* ---------- Mac ---------- */
.mac-band { margin-top: 140px; padding: 120px 0; background: var(--ink); color: var(--ink-text); }
.head.light .sub { color: var(--ink-muted); }
.head.light kbd { background: var(--ink-sunken); color: var(--ink-text); box-shadow: inset 0 -2px 0 rgba(255,255,255,.08); }
/* The real panel: an island that grows out of the notch, centred, with the widget column beside it. */
.mac { --mac-h: 612px; position: relative; width: 100%; height: var(--mac-h); color: var(--ink-text); container-type: inline-size; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #3B2A5E, #8B4A5F 45%, #E3925B); max-width: 1040px; margin: 0 auto; }
.menubar { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 16px; background: rgba(20,14,30,.35); font-size: 13px; position: relative; }
.mb-l, .mb-r { display: flex; align-items: center; gap: 14px; }
.mb-l .i, .mb-r .i { width: 14px; height: 14px; }
.mb-r .i { color: #3DD68C; }
.notch { position: absolute; left: 50%; top: 0; width: 180px; height: 34px; margin-left: -90px; border-radius: 0 0 12px 12px; background: #000; }
.desk { position: relative; z-index: 1; margin-top: -34px; padding-bottom: 56px; }
.mpanel { position: relative; width: 460px; max-width: calc(100% - 24px); margin: 0 auto; transform-origin: 50% 0; transition: transform .6s cubic-bezier(.2,1,.3,1), opacity .4s, filter .6s; }
.mpanel.closed { transform: scale(.39, .07); opacity: 0; filter: blur(8px); }
.isl { background: #000; border-radius: 0 0 28px 28px; padding: 0 14px 16px; display: flex; flex-direction: column; gap: 10px; max-height: calc(var(--mac-h) - 56px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
/* The screen never changes height: the island grows up to it, then the list scrolls. */
.isl > * { flex: none; }
.isl-top { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 0 4px; font-weight: 700; font-size: 13px; }
.isl-top b { display: flex; align-items: center; gap: 7px; }
.isl-top b .i { color: #3DD68C; width: 15px; height: 15px; }
.mcap { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px; border-radius: 18px; background: var(--ink-card); }
.mplus { width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #FFD45C, #FF9A3D); color: var(--ink); flex: none; }
.mplus .i { width: 14px; height: 14px; }
.mcap .ph { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcap .ph em { font-style: normal; color: var(--ink-text); opacity: .75; }
.mset { width: 30px; height: 30px; border-radius: 15px; display: grid; place-items: center; background: var(--ink-sunken); color: var(--ink-muted); }
.mset .i { width: 14px; height: 14px; }
.mtabs-row { display: flex; gap: 8px; overflow: hidden; }
.mtabs { display: flex; padding: 3px; border-radius: 999px; background: var(--ink-card); flex: none; }
.mtabs button { border: 0; background: none; height: 30px; padding: 0 10px; border-radius: 999px; font: 600 13px var(--sans); color: var(--ink-muted); transition: background .2s, color .2s; }
.mtabs button i { font: 500 11px var(--mono); font-style: normal; opacity: .6; margin-left: 3px; }
.mtabs button.on { background: var(--ink-sunken); color: #fff; }
.mtabs button.on i { color: var(--mac); opacity: 1; }
.mchips { display: flex; gap: 6px; }
.mchips span { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--c); background: color-mix(in srgb, var(--c) 16%, #000); white-space: nowrap; }
.mchips .i { width: 13px; height: 13px; }
.isl > .mrows { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.mrows::-webkit-scrollbar { display: none; }
.mrows { display: flex; flex-direction: column; gap: 6px; }
.mrows > * { flex: none; }
.mrows.more { -webkit-mask-image: linear-gradient(#000 calc(100% - 48px), transparent); mask-image: linear-gradient(#000 calc(100% - 48px), transparent); }
.mrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--ink-card); }
.mrow .check { --c: #8D8D95; width: 24px; height: 24px; border-width: 2px; color: var(--ink); }
.mrow.done .check { background: #3DD68C; border-color: #3DD68C; }
.mrow .row-title { font-size: 14px; font-weight: 700; }
.mrow.done .row-title { color: #55555C; text-decoration: line-through; }
.mrow .row-meta { color: var(--ink-muted); font-size: 12px; }
.mrow .row-meta .mono { font-size: 11px; }
.mrow .row-meta .i { width: 11px; height: 11px; }
.mrow .urgent { width: 22px; height: 22px; background: rgba(229,72,77,.2); }
.mlabel { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #55555C; margin: 4px 0 -2px 6px; }
.mhist { align-self: center; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--ink-card); color: var(--ink-muted); font-weight: 600; font-size: 12px; margin-top: 4px; }
.mhist .i { width: 14px; height: 14px; }
.wcol { position: absolute; left: calc(100% + 10px); top: 42px; width: 210px; display: flex; flex-direction: column; gap: 8px; }
.wbtns { display: flex; gap: 6px; }
.wb { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 19px; background: #000; font-weight: 700; font-size: 13px; flex: 1; }
.wb.sq { flex: 0 0 38px; padding: 0; }
.wb .i { width: 14px; height: 14px; }
.wcard { background: #000; border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.wh { display: flex; align-items: center; gap: 6px; color: var(--ink-muted); font-weight: 600; font-size: 12px; }
.wh .i { width: 13px; height: 13px; }
.wh .mono { margin-left: auto; font-size: 10px; }
.wtoday { display: flex; align-items: flex-end; justify-content: space-between; }
.wtoday b { display: block; font: 800 40px/1 var(--rounded); }
.wtoday span { font-size: 11px; color: var(--ink-muted); }
.ringwrap { position: relative; display: grid; place-items: center; }
.ring { --p: .2; width: 60px; height: 60px; border-radius: 50%; background: conic-gradient(from 0deg, var(--mac) calc(var(--p) * 360deg), var(--ink-sunken) 0); -webkit-mask: radial-gradient(circle 23px, transparent 98%, #000 100%); mask: radial-gradient(circle 23px, transparent 98%, #000 100%); }
.ringwrap span { position: absolute; font-size: 12px; font-weight: 600; color: var(--ink-text); }
.wnext { display: flex; align-items: baseline; gap: 8px; }
.wnext b { font: 800 32px/1 var(--rounded); color: #4F8EF7; letter-spacing: -.02em; }
.wnext span { font-size: 11px; color: var(--ink-muted); }
.wtitle { font-weight: 700; font-size: 13px; }
.mgrid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, auto); gap: 3px; }
.mgrid i { aspect-ratio: 1; border-radius: 2px; background: var(--ink-sunken); }
.mgrid i.l1 { background: #1F5B3B; } .mgrid i.l2 { background: #2E9A5E; } .mgrid i.l3 { background: #3DD68C; }
.wfoot { font-size: 11px; color: var(--ink-muted); }
/* No room beside the island: the panel alone, as on a small screen. */
@container (max-width: 940px) { .wcol { display: none; } .mb-r { gap: 8px; } }
@container (max-width: 640px) { .mb-l span, .mb-l b, .mb-r .opt { display: none; } .mpanel { width: 100%; max-width: calc(100% - 16px); } .isl { border-radius: 0 0 22px 22px; padding: 0 10px 12px; } .mcap .ph em { display: none; } .mtabs { overflow-x: auto; max-width: 100%; scrollbar-width: none; } .mchips { display: none; } .desk { padding-bottom: 20px; } }
@media (max-width: 560px) { .mac { --mac-h: 540px; } }
.mac-points { list-style: none; padding: 0; margin: 48px auto 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mac-points li { background: var(--ink-card); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.mac-points .i { width: 22px; height: 22px; color: var(--mac); margin-bottom: 6px; }
.mac-points b { font: 800 18px var(--rounded); }
.mac-points span { color: var(--ink-muted); font-size: 15px; }

/* ---------- privacy ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { background: var(--card); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.fact > .i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 8px; }
.fact h3 { font: 800 19px var(--rounded); }
.fact p { color: var(--muted); font-size: 15px; }

/* ---------- pricing ---------- */
/* Black Friday: one strip above the plans, the old price struck on the lifetime card. */
.deal { max-width: 820px; margin: 0 auto 16px; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 28px; background: var(--accent); color: #fff; }
.deal p { font-size: 16px; line-height: 1.45; color: rgba(255,255,255,.9); }
.deal b { color: #fff; }
.deal-tag { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--text); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.deal-tag .i { width: 15px; height: 15px; color: #FFC233; }
.price s { font-size: .46em; font-weight: 700; color: rgba(255,255,255,.4); margin-right: 12px; vertical-align: .35em; text-decoration-thickness: 3px; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 820px; margin-inline: auto; }
.plan { background: var(--card); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 6px; }
.plan.feat { background: var(--text); color: #fff; }
.plan-name { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.plan.feat .plan-name { color: rgba(255,255,255,.6); }
.save { background: var(--accent); color: #fff; padding: 3px 9px; border-radius: 999px; letter-spacing: .04em; font-size: 11px; }
.price { font: 900 56px/1.1 var(--rounded); letter-spacing: -.03em; margin-top: 18px; }
.price small { font: 500 16px var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan.feat .price small, .plan.feat .billed { color: rgba(255,255,255,.6); }
.billed { font-size: 13px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li .i { width: 16px; height: 16px; color: var(--green); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.compare .col { background: var(--card); border-radius: 32px; padding: 32px; }
.compare .col.prem { background: var(--accent-soft); }
.compare h3 { font: 800 22px var(--rounded); margin-bottom: 18px; }
.compare ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.compare li { display: flex; gap: 12px; align-items: center; }
.compare li .i { width: 20px; height: 20px; color: var(--green); }
.compare .prem li .i { color: var(--accent); }
.fine { text-align: center; color: var(--muted); font-size: 12px; margin-top: 20px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--card); border-radius: 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 24px; font: 800 18px var(--rounded); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mono { color: var(--faint); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.faq summary::after { content: "+"; margin-left: auto; width: 30px; height: 30px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--sunken); font: 500 20px var(--sans); color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px 62px; color: var(--muted); }
.faq details p a { color: var(--text); }

/* ---------- final ---------- */
.final { margin-top: 140px; border-radius: 40px; padding: 72px 24px; text-align: center; color: #fff; background: radial-gradient(90% 120% at 50% 0%, #FF8A4C, var(--accent) 55%, #E04A12); display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final .app-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 20px 40px -12px rgba(80,20,0,.5); }
.final h2 { font-size: clamp(32px, 5vw, 54px); }
.final .meta { color: rgba(255,255,255,.75); margin: 0; }
.final .meta i { background: rgba(255,255,255,.5); }

/* ---------- footer ---------- */
.foot { max-width: var(--wrap); margin: 120px auto 0; padding: 0 24px 40px; }
.foot-in { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.foot .brand { display: flex; align-items: center; gap: 10px; font: 900 20px var(--rounded); text-decoration: none; margin-bottom: 10px; }
.foot .brand img { border-radius: 8px; }
.foot .about p { color: var(--muted); font-size: 14px; max-width: 26em; }
.foot .soon { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-top: 14px; color: var(--accent); }
.foot h4 { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 12px; }
.foot-in > div:not(.about) { display: flex; flex-direction: column; gap: 8px; }
.foot-in a { text-decoration: none; color: var(--muted); font-size: 14px; }
.foot-in a:hover { color: var(--text); }
.copy { color: var(--faint); font-size: 12px; margin-top: 48px; }

/* ---------- page heads, changelog, blog ---------- */
.page-head { text-align: center; padding-top: 72px; margin-bottom: 56px; }
.page-head h1 { font-size: clamp(48px, 8vw, 88px); }
.kicker { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-top: 16px; }
.intro { color: var(--muted); font-size: 17px; max-width: 34em; margin: 22px auto 0; line-height: 1.9; }
.hl { font: 600 14px var(--mono); padding: 3px 9px; border-radius: 8px; background: var(--card); color: var(--text); white-space: nowrap; }
.hl.o { background: var(--accent-soft); color: var(--accent); }
.hl.g { background: var(--green-soft); color: #168A4C; }
.log { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.entry { display: grid; grid-template-columns: 170px 1fr; gap: 32px; scroll-margin-top: 90px; }
.entry aside { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 8px; padding-top: 30px; }
.entry aside .ver { align-self: flex-start; font: 600 13px var(--mono); background: var(--card); padding: 4px 10px; border-radius: 8px; }
.entry aside time { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.entry .body { background: var(--card); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.entry h2 { font: 900 30px/1.1 var(--rounded); letter-spacing: -.025em; }
.entry .body > p { color: var(--muted); font-size: 17px; }
.entry h3 { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-top: 6px; }
.entry ul { margin: -6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.entry li { position: relative; padding-left: 20px; }
.entry li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 4px; background: var(--green); }
.entry li.imp::before { background: var(--accent); }
.entry li b { font-weight: 700; }
.entry .vis { border-radius: 24px; background: var(--app); padding: 24px; display: grid; place-items: center; overflow: hidden; }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.post-card { background: var(--card); border-radius: 32px; padding: 16px 16px 28px; text-decoration: none; display: flex; flex-direction: column; gap: 12px; transition: transform .2s; }
.post-card:hover { transform: translateY(-3px); }
.post-card > :not(.post-art) { margin: 0 12px; }
.post-card h2 { font: 900 26px/1.15 var(--rounded); letter-spacing: -.02em; }
.post-card p { color: var(--muted); }
.post-card .more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent); }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.post-meta span:first-child { color: var(--accent); }
.post-art { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; display: grid; place-items: center; }
.post-art.big { margin: 40px 0; }
.article { max-width: 760px; padding-top: 48px; }
.article .back { display: inline-block; text-decoration: none; color: var(--muted); font-size: 13px; margin-bottom: 32px; }
.article h1 { font-size: clamp(38px, 6vw, 58px); margin-top: 18px; }
.article .lede { color: var(--muted); font-size: 20px; margin-top: 20px; }
.prose { font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 900 30px/1.2 var(--rounded); letter-spacing: -.02em; margin-top: 1.8em; }
.prose h3 { font: 800 21px var(--rounded); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose code { font: 500 .86em var(--mono); background: var(--card); padding: 2px 7px; border-radius: 7px; }
.prose blockquote { margin: 1.4em 0; padding: 20px 24px; border-radius: 22px; background: var(--card); font-weight: 600; }
.prose .examples { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.prose .examples li { background: var(--card); border-radius: 18px; padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 16px; }
.prose .examples code { background: var(--app); }
.prose .examples span { color: var(--muted); font-size: 15px; }
.more-posts { margin-top: 64px; display: flex; flex-direction: column; gap: 8px; }
.more-posts a { background: var(--card); border-radius: 20px; padding: 18px 22px; text-decoration: none; font: 800 18px var(--rounded); display: flex; flex-direction: column; gap: 4px; }
.more-posts a span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.post-cta { margin-top: 48px; background: var(--card); border-radius: 28px; padding: 24px; display: flex; align-items: center; gap: 18px; }
.post-cta img { border-radius: 16px; }
.post-cta div { flex: 1; }
.post-cta b { font: 800 19px var(--rounded); }
.post-cta p { color: var(--muted); font-size: 15px; }
.post-cta .btn { height: 46px; font-size: 15px; }
/* post art: drawn, not photographed */
.art-scene { width: 100%; height: 100%; }

/* legal pages */
.prose-page { padding-top: 56px; }
.doc { max-width: 760px; margin: 0 auto; background: var(--card); border-radius: 32px; padding: 48px; }
.doc h1 { font: 900 44px/1.1 var(--rounded); letter-spacing: -.03em; }
.doc .meta { justify-content: flex-start; margin: 12px 0 28px; }
.doc h2 { font: 800 22px var(--rounded); margin: 32px 0 10px; }
.doc p, .doc li { color: #3A3A40; }
.doc p + p { margin-top: 12px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .tile.span2 { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot .about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .space { margin-left: 0; width: 100%; height: auto; aspect-ratio: 1; }
  .hud { left: 18px; top: 18px; }
  .style-bar { top: 62px; left: 18px; right: auto; }
  .homebtn { right: 18px; bottom: 18px; }
  .stage { padding: 0; display: flex; flex-direction: column; align-items: center; }
  .stage > .phone { position: relative; margin-top: -40px; zoom: .8; }
  .homebtn { bottom: 52px; }
  .bento { grid-template-columns: 1fr; }
  .tile.span2 { grid-column: auto; }
  .plans, .compare, .mac-points, .posts { grid-template-columns: 1fr; }
  .deal { flex-direction: column; align-items: flex-start; gap: 12px; }
  .entry { grid-template-columns: 1fr; gap: 12px; }
  .entry aside { position: static; flex-direction: row; align-items: center; padding-top: 0; }
  .mac-band { padding: 88px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav a { padding: 8px 9px; font-size: 12px; }
  .nav .logo span { display: none; }
  .nav .logo { padding: 4px 6px; }
  .hero { padding-top: 48px; }
  .btn { height: 48px; padding: 0 20px; font-size: 15px; }
  .space { border-radius: 28px; }
  .stage > .phone { zoom: .74; }
  .style-bar { gap: 6px; }
  .seg.dark button { min-width: 32px; padding: 0 6px; }
  .section { padding-top: 96px; }
  .tile, .plan, .compare .col, .entry .body { padding: 22px; border-radius: 26px; }
  .tile-art { padding: 14px; border-radius: 20px; }
  .facts { grid-template-columns: 1fr; }
  .m-notify { flex-direction: column; }
  .widget { max-width: none; width: 100%; aspect-ratio: auto; }
  .lock { max-width: none; width: 100%; }
  .mac { border-radius: 20px; }
  .mrow { padding: 12px; }
  .mrow .row-title { font-size: 15px; }
  .faq summary { padding: 18px; font-size: 16px; gap: 12px; }
  .faq details p { padding: 0 18px 20px; }
  .final { border-radius: 28px; padding: 56px 20px; }
  .doc { padding: 28px 22px; border-radius: 26px; }
  .post-cta { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* blog art for the quick-capture post */
.art-write-tasks-like-you-speak { background: linear-gradient(135deg, #FFE9DF, #EEEEF1); padding: 24px; }
.art-capture { width: min(440px, 100%); }
.art-capture .quick { padding: 10px 18px; }
.fake-input { flex: 1; font-size: 16px; font-weight: 500; line-height: 44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fake-input::after { content: ""; display: inline-block; width: 2px; height: 20px; margin-left: 2px; vertical-align: -4px; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.art-to-do-list-that-grows-a-forest { background: #BFE6FF; }
.nw { white-space: nowrap; }
