/* Dimlight — site styles (shared by the home page and the privacy policy) */

:root {
  color-scheme: light;
  /* Page (day side) */
  --page: #e6e1f5;
  --card: #f4f1fb;
  --card-2: #ffffff;
  --ink: #17153d;
  --ink-2: #3b3866;
  --muted: #6a6791;
  --line: rgba(23, 21, 61, 0.1);
  /* Night panels */
  --night: #0b0e33;
  --night-2: #141850;
  --dusk: #5b3277;
  --cream: #fbf1d9;
  --gold: #f4d995;
  --moon: #c8c3ff;
  --n-text: #e9e6f8;
  --n-muted: #a8a6c9;
  --n-line: rgba(200, 195, 255, 0.14);

  --radius: 32px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --frame: clamp(8px, 1.6vw, 24px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid #6b5cf0; outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1160px, 100% - 2 * var(--gutter)); margin-inline: auto; }

h1, h2, .serif { font-family: var(--serif); font-weight: 350; font-optical-sizing: auto; font-variation-settings: "SOFT" 100, "WONK" 0; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: clamp(38px, 5.4vw, 70px); line-height: 1.02; margin: 0 0 18px; color: var(--ink); }
h2 em { font-style: italic; }
h3 { letter-spacing: -0.01em; }

/* ---------- Night panel (shared by hero, privacy, finale) ---------- */
.night {
  position: relative; overflow: hidden; isolation: isolate;
  margin: var(--frame);
  border-radius: var(--radius);
  color: var(--n-text);
  background:
    radial-gradient(110% 60% at 50% 105%, #7a3f86 0%, rgba(91, 50, 119, .55) 28%, rgba(27, 29, 92, 0) 60%),
    linear-gradient(180deg, #080b2b 0%, #0e1242 40%, #1c1d5e 72%, #33236f 100%);
}
.night h2 { color: var(--cream); }
.night h2 em { color: var(--moon); }
.grain { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .22; mix-blend-mode: overlay; }
.grain svg { width: 100%; height: 100%; }
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 4.5s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.8); } }

/* ---------- Buttons ---------- */
.btn-store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px 10px 17px;
  background: var(--cream); color: #121230;
  border-radius: 16px; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 12px 40px -12px rgba(251, 241, 217, .55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 18px 50px -12px rgba(251, 241, 217, .75); }
.btn-store svg { width: 25px; height: 30px; flex: none; }
.btn-store span { display: grid; line-height: 1.05; text-align: left; }
.btn-store small { font-size: 11px; font-weight: 500; }
.btn-store b { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.btn-store.dark { background: var(--ink); color: var(--cream); box-shadow: 0 12px 30px -14px rgba(23, 21, 61, .6); }

.link-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 15px; background: var(--ink); color: var(--cream); transition: transform .2s; }
.link-btn:hover { transform: translateY(-1px); }
.link-btn.on-night { background: rgba(251, 241, 217, .1); color: var(--cream); border: 1px solid var(--n-line); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: calc(var(--frame) + 14px) 0 auto; z-index: 50; display: flex; justify-content: center; gap: 8px; padding-inline: var(--gutter); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav-mark, .nav-pill { background: rgba(12, 15, 52, .55); border: 1px solid var(--n-line); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); transition: background .3s; }
.nav-mark, .nav-pill { transition: background .3s, border-color .3s, box-shadow .3s; }
/* Once past the dark hero the menu turns to light frosted glass, so it reads over both the page and dark content. */
.nav.solid .nav-mark, .nav.solid .nav-pill { background: rgba(251, 250, 255, .9); border-color: rgba(23, 21, 61, .14); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 14px 34px -14px rgba(23, 21, 61, .45); }
.nav.solid .nav-pill a { color: var(--ink-2); }
.nav.solid .nav-pill a:hover { color: var(--ink); background: rgba(23, 21, 61, .06); }
.nav.solid .nav-pill .nav-cta { background: var(--ink); color: var(--cream); }
.nav.solid .nav-pill .nav-cta:hover { background: #26235c; color: var(--cream); }
.nav-mark { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; }
.nav-mark img { width: 34px; height: 34px; border-radius: 9px; }
.nav-pill { display: flex; align-items: center; gap: 2px; padding: 6px 6px 6px 8px; border-radius: 18px; }
.nav-pill a { padding: 10px 14px; border-radius: 12px; color: #b9b7d8; font-size: 15px; text-decoration: none; transition: color .2s; }
.nav-pill a:hover { color: #fff; }
.nav-pill .nav-cta { margin-left: 8px; background: var(--cream); color: #121230; font-weight: 600; padding: 11px 18px; }
.nav-pill .nav-cta:hover { color: #121230; background: #fff7e4; }

/* ---------- Hero ---------- */
.hero { min-height: max(680px, min(100svh - 2 * var(--frame), 1000px)); display: grid; place-items: center; text-align: center; padding: 130px var(--gutter) calc(clamp(220px, 27vw, 440px) - 20px); }
.hero .copy { position: relative; z-index: 2; }
.hero h1 { color: var(--cream); font-size: clamp(50px, 7.8vw, 122px); line-height: .96; margin: 0 0 22px; text-shadow: 0 0 60px rgba(251, 241, 217, .18); }
.hero p { font-size: clamp(18px, 1.8vw, 22px); color: #e3e0f5; margin: 0 0 34px; }
.scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.scene svg { position: absolute; }
.moon { left: 4.5%; top: 17%; width: clamp(150px, 19vw, 290px); height: auto; filter: drop-shadow(0 0 18px rgba(246, 228, 178, .55)) drop-shadow(0 0 70px rgba(246, 228, 178, .25)); animation: bob 12s ease-in-out infinite; }
.cloud { right: 4%; top: 8%; width: clamp(190px, 21vw, 330px); height: auto; opacity: .95; animation: float 26s ease-in-out infinite; }
.land { left: 0; right: 0; bottom: 0; width: 100%; height: clamp(220px, 27vw, 440px); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@keyframes float { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-24px); } }

/* ---------- Statement + demo ---------- */
.statement { padding: clamp(100px, 13vw, 170px) 0 clamp(40px, 6vw, 64px); text-align: center; }
.statement h2 { max-width: 980px; margin-inline: auto; }
.statement p { color: var(--muted); font-size: 20px; max-width: 640px; margin: 0 auto; text-wrap: pretty; }

.browser { max-width: 1040px; margin-inline: auto; border-radius: 20px; overflow: hidden; background: #24252f; box-shadow: 0 2px 0 rgba(255, 255, 255, .6) inset, 0 60px 120px -40px rgba(30, 24, 90, .55), 0 0 0 1px rgba(23, 21, 61, .14); }
.chrome { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 12px 16px; background: #2a2b36; border-bottom: 1px solid rgba(0, 0, 0, .35); }
.dots { display: flex; gap: 7px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.url { justify-self: center; width: min(420px, 100%); padding: 6px 12px; border-radius: 8px; background: #1b1c24; color: #a8aabb; font-size: 13px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome-btn { justify-self: end; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: rgba(200, 195, 255, .14); }
.chrome-btn img { width: 18px; height: 18px; border-radius: 5px; }

.compare { position: relative; height: clamp(400px, 56vw, 580px); overflow: hidden; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; --pos: 50%; }
.compare .site { position: absolute; inset: 0; pointer-events: none; }
.compare img { -webkit-user-drag: none; user-select: none; }
.compare .site.dark { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--cream); box-shadow: 0 0 20px rgba(251, 241, 217, .8); pointer-events: none; }
.knob { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: #121230; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.knob svg { width: 22px; height: 22px; }
.compare:has(input:focus-visible) .knob { outline: 3px solid #6b5cf0; outline-offset: 3px; }
.tag { position: absolute; bottom: 16px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; pointer-events: none; transition: opacity .2s; }
.tag.l { left: 16px; background: rgba(12, 15, 52, .85); color: var(--cream); }
.tag.r { right: 16px; background: rgba(255, 255, 255, .92); color: #1f2328; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.demo-note { text-align: center; color: var(--muted); font-size: 15px; margin: 20px 0 0; }

/* The sample website inside the browser */
.site { --bg: #fff; --head: #fafbfc; --tx: #1f2328; --title: #12161b; --sub: #6a737d; --nv: #4a5560; --rule: #e3e6ea; --quote: #f4f6f8; --qtext: #333a42; --link: #0b62c4;
  background: var(--bg); color: var(--tx); font: 16px/1.6 Georgia, "Times New Roman", serif; overflow: hidden; }
.site.dark { --bg: #1b1c20; --head: #202126; --tx: #d3d6db; --title: #eceef1; --sub: #959ca5; --nv: #aab1b9; --rule: #33353b; --quote: #25272c; --qtext: #c9ccd1; --link: #7fb2f0; }
.site header { display: flex; align-items: center; justify-content: space-between; padding: 13px 22px; border-bottom: 1px solid var(--rule); background: var(--head); font-family: var(--sans); }
.site .logo { font-weight: 800; font-size: 19px; letter-spacing: -0.4px; color: var(--title); }
.site .logo span { color: #d4502b; }
.site nav a { margin-left: 16px; color: var(--nv); font-size: 13px; }
.site article { max-width: 720px; margin: 0 auto; padding: 24px 22px 40px; }
.site .kicker { font: 600 11px/1 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; color: #d4502b; }
.site .t { font-size: clamp(22px, 3.2vw, 31px); line-height: 1.15; font-weight: 700; margin: 10px 0 8px; color: var(--title); }
.site .by { font: 13px var(--sans); color: var(--sub); margin-bottom: 16px; }
.site .photo { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px; }
.site .cap { font: 12px var(--sans); color: var(--sub); margin: 8px 0 14px; }
.site p { margin: 0 0 14px; }
.site .q { margin: 18px 0; padding: 12px 16px; background: var(--quote); border-left: 4px solid #d4502b; font-style: italic; color: var(--qtext); }
.site .lnk { color: var(--link); text-decoration: underline; }

/* ---------- Section heads ---------- */
.section { padding-top: clamp(110px, 14vw, 180px); }
.head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 24px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.head h2 { margin: 0; }
.head p { margin: 0; color: var(--muted); font-size: 19px; text-wrap: pretty; }
.label { display: inline-block; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.label::before { content: "✦"; margin-right: 8px; color: #8a7cf0; }
.night .label { color: var(--gold); }
.night .label::before { color: var(--gold); }

/* ---------- How it works ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way { padding: 12px 12px 30px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.way .txt { padding: 22px 16px 0; }
.way .n { font-family: var(--serif); font-size: 22px; color: #8a7cf0; }
.way h3 { font-size: 22px; margin: 4px 0 8px; }
.way p { margin: 0; color: var(--muted); font-size: 16px; }
.mini { position: relative; aspect-ratio: 16 / 11; border-radius: 20px; overflow: hidden; padding: 22px; display: grid; align-content: start; gap: 10px; background: #1b1c20; }
.mini .bar { height: 9px; border-radius: 5px; background: #3a3c44; }
.mini .w1 { width: 48%; height: 12px; background: #e3e5ea; }
.mini .w2 { width: 90%; } .mini .w3 { width: 74%; } .mini .w4 { width: 58%; }
.mini .img { height: 42%; min-height: 56px; border-radius: 10px; background: url("https://images.unsplash.com/photo-1448518340475-e3c680e9b4be?auto=format&fit=crop&w=700&h=480&q=75") center / cover; }
.mini .code { height: 32%; min-height: 44px; border-radius: 10px; background: #0a1118; border: 1px solid #1f2f3f; }
.mini .pill { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--cream); color: #121230; }
.mini .pill svg { width: 12px; height: 12px; }
.mini.native { background: #0f1720; }
.mini.native .bar { background: #24384d; }
.mini.native .w1 { background: #9fd0ff; }
.mini.already { background: #0e0e10; }
.mini.already .bar { background: #28282e; }
.mini.already .w1 { background: #f4f4f5; }

/* ---------- Screenshot gallery ---------- */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gutter), (100% - 1160px) / 2) 26px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
/* Auto margins center the row when it fits and still let it scroll from the first shot when it doesn't. */
.gallery img:first-child { margin-left: auto; }
.gallery img:last-child { margin-right: auto; }
.gallery img { flex: 0 0 clamp(200px, calc((min(100vw - 2 * var(--gutter), 1160px) - 72px) / 5), 280px); width: auto; min-width: 0; height: auto; aspect-ratio: 1320 / 2868; border-radius: 28px; scroll-snap-align: center; box-shadow: 0 30px 60px -30px rgba(30, 24, 90, .6); background: var(--night); }

/* ---------- Features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; position: relative; padding: 30px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.tile h3 { font-size: 23px; line-height: 1.2; margin: 0 0 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; text-wrap: pretty; }
.tile .art { margin-top: auto; padding-top: 28px; }
.tile.span3 { grid-column: span 3; }
.tile.span4 { grid-column: span 4; }
.tile.dark { background: linear-gradient(160deg, #141850 0%, #0b0e33 100%); border-color: transparent; color: var(--n-text); }
.tile.dark p { color: var(--n-muted); }
.tile.dark h3 { color: var(--cream); }
.tile.split { display: grid; grid-template-columns: 1fr minmax(260px, 330px); gap: 30px; align-items: center; }
.tile.span6 { grid-column: 1 / -1; }
.styles-tile { grid-template-columns: 1fr minmax(280px, 440px); }
.styles-tile .small { font-size: 13.5px; margin-top: 16px; }
.style-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.style-pick button { font: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--card-2); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.style-pick button i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.style-pick [data-style="dim"] i { background: #121212; }
.style-pick [data-style="black"] i { background: #000; }
.style-pick [data-style="soft"] i { background: #303030; }
.style-pick [data-style="warm"] i { background: #211c18; }
.style-pick [data-style="midnight"] i { background: #151b28; }
.style-pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.style-pick button:focus-visible { outline: 2px solid #5b4fd6; outline-offset: 2px; }
/* Colors are the extension's own palettes (colors.js paletteFor), sliders at 0. */
.style-demo { --bg: #121212; --card: #1d1d23; --fg: #dbdbdb; --mu: #a6a6aa; --bd: #33333b;
  padding: 18px; border-radius: 18px; background: var(--bg); border: 1px solid var(--bd); color: var(--fg); box-shadow: 0 30px 60px -28px rgba(11, 14, 51, .55); transition: background .35s, border-color .35s, color .35s; }
.style-demo[data-style="black"] { --bg: #000; --card: #040404; --fg: #d0d0d0; --mu: #9b9ba0; --bd: #19191d; }
.style-demo[data-style="soft"] { --bg: #303030; --card: #303039; --fg: #dbdbdb; --mu: #a6a6aa; --bd: #454552; }
.style-demo[data-style="warm"] { --bg: #211c18; --card: #24201c; --fg: #e3d7be; --mu: #c1a97a; --bd: #3e3830; }
.style-demo[data-style="midnight"] { --bg: #151b28; --card: #1b202a; --fg: #d3d8e2; --mu: #98a2b8; --bd: #2d3546; }
.style-demo * { transition: background .35s, border-color .35s, color .35s; }
.sd-head { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--bd); }
.sd-head b { flex: 1; font-family: var(--serif); font-size: 16px; font-weight: 600; }
.sd-head b span { color: var(--mu); font-weight: 400; }
.sd-head i { width: 34px; height: 7px; border-radius: 4px; background: var(--mu); opacity: .55; }
.sd-kicker { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--mu); }
.sd-title { font-family: var(--serif); font-size: 19px; line-height: 1.2; margin: 4px 0 12px; }
.sd-photo { aspect-ratio: 2.4 / 1; border-radius: 10px; margin-bottom: 12px; background: url("https://images.unsplash.com/photo-1448518340475-e3c680e9b4be?auto=format&fit=crop&w=700&h=300&q=75") center / cover; }
.sd-line { height: 7px; border-radius: 4px; background: var(--fg); opacity: .5; margin-bottom: 8px; }
.sd-line.short { width: 62%; }
.sd-card { margin-top: 12px; padding: 12px 12px 4px; border-radius: 10px; background: var(--card); border: 1px solid var(--bd); }
.sd-card .sd-line { background: var(--mu); }
.ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: var(--card-2); border: 1px solid var(--line); color: #5b4fd6; }
.ico svg { width: 22px; height: 22px; }
.big-num { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 400; letter-spacing: -0.04em; font-size: clamp(56px, 6vw, 84px); line-height: .9; color: var(--ink); margin-bottom: 8px; }

/* Popup mock (mirrors the real toolbar popup) */
.popup { padding: 16px; border-radius: 18px; background: #26272e; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8); color: #eceef1; font-size: 14px; }
.popup header { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.popup header img { width: 24px; height: 24px; border-radius: 6px; }
.popup header strong { flex: 1; font-size: 15px; }
.switch { position: relative; width: 42px; height: 26px; border-radius: 999px; border: 0; padding: 0; background: #34c759; cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 19px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: left .2s; }
.switch[aria-checked="false"] { background: #4a4b55; }
.switch[aria-checked="false"]::after { left: 3px; }
.popup .host { font-weight: 600; font-size: 15px; }
.popup .status { color: #a3a6b2; font-size: 13px; margin: 2px 0 12px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 10px; background: #1a1b20; gap: 2px; }
.seg button { font: inherit; font-size: 13px; font-weight: 500; padding: 7px 4px; border: 0; border-radius: 8px; background: transparent; color: #c5c8d1; cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: #4b4f63; color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.popup .hint { color: #8f93a0; font-size: 12.5px; margin: 10px 0 0; min-height: 2.6em; }
.popup.off .seg, .popup.off .hint { opacity: .4; pointer-events: none; }

.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.thumbs figure { margin: 0; }
.thumbs .ph { aspect-ratio: 4 / 3; border-radius: 14px; background: url("https://images.unsplash.com/photo-1448518340475-e3c680e9b4be?auto=format&fit=crop&w=700&h=480&q=75") center / cover; border: 7px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.thumbs figure:last-child .ph { border-color: #1b1c20; }
.thumbs figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }
.devices { display: flex; align-items: flex-end; justify-content: center; gap: 14px; color: var(--moon); }

/* ---------- Privacy band ---------- */
.band { padding: clamp(90px, 11vw, 140px) var(--gutter); text-align: center; margin-top: clamp(110px, 14vw, 180px); }
.band h2 { max-width: 880px; margin-inline: auto; }
.band p { color: #d3d0ec; font-size: 20px; max-width: 600px; margin: 0 auto 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: rgba(12, 15, 52, .55); border: 1px solid var(--n-line); font-size: 15px; }
.chip svg { width: 15px; height: 15px; color: var(--gold); }

/* ---------- Help ---------- */
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.card { padding: 30px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.card h3 { margin: 0 0 18px; font-size: 23px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 12px; background: rgba(23, 21, 61, .06); margin-bottom: 22px; }
.tabs button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--card-2); color: var(--ink); box-shadow: 0 1px 3px rgba(23, 21, 61, .12); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; color: var(--ink-2); }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: var(--cream); font-family: var(--serif); font-size: 19px; }
.steps b { color: var(--ink); font-weight: 600; }
.steps .note { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.panel[hidden] { display: none; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.faq details[open] { background: var(--card-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -52%; font-size: 24px; font-weight: 300; color: var(--muted); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.faq b { color: var(--ink); font-weight: 600; }
.faq a { color: #5b4fd6; }
.contact { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.contact p { margin: 0; color: var(--muted); max-width: 560px; }
.contact strong { display: block; color: var(--ink); font-size: 19px; margin-bottom: 2px; }

/* ---------- Finale ---------- */
.finale { text-align: center; padding: clamp(100px, 13vw, 160px) var(--gutter) clamp(180px, 20vw, 260px); margin-top: clamp(110px, 14vw, 180px); }
.finale .icon { width: 108px; height: 108px; border-radius: 25px; margin: 0 auto 30px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 70px -10px rgba(141, 132, 242, .6); }
.finale h2 { font-size: clamp(44px, 6.6vw, 90px); }
.finale p { color: #d3d0ec; font-size: 20px; margin: 0 auto 34px; }

/* ---------- Footer ---------- */
.footer { padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.footer .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 16px; }
.footer .brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer nav a { color: var(--ink-2); text-decoration: none; }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }

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

/* ---------- Document pages (privacy policy) ---------- */
.doc-hero { padding: 160px var(--gutter) 90px; text-align: center; }
.doc-hero h1 { color: var(--cream); font-size: clamp(46px, 7.4vw, 100px); line-height: .98; margin: 0 0 16px; }
.doc-hero p { margin: 0; color: var(--n-muted); }
.doc { width: min(760px, 100% - 2 * var(--gutter)); margin: 64px auto 0; }
.doc .summary { padding: 28px 30px; border-radius: 28px; background: var(--card-2); border: 1px solid var(--line); font-size: 18px; color: var(--ink-2); }
.doc .summary strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.15; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.03em; font-variation-settings: "SOFT" 100; }
.doc h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 56px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc li b { color: var(--ink); }
.doc a { color: #5b4fd6; }
.doc h3 { font-size: 20px; margin: 28px 0 6px; }
.doc ol { padding-left: 22px; }
.doc ol li { margin-bottom: 10px; }
.doc .small { font-size: 14.5px; color: var(--muted); }
.doc .link-btn { color: var(--cream); }
.doc .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 28px 0 0; }
.doc .cta-row .small { margin: 0; }
.doc .quote { padding: 18px 22px; border-left: 3px solid #8a7cf0; background: var(--card); border-radius: 0 16px 16px 0; }
.doc .tip { padding: 18px 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; color: var(--ink-2); }
.press-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.press-shots img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 20px 40px -24px rgba(30, 24, 90, .6); background: var(--night); }
.press-shots.wide { grid-template-columns: repeat(2, 1fr); }
.press-shots.wide img { border-radius: 12px; }
.guide-list { list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.guide-list a { display: block; padding: 22px 24px; border-radius: 22px; background: var(--card-2); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s; }
.guide-list a:hover { transform: translateY(-2px); }
.guide-list b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 4px; }
.guide-list span { color: var(--ink-2); }
.doc-end { margin: 64px 0 0; padding: 40px 28px; border-radius: 28px; text-align: center; }
.doc-end h2 { color: var(--cream); margin: 0 0 10px !important; }
.doc-end p { color: var(--n-muted) !important; margin: 0 0 24px; }
.doc-end .btn-store { display: inline-flex; }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .press-shots, .press-shots.wide { grid-template-columns: 1fr; }
  .press-shots img { max-width: 320px; margin: 0 auto; }
  .press-shots.wide img { max-width: 100%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .head { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .way { display: grid; grid-template-columns: minmax(0, 260px) 1fr; align-items: center; padding: 12px; }
  .way .txt { padding: 8px 16px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.span3 { grid-column: span 1; }
  .tile.span4 { grid-column: 1 / -1; }
  .styles-tile { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .gallery img { flex-basis: 220px; }
  /* Phones: just the app icon and one button, no pill around the button. */
  .nav-pill a:not(.nav-cta) { display: none; }
  .nav-pill, .nav.solid .nav-pill { padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-mark { width: 50px; height: 50px; border-radius: 16px; }
  .nav-pill .nav-cta { margin-left: 0; height: 50px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 16px; font-size: 16px; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .55); }
  .nav.solid .nav-pill .nav-cta { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 10px 24px -10px rgba(23, 21, 61, .6); }
  .hero { min-height: 0; padding: 200px var(--gutter) 200px; }
  .moon { left: 18px; top: 88px; width: 96px; }
  .cloud { right: -36px; top: 96px; width: 170px; opacity: .85; }
  .way { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile.split { grid-template-columns: 1fr; }
  .chrome { grid-template-columns: 50px 1fr 50px; padding: 10px 12px; }
  .dots i { width: 10px; height: 10px; }
  .site header { padding: 11px 14px; }
  .site nav a { margin-left: 10px; font-size: 12px; }
  .site article { padding: 18px 14px 30px; font-size: 15px; }
  .compare { height: 470px; }
  .tag { bottom: 12px; }
  .tag.l { left: 12px; } .tag.r { right: 12px; }
}
@media (max-width: 420px) {
  .site nav a:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .twinkle, .moon, .cloud { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
