/* Eclat site. Mobile first: phones (to 699 px), iPad portrait and small laptops (700–1079 px),
   desktop (1080 px and up). The photos and the apps lead, but every image has a bounded size so
   text always stays the thing you read: black for the app screens, a neutral paper for reading,
   and the gold the apps use for the control under your thumb. */

:root {
  --paper: #ececea;
  --ink: #1a1a19;
  --muted: #55554f;
  --rule: rgba(26, 26, 25, 0.14);
  --black: #000;
  --on-dark: #f4f4f2;
  --on-dark-muted: rgba(255, 255, 255, 0.66);
  --on-dark-rule: rgba(255, 255, 255, 0.14);
  --gold: #d8b45a;
  --gold-ink: #87661a;            /* the gold, dark enough to read on paper */
  --gutter: 20px;
  --max: 70rem;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --measure: 34rem;
  --device: 11.5rem;              /* a phone screen beside text */
  --radius: 1rem;
  color-scheme: light;
}
@media (min-width: 700px) { :root { --gutter: 32px; --device: 13rem; } }
@media (min-width: 1080px) { :root { --gutter: 48px; --device: 16rem; } }

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161615;
    --ink: #ecece8;
    --muted: #a6a69f;
    --rule: rgba(236, 236, 232, 0.13);
    --gold-ink: #d8b45a;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 "Instrument Sans", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans", "Hiragino Sans GB", "Apple SD Gothic Neo", "Microsoft YaHei", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 700px) { body { font-size: 1.0625rem; } }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
/* Grid children never grow past their track (a scrolling row inside must not widen the page). */
.hero > *, .feature > *, .tryout > *, .duo > *, .app-card > * { min-width: 0; }

/* ------------------------------------------------------------ type */

h1, h2, h3 { text-wrap: balance; font-weight: 600; }
.block h2 {
  margin: 0 0 0.75rem; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); line-height: 1.08; letter-spacing: -0.02em;
}
.lede { margin: 0 0 1.75rem; max-width: var(--measure); color: var(--muted); font-size: 1.0625rem; text-wrap: pretty; }
@media (min-width: 700px) { .lede { font-size: 1.125rem; } }
.lede.center { margin-inline: auto; }
.note { font-size: 0.875rem; color: var(--muted); margin: 1.75rem 0 0; max-width: var(--measure); }
.kicker { margin: 0 0 0.6rem; font: 600 0.75rem/1.2 "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.hero .kicker, .dark .kicker, .app-card .kicker { color: var(--gold); }
:lang(zh) .kicker, :lang(ja) .kicker, :lang(ko) .kicker { font-family: inherit; letter-spacing: 0.06em; }
:lang(zh) h1, :lang(ja) h1, :lang(ko) h1, :lang(zh) h2, :lang(ja) h2, :lang(ko) h2 { letter-spacing: 0 !important; line-height: 1.2 !important; }
:lang(zh-Hant) { font-family: "Instrument Sans", system-ui, "PingFang TC", "Heiti TC", "Microsoft JhengHei", sans-serif; }
:lang(zh), :lang(ja), :lang(ko) { letter-spacing: 0; }

/* ------------------------------------------------------------ header */

.top { display: flex; align-items: center; gap: 1rem; padding: 0.9rem var(--edge); }
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 1.0625rem; text-decoration: none; flex: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.top nav { margin-left: auto; display: flex; gap: 1.1rem; font-size: 0.9375rem; }
.top nav a { text-decoration: none; color: var(--muted); padding-block: 0.3rem; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); }
.top nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--gold); }
.top nav .hide-sm { display: none; }
@media (min-width: 700px) { .top nav .hide-sm { display: inline; } .top nav { gap: 1.4rem; } }
body:has(.hero) .top { background: var(--black); color: #fff; }
body:has(.hero) .top nav a { color: rgba(255, 255, 255, 0.62); }
body:has(.hero) .top nav a:hover, body:has(.hero) .top nav a[aria-current="page"] { color: #fff; }

/* ------------------------------------------------------------ buttons */

.apps { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.apps.center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.65rem 1rem; border-radius: 999px; white-space: nowrap;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-weight: 600; font-size: 0.875rem;
}
@media (min-width: 700px) { .store { padding: 0.75rem 1.2rem; font-size: 0.9375rem; } }
.store svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.store:hover { opacity: 0.86; }
.store.alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.hero .store, .dark .store { background: #fff; color: #000; }
.hero .store.alt, .dark .store.alt { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.more { font-weight: 600; text-decoration: none; color: inherit; }
.more::after { content: " →"; color: var(--gold); }
a.more:hover { text-decoration: underline; }

/* ------------------------------------------------------------ phones */

/* An app screen with the device's own thin frame. Its width is always set by its container. */
.device {
  display: block; width: 100%; height: auto; border-radius: 13% / 6%; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 24px 48px -28px rgba(0, 0, 0, 0.7);
}

/* ------------------------------------------------------------ hero */

.hero {
  background: var(--black); color: var(--on-dark); overflow: hidden;
  display: grid; gap: 2.25rem; padding: 1.25rem var(--edge) 0;
}
.hero h1 {
  margin: 0 0 1rem; font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.25rem); line-height: 1.03; letter-spacing: -0.03em;
}
.hero .pitch > p { margin: 0 0 1.5rem; max-width: 32rem; font-size: 1.0625rem; color: var(--on-dark-muted); text-wrap: pretty; }
.hero .pitch > p.small { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.5); margin: 0.9rem 0 0; }
/* Two phones rising out of the bottom edge; the second sits a little higher. */
.pair { display: flex; gap: 0.9rem; align-items: flex-end; justify-self: center; width: min(19.5rem, 84%); margin-bottom: -5.5rem; }
.pair .device { flex: 1; min-width: 0; }
.pair .device + .device { transform: translateY(-1.5rem); }
.pair.single { width: min(11.5rem, 56%); }
@media (min-width: 700px) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 2rem; padding-top: 2.5rem; }
  .hero .pitch { padding-bottom: 4rem; }
  .pair { width: min(21rem, 100%); justify-self: end; align-self: end; margin-bottom: -4.5rem; }
  .pair.single { width: min(12.5rem, 70%); justify-self: center; }
}
@media (min-width: 1080px) {
  .hero { gap: 4rem; padding-top: 3.5rem; }
  .hero .pitch { padding-bottom: 6rem; }
  .hero .pitch > p { font-size: 1.1875rem; }
  .pair { width: 31rem; gap: 1.5rem; margin-bottom: -6rem; }
  .pair .device + .device { transform: translateY(-3rem); }
  .pair.single { width: 17rem; }
}

/* ------------------------------------------------------------ sections */

section.block { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.hero + section.block, .hero + .gallery { padding-top: clamp(5rem, 3rem + 7vw, 9rem); }
.dark { background: var(--black); color: var(--on-dark); }
.dark .lede, .dark .note, .dark .facts dd, .dark p, .dark .dials dd { color: var(--on-dark-muted); }
.dark h2, .dark h3, .dark dt, .dark b { color: var(--on-dark); }
.dark .facts div, .dark .dials div { border-color: var(--on-dark-rule); }
.ruled { border-top: 1px solid var(--rule); }

/* Text beside a phone: stacked on phones (text first), side by side from 700 px. */
.feature { display: grid; gap: 2.5rem; align-items: center; }
.feature > .device, .feature > .phone { width: var(--device); justify-self: center; }
@media (min-width: 700px) {
  .feature { grid-template-columns: minmax(0, 1fr) var(--device); gap: clamp(2.5rem, 6vw, 6rem); }
  .feature.reverse { grid-template-columns: var(--device) minmax(0, 1fr); }
}
@media (max-width: 699px) { .feature.reverse > :first-child { order: 2; } }

.facts { display: grid; gap: 1.25rem 2.5rem; margin: 2.25rem 0 0; }
.facts div { border-top: 1px solid var(--rule); padding-top: 0.9rem; }
.facts dt { font-weight: 600; margin-bottom: 0.2rem; }
.facts dd { margin: 0; color: var(--muted); }
.facts.one { margin-top: 0; gap: 1rem; }
@media (min-width: 700px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts.one { grid-template-columns: 1fr; }
  .facts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------ home: the two apps */

.duo { display: grid; gap: 1rem; }
@media (min-width: 900px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.app-card {
  display: grid; grid-template-columns: 6.75rem minmax(0, 1fr); gap: 1.25rem; align-items: center;
  padding: 1.25rem; border-radius: 1.25rem; background: var(--black); color: var(--on-dark); text-decoration: none;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 700px) { .app-card { grid-template-columns: 9rem minmax(0, 1fr); gap: 1.75rem; padding: 1.75rem; } }
.app-card:hover { transform: translateY(-3px); }
@media (prefers-color-scheme: dark) {
  .app-card, .how figure { box-shadow: inset 0 0 0 1px var(--on-dark-rule); }
  .ruled { border-color: var(--on-dark-rule); }
}
.app-card img { width: 100%; height: auto; border-radius: 13% / 6%; box-shadow: 0 0 0 1px var(--on-dark-rule); }
.app-card h3 { margin: 0 0 0.5rem; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); line-height: 1.15; }
.app-card p { margin: 0 0 0.9rem; color: var(--on-dark-muted); font-size: 0.9375rem; }
.app-card .kicker { margin-bottom: 0.5rem; }

/* ------------------------------------------------------------ the style tryout */

/* The photo has a fixed frame (the scenes are 3:4), so switching never moves the page. On
   phones the styles come first, right above the photo they change; from 900 px the photo stands
   on the left with the styles, the description and the photos beside it. */
.tryout { display: grid; gap: 1.25rem; }
.stage { margin: 0; width: min(100%, 21rem); justify-self: center; }
.t-info { min-height: 5.5rem; }
@media (min-width: 900px) {
  .tryout { grid-template-columns: 22rem minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 3.5rem; row-gap: 1.5rem;
            grid-template-areas: "stage info" "stage styles" "stage scenes"; align-items: start; }
  .stage { grid-area: stage; width: 100%; }
  .t-info { grid-area: info; min-height: 6.5rem; }
  .t-styles { grid-area: styles; }
  .t-scenes { grid-area: scenes; }
}
@media (min-width: 1080px) { .tryout { grid-template-columns: 25rem minmax(0, 1fr); } }
.photo {
  all: unset; display: block; position: relative; width: 100%; aspect-ratio: 3 / 4; cursor: pointer;
  border-radius: 8px; overflow: hidden; background: #1a1a19; touch-action: manipulation;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.photo:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; left: 0.7rem; top: 0.7rem; padding: 0.3rem 0.6rem; border-radius: 999px;
  background: rgba(0, 0, 0, 0.6); color: #fff; font: 600 0.75rem/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.06em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hold { position: absolute; right: 0.7rem; bottom: 0.7rem; padding: 0.3rem 0.6rem; border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: rgba(255,255,255,.85); font-size: 0.75rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.t-info h3 { margin: 0 0 0.25rem; font-size: 1.375rem; line-height: 1.2; }
.t-info .desc { margin: 0; color: var(--muted); max-width: var(--measure); }
.label { margin: 0 0 0.5rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
/* The styles: the app's short codes, as in its picker. One scrolling row on phones. */
.chips { display: flex; gap: 0.4rem; margin: 0 calc(-1 * var(--gutter)); padding: 0.2rem var(--gutter); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .chips { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; } }
.chips button {
  all: unset; flex: none; cursor: pointer; padding: 0.5rem 0.85rem; border-radius: 999px; scroll-snap-align: start;
  border: 1px solid var(--rule); font: 600 0.8125rem/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.04em;
}
.chips button:hover { border-color: var(--ink); }
.chips button[aria-checked="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips button:focus-visible, .scenes button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.scenes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; max-width: 22rem; }
.scenes button { all: unset; cursor: pointer; aspect-ratio: 1; border-radius: 6px; overflow: hidden; opacity: 0.5; transition: opacity 0.2s; }
.scenes button:hover { opacity: 0.85; }
.scenes button[aria-checked="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.scenes img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Every style on the same photo: a scrolling row on phones, a grid of five from 700 px. */
.swatches { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); display: grid; grid-auto-flow: column; grid-auto-columns: 8.5rem; gap: 0.9rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); }
.swatches::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .swatches { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem 1rem; overflow: visible; } }
.swatches li { display: grid; gap: 0.2rem; align-content: start; scroll-snap-align: start; }
.swatches img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; margin-bottom: 0.45rem; background: #1a1a19; }
.swatches b { font: 600 0.8125rem/1.3 "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.04em; }
.swatches span { font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }

/* ------------------------------------------------------------ your style: the steps */

/* Each step: the top of the app screen on a black card, then its text. A scrolling row on
   phones and iPad portrait, three columns from 1080 px. */
.how { list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.25rem; display: grid; grid-auto-flow: column; grid-auto-columns: min(17rem, 78vw); gap: 1rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); counter-reset: step; }
.how::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .how { grid-auto-columns: 19rem; gap: 1.5rem; } }
@media (min-width: 1080px) { .how { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; overflow: visible; } }
.how li { counter-increment: step; scroll-snap-align: start; }
.how figure { margin: 0 0 1.25rem; padding: 1.5rem 0 0; background: var(--black); border-radius: var(--radius); overflow: hidden; height: 17.5rem; display: grid; justify-items: center; align-items: start; }
@media (min-width: 1080px) { .how figure { height: 22rem; padding-top: 2rem; } }
.how figure .device { width: 72%; border-radius: 1.4rem 1.4rem 0 0; box-shadow: 0 0 0 1px var(--on-dark-rule); }
.how h3 { margin: 0 0 0.35rem; font-size: 1.125rem; line-height: 1.3; }
.how h3::before { content: counter(step); display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-right: 0.55rem; border-radius: 50%; background: var(--gold); color: #000; font-size: 0.8125rem; vertical-align: 0.1em; }
.how p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

/* ------------------------------------------------------------ camera: store screenshots, viewfinder */

.gallery { background: var(--black); padding: 0 0 clamp(3rem, 2rem + 4vw, 5rem); }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 11rem; gap: 0.75rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--edge); scroll-padding: 0 var(--edge);
}
.strip::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .strip { grid-auto-columns: 13rem; gap: 1rem; } }
@media (min-width: 1080px) { .strip { grid-auto-columns: minmax(0, 1fr); overflow: visible; } }
.strip img { width: 100%; height: auto; border-radius: 0.9rem; scroll-snap-align: start; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }

.phone { margin: 0; }
.screen {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 1rem;
  background: #111; touch-action: none; user-select: none; -webkit-user-select: none; cursor: ns-resize;
}
.view { position: absolute; inset: 0; overflow: hidden; }
.view img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), filter 0.15s linear; }
.cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.col {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding-bottom: 0.8rem; outline-offset: -3px; background: linear-gradient(transparent 62%, rgba(0, 0, 0, 0.55));
}
.col + .col { box-shadow: inset 1px 0 rgba(255, 255, 255, 0.16); }
.col .t { font: 600 0.5625rem/1 "Instrument Sans", system-ui, sans-serif; letter-spacing: 0.14em; color: rgba(255,255,255,.7); margin-bottom: 0.45rem; }
.col .v { font: 500 0.6875rem/1.55 "JetBrains Mono", ui-monospace, monospace; color: rgba(255,255,255,.45); min-height: 1.55em; }
.col .v.on { font-size: 0.875rem; color: #fff; }
.col.live .t, .col.live .v.on { color: var(--gold); }
.col.live { background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.6)); }
.phone figcaption { margin-top: 0.8rem; text-align: center; font-size: 0.8125rem; color: var(--muted); }

.dials { margin: 0; display: grid; gap: 0.9rem; }
.dials div { border-top: 1px solid var(--rule); padding-top: 0.8rem; }
.dials dt { font-weight: 600; }
.dials dd { margin: 0.15rem 0 0; color: var(--muted); }

/* ------------------------------------------------------------ the original, Plus, final */

.trio { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 700px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.trio li { counter-increment: step; border-top: 1px solid var(--on-dark-rule); padding-top: 0.9rem; }
.trio h3 { margin: 0 0 0.35rem; font-size: 1.1875rem; }
.trio h3::before { content: counter(step); display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-right: 0.55rem; border-radius: 50%; background: var(--gold); color: #000; font-size: 0.8125rem; vertical-align: 0.15em; }
.trio p { margin: 0; }

#private { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.plans { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.9rem; max-width: 44rem; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plans li { position: relative; border-radius: var(--radius); padding: 1.1rem 1.25rem; background: #141413; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); display: grid; gap: 0.1rem; }
.plans li.best { box-shadow: inset 0 0 0 1.5px var(--gold); }
.plans b { font-size: 1.0625rem; }
.plans span { color: rgba(255,255,255,.65); }
.plans .price { font-size: 1.625rem; font-weight: 600; color: #fff; }
.badge-best { position: absolute; top: -0.65rem; left: 1rem; background: var(--gold); color: #000 !important; font-size: 0.75rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 999px; }
.trial { max-width: var(--measure); margin: 0; }
.plus .small { color: rgba(255,255,255,.5); font-size: 0.8125rem; margin: 1rem 0 0; }

.final { text-align: center; }
.final h2 { max-width: 36rem; margin-inline: auto; }

/* ------------------------------------------------------------ text pages */

.page { max-width: 44rem; padding: clamp(2rem, 5vw, 4rem) var(--gutter) 5rem; margin: 0 auto; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
.page .date { color: var(--muted); margin: 0 0 2.5rem; }
.page h2 { font-size: 1.25rem; margin: 2.5rem 0 0.5rem; }
.page p, .page li { max-width: var(--measure); }
.page ul { padding-left: 1.2rem; }
.page li + li { margin-top: 0.35rem; }
.faq details { border-top: 1px solid var(--rule); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0.75rem 0 0; color: var(--muted); }

/* ------------------------------------------------------------ footer */

footer { border-top: 1px solid var(--rule); padding: 2rem 0 3rem; font-size: 0.875rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; }
footer nav { display: flex; gap: 0.5rem 1.25rem; flex-wrap: wrap; }
footer .langs { order: 3; flex-basis: 100%; gap: 0.4rem 1rem; }
footer .langs [aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }
footer .legal { order: 4; flex-basis: 100%; margin: 0.25rem 0 0; font-size: 0.75rem; }

@media (prefers-reduced-motion: reduce) {
  .view img, .app-card { transition: none; }
}
