/* Nowshot website: paper, ink and one sun dot. Matches the app's black-and-white theme
   and the App Store showcase. Design canvas and rules: docs/design/website.md */
:root {
  --paper: #f3f0e8;
  --paper-deep: #e9e4d8;
  --print: #fbfaf6;
  --line: #d9d3c5;
  --line-strong: #c9c2b2;
  --ink: #151515;
  --ink-2: #1f1e1b;
  --dark-line: #33312c;
  --muted: #5e5a52;
  --muted-dark: #a9a59c;
  --on-dark: #f6f4ee;
  --sun: #f6c93a;
  --shadow-print: 0 18px 40px rgba(40, 32, 18, 0.18);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: 32px;
  --section: 120px;
  --header: 72px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "PingFang SC", "Hiragino Sans", "Noto Sans", "Noto Sans CJK SC", sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", "Songti SC", Georgia, serif;
}
:lang(zh-Hant) { --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "PingFang TC", "Noto Sans CJK TC", sans-serif; }
:lang(ja) { --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Segoe UI", system-ui, "Noto Sans JP", sans-serif; }
:lang(ko) { --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", system-ui, "Noto Sans KR", sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.section-dark :focus-visible, .site-footer :focus-visible, .plan-member :focus-visible { outline-color: var(--on-dark); }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: fixed; inset-inline-start: 16px; top: -100px; z-index: 100; padding: 14px 18px; border-radius: 12px; background: var(--ink); color: var(--on-dark); }
.skip:focus { top: 16px; }

/* Type */
h1, h2, h3 { text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; }
h1 { margin: 0 0 24px; font-size: clamp(42px, 6.1vw, 80px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
h2 { margin: 0; font-size: clamp(32px, 4.1vw, 54px); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; }
h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.35; font-weight: 650; }
:lang(zh) :is(h1, h2, h3), :lang(ja) :is(h1, h2, h3), :lang(ko) :is(h1, h2, h3) { letter-spacing: 0; word-break: keep-all; }
:lang(ar), :lang(th), :lang(hi), :lang(bn) { letter-spacing: normal !important; }
:lang(ar) :is(h1, h2), :lang(th) :is(h1, h2), :lang(hi) :is(h1, h2), :lang(bn) :is(h1, h2) { line-height: 1.4; }
.lede { margin: 0 0 32px; max-width: 36em; font-size: 18px; line-height: 1.75; color: var(--muted); }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
.note { margin: 20px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.section-dark .kicker, .section-dark .lede, .section-dark .note { color: var(--muted-dark); }

/* Marks and icons */
.dot { display: inline-block; flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
.dot-glow { width: 10px; height: 10px; box-shadow: 0 0 0 4px rgba(246, 201, 58, 0.28); }
.dot-ink { width: 7px; height: 7px; background: var(--ink); }
.sun { position: absolute; border-radius: 50%; background: var(--sun); }
.icon { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon .fill { fill: currentColor; stroke: none; }
.button .icon { stroke-width: 2; }
[dir="rtl"] .icon-out { transform: scaleX(-1); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
  background: var(--ink); color: var(--on-dark); font-size: 16px; font-weight: 600; line-height: 1.25; text-align: center;
  cursor: pointer; transition: background-color 0.18s, transform 0.18s;
}
.button:hover { background: #2e2d2a; }
.button:active { transform: scale(0.97); }
.button-small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); font-weight: 500; }
.button-ghost:hover { background: var(--paper-deep); }
.button-light { background: var(--on-dark); color: var(--ink); }
.button-light:hover { background: #fff; }
.soon { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; margin: 0; padding: 0 22px; border-radius: 999px; background: var(--paper-deep); font-size: 15px; font-weight: 600; }
.soon-dark { min-height: 48px; padding-block: 10px; border-radius: 24px; background: var(--ink-2); color: var(--on-dark); font-size: 14px; font-weight: 500; text-align: start; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 240, 232, 0.9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.28s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-bar { display: flex; align-items: center; gap: 28px; min-height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { border-radius: 9px; }
.brand strong { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.site-nav { display: flex; gap: 26px; margin-inline-start: auto; font-size: 14px; }
.site-nav a { padding: 10px 2px; border-bottom: 2px solid transparent; white-space: nowrap; transition: border-color 0.18s; }
.site-nav a:hover, .site-nav a.is-active { border-bottom-color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.language-menu { position: relative; font-size: 14px; }
.language-menu summary {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 22px; list-style: none; cursor: pointer; white-space: nowrap;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu[open] summary, .language-menu summary:hover { background: var(--paper-deep); }
.language-menu nav {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: min(360px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto;
  padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 16px 36px rgba(40, 32, 18, 0.16);
}
.language-menu nav a { display: block; padding: 10px 12px; border-radius: 10px; }
.language-menu nav a:hover { background: var(--paper-deep); }
.language-menu nav a[aria-current] { background: var(--paper-deep); font-weight: 700; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 64px 104px; }
.hero-copy { min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-art { position: relative; min-width: 0; height: 600px; }
.hero-art .sun { width: 168px; height: 168px; top: 150px; inset-inline-end: 0; }
.print { position: relative; margin: 0; padding: 10px 10px 40px; background: var(--print); box-shadow: var(--shadow-print); }
.print img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.print figcaption { position: absolute; inset-inline-start: 14px; bottom: 11px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.hero-art .print { position: absolute; }
.print-lake { inset-inline-start: 12%; top: 84px; z-index: 2; width: min(340px, 60%); transform: rotate(-6deg); }
.print-sea { inset-inline-end: 6%; top: 8px; z-index: 1; width: min(230px, 40%); padding: 9px 9px 30px; transform: rotate(5deg); }
.print-forest { inset-inline-start: 0; top: 336px; z-index: 3; width: min(240px, 42%); padding: 9px 9px 30px; transform: rotate(-9deg); }
.print-coffee { inset-inline-end: 0; top: 300px; z-index: 4; width: min(270px, 48%); padding: 9px 9px 36px; transform: rotate(7deg); }
[dir="rtl"] .print-lake { transform: rotate(6deg); }
[dir="rtl"] .print-sea { transform: rotate(-5deg); }
[dir="rtl"] .print-forest { transform: rotate(9deg); }
[dir="rtl"] .print-coffee { transform: rotate(-7deg); }
.chip { position: absolute; z-index: 5; inset-inline-start: 8px; bottom: 0; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; border-radius: 22px; background: var(--ink); color: var(--on-dark); font-size: 13px; }
.hero-note { position: absolute; inset-inline-end: 0; bottom: -34px; margin: 0; }

/* Real app screens in a phone bezel (hero and the day-1-to-365 story). */
.screen { position: relative; padding: 8px; border-radius: 46px; background: #121212; box-shadow: 0 0 0 1px #2a2926, 0 28px 56px rgba(40, 32, 18, 0.26); }
.screen > img { width: 100%; aspect-ratio: 540 / 1174; object-fit: cover; border-radius: 38px; background: var(--paper-deep); }
.story-art { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9%; align-items: start; height: auto; padding: 0 4% 72px; }
.hero-art.story-art .sun { width: 150px; height: 150px; top: 40px; inset-inline-end: -10px; }
.phone { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; margin: 0; min-width: 0; }
.phone figcaption { min-height: 2.8em; font-size: 15px; font-weight: 600; line-height: 1.4; }
.phone-today { margin-top: 72px; transform: rotate(-3deg); }
.phone-year { transform: rotate(3deg); }
[dir="rtl"] .phone-today { transform: rotate(3deg); }
[dir="rtl"] .phone-year { transform: rotate(-3deg); }
.later { position: absolute; z-index: 2; left: 50%; bottom: 112px; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; border-radius: 22px; background: var(--ink); color: var(--on-dark); font-size: 14px; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
.story-art .hero-note { inset-inline-end: 4%; bottom: 20px; }

/* Day 1 to day 365 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; min-width: 0; }
.step-label { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 14px; font-weight: 700; }
.step .screen { width: min(250px, 100%); margin-bottom: 26px; }
.step:nth-child(odd) .screen { transform: rotate(-1.5deg); }
.step:nth-child(even) .screen { transform: rotate(1.5deg); }
.step h3 { font-size: 20px; }
.step > p:last-child { margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted); }
/* The card sits over the reminder page's status block, which UI-test sessions leave at "Not checked yet". */
.notice { position: absolute; z-index: 1; top: 61%; inset-inline: -14px; display: flex; gap: 10px; padding: 12px 14px; border-radius: 20px; background: rgba(251, 250, 246, 0.97); box-shadow: 0 14px 30px rgba(40, 32, 18, 0.22); font-size: 12.5px; line-height: 1.4; }
.notice img { width: 32px; height: 32px; border-radius: 8px; }
.notice > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notice-meta { display: flex; justify-content: space-between; gap: 8px; margin: 0; color: var(--muted); font-size: 11.5px; }
.notice strong { font-size: 13px; }

/* Feature index */
.index { border-block: 1px solid var(--line); }
.index-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.index-row a { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 22px 14px; background: var(--paper); font-size: 15px; font-weight: 600; line-height: 1.35; transition: background-color 0.18s; }
.index-row a:hover { background: var(--paper-deep); }

/* Sections */
.section { padding-block: var(--section); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-deep { background: var(--paper-deep); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.section-head > p { margin: 0; font-size: 17px; line-height: 1.8; color: var(--muted); }
.section-dark .section-head > p { color: var(--muted-dark); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split-copy { min-width: 0; }
.split-copy h2 { margin-bottom: 20px; }

/* Revisit */
.card { display: flex; flex-direction: column; gap: 28px; min-width: 0; padding: 40px; border-radius: 28px; background: var(--print); overflow: hidden; }
.card p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--muted); }
.card .note { font-size: 12.5px; }
.card-deep { background: var(--paper-deep); }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.month span { aspect-ratio: 1; border-radius: 12px; background: var(--paper-deep) center / cover no-repeat; }
.month .today { box-shadow: 0 0 0 3px var(--print), 0 0 0 6px var(--sun); }
.years { position: relative; flex: 1; min-height: 360px; }
.years .print { position: absolute; width: 46%; padding: 8px 8px 34px; box-shadow: 0 14px 30px rgba(40, 32, 18, 0.16); }
.years .print img { aspect-ratio: 1; }
.years figcaption { display: flex; align-items: center; gap: 6px; inset-inline-start: 10px; bottom: 8px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.year-a { inset-inline-start: 4%; top: 40px; transform: rotate(-6deg); }
.year-b { inset-inline-start: 27%; top: 0; transform: rotate(3deg); }
.year-c { inset-inline-end: 2%; top: 72px; transform: rotate(-2deg); box-shadow: 0 18px 36px rgba(40, 32, 18, 0.22) !important; }

/* Shuffle */
.gestures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 32px; border: 1px solid var(--dark-line); border-radius: 18px; background: var(--dark-line); overflow: hidden; }
.gestures div { padding: 18px 20px; background: var(--ink); }
.gestures dt { margin-bottom: 4px; font-size: 15px; font-weight: 600; }
.gestures dd { margin: 0; font-size: 14px; color: var(--muted-dark); }
.pill { display: inline-flex; margin: 0; padding: 10px 16px; border-radius: 20px; background: rgba(246, 244, 238, 0.92); color: var(--ink); font-size: 13px; font-weight: 600; }
.shuffle { display: flex; flex-direction: column; align-items: center; gap: 28px; min-width: 0; }
.shuffle .note { margin: 0; }
.shuffle .button { margin-top: 20px; }
.stack { position: relative; width: min(380px, 82%); aspect-ratio: 4 / 5; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.stack .print { position: absolute; inset: 0; padding: 10px 10px 44px; border-radius: 4px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); transition: transform 0.45s var(--ease), opacity 0.3s; }
.stack .print img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; pointer-events: none; }
.stack [data-pos="0"] { z-index: 6; transform: none; }
.stack [data-pos="1"] { z-index: 5; transform: translate(26px, 10px) rotate(5deg); }
.stack [data-pos="2"] { z-index: 4; transform: translate(-24px, 16px) rotate(-6deg); }
.stack [data-pos="3"], .stack [data-pos="4"], .stack [data-pos="5"] { z-index: 1; transform: translate(0, 22px) rotate(2deg); opacity: 0; }
.stack .is-leaving { z-index: 7; transform: translateX(var(--fly, -120%)) rotate(-14deg); opacity: 0; }
.stack .is-dragging { transition: none; }

/* Albums */
.kind { display: flex; flex-direction: column; min-width: 0; padding: 14px 14px 24px; border-radius: 24px; background: var(--print); }
.kind img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; margin-bottom: 18px; }
.kind h3 { margin: 0 8px 8px; font-size: 19px; }
.kind p { margin: 0 8px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* Places */
.map { position: relative; min-width: 0; aspect-ratio: 5 / 4; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); overflow: hidden; }
.map-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #d2cbbb; stroke-width: 1.2; }
.map-lines .road { stroke: #e2dccd; stroke-width: 7; }
.map-lines .trail { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.pin { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translate(-50%, -50%); }
.pin img { width: 76px; height: 76px; border: 4px solid var(--print); border-radius: 50%; object-fit: cover; box-shadow: 0 10px 22px rgba(40, 32, 18, 0.25); }
.pin b { padding: 3px 9px; border-radius: 10px; background: var(--ink); color: var(--on-dark); font-size: 12px; font-variant-numeric: tabular-nums; }
.pin .sun-badge { background: var(--sun); color: var(--ink); }
.pin-a { left: 30%; top: 50%; }
.pin-b { left: 51%; top: 28%; }
.pin-b img { width: 96px; height: 96px; }
.pin-c { left: 78%; top: 44%; }
.pin-c img { width: 66px; height: 66px; }
/* Time Map: the dusk light over the map, a place from another time as a dashed outline, and the time ruler. */
.map-wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246, 201, 58, 0.10), rgba(232, 140, 70, 0.22)); mix-blend-mode: multiply; pointer-events: none; }
.pin.is-ghost img { border: 2px dashed var(--muted); box-shadow: none; filter: grayscale(1); opacity: 0.45; }
.badge-new { margin-inline-start: 4px; padding: 2px 9px; border-radius: 10px; background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 700; }
.time-dock { position: absolute; inset-inline: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 20px; background: var(--ink); color: var(--on-dark); }
.time-part { display: flex; flex: none; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 12px; background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 700; }
.time-ruler { position: relative; flex: 1; min-width: 0; }
.time-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.time-bars i { flex: 1; min-height: 2px; border-radius: 2px; background: var(--muted-dark); }
.time-bars i:nth-child(n+17) { background: var(--sun); }
.time-years { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.time-handle { position: absolute; top: -4px; inset-inline-start: 68%; width: 3px; height: 34px; border-radius: 2px; background: var(--on-dark); }
.map .note { position: absolute; inset-inline-end: 16px; top: 12px; margin: 0; }

/* Share styles */
.artworks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.artwork { margin: 0; min-width: 0; }
.artwork-frame { display: flex; justify-content: center; padding: 36px; border-radius: 28px; background: var(--paper-deep); }
.artwork-frame img { width: 100%; max-width: 360px; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 26px 50px rgba(40, 32, 18, 0.22); }
.artwork figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 14px; }
.artwork figcaption strong { font-weight: 600; }
.artwork figcaption span { color: var(--muted); }
.style-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; padding: 6px; border-radius: 30px; background: var(--paper-deep); }
.style-tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 22px; background: transparent; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color 0.18s, color 0.18s; }
.style-tabs button:hover { background: rgba(21, 21, 21, 0.06); }
.style-tabs [aria-selected="true"], .style-tabs [aria-selected="true"]:hover { background: var(--ink); color: var(--on-dark); }
.styles.is-enhanced .artworks { grid-template-columns: 1fr; }
.styles.is-enhanced .artwork { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; animation: fade 0.28s var(--ease); }
.styles.is-enhanced .artwork figcaption span { display: none; }
.styles.is-enhanced .artwork-frame { padding: 48px; }
.styles.is-enhanced .artwork-frame img { transform: rotate(-1.5deg); }
[dir="rtl"] .styles.is-enhanced .artwork-frame img { transform: rotate(1.5deg); }
.styles.is-enhanced .artwork figcaption { order: -1; flex-direction: column; gap: 10px; margin: 0; padding-top: 12px; }
.styles.is-enhanced .artwork figcaption strong { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; font-weight: 650; }
.styles.is-enhanced .artwork figcaption span { font-size: 15px; }
@keyframes fade { from { opacity: 0; } }

/* Capture and widgets */
.capture { padding-bottom: var(--section); }
.capture article { min-width: 0; padding-top: 24px; border-top: 1px solid var(--ink); }
.capture h3 { margin: 18px 0 10px; font-size: 21px; }
.capture p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--muted); }

/* Watch */
.watch-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.watch-card { display: flex; flex-direction: column; min-width: 0; padding: 32px 28px 30px; border-radius: 28px; background: var(--ink-2); }
.watch { align-self: center; width: 188px; max-width: 80%; margin-bottom: 26px; padding: 8px; border: 3px solid #45433e; border-radius: 50px; background: #000; }
.watch img { width: 100%; border-radius: 40px; }
.watch-card h3 { font-size: 19px; }
.watch-card p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted-dark); }
.watch-details { margin-top: 28px; }
.watch-details p { margin: 0; padding: 22px 24px; border: 1px solid var(--dark-line); border-radius: 20px; font-size: 15px; line-height: 1.7; color: #d9d5cc; }
.watch-details strong { margin-inline-end: 6px; color: var(--on-dark); }

/* Video */
.video-shell { aspect-ratio: 16 / 9; border-radius: 28px; background: var(--ink); overflow: hidden; }
.video-shell video { display: block; width: 100%; height: 100%; }
.video-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }

/* Membership */
.plan { position: relative; min-width: 0; padding: 36px; border-radius: 28px; background: var(--print); overflow: hidden; }
.plan > :not(.sun) { position: relative; }
.plan h3 { margin-bottom: 20px; }
.plan .sun { width: 150px; height: 150px; top: -44px; inset-inline-end: -44px; }
.plan-member { background: var(--ink); color: var(--on-dark); }
.checks { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.6; }
.checks li { display: flex; gap: 12px; }
.checks li::before { content: ""; flex-shrink: 0; width: 6px; height: 11px; margin: 5px 6px 0 5px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan-how { margin: 28px 0 12px; font-size: 14px; color: var(--muted-dark); }
.unlock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.unlock p { margin: 0; padding: 16px 18px; border-radius: 16px; background: var(--ink-2); font-size: 14px; line-height: 1.65; color: #d9d5cc; }
.unlock strong { display: block; margin-bottom: 4px; font-size: 15px; color: var(--on-dark); }

/* Membership: free, member and the real plans page. */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 240px; gap: 24px; align-items: start; }
.plan-shot { margin: 0; }
.plan-shot .screen { transform: rotate(2deg); }
[dir="rtl"] .plan-shot .screen { transform: rotate(-2deg); }
.plan-shot .note { margin-top: 18px; text-align: center; }

/* Privacy */
.principles p { margin: 0; padding-top: 20px; border-top: 1px solid var(--ink); font-size: 15px; line-height: 1.75; color: var(--muted); min-width: 0; }
.principles strong { display: block; margin-bottom: 8px; font-size: 19px; line-height: 1.4; color: var(--ink); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; padding-block: 56px var(--section); border-top: 1px solid var(--line); }
.faq h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 14px; font-size: 18px; font-weight: 600; line-height: 1.45; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 24px; font-weight: 300; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 44em; margin: 0 0 24px; font-size: 16px; line-height: 1.8; color: var(--muted); }

/* Closing and footer */
.closing { padding-block: 112px; text-align: center; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.closing img { border-radius: 18px; box-shadow: 0 0 0 1px var(--dark-line); }
.closing h2 { font-size: clamp(34px, 4.6vw, 58px); }
.closing p { margin: 0; font-size: 17px; color: var(--muted-dark); }
.closing .button, .closing .soon { margin-top: 10px; }
.site-footer { border-top: 1px solid #2b2a26; background: var(--ink); color: var(--muted-dark); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-block: 28px 40px; font-size: 14px; }
.site-footer .brand strong { font-size: 18px; color: var(--on-dark); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-inline-start: auto; }
.site-footer a { color: #d9d5cc; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--on-dark); }

/* Scroll reveal: CSS scroll timelines only, so nothing hides if a script fails. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Narrow desktop: the language button keeps only its globe so long nav labels fit. */
@media (max-width: 1280px) {
  .header-bar { gap: 20px; }
  .language-menu summary { width: 44px; padding: 0; justify-content: center; }
  .language-menu summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Tablet */
@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; padding-block: 48px 96px; }
  .hero-art { width: min(620px, 100%); margin-inline: auto; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .index-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-shot { grid-column: 1 / -1; width: min(240px, 70%); margin-inline: auto; }
  .story-art { width: min(560px, 100%); }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .styles.is-enhanced .artwork { gap: 36px; }
}

@media (max-width: 1080px) {
  html { scroll-padding-top: 132px; }
  .header-bar { flex-wrap: wrap; gap: 10px; padding-top: 8px; }
  .header-actions { margin-inline-start: auto; }
  .site-nav {
    order: 3; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px;
    gap: 6px; overflow-x: auto; scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding: 7px 14px; border: 0; border-radius: 18px; background: var(--paper-deep); }
  .site-nav a:hover { background: var(--line); }
  .site-nav a.is-active { background: var(--ink); color: var(--on-dark); }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; --section: 80px; --header: 60px; }
  html { scroll-padding-top: 124px; }
  .brand strong { font-size: 18px; }
  .brand img { width: 30px; height: 30px; }
  .grid-3 { grid-template-columns: 1fr; gap: 28px; }
  .watch-row {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .watch-row::-webkit-scrollbar { display: none; }
  .watch-card { flex: 0 0 min(300px, 78%); scroll-snap-align: start; padding: 26px 22px; }
  .steps {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 36px var(--gutter) 8px; scroll-padding-inline: var(--gutter);
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { flex: 0 0 min(260px, 72%); scroll-snap-align: start; }
  .step .screen { width: min(220px, 100%); }
  .styles.is-enhanced .artwork { grid-template-columns: 1fr; gap: 20px; }
  .styles.is-enhanced .artwork figcaption { order: 1; }
  .artworks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .artworks .artwork { flex: 0 0 78%; scroll-snap-align: center; }
  .styles.is-enhanced .artworks { display: grid; margin: 0; padding: 0; overflow: visible; }
}

/* Phone */
@media (max-width: 640px) {
  /* Keep the brand and language picker on one row; download remains in the hero and footer. */
  .header-actions > .button { display: none; }
  .language-menu nav { position: fixed; top: calc(var(--header) + 4px); inset-inline: 16px; width: auto; max-height: min(70vh, 520px); }
  .hero { padding-block: 32px 72px; }
  .lede { font-size: 16px; }
  .actions .button, .actions .soon { width: 100%; justify-content: center; }
  .facts { font-size: 12px; gap: 6px 14px; }
  .hero-art { height: 470px; margin-top: 8px; }
  .story-art { height: auto; padding: 0 2% 64px; gap: 7%; }
  .hero-art.story-art .sun { width: 96px; height: 96px; top: 24px; }
  .phone figcaption { font-size: 13px; }
  .phone-today { margin-top: 56px; }
  .screen { padding: 6px; border-radius: 34px; }
  .screen > img { border-radius: 28px; }
  .later { bottom: 92px; font-size: 13px; padding: 8px 12px; }
  .story-art .hero-note { bottom: 14px; }
  .hero-art .sun { width: 112px; height: 112px; top: 0; inset-inline-end: 6px; }
  .hero-art .print { padding: 7px 7px 24px; }
  .print-lake { top: 64px; inset-inline-start: 10%; }
  .print-sea { top: 6px; }
  .print-forest { top: 250px; }
  .print-coffee { top: 228px; }
  .print figcaption { display: none; }
  .chip { bottom: 0; inset-inline-start: 0; font-size: 12px; padding: 8px 12px; }
  .hero-note { bottom: -28px; font-size: 11px; }
  .index-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .index-row::-webkit-scrollbar { display: none; }
  .index .wrap { width: 100%; }
  .index-row a { flex: 0 0 112px; scroll-snap-align: start; padding: 18px 16px; font-size: 14px; }
  .section-head { margin-bottom: 32px; }
  .section-head > p { font-size: 15px; }
  .grid-2 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 24px; gap: 20px; border-radius: 24px; }
  .card h3 { font-size: 19px; }
  .card p { font-size: 14px; }
  .month { gap: 5px; }
  .month span { border-radius: 8px; }
  .month .today { box-shadow: 0 0 0 2px var(--print), 0 0 0 4px var(--sun); }
  .years { min-height: 230px; }
  .years .print { padding: 6px 6px 26px; }
  .years figcaption { font-size: 12px; bottom: 5px; }
  .split { gap: 40px; }
  .gestures div { padding: 14px 16px; }
  .gestures dt { font-size: 14px; }
  .gestures dd { font-size: 13px; }
  .stack { width: min(280px, 76%); }
  .stack .print { padding: 8px 8px 34px; }
  .stack [data-pos="1"] { transform: translate(18px, 8px) rotate(5deg); }
  .stack [data-pos="2"] { transform: translate(-16px, 12px) rotate(-6deg); }
  .grid-4 { gap: 12px; }
  .kind { padding: 10px 10px 16px; border-radius: 20px; }
  .kind img { aspect-ratio: 1; margin-bottom: 12px; border-radius: 12px; }
  .kind h3 { margin: 0 4px 4px; font-size: 16px; }
  .kind p { margin: 0 4px; font-size: 13px; line-height: 1.6; }
  .map { border-radius: 22px; }
  .pin img { width: 56px; height: 56px; border-width: 3px; }
  .pin-b img { width: 70px; height: 70px; }
  .pin-c img { width: 50px; height: 50px; }
  .map .note { inset-inline-end: 12px; top: 8px; font-size: 11px; }
  .time-dock { inset-inline: 10px; bottom: 10px; gap: 8px; padding: 8px 10px; border-radius: 16px; }
  .time-bars { height: 20px; gap: 2px; }
  .artwork-frame, .styles.is-enhanced .artwork-frame { padding: 24px; border-radius: 22px; }
  .style-tabs { display: flex; }
  .style-tabs button { flex: 1; padding: 0 12px; }
  .capture h3 { font-size: 18px; }
  .watch { width: 150px; margin-bottom: 18px; padding: 6px; border-radius: 40px; }
  .watch img { border-radius: 32px; }
  .watch-card h3 { font-size: 17px; }
  .watch-card p, .watch-details p { font-size: 14px; }
  .video-shell { border-radius: 20px; }
  .plan { padding: 24px; border-radius: 22px; }
  .checks { font-size: 15px; gap: 10px; }
  .unlock { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 14px; }
  .principles strong { font-size: 17px; }
  .faq summary { font-size: 16px; min-height: 56px; }
  .faq details p { font-size: 15px; }
  .closing { padding-block: 72px; }
  .closing .button, .closing .soon { width: 100%; justify-content: center; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-links { margin-inline-start: 0; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .button-small { padding: 0 14px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-art { height: 430px; }
  .print-forest { top: 226px; }
  .print-coffee { top: 206px; }
}

/* Privacy and support pages */
.header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; min-height: 80px; padding-block: 16px; }
.information-page .header > nav, .information-page footer nav, .information-languages { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.information-page .header > nav a, .information-page footer nav a, .information-languages a { padding-block: 6px; text-decoration: underline; text-underline-offset: 3px; }
.information-page .header > nav a[aria-current], .information-page footer nav a[aria-current], .information-languages a[aria-current] { font-weight: 700; text-decoration: none; }
.information-page footer.wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 32px 48px; border-top: 1px solid var(--line); }
.information { max-width: 820px; padding-block: 32px 64px; }
.information .eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.information h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.01em; }
.information h2 { font-size: 23px; line-height: 1.5; letter-spacing: 0; }
.information p { font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.information .information-date { color: var(--muted); font-size: 14px; }
.information section { margin-top: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.information-languages { margin-bottom: 44px; font-size: 14px; }
.information-contact { margin-block: 32px; padding: 24px; border-radius: 20px; background: var(--paper-deep); }
.information-contact > a { display: inline-block; padding-block: 16px 4px; font-size: 18px; overflow-wrap: anywhere; text-decoration: underline; }
