/* Oryne website.
   Tokens follow OceanTheme (Oryne/DesignSystem/OceanTheme.swift): near-black and
   spatial, brightness carries hierarchy. Surfaces follow GlassCard. Type:
   Instrument Serif for headlines (Songti for Chinese), Inter for text, both
   self-hosted (assets/fonts, SIL Open Font License). */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --abyss: #050508;
  --deep: #0d0e11;
  --mid: #17181c;
  --current: #26282d;
  --surface: #3d3e45;
  --foam: rgba(255, 255, 255, 0.92);
  --text: rgba(255, 255, 255, 0.66);
  --mist: rgba(255, 255, 255, 0.5);
  --hint: rgba(255, 255, 255, 0.58);
  --faint: rgba(255, 255, 255, 0.26);
  --hairline: rgba(255, 255, 255, 0.08);
  --accent: #d1d6e0;
  --warm: #f2ede0;
  --rim: #9fb2d6;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "Instrument Serif", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC",
    "Noto Serif SC", Georgia, serif;
  --italic: #d9e1f0;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1120px;
  --radius: 20px;
  --bar: 52px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */

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

html {
  background: var(--abyss);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--abyss);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

html:lang(zh-Hans) body { line-height: 1.8; letter-spacing: 0.02em; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(209, 214, 224, 0.28); }
:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.72); outline-offset: 3px; }

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.no-js .js-only { display: none !important; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 40;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--abyss);
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

.i {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ----------------------------------------------------------- the Ocean */

.ocean {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 32%, var(--current) 0%, var(--mid) 26%, var(--deep) 55%, var(--abyss) 100%);
}
.ocean__water, .ocean__field { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.ocean__grain { position: absolute; inset: 0; opacity: 0.3; background-size: 128px 128px; }
.no-js .ocean__water, .no-js .ocean__field { display: none; }

main, .footer { position: relative; z-index: 1; }

/* -------------------------------------------------------------- layout */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { padding-block: clamp(96px, 14vh, 176px); }

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

.eyebrow { margin-bottom: 16px; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: var(--rim); }

.display {
  font-family: var(--font-display);
  font-size: clamp(52px, 8.4vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  font-weight: 400;
  color: var(--foam);
}

.headline {
  max-width: 16em;
  font-family: var(--font-display);
  font-size: clamp(40px, 5.8vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--foam);
}

.lead { max-width: 34em; margin-top: 22px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; font-weight: 300; color: var(--text); }

h3 { font-size: 17px; line-height: 1.35; font-weight: 500; color: var(--foam); }

/* Italic accents in English headlines; Chinese has no italic, so it stays upright. */
.display em, .headline em, .panel__title em { font-style: italic; color: var(--italic); }
html:lang(zh-Hans) em { font-style: normal; color: inherit; }

.display, .headline, .panel__title, .prose__title, h3 { text-wrap: balance; }
.lead, .moment, .features p, .card p, .thought__text, .prose p { text-wrap: pretty; }

html:lang(zh-Hans) .display,
html:lang(zh-Hans) .headline,
html:lang(zh-Hans) .panel__title,
html:lang(zh-Hans) .prose__title { letter-spacing: 0; line-height: 1.22; }
html:lang(zh-Hans) .lead { line-height: 1.75; }
/* Chinese headlines break at punctuation or <wbr>, never inside a word. */
html:lang(zh-Hans) .display,
html:lang(zh-Hans) .headline,
html:lang(zh-Hans) .panel__title,
html:lang(zh-Hans) .prose__title { word-break: keep-all; overflow-wrap: anywhere; }
html:lang(zh-Hans) .display { font-size: clamp(40px, 7vw, 88px); letter-spacing: 0.02em; }
html:lang(zh-Hans) .headline, html:lang(zh-Hans) .panel__title { letter-spacing: 0.02em; }
html:lang(zh-Hans) .lead { font-weight: 400; }

/* ----------------------------------------------------------------- bar */

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--bar);
  background: rgba(5, 5, 8, 0.55);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  backdrop-filter: saturate(140%) blur(20px);
  border-bottom: 0.5px solid var(--hairline);
}
.bar__inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--foam);
  text-decoration: none;
}
.wordmark__mark {
  width: 1.04em;
  height: 1.04em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  opacity: 0.88;
  transition: opacity 0.2s;
}
.wordmark:hover .wordmark__mark { opacity: 1; }
.bar__nav { display: none; gap: 24px; margin-left: auto; font-size: 13px; }
.bar__nav a { color: var(--mist); text-decoration: none; transition: color 0.2s; }
.bar__nav a:hover { color: var(--foam); }
.bar__controls { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 720px) {
  .bar__nav { display: flex; }
  .bar__controls { margin-left: 0; }
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 0.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--mist);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.lang:hover { color: var(--foam); background: var(--glass); }
.lang .i { font-size: 15px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border: 0.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}
.icon-btn .i { font-size: 16px; }
.icon-btn:hover { color: var(--foam); }
@media (max-width: 480px) {
  .icon-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

[data-sound-toggle][aria-pressed="true"] { color: var(--foam); background: var(--glass-strong); }
[data-sound-toggle][aria-pressed="true"] .i path { animation: sway 3.2s ease-in-out infinite; }
[data-sound-toggle][aria-pressed="true"] .i path + path { animation-delay: -1.6s; }
@keyframes sway { 50% { transform: translateX(1.5px); } }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .i { font-size: 18px; }
.btn--primary { background: var(--accent); color: var(--abyss); }
.btn--primary:hover { background: #e4e8ef; }
.btn--primary:disabled { opacity: 0.4; cursor: default; transform: none; }
.btn--ghost { border: 0.5px solid rgba(255, 255, 255, 0.24); background: transparent; color: var(--foam); }
.btn--ghost:hover { background: var(--glass); }
.btn--small { height: 30px; padding: 0 14px; font-size: 13px; }

.badge { display: inline-block; border-radius: 10px; line-height: 0; }
.badge img { width: auto; height: 48px; }

/* --------------------------------------------------------------- phone */

/* The phone: a silver iPhone frame (assets/img/phone-frame.webp, supplied by
   Malik) with the screen showing through its opening. The opening is inset
   5.333% at the sides and 2.5% top and bottom, and its aspect matches the
   screens exactly, so nothing is cropped. The frame carries the island, so the
   screenshot's own island sits behind it. */
.phone {
  --w: clamp(240px, 24vw, 300px);
  position: relative;
  width: var(--w);
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.8));
}
.phone__frame { display: block; width: 100%; height: auto; }
.phone__screen {
  position: absolute;
  /* The opening sits at 5.333% / 2.5%; the screen bleeds a third of a percent
     past it on every side, so the frame's bezel always overlaps the seam. Its
     corners are rounded a little tighter than the opening's 14.4% of the
     frame's width, which keeps them filled under the frame's own curve. */
  top: 2.17%;
  left: 5%;
  width: 90%;
  height: 95.66%;
  object-fit: cover;
  border-radius: calc(var(--w) * 0.11);
  background: #000;
}
.phone--small { --w: clamp(200px, 19vw, 240px); }

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

.hero { padding-top: clamp(64px, 11vh, 128px); padding-bottom: clamp(40px, 8vh, 96px); text-align: center; }
.hero__copy { display: flex; flex-direction: column; align-items: center; }
.hero .display { max-width: 12em; }
.hero .lead { margin-inline: auto; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; }
.hero__stage { display: flex; justify-content: center; margin-top: clamp(72px, 12vh, 128px); }

/* ---------------------------------------------------------- how cards */

.cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
/* Five cards: one row on wide screens, two columns in between (the odd one out spans the row). */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .cards > li:last-child:nth-child(odd) { grid-column: auto; }
  .card { padding: 16px 16px 20px; }
  .card h3 { font-size: 24px; }
}
.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 22px;
  border: 0.5px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--glass);
}
/* The card's visual bleeds to its edges; the scene itself fades out before them. */
.vignette { display: block; width: calc(100% + 36px); height: 140px; margin: -16px -18px 4px; }
.card__label { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--rim); }
.card h3 { font-family: var(--font-display); font-size: 28px; line-height: 1.1; font-weight: 400; }
.card p:not(.card__label) { font-size: 15px; font-weight: 300; }
.more { display: inline-flex; align-items: center; margin-top: auto; padding-top: 10px; font-size: 15px; color: var(--accent); text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------ chapters */

.chapter__grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 900px) { .chapter__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.chapter__grid > * { min-width: 0; }
.chapter__visual { display: flex; justify-content: center; }
.features { display: grid; gap: 22px; margin-top: 36px; }
.features li { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.features p { margin-top: 4px; font-size: 16px; font-weight: 300; }

/* --------------------------------------------------------- release demo */

.release {
  margin-top: 40px;
  padding: 18px;
  border: 0.5px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.release__label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--rim); }
.release__row { display: flex; gap: 10px; }
.release input {
  flex: 1 1 0;
  width: 0;   /* no intrinsic width: the field takes the row, never widens the column */
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 0.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--foam);
}
.release input::placeholder { color: var(--hint); }
.release__status { min-height: 1.6em; margin-top: 10px; font-size: 14px; color: var(--warm); }
.release__note { font-size: 13px; color: var(--hint); }

/* ------------------------------------------------------------- widgets */

.widgets { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 16px; }
.widget {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 0.5px solid var(--hairline);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--abyss), var(--deep) 55%, var(--mid));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.widget--small { width: 158px; height: 158px; }
.widget--medium { width: 338px; max-width: 100%; height: 158px; }
.widget__head { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; color: var(--warm); }
.widget__head .i { font-size: 12px; }
.widget__title { margin-top: auto; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--foam); }
.widget--medium .widget__title { margin-top: 8px; font-size: 17px; }
.widget__snippet {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  color: var(--mist);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.widget__age { margin-top: 4px; font-size: 11px; color: var(--faint); }
.widget--medium .widget__age { margin-top: auto; }

/* ---------------------------------------------------------------- ask */

.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.modes li { padding: 16px; border: 0.5px solid var(--hairline); border-radius: 16px; background: var(--glass); }
.modes h3 { font-size: 15px; }
.modes p { margin-top: 4px; font-size: 14px; line-height: 1.45; }
.footnote { margin-top: 18px; font-size: 13px; color: var(--hint); }

/* ------------------------------------------------------ grow and find */

.grow__grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .grow__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 44px 24px 0;
  overflow: hidden;
  border: 0.5px solid var(--hairline);
  border-radius: 28px;
  background: var(--glass);
  text-align: center;
}
.panel .eyebrow { margin-bottom: 0; }
.panel__title {
  max-width: 14em;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.008em;
  font-weight: 400;
  color: var(--foam);
}
.panel p { max-width: 28em; }
.panel .phone { margin-top: 28px; margin-bottom: -30%; }

/* ----------------------------------------------------------- use cases */

.tabs { margin-top: 40px; }
.tabs__list { display: flex; gap: 8px; padding: 2px 2px 8px; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  flex: none;
  height: 36px;
  padding: 0 16px;
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.tabs__tab:hover { color: var(--foam); }
.tabs__tab[aria-selected="true"] { border-color: transparent; background: var(--accent); color: var(--abyss); }
.tabs__panel { margin-top: 28px; }
.tabs__panel + .tabs__panel { margin-top: 64px; }
.tabs--ready .tabs__panel + .tabs__panel { margin-top: 28px; }
.tabs__title { margin-bottom: 12px; font-size: 22px; }
.moment { max-width: 30em; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: var(--foam); }
.thoughts { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 720px) { .thoughts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.thought {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 0.5px solid var(--hairline);
  border-radius: 18px;
  background: var(--glass);
}
.thought__image { height: 128px; margin: -4px -4px 6px; border-radius: 12px; }
.thought__image--sunset { background: linear-gradient(180deg, #232447 0%, #5b3a6b 36%, #c9694a 70%, #f0ad68 100%); }
.thought__image--dusk { background: linear-gradient(180deg, #e7b392 0%, #b88675 40%, #5c6072 78%, #3a3f4c 100%); }
.thought__image--dumplings { background: radial-gradient(60% 50% at 50% 60%, #efe5d3 0%, #cbb89a 45%, #3a3129 100%); }
.thought__kind { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--mist); }
.thought__kind .i { font-size: 14px; }
.thought__title { font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--foam); }
.thought__text { font-size: 14px; line-height: 1.5; }
.thought__source { font-size: 12px; color: var(--hint); }
.thought__current {
  align-self: flex-start;
  margin-top: auto;
  padding: 3px 9px;
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  color: var(--foam);
}

/* ---------------------------------------------------------- comparison */

.compare { width: 100%; margin-top: 44px; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.compare th, .compare td { padding: 18px 16px; border-bottom: 0.5px solid var(--hairline); text-align: left; vertical-align: top; }
.compare thead th { font-size: 14px; font-weight: 500; color: var(--mist); }
.compare tbody th { width: 24%; font-weight: 500; color: var(--foam); }
.compare td { font-weight: 300; color: var(--mist); }
.compare thead .is-oryne { font-family: var(--font-display); font-size: 22px; font-style: italic; font-weight: 400; }
.compare .is-oryne { background: rgba(255, 255, 255, 0.04); color: var(--foam); }
.compare thead .is-oryne { border-radius: 14px 14px 0 0; }
@media (max-width: 719px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tr { padding: 18px 0; border-bottom: 0.5px solid var(--hairline); }
  .compare th, .compare td { padding: 4px 0; border: 0; }
  .compare tbody th { width: auto; margin-bottom: 6px; font-size: 17px; }
  .compare td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 500; color: var(--hint); }
  .compare .is-oryne { margin-top: 8px; background: none; }
}

/* ------------------------------------------------------------- privacy */

.promises { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 720px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.promises .i { margin-bottom: 14px; font-size: 28px; color: var(--rim); }
.promises p { margin-top: 6px; font-size: 15px; }
.privacy .more { margin-top: 40px; }

/* ----------------------------------------------------------- and more */

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tiles li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 124px;
  padding: 18px;
  border: 0.5px solid var(--hairline);
  border-radius: 18px;
  background: var(--glass);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--foam);
}
.tiles .i { font-size: 24px; color: var(--accent); }

/* ----------------------------------------------------------------- faq */

.faq .headline { margin-bottom: 24px; }
.qa { border-bottom: 0.5px solid var(--hairline); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--foam);
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--mist);
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { max-width: 44em; padding-bottom: 22px; font-weight: 300; }

/* --------------------------------------------------------------- final */

.final { padding-bottom: 0; text-align: center; }
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final__icon {
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
  border-radius: 22%;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14), 0 24px 50px -12px rgba(0, 0, 0, 0.8);
}
.final .lead { margin-inline: auto; }
.final__actions { margin-top: 32px; }
.final__stage {
  display: flex;
  align-items: flex-start;   /* keep the phone's proportions; the stage crops its lower half */
  justify-content: center;
  height: clamp(280px, 38vw, 420px);
  margin-top: 72px;
  overflow: hidden;
}

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

.footer {
  padding-block: 44px 60px;
  border-top: 0.5px solid var(--hairline);
  background: rgba(5, 5, 8, 0.72);
  font-size: 13px;
  color: var(--hint);
}
.footer__inner { display: grid; gap: 14px; }
.footer .wordmark { font-size: 21px; }
.footer nav, .footer__lang { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: var(--mist); text-decoration: none; }
.footer a:hover { color: var(--foam); }
.footer [aria-current] { color: var(--foam); }

/* ----------------------------------------------- privacy and support */

.prose { max-width: calc(68ch + var(--gutter) * 2); padding-block: clamp(72px, 12vh, 132px) 112px; }
html:lang(zh-Hans) .prose { max-width: calc(38em + var(--gutter) * 2); }
.prose__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--foam);
}
.prose .updated { margin-top: 14px; font-size: 14px; color: var(--hint); }
.prose .summary {
  margin-top: 36px;
  padding: 22px 24px;
  border: 0.5px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--glass-strong);
  color: var(--foam);
}
.prose h2 { margin-top: 56px; font-family: var(--font-display); font-size: 32px; line-height: 1.15; font-weight: 400; color: var(--foam); }
.prose p, .prose li { font-weight: 300; }
.prose h3 { margin-top: 28px; }
.prose p, .prose ul { margin-top: 14px; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 8px; }
.prose strong { font-weight: 500; color: var(--foam); }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose .qa summary { font-size: 22px; }
.prose .qa p { margin-top: 0; }

/* ----------------------------------------------------------- utilities */

.perf {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  color: #a8f0b4;
  font: 12px/1.2 ui-monospace, Menlo, monospace;
}

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