/* go2china.space — see DESIGN.md for the direction behind these choices. */

@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 400; src: url(assets/fonts/onest-latin-400-normal.woff2) format("woff2"); 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: "Onest"; font-style: normal; font-display: swap; font-weight: 500; src: url(assets/fonts/onest-latin-500-normal.woff2) format("woff2"); 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: "Onest"; font-style: normal; font-display: swap; font-weight: 600; src: url(assets/fonts/onest-latin-600-normal.woff2) format("woff2"); 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: "Onest"; font-style: normal; font-display: swap; font-weight: 700; src: url(assets/fonts/onest-latin-700-normal.woff2) format("woff2"); 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: "Onest"; font-style: normal; font-display: swap; font-weight: 400; src: url(assets/fonts/onest-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 500; src: url(assets/fonts/onest-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 600; src: url(assets/fonts/onest-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-display: swap; font-weight: 700; src: url(assets/fonts/onest-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Arabic"; font-style: normal; font-display: swap; font-weight: 400; src: url(assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-style: normal; font-display: swap; font-weight: 600; src: url(assets/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }

:root {
  --paper: #ffffff;
  --stone: #f3f2ef;
  --line: #e4e2dd;
  --ink: #1d1d1b;
  --muted: #62605b;
  --cinnabar: #c41e24;
  --cinnabar-dark: #a3161c;
  --jade: #0d6450;
  --jade-tint: #e5efeb;
  --porcelain: #1f3a68;
  --gold: #e0b04e;
  --font: "Onest", "Plex Arabic", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
p, li { text-wrap: pretty; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { word-break: keep-all; overflow-wrap: anywhere; line-height: 1.18; }
:lang(zh) .hero h1 { font-size: clamp(34px, 3.9vw, 54px); }
:lang(ar) body, :lang(ar) { line-height: 1.7; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.lede { color: var(--muted); font-size: 20px; max-width: 62ch; margin: 18px 0 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; background: var(--cinnabar); color: #fff; font: 600 17px/1 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s ease;
}
.btn:hover { background: var(--cinnabar-dark); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; }
.links { display: flex; gap: 24px; margin-inline-start: 8px; }
.links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.links a:hover { color: var(--ink); }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  color: var(--ink); font: 500 14px var(--font); cursor: pointer;
}

/* Hero */
.hero {
  max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 88px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; }
.hero .lede { margin: 24px 0 32px; }
.hero .note { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.hero-stage { position: relative; padding-bottom: 36px; }
.hero-photo { margin: 0; position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--stone); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.tag {
  position: absolute; inset-inline-start: 16px; top: 16px; background: var(--paper); border-radius: 10px;
  padding: 7px 11px; font-size: 13px; line-height: 1.35; display: grid;
}
.tag b { font-weight: 600; }
.tag span { color: var(--muted); }
.phone {
  position: absolute; inset-inline-end: 28px; bottom: 0; width: min(320px, 68%);
  border-radius: 46px; padding: 10px; background: #1b1b1d; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55);
}
.phone-screen { height: 600px; border-radius: 36px; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.island { width: 92px; height: 26px; border-radius: 14px; background: #1b1b1d; margin: 10px auto 0; flex: none; }
.chat-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 32px; height: 32px; }
.chat-head strong { display: block; font-size: 15px; line-height: 1.2; }
.chat-head span { font-size: 12px; color: var(--muted); }

.chat { flex: 1; overflow: hidden; padding: 14px 12px 6px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.chat.fade { transition: opacity .5s ease; opacity: 0; }
.msg { max-width: 88%; padding: 9px 13px; border-radius: 18px; font-size: 13.5px; line-height: 1.42; }
.msg.user { align-self: flex-end; background: var(--ink); color: #fff; border-end-end-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--stone); border-end-start-radius: 6px; }
.msg .src { display: block; margin-top: 5px; font-size: 11px; color: var(--jade); font-weight: 600; }
.typing { display: inline-flex; gap: 4px; padding: 13px 15px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9c9a94; animation: dot 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 8px; }
.chip svg { width: 13px; height: 13px; flex: none; }
.chip.mem { background: #fbf0d6; color: #7a5410; }
.chip.shield { align-self: flex-end; background: var(--jade-tint); color: var(--jade); }
.plan { align-self: flex-start; width: 92%; border: 1px solid var(--line); border-radius: 16px; padding: 11px 13px; font-size: 12.5px; background: var(--paper); }
.plan header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 7px; font-weight: 600; font-size: 13.5px; }
.plan header small { font-weight: 600; font-size: 10.5px; color: var(--muted); background: var(--stone); padding: 2px 7px; border-radius: 6px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.plan li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; }
.plan li b { color: var(--cinnabar); font-weight: 600; }
.plan footer { margin-top: 7px; font-size: 11px; color: var(--muted); }
.mask { display: inline-block; border-radius: 5px; transition: background-color .3s ease; }
.mask.on { background: rgba(255, 255, 255, .2); padding: 0 4px; }
.actions { display: flex; gap: 6px; margin-top: 9px; }
.actions span { font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }
.actions .yes { background: var(--cinnabar); border-color: var(--cinnabar); color: #fff; transition: transform .15s ease; }
.actions .yes.pressed { transform: scale(.94); }
.sys { align-self: stretch; display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 12px; font-size: 12px; background: var(--jade); color: #eaf3ef; }
.sys b { color: #fff; font-weight: 600; }
.spin { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.sys.done .spin { animation: none; border-color: var(--gold); background: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.suggest { flex: none; display: flex; flex-wrap: wrap; gap: 5px; padding: 6px 12px 0; }
.suggest span { font-size: 11px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); transition: background-color .25s ease, color .25s ease; }
.suggest span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chat-input { flex: none; margin: 8px 10px 12px; min-height: 42px; border-radius: 21px; padding: 5px 5px 5px 14px; background: var(--stone); display: flex; align-items: flex-end; gap: 6px; font-size: 13px; }
:dir(rtl) .chat-input { padding: 5px 14px 5px 5px; }
.chat-input .field { flex: 1; min-width: 0; padding: 6px 0; line-height: 1.35; }
.chat-input .hint { color: #8f8c86; }
.chat-input.busy .hint { display: none; }
.caret { display: none; width: 2px; height: 14px; background: var(--cinnabar); vertical-align: middle; margin-inline-start: 1px; animation: caret 1s steps(1) infinite; }
.chat-input.busy .caret { display: inline-block; }
@keyframes caret { 50% { opacity: 0; } }
#send { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #c9c6bf; color: #fff; transition: background-color .2s ease, transform .15s ease; }
.chat-input.busy #send { background: var(--cinnabar); }
#send.tap { transform: scale(.86); }

/* How it works */
.how { background: var(--stone); padding: 96px 0; }
.how h2, .places h2, .ea h2, .privacy h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.06; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.role { border-radius: 28px; padding: 34px 34px 30px; color: #fff; }
.role-cj { background: var(--cinnabar); }
.role-jt { background: var(--jade); }
.role header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.28); }
.role h3 { font-size: 30px; }
.role header p { margin: 0; font-size: 15px; font-weight: 500; opacity: .85; }
.role ul { list-style: none; margin: 0; padding: 0; }
.role li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 17px; line-height: 1.45; }
.role li:last-child { border-bottom: 0; padding-bottom: 0; }

.scenes { margin-top: 88px; }
.h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 24px; }
.tabs button {
  font: 500 15px/1.2 var(--font); padding: 11px 18px; border-radius: 999px; border: 1px solid #d4d1ca; background: transparent;
  color: var(--ink); cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.tabs button:hover { border-color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.lanes { background: var(--paper); border-radius: 28px; padding: 26px 28px 30px; }
.lane-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; position: relative; }
.steps::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); }
.step { grid-column: 1; padding: 18px 0 0; animation: stepIn .35s ease both; }
.step.back { grid-column: 2; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.actor { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.actor::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.actor.cj::before { background: var(--cinnabar); }
.actor.jt::before, .actor.mate::before { background: var(--jade); }
.actor.mate { color: var(--jade); }
.bubble { display: inline-block; max-width: 100%; padding: 11px 15px; border-radius: 16px; font-size: 16px; line-height: 1.45; }
.step.you .bubble { background: var(--ink); color: #fff; }
.step.cj .bubble { background: var(--stone); }
.step.back .bubble { background: var(--jade-tint); color: #123d33; border-radius: 12px; }
.zh-card { margin-top: 8px; padding: 11px 14px; border-radius: 12px; background: #fff7e6; border: 1px solid #f0d9a8; font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; font-size: 16px; line-height: 1.6; white-space: pre-line; }
.scene-note { margin: 16px 4px 0; color: var(--muted); font-size: 16px; max-width: 80ch; }

.watch { margin-top: 88px; }
.watch-table { width: 100%; border-collapse: collapse; margin-top: 22px; background: var(--paper); border-radius: 22px; overflow: hidden; font-size: 16px; }
.watch-table th { text-align: start; font-size: 14px; font-weight: 600; color: var(--muted); padding: 16px 22px; border-bottom: 1px solid var(--line); }
.watch-table td { padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
.watch-table tr:last-child td { border-bottom: 0; }
.watch-table td:first-child { font-weight: 600; width: 22%; }
.watch-table td:nth-child(2) { color: var(--muted); width: 33%; }

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 64px; padding-top: 36px; border-top: 1px solid #d9d6cf; }
.rules h4 { font-size: 20px; letter-spacing: -0.015em; }
.rules p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

/* Places */
.places { padding: 96px 0 104px; }
.wall {
  max-width: var(--wrap); margin: 40px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px;
}
.tile { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--stone); }
.tile:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.tile:nth-child(3) { grid-column: 4; grid-row: 1 / 3; }
.tile:nth-child(6) { grid-column: 2 / 4; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s ease; }
.tile img.out { opacity: 0; }
.tile figcaption {
  position: absolute; inset-inline-start: 12px; bottom: 12px; max-width: calc(100% - 24px);
  background: var(--paper); border-radius: 10px; padding: 6px 10px; font-size: 13px; line-height: 1.3;
  transition: opacity .4s ease;
}
.tile figcaption b { font-weight: 600; }
.tile figcaption span { color: var(--muted); }
.tile figcaption .han { margin-inline-start: 6px; color: var(--cinnabar); font-weight: 500; }

/* Privacy */
.privacy { padding: 0 24px; }
.privacy-in {
  max-width: calc(var(--wrap) - 48px); margin: 0 auto; background: var(--porcelain); color: #fff; border-radius: 28px;
  padding: 64px clamp(24px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.privacy-copy > p { color: rgba(255,255,255,.82); font-size: 19px; margin: 18px 0 24px; }
.privacy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.privacy li { position: relative; padding-inline-start: 22px; color: rgba(255,255,255,.92); font-size: 16px; }
.privacy li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.redact { display: grid; gap: 12px; }
.redact-row { background: #fff; color: var(--ink); border-radius: 16px; padding: 16px 18px; }
.redact-row.model { background: #e9eef7; }
.who { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.redact-row p { margin: 0; font-size: 16px; line-height: 1.6; min-height: 3.2em; }
.tok { border-radius: 4px; padding: 0 1px; transition: background-color .3s ease; }
.tok.hot { background: #fde5b8; }
.tok.ph { background: var(--porcelain); color: #fff; padding: 1px 6px; font-size: 14px; font-weight: 500; }

/* Early access */
.ea { padding: 104px 24px 112px; }
.ea-in { max-width: calc(var(--wrap) - 48px); margin: 0 auto; display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.ea-art { background: var(--stone); border-radius: 28px; padding: 36px 28px; position: sticky; top: 96px; }
.ea-art img { width: 100%; max-width: 440px; margin: 0 auto; }
#ea-form { margin-top: 32px; display: grid; gap: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-l { display: grid; gap: 7px; min-width: 0; }
.field-l > span, .choice legend { font-size: 15px; font-weight: 600; }
em { font-style: normal; font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--stone);
  border: 1px solid transparent; border-radius: 12px; padding: 13px 14px; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2362605b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-inline-end: 36px; cursor: pointer; }
:dir(rtl) select { background-position: left 14px center; }
textarea { resize: vertical; min-height: 92px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background-color: var(--paper); }
.bad input, .bad select { border-color: var(--cinnabar); }
.choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid #d4d1ca; font-size: 15px; line-height: 1.2; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.other { margin-top: 10px; max-width: 320px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.submit-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 4px; }
.form-msg { margin: 0; font-size: 16px; color: var(--jade); max-width: 46ch; }
.form-msg.err { color: var(--cinnabar); }
.form-msg a { color: inherit; font-weight: 600; }
#ea-form.sent > :not(.submit-row) { display: none; }
#ea-form.sent #ea-submit { display: none; }
#ea-form.sent .form-msg { font-size: 20px; font-weight: 500; color: var(--ink); }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 40px 24px 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand img { width: 44px; height: 44px; }
.foot-brand strong { display: block; font-size: 18px; }
.foot-brand span { color: var(--muted); font-size: 15px; }
address { font-style: normal; display: grid; gap: 4px; text-align: end; font-size: 15px; color: var(--muted); }
address strong { color: var(--ink); font-weight: 600; }
address a { color: var(--jade); font-weight: 500; text-decoration: none; }
address a:hover { text-decoration: underline; }
.copy { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.copy a { color: var(--muted); }

/* Responsive */
@media (max-width: 1020px) {
  .links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .duo, .privacy-in, .ea-in { grid-template-columns: 1fr; }
  .ea-art { position: static; max-width: 420px; }
  .wall { grid-template-columns: repeat(3, 1fr); }
  .tile:nth-child(1) { grid-column: 1 / 3; }
  .tile:nth-child(3) { grid-column: 3; }
  .tile:nth-child(6) { grid-column: auto; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .top-in { padding: 10px 16px; gap: 10px; }
  .brand span { display: none; }
  .lang { max-width: 112px; }
  .wrap, .hero { padding-left: 16px; padding-right: 16px; }
  .hero h1 { font-size: 40px; }
  .lede { font-size: 18px; }
  .hero-stage { padding-bottom: 0; }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: 22px; }
  .hero-photo img { object-position: 30% 50%; }
  .phone { position: relative; inset: auto; width: 84%; max-width: 330px; margin: -96px auto 0; border-radius: 40px; padding: 8px; }
  .phone-screen { height: 540px; border-radius: 32px; }
  .btn-sm { padding: 0 14px; font-size: 14px; }
  .how, .places { padding: 72px 0; }
  .role { padding: 26px 22px; border-radius: 22px; }
  .role h3 { font-size: 26px; }
  .scenes, .watch { margin-top: 64px; }
  .lanes { padding: 18px 16px 22px; border-radius: 22px; }
  .lane-head { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .step.back { grid-column: 1; padding-inline-start: 18px; }
  .watch-table, .watch-table tbody, .watch-table tr, .watch-table td { display: block; width: 100%; }
  .watch-table thead { display: none; }
  .watch-table tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .watch-table tr:last-child { border-bottom: 0; }
  .watch-table td { padding: 2px 0; border: 0; width: auto !important; }
  .watch-table td:first-child { font-size: 17px; margin-bottom: 4px; }
  .rules { grid-template-columns: 1fr; gap: 22px; }
  .wall { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; padding: 0 16px; }
  .tile:nth-child(1) { grid-column: 1 / 3; grid-row: span 2; }
  .tile:nth-child(3) { grid-column: auto; grid-row: span 2; }
  .tile:nth-child(6) { grid-column: auto; }
  .tile:nth-child(7) { display: none; }
  .tile figcaption { inset-inline-start: 8px; bottom: 8px; font-size: 12px; padding: 5px 8px; }
  .privacy { padding: 0 16px; }
  .privacy-in { padding: 40px 20px; border-radius: 22px; gap: 32px; }
  .ea { padding: 72px 16px 80px; }
  .ea-in { gap: 32px; }
  .ea-art { padding: 20px; border-radius: 22px; max-width: 280px; }
  .row2 { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; padding: 32px 16px 28px; }
  address { text-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
