/* Tidily site styles. System fonts only, no external requests. */

:root {
  --bg: #FFFFFF;
  --surface: #F6F7F9;
  --surface-2: #F1F3F6;
  --ink: #111111;             /* 18.9:1 on white */
  --muted: #3A3F47;           /* 10.6:1 on white, 9.7:1 on --surface-2 */
  --line: #E2E5EA;
  --accent: #1A6BEF;          /* buttons and fills, white text on it is 4.8:1 */
  --accent-ink: #1452C8;      /* blue text and links, 6.6:1 on white */
  --on-accent: #FFFFFF;
  --sky: #0096FA;
  --deep: #263FEE;
  --warm: #F26A21;            /* broom orange, small accents only */
  --before: #B3261E;
  --after: #1D7A3A;
  --phone: #0F172A;
  --glow: linear-gradient(160deg, rgba(0, 150, 250, .20), rgba(38, 63, 238, .20));
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px rgba(15, 23, 42, .10);
  --radius: 20px;
  --max: 1120px;
  --text: 1.0625rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 50;
}
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.2rem; letter-spacing: -0.01em; min-height: 44px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; font-size: .95rem; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--accent-ink); }
@media (max-width: 720px) { .nav .wide-only { display: none; } .nav a { padding: 10px 8px; } }

/* Buttons and pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-ink); }
.btn[hidden], .soon[hidden] { display: none; }
.pill-icon { width: 28px; height: 28px; border-radius: 22.37%; flex: none; margin-left: -8px; }
.btn-ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.soon {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 20px;
  border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 650; font-size: 1rem;
}

.eyebrow { color: var(--accent-ink); font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .75em; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -200px; top: -160px; width: 720px; height: 720px;
  border-radius: 50%; background: var(--glow); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 13em; font-size: clamp(2.1rem, 5.4vw, 3.7rem); margin-bottom: .45em; }
.hero-promise { display: flex; align-items: flex-start; gap: 10px; font-size: clamp(1.2rem, 2.3vw, 1.45rem); font-weight: 700; line-height: 1.35; color: var(--ink); margin: 0 0 .7em; max-width: 30em; }
.hero-promise svg { flex: none; width: 1.15em; height: 1.15em; margin-top: .12em; color: var(--accent-ink); }
.hero-sub { font-size: 1.02rem; color: var(--muted); max-width: 34em; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
@media (max-width: 860px) {
  .hero { padding: 32px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero::before { right: -320px; top: 260px; }
}

/* iPhone-style frame built in CSS: slim bezel, Dynamic Island.
   .phone is a size container, so its children scale with the frame (cqw). */
.phone {
  position: relative; width: 100%; max-width: 280px; margin: 0 auto;
  container-type: inline-size;
  aspect-ratio: 1000 / 2094;              /* 600x1304 screen plus a 3.4% bezel */
  border-radius: 17% / 8.1%;
  background: #0B0B0C;
  box-shadow: var(--shadow), 0 0 0 1.5px #4A4A4D, 0 0 0 3px #2A2A2C, inset 0 0 0 1px rgba(255,255,255,.06);
}
.phone::before {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 6cqw;
  width: 30cqw; height: 8.6cqw; transform: translateX(-50%); border-radius: 999px; background: #000;
}
.phone > img, .phone > .demo {
  position: absolute; left: 3.4cqw; top: 3.4cqw; width: calc(100% - 6.8cqw); height: calc(100% - 6.8cqw);
  border-radius: 13.6cqw; object-fit: cover;
}

/* Hero demo: an HTML recreation of the app, sized in cqw so it scales with the phone.
   Colours match the iOS app (teal, green, red on white and #F2F2F7). Numbers are an example. */
.demo { background: #fff; color: #000; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; line-height: 1.25; }
.d-status { position: absolute; z-index: 3; top: 5cqw; left: 10cqw; right: 9cqw; display: flex; justify-content: space-between; align-items: center; font-size: 3.6cqw; font-weight: 600; }
.d-batt { width: 6.4cqw; height: 3cqw; border-radius: .9cqw; border: .45cqw solid #000; background: linear-gradient(90deg, #000 70%, transparent 70%); background-clip: content-box; padding: .35cqw; }
.d-scene { position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column; padding: 17cqw 6cqw 6cqw; opacity: 0; transform: translateX(10%); pointer-events: none; }
.d-scene.is-on { opacity: 1; transform: none; transition: opacity .4s ease .12s, transform .5s cubic-bezier(.2,.7,.2,1) .12s; }
.d-scene.is-out { opacity: 0; transform: translateX(-10%); transition: opacity .2s ease, transform .3s ease; }
.d-title { font-size: 7.2cqw; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 2cqw; }
.d-sub { font-size: 3.8cqw; color: #6C6C70; margin: 0 0 4cqw; }
.d-nav { text-align: center; font-size: 4.2cqw; font-weight: 600; margin: 0 0 5cqw; }

.d-free { font-size: 3.8cqw; color: #6C6C70; margin: 0 0 1.4cqw; }
.d-free b { color: #DC2626; }
.d-redline { height: .8cqw; border-radius: 1cqw; background: #DC2626; margin-bottom: 8cqw; }
.d-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-top: 3cqw; }
.d-goal { background: #F2F2F7; border-radius: 4cqw; padding: 3.6cqw 3.4cqw; min-height: 30cqw; display: flex; flex-direction: column; justify-content: flex-end; font-size: 4cqw; font-weight: 600; }
.d-goal small { display: block; margin-top: 1.2cqw; font-size: 3.4cqw; font-weight: 500; color: #8E8E93; }
.d-goal.pressed { background: #DCE7FB; }

.d-scan { justify-content: center; text-align: center; }
.d-progress { height: 2cqw; border-radius: 2cqw; background: #E5E5EA; overflow: hidden; }
.d-progress i, .d-goalbar i { display: block; height: 100%; background: #059669; transform: scaleX(0); transform-origin: left center; border-radius: inherit; }
.d-scan.is-on .d-progress i { transform: scaleX(1); transition: transform 1.3s cubic-bezier(.4,0,.2,1) .2s; }

.d-rows { display: grid; gap: 3cqw; }
.d-row { display: flex; align-items: center; gap: 3cqw; background: #F2F2F7; border-radius: 4cqw; padding: 5.4cqw 4cqw; font-size: 4cqw; font-weight: 600; opacity: 0; transform: translateY(6cqw); }
.d-row b { margin-left: auto; font-weight: 700; }
.d-ic { width: 7cqw; height: 7cqw; border-radius: 1.6cqw; background: #1A6BEF; flex: none; }
.d-row:nth-child(2) .d-ic { background: #5B93F2; }
.d-row:nth-child(3) .d-ic { background: #8DB4F6; }
.d-row:nth-child(4) .d-ic { background: #BCD3FA; }
.d-found.is-on .d-row { opacity: 1; transform: none; transition: opacity .4s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.d-found.is-on .d-row:nth-child(2) { transition-delay: .12s; }
.d-found.is-on .d-row:nth-child(3) { transition-delay: .24s; }
.d-found.is-on .d-row:nth-child(4) { transition-delay: .36s; }
.d-row.pressed { background: #DCE7FB; }

.d-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; }
.v-tile { position: relative; height: 34cqw; border-radius: 3cqw; box-shadow: inset 0 0 0 .7cqw #1A6BEF; overflow: hidden; }
/* Demo thumbnails: frames from the adult-only sample media. */
.t1 { background: #D9D2C5 url(/assets/screens/thumb-1.webp) center / cover; }
.t2 { background: #D9D2C5 url(/assets/screens/thumb-2.webp) center / cover; }
.t3 { background: #D9D2C5 url(/assets/screens/thumb-3.webp) center / cover; }
.t4 { background: #D9D2C5 url(/assets/screens/thumb-4.webp) center / cover; }
.t5 { background: #D9D2C5 url(/assets/screens/thumb-5.webp) center / cover; }
.t6 { background: #D9D2C5 url(/assets/screens/thumb-6.webp) center / cover; }
.v-play { position: absolute; left: 2cqw; top: 2cqw; width: 5cqw; height: 5cqw; border-radius: 50%; background: rgba(0,0,0,.35); display: grid; place-items: center; }
.v-play svg { width: 2.8cqw; height: 2.8cqw; }
.v-check { position: absolute; right: 2cqw; top: 2cqw; width: 5.4cqw; height: 5.4cqw; border-radius: 50%; background: #1A6BEF; }
.v-check::after { content: ""; position: absolute; left: 1.9cqw; top: .9cqw; width: 1.3cqw; height: 2.6cqw; border: solid #fff; border-width: 0 .6cqw .6cqw 0; transform: rotate(45deg); }
.v-tile small { position: absolute; left: 2cqw; bottom: 1.6cqw; color: #fff; font-size: 3cqw; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.v-keep { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.8); background: #fff; color: #000; font-style: normal; font-size: 3cqw; font-weight: 600; padding: 1cqw 2.6cqw; border-radius: 999px; opacity: 0; transition: opacity .25s ease, transform .25s ease; }
.v-tile.kept { box-shadow: none; }
.v-tile.kept .v-check { background: rgba(255,255,255,.75); }
.v-tile.kept .v-check::after { display: none; }
.v-tile.kept .v-keep { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.d-btn { display: block; text-align: center; border-radius: 3.6cqw; padding: 3.8cqw; font-size: 4cqw; font-weight: 600; margin-top: 2.4cqw; }
.d-grid .d-btn-soft, .d-shrink .d-btn-blue { margin-top: auto; }
.d-btn-soft { background: #F2F2F7; color: #1A6BEF; }
.d-btn-red { background: #DC2626; color: #fff; }
.d-btn-blue { background: #1A6BEF; color: #fff; }
.d-btn.pressed { opacity: .75; }

.d-sizes { font-size: 9.6cqw; font-weight: 800; letter-spacing: -0.02em; margin: 1cqw 0 3cqw; font-variant-numeric: tabular-nums; white-space: nowrap; }
.d-before { color: #DC2626; }
.d-after { color: #059669; }
.d-arrow { color: #8E8E93; font-size: 5cqw; margin: 0 1.6cqw; }
.d-seg { display: flex; background: #E5E5EA; border-radius: 2.4cqw; padding: .8cqw; }
.d-seg span { flex: 1; text-align: center; font-size: 3.6cqw; padding: 2cqw 0; }
.d-seg .on { background: #fff; border-radius: 1.8cqw; font-weight: 600; }

.d-done { justify-content: center; align-items: center; text-align: center; }
.d-note { font-size: 3.6cqw; color: #6C6C70; margin: 8cqw 2cqw 0; opacity: 0; }
.d-done.is-on .d-note { opacity: 1; transition: opacity .4s ease 1.7s; }
.d-vids { display: grid; gap: 2.6cqw; margin-top: 6cqw; }
.d-vid { display: flex; align-items: center; gap: 2.6cqw; font-size: 4cqw; font-weight: 700; font-variant-numeric: tabular-nums; }
.d-vid i { width: 11cqw; height: 11cqw; border-radius: 2.4cqw; flex: none; }
.d-vid b { color: #DC2626; }
.d-vid em { font-style: normal; color: #8E8E93; font-weight: 500; }
.d-vid strong { color: #059669; }
.d-vid.d-more { font-size: 3.6cqw; font-weight: 500; color: #8E8E93; padding-left: 13.6cqw; }
.d-tick { position: relative; width: 18cqw; height: 18cqw; border-radius: 50%; background: #059669; margin-bottom: 5cqw; transform: scale(.4); opacity: 0; }
.d-tick::after { content: ""; position: absolute; left: 6.6cqw; top: 3.4cqw; width: 4.2cqw; height: 8.4cqw; border: solid #fff; border-width: 0 1.4cqw 1.4cqw 0; transform: rotate(45deg); }
.d-done.is-on .d-tick { transform: none; opacity: 1; transition: transform .5s cubic-bezier(.3,1.5,.5,1) .15s, opacity .3s ease .15s; }
.d-goalbar { width: 100%; height: 2.4cqw; border-radius: 2cqw; background: #E5E5EA; overflow: hidden; margin-top: 2cqw; }
.d-done.is-on .d-goalbar i { transform: scaleX(1); transition: transform 1.1s cubic-bezier(.4,0,.2,1) .4s; }
.d-reached { font-size: 4cqw; font-weight: 600; color: #059669; margin: 3cqw 0 0; opacity: 0; }
.d-done.is-on .d-reached { opacity: 1; transition: opacity .4s ease 1.4s; }

/* Demo opening: iOS update screen, storage alert, home screen, then the app opens.
   Drawn in HTML. Neutral app squares only, no real app icons. */
.d-ios { background: #F2F2F7; }
.d-ios-back { color: #007AFF; font-size: 3.9cqw; margin: 0 0 3cqw; }
.d-ios-title { font-size: 7.6cqw; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 5cqw; }
.d-ios-card { background: #fff; border-radius: 4.4cqw; padding: 4.4cqw; }
.d-ios-head { display: flex; align-items: center; gap: 3.4cqw; margin-bottom: 3cqw; }
.d-ios-head b { display: block; font-size: 4.2cqw; }
.d-ios-head small { display: block; font-size: 3.3cqw; color: #8E8E93; margin-top: .6cqw; }
.d-ios-gear { width: 12cqw; height: 12cqw; border-radius: 2.8cqw; background: radial-gradient(circle at 50% 50%, #F2F2F7 22%, #8E8E93 24% 46%, transparent 48%), linear-gradient(160deg, #A1A1A6, #6E6E73); flex: none; }
.d-ios-text { font-size: 3.5cqw; color: #3A3A3C; margin: 0; }
.d-ios-btn { display: block; margin-top: 5cqw; text-align: center; background: #fff; color: #007AFF; font-size: 4.1cqw; font-weight: 600; border-radius: 4.4cqw; padding: 4cqw; }
.d-ios-btn.pressed { background: #E5E5EA; }

.d-board { background: linear-gradient(165deg, #BFE1FF 0%, #CBD3FB 50%, #E6EAFF 100%); padding-top: 19cqw; }
.d-board.is-out { transform: none; transition: opacity .3s ease; }
.d-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7cqw 5cqw; padding: 0 1cqw; }
.d-app { display: block; aspect-ratio: 1; border-radius: 22.37%; box-shadow: 0 .6cqw 1.6cqw rgba(0,0,0,.08); }
.a1 { background: linear-gradient(150deg, #9FC2D9, #6E9FC0); }
.a2 { background: linear-gradient(150deg, #F5F0E8, #E3DBCF); }
.a3 { background: linear-gradient(150deg, #B6D3B0, #86B07F); }
.a4 { background: linear-gradient(150deg, #E9C3A9, #D69A78); }
.a5 { background: linear-gradient(150deg, #C9C1E0, #9F95C8); }
.a6 { background: linear-gradient(150deg, #F2DB9A, #E3BF63); }
.a7 { background: linear-gradient(150deg, #A9D6D2, #74B5AF); }
.a8 { background: linear-gradient(150deg, #E6B3B3, #CF8C8C); }
.d-tidily { position: relative; box-shadow: none; }
.d-tidily img { width: 100%; height: 100%; border-radius: 22.37%; box-shadow: 0 .6cqw 1.6cqw rgba(0,0,0,.12); }
.d-tidily small { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 1.2cqw; font-size: 2.8cqw; font-weight: 500; color: #1C1C1E; white-space: nowrap; }
.d-tidily.pressed img { opacity: .7; }
.d-dock { position: absolute; left: 4cqw; right: 4cqw; bottom: 5cqw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5cqw; padding: 3.6cqw 4cqw; border-radius: 8cqw; background: rgba(255,255,255,.35); }

.d-alert { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(0,0,0,.22); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.d-alert-box { width: 74cqw; border-radius: 5cqw; background: rgba(245,245,247,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); text-align: center; overflow: hidden; transform: scale(1.12); opacity: 0; box-shadow: 0 2cqw 8cqw rgba(0,0,0,.12); }
.d-alert.show { opacity: 1; transition: opacity .25s ease; }
.d-alert.show .d-alert-box { transform: none; opacity: 1; transition: transform .32s cubic-bezier(.2,.9,.3,1.05), opacity .2s ease; }
.d-alert-title { font-size: 4.2cqw; font-weight: 600; margin: 5cqw 5cqw 1.4cqw; }
.d-alert-body { font-size: 3.4cqw; color: #1C1C1E; margin: 0 5cqw 4.4cqw; line-height: 1.3; }
.d-alert-btns { display: flex; border-top: 1px solid rgba(60,60,67,.29); }
.d-alert-btns span { flex: 1; padding: 3.4cqw 0; font-size: 4cqw; color: #007AFF; }
.d-alert-btns span + span { border-left: 1px solid rgba(60,60,67,.29); }
.d-alert-ok { font-weight: 600; }
.d-alert-ok.pressed { background: rgba(0,0,0,.06); }

/* App-open zoom: JS sets the start transform at the icon, then removes it */
.d-scene.d-zoom { transition: none; opacity: 1; }
.d-scene.d-zoom-go { transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }

/* Tap indicator: JS moves it with transform, the ring pulses on press */
.d-tap { position: absolute; z-index: 4; left: 0; top: 0; width: 11cqw; height: 11cqw; margin: -5.5cqw 0 0 -5.5cqw; border-radius: 50%; background: rgba(28,28,30,.16); box-shadow: 0 0 0 .6cqw rgba(255,255,255,.95), 0 1cqw 3cqw rgba(0,0,0,.18); opacity: 0; transition: transform .6s cubic-bezier(.3,.7,.2,1), opacity .3s ease, scale .15s ease; }
.d-tap.show { opacity: 1; }
.d-tap.press { scale: .82; }
.d-tap::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: .6cqw solid rgba(26,107,239,.7); opacity: 0; }
.d-tap.press::after { animation: tapring .6s ease-out; }
@keyframes tapring { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }

.demo-caption { text-align: center; font-size: .75rem; font-weight: 400; color: var(--muted); margin: 8px 0 0; }

.hero-art { position: relative; }
/* Static "Privacy first" stamp beside the hero phone. No animation. */
.privacy-stamp {
  position: absolute; z-index: 2; left: max(0px, calc(50% - 206px)); bottom: 46px;
  width: 132px; height: 132px; border-radius: 50%; padding: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center;
  background: #fff; color: var(--accent-ink); border: 2.5px solid var(--accent);
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6.5px rgba(26, 107, 239, .35), 0 10px 24px rgba(15, 23, 42, .14);
  transform: rotate(-8deg);
}
.privacy-stamp svg { color: var(--accent); margin-bottom: 2px; }
.privacy-stamp b { font-size: .95rem; font-weight: 800; line-height: 1.1; letter-spacing: .01em; white-space: nowrap; }
.privacy-stamp small { font-size: .72rem; font-weight: 600; line-height: 1.2; color: var(--ink); }
@media (max-width: 860px) {
  .privacy-stamp { position: relative; left: auto; bottom: auto; margin: 14px auto 0; width: 126px; height: 126px; padding: 10px; }
  .privacy-stamp b { font-size: .85rem; }
  .privacy-stamp small { font-size: .68rem; }
}

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.alt { background: var(--surface); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; counter-increment: step; }
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-weight: 800; margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-text { order: 2; }
.feature-text p { color: var(--muted); }
.feature-text ul { padding-left: 1.2em; color: var(--muted); }
.feature-text li { margin-bottom: .4em; }
.feature figure { margin: 0; }
.feature figcaption { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 10px; }
.pair { display: flex; gap: 16px; justify-content: center; }
.pair .phone { max-width: 230px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; }
  .feature.flip .feature-text { order: 0; }
  .pair .phone { max-width: 46%; }
}

.counter-card {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 20px; margin: 18px 0 6px; font-variant-numeric: tabular-nums;
}
.counter-card .before { color: var(--before); font-weight: 800; font-size: 1.6rem; }
.counter-card .after { color: var(--after); font-weight: 800; font-size: 1.6rem; }
.counter-card .arrow { color: var(--warm); font-size: 1.3rem; }
.counter-card .note { flex-basis: 100%; font-size: .75rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.alt .card { background: var(--bg); }
.card p { color: var(--muted); margin: 0; }
.card svg { color: var(--accent-ink); margin-bottom: 12px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }


/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 650; font-size: 1.1rem; position: relative; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-right: 24px; }

.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.article-card:hover, .article-card:focus-within { border-color: var(--accent); box-shadow: var(--shadow); }
.article-card h2, .article-card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.article-card h2 a, .article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h2 a::after, .article-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.article-card a:focus-visible { outline: none; }
.article-card:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.article-card p { color: var(--muted); margin: 0 0 1em; font-size: .97rem; }
.article-card .more { margin-top: auto; color: var(--accent-ink); font-weight: 650; }
.alt .article-card { background: var(--bg); }
@media (max-width: 860px) { .article-list { grid-template-columns: 1fr; } }

/* Prose pages (articles, privacy, support) */
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); }
.meta { color: var(--muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.tested { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 650; font-size: .9rem; margin: 6px 0 18px; }
.tested::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--after); }
.prose { padding-top: 16px; padding-bottom: 72px; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose .path { font-weight: 650; }
.callout { background: var(--surface-2); border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 20px; margin: 1.5em 0; }
.callout p:last-child { margin: 0; }
.prose figure { margin: 2em 0; }
.prose figure .phone { max-width: 250px; }
.prose figcaption { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 10px; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin: 0 0 1em; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; }
.breadcrumb a { color: var(--muted); }

.how-we-test { font-size: .9rem; color: var(--muted); background: var(--surface-2); border-radius: 12px; padding: 12px 16px; margin: 4px 0 8px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 1.5em 0; }
.toc p { font-weight: 700; margin: 0 0 .4em; }
.toc ol { margin: 0; }
.toc li { margin-bottom: .25em; }
.summary { background: var(--surface-2); border-radius: 14px; padding: 18px 20px; margin: 1.5em 0; }
.summary p { margin: 0 0 .5em; font-weight: 700; }
.summary ol { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; background: var(--surface); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--surface-2); font-weight: 700; }
.prose caption { caption-side: bottom; text-align: left; font-size: .8rem; color: var(--muted); padding-top: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.site-footer p { margin: 0; color: var(--muted); }

/* Feature phones: tilt in on reveal; JS sets translate for parallax */
.js .feature figure.reveal .phone { transform: translateY(40px) rotate(-3deg); transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.js .feature figure.reveal .pair .phone:nth-child(2) { transform: translateY(60px) rotate(3deg); transition-delay: .12s; }
.js .feature figure.reveal.in .phone, .js .feature figure.reveal.in .pair .phone:nth-child(2) { transform: none; }

/* Scroll reveal: only hides content when JS is running */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease-out, transform .7s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .feature figure.reveal .phone, .js .feature figure.reveal .pair .phone:nth-child(2) { opacity: 1; transform: none; }
  .feature .phone { translate: none !important; }
}

/* "Check it yourself" card: App Privacy Report steps */
.check-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 24px; margin: 28px 0 20px; max-width: 760px; box-shadow: var(--shadow); }
.check-head { display: flex; gap: 14px; align-items: flex-start; }
.check-head svg { flex: none; color: var(--accent); margin-top: 2px; }
.check-card h2, .check-card h3 { font-size: 1.25rem; margin: 0 0 .3em; }
.check-head p { margin: 0; color: var(--muted); }
.check-steps { margin: 16px 0 14px; padding-left: 1.4em; }
.check-steps li { margin-bottom: .45em; }
.check-result { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; }
.check-facts { list-style: none; padding: 0; margin: 0; }
.check-facts li { position: relative; padding-left: 28px; margin-bottom: .45em; color: var(--muted); }
.check-facts li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@media (max-width: 480px) { .check-card { padding: 18px; } .check-head { gap: 10px; } .check-head svg { width: 26px; height: 26px; } }
