/* Dore — shared design system (homepage, studio, docs pages).
   Signature: the creator's own label. Wide Anybody for statements and tags, Hanken Grotesk for
   reading, one yellow wall, ink, wing purple for interaction, brick only where a person must act. */

@font-face { font-family: 'Anybody'; src: url('/assets/fonts/anybody-latin.woff2') format('woff2'); font-weight: 100 900; font-stretch: 50% 150%; 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: 'Anybody'; src: url('/assets/fonts/anybody-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-stretch: 50% 150%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; src: url('/assets/fonts/hanken-latin.woff2') format('woff2'); font-weight: 100 900; 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: 'Hanken Grotesk'; src: url('/assets/fonts/hanken-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk'; src: url('/assets/fonts/hanken-latin-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --yellow: #F3D23F;
  --yellow-soft: #FBEFA9;
  --paper: #FFFCF3;
  --white: #FFFFFF;
  --ink: #15130F;
  --ink-2: #4A453C;
  --ink-3: #7A7366;
  --wing: #6A3FA0;
  --wing-deep: #4F2C7D;
  --lilac: #EFE7FA;
  --brick: #D9552B;
  --leaf: #2E7D57;
  --line: rgba(21, 19, 15, 0.14);
  --line-strong: rgba(21, 19, 15, 0.32);
  --display: 'Anybody', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
  --text: 'Hanken Grotesk', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --r-tag: 12px;
  --r-panel: 22px;
  --r-pill: 999px;
  --wrap: 1200px;
  --gut: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--wing); outline-offset: 3px; border-radius: 6px; }

/* bilingual: every block carries both languages; html[data-lang] picks one */
html[data-lang="en"] [lang="zh"], html[data-lang="zh"] [lang="en"] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* display type */
.display { font-family: var(--display); font-weight: 880; font-stretch: 132%; letter-spacing: -0.015em; line-height: 0.95; margin: 0; }
html[data-lang="zh"] .display { font-stretch: 100%; letter-spacing: 0; line-height: 1.08; font-weight: 800; }
h2.display { font-size: clamp(32px, 4.6vw, 58px); font-stretch: 122%; max-width: 20ch; }
html[data-lang="zh"] h2.display { max-width: 24em; }
h3 { font-family: var(--display); font-weight: 760; font-stretch: 110%; font-size: 21px; line-height: 1.2; margin: 0; letter-spacing: -0.005em; }
html[data-lang="zh"] h3 { font-stretch: 100%; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 58ch; margin: 18px 0 0; }
.small { font-size: 14px; color: var(--ink-3); }
.kicker { font-family: var(--display); font-stretch: 72%; font-weight: 720; font-size: 17px; letter-spacing: 0.01em; color: var(--ink-2); margin: 0 0 14px; }
html[data-lang="zh"] .kicker { font-stretch: 100%; font-weight: 600; font-size: 15px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r-pill); border: 2px solid var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .16s ease, background-color .16s ease, color .16s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--wing-deep); border-color: var(--wing-deep); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--paper); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.link { color: var(--wing); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.link:hover { color: var(--wing-deep); }

/* chips: who carries a step */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 7px; font-size: 13px; font-weight: 650; line-height: 1; border: 1.5px solid var(--line-strong); background: var(--white); color: var(--ink-2); white-space: nowrap; }
.chip-agent { background: var(--lilac); border-color: transparent; color: var(--wing-deep); }
.chip-team { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip-partner { background: transparent; }
.chip-live { background: #E2F2E8; color: #1E5E3E; border-color: transparent; }
.chip-next { background: var(--yellow-soft); color: #6B5300; border-color: transparent; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--yellow); border-bottom: 2px solid var(--ink); }
.top-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 26px; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); }
.lang { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--r-pill); overflow: hidden; }
.lang button { border: 0; background: transparent; padding: 6px 11px; font-size: 13px; font-weight: 700; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* hero: the yellow wall */
.hero { background: var(--yellow); border-bottom: 2px solid var(--ink); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero-for { font-weight: 650; font-size: 16px; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-for .plat { display: inline-block; padding: 3px 10px; border: 1.5px solid var(--ink); border-radius: 7px; font-size: 14px; background: var(--paper); }
.hero h1 { font-size: clamp(46px, 7vw, 100px); font-stretch: 134%; font-weight: 900; }
html[data-lang="zh"] .hero h1 { font-size: clamp(46px, 7vw, 92px); }
.hero .lede { color: var(--ink); font-size: 20px; max-width: 34ch; margin-top: 26px; }
html[data-lang="zh"] .hero .lede { max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin: 16px 0 0; font-size: 15px; color: var(--ink-2); }

.label-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 70px; }
.label-string { position: absolute; left: 50%; top: -64px; width: 2px; height: 150px; background: var(--ink); transform: translateX(-38px) rotate(9deg); transform-origin: top; }
.hangtag { position: relative; width: min(380px, 100%); transform: rotate(-4deg); background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 46px 30px 26px; box-shadow: 8px 10px 0 var(--ink); }
.hangtag::before { content: ''; position: absolute; top: 16px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); }
.tag-small { font-family: var(--display); font-stretch: 70%; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.tag-name { font-family: var(--display); font-weight: 900; font-stretch: 150%; font-size: 46px; line-height: 0.98; letter-spacing: 0.01em; margin: 14px 0 12px; overflow-wrap: anywhere; min-height: 1em; }
.tag-rule { height: 0; border-top: 2px dashed var(--ink); margin: 14px 0; }
.tag-foot { display: flex; justify-content: space-between; align-items: end; gap: 10px; font-size: 13px; font-weight: 600; }
.tag-bars { display: flex; gap: 2px; height: 30px; align-items: stretch; }
.tag-bars i { display: block; width: 2px; background: var(--ink); }
.tag-bars i:nth-child(3n) { width: 4px; }
.tag-bars i:nth-child(5n) { width: 1px; }
.hero-pal { position: absolute; width: 118px; right: -6px; top: 18px; transform: rotate(10deg); pointer-events: none; z-index: 2; }
.goods { display: flex; justify-content: center; gap: 16px; width: 100%; margin-top: 4px; }
.good { position: relative; width: 31%; max-width: 160px; margin: 0; background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 8px 8px 10px; box-shadow: 4px 5px 0 var(--ink); }
.good:nth-child(1) { transform: rotate(-6deg) translateY(6px); }
.good:nth-child(2) { transform: rotate(3deg) translateY(-14px); }
.good:nth-child(3) { transform: rotate(-2deg) translateY(10px); }
.good img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.good figcaption { font-size: 12px; font-weight: 650; margin-top: 6px; color: var(--ink-2); line-height: 1.25; }
.good-tag { position: absolute; right: -10px; top: 18px; max-width: 86%; padding: 3px 9px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 7px; font-family: var(--display); font-weight: 860; font-stretch: 112%; font-size: 12px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: rotate(6deg); }
.namer { width: min(340px, 100%); display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.namer label { font-weight: 700; font-size: 14px; }
.namer input { height: 48px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); padding: 0 14px; font-size: 18px; font-weight: 650; }
.namer input:focus-visible { outline-offset: 2px; }

/* sections */
.section { padding: 104px 0; border-bottom: 2px solid var(--ink); }
.section-head { margin-bottom: 48px; }
.section-head .lede { margin: 18px 0 0; }
.band-white { background: var(--white); }
.band-lilac { background: var(--lilac); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink .lede, .band-ink .small { color: rgba(255, 252, 243, 0.78); }
.band-yellow { background: var(--yellow); }

/* what you can make: real product photos by line */
.lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.line-card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-panel); padding: 10px 10px 18px; display: grid; gap: 10px; align-content: start; }
.line-photos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; aspect-ratio: 3 / 2; overflow: hidden; }
.line-photos img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; border-radius: 12px; background: var(--paper); }
.line-photos img:first-child { grid-row: 1 / 3; }
.line-card h3 { padding: 4px 8px 0; font-size: 20px; }
.line-card p { margin: 0; padding: 0 8px; color: var(--ink-2); font-size: 15px; }

/* creator clips */
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.case { border: 2px solid var(--ink); border-radius: 18px; background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.case-media { position: relative; aspect-ratio: 9 / 16; background: var(--ink); overflow: hidden; }
.case-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-play { position: absolute; inset: 0; width: 100%; border: 0; background: linear-gradient(180deg, rgba(21, 19, 15, 0) 55%, rgba(21, 19, 15, 0.55)); cursor: pointer; display: grid; place-items: center; }
.case-play span { width: 62px; height: 62px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 22px; padding-left: 4px; box-shadow: 3px 4px 0 var(--ink); transition: transform .16s ease; }
.case-play:hover span, .case-play:focus-visible span { transform: scale(1.08); }
.case-len { position: absolute; right: 10px; bottom: 10px; background: rgba(21, 19, 15, 0.78); color: var(--paper); font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 6px; pointer-events: none; }
.case-body { padding: 12px 14px 14px; display: grid; gap: 3px; }
.case-body b { font-size: 15px; overflow-wrap: anywhere; }
.case-body span { font-size: 14px; color: var(--ink-2); }
.case-body .link { font-size: 14px; }
.cases-note { font-size: 14px; color: var(--ink-3); margin: 16px 0 0; }

/* five phases */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.flow-phase { border: 2px solid var(--ink); border-radius: var(--r-panel); background: var(--paper); padding: 18px 16px 16px; display: grid; gap: 14px; align-content: start; }
.flow-head { display: flex; align-items: center; gap: 10px; }
.flow-n { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 900; }
.flow-head h3 { font-size: 20px; font-stretch: 112%; }
html[data-lang="zh"] .flow-head h3 { font-stretch: 100%; }
.flow-phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flow-phase li { display: grid; gap: 3px; padding-top: 12px; border-top: 1.5px dashed var(--line-strong); }
.flow-phase li b { font-size: 16px; }
.flow-phase li > span { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.by { justify-self: start; margin-top: 4px; font-size: 11.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.by-agent, .by-agent_team { background: var(--lilac); color: var(--wing-deep); }
.by-team { background: var(--ink); color: var(--paper); }

/* studio screens */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--white); margin-bottom: 22px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; border-radius: var(--r-pill); padding: 10px 18px; font-weight: 700; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.window { border: 2px solid var(--ink); border-radius: var(--r-panel); background: var(--paper); box-shadow: 10px 12px 0 var(--ink); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 2px solid var(--ink); background: var(--white); font-size: 14px; font-weight: 650; }
.window-bar .dots { display: flex; gap: 6px; }
.window-bar .dots i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); }
.window-bar .dots i:first-child { background: var(--yellow); }
.window-bar .url { margin-left: 6px; color: var(--ink-3); font-family: var(--mono); font-size: 13px; }
.window-bar .sample { margin-left: auto; }
.shots .panel img { width: 100%; height: auto; }
.preview-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 34px; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-panel); padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.plan.popular { background: var(--yellow); box-shadow: 8px 9px 0 var(--ink); }
.plan-flag { position: absolute; top: -14px; left: 22px; background: var(--wing); color: var(--white); border: 2px solid var(--ink); border-radius: var(--r-pill); padding: 3px 12px; font-size: 13px; font-weight: 800; }
.plan h3 { font-size: 26px; font-stretch: 125%; }
html[data-lang="zh"] .plan h3 { font-stretch: 100%; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-family: var(--display); font-weight: 900; font-stretch: 110%; font-size: 58px; line-height: 1; letter-spacing: -0.02em; }
.plan-price > span { color: var(--ink-2); font-weight: 650; }
.plan ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.plan-extras p { margin: 0; padding: 16px 18px; border: 1.5px solid var(--line-strong); border-radius: 16px; color: var(--ink-2); }
.plan-extras b { color: var(--ink); }
.fine { margin-top: 22px; font-size: 15px; color: var(--ink-2); max-width: 70ch; }
.fine a { white-space: nowrap; }

/* your own agent */
.agents-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.agents-grid h2.display { color: var(--paper); }
.agent-box { display: grid; gap: 14px; justify-items: start; }
.code { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 10px 10px 14px; background: rgba(255, 252, 243, 0.08); border: 1.5px solid rgba(255, 252, 243, 0.35); border-radius: 12px; font-family: var(--mono); font-size: 14px; color: var(--yellow); overflow-x: auto; }
.code button { margin-left: auto; flex: none; border: 1.5px solid var(--paper); background: transparent; color: var(--paper); border-radius: 8px; padding: 6px 10px; font: 700 13px var(--text); cursor: pointer; }
.code button:hover { background: var(--paper); color: var(--ink); }
.say { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255, 252, 243, 0.1); font-size: 15px; color: var(--paper); }
.way-links { display: flex; gap: 18px; margin: 0; font-size: 14px; }
.link-yellow { color: var(--yellow); }
.link-yellow:hover { color: var(--paper); }
.foot-links { display: flex; gap: 16px; }

/* lightbox for creator clips */
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(21, 19, 15, 0.86); display: grid; place-items: center; padding: 24px; }
.lightbox-inner { position: relative; display: grid; gap: 12px; justify-items: center; }
.lightbox video { max-height: 80vh; max-width: min(460px, 92vw); border-radius: 16px; border: 2px solid var(--paper); background: var(--ink); }
.lightbox-close { position: absolute; top: -16px; right: -16px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.lightbox-meta { margin: 0; color: var(--paper); display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; justify-content: center; }
body.has-lightbox { overflow: hidden; }

/* faq */
.faq { border-top: 2px solid var(--ink); max-width: 900px; }
.faq details { border-bottom: 1.5px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--display); font-weight: 760; font-stretch: 104%; font-size: 21px; }
html[data-lang="zh"] .faq summary { font-stretch: 100%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 30px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }
.faq details > div p { margin: 0 0 10px; }

/* closing */
.closing { background: var(--yellow); padding: 96px 0; border-bottom: 2px solid var(--ink); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; }
.closing h2 { font-size: clamp(40px, 5.4vw, 74px); max-width: 14ch; }
html[data-lang="zh"] .closing h2 { max-width: 12em; }
.mini-tag { justify-self: center; width: min(300px, 100%); transform: rotate(5deg); background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 34px 24px 20px; box-shadow: 7px 8px 0 var(--ink); position: relative; }
.mini-tag::before { content: ''; position: absolute; top: 12px; left: 50%; margin-left: -7px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); }
.mini-tag .tag-name { font-size: 34px; margin: 10px 0 6px; }

/* footer */
.foot { padding: 46px 0 56px; font-size: 14px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { margin: 0 0 10px; font-size: 14px; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-legal { margin-top: 34px; padding-top: 18px; border-top: 1.5px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; font-weight: 650; z-index: 80; }

/* responsive */
@media (max-width: 1080px) {
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-phase:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .nav { display: none; }
  .top-inner { height: 60px; gap: 12px; }
  .brand { font-size: 22px; }
  .brand img { width: 34px; height: 34px; }
  .lang { margin-left: auto; }
  .top .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 40px; gap: 18px; }
  .hero .lede { font-size: 18px; }
  .label-stage { padding-top: 26px; }
  .label-string { display: none; }
  .goods { gap: 10px; }
  .good { width: 31%; padding: 6px 6px 8px; }
  .good-tag { right: -6px; font-size: 10.5px; padding: 2px 6px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 32px; }
  .lines, .plans, .plan-extras, .agents-grid, .closing-grid, .foot-grid { grid-template-columns: 1fr; }
  .cases { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .case { scroll-snap-align: start; }
  .flow { grid-template-columns: 1fr; }
  .flow-phase:last-child { grid-column: auto; }
  .window-bar .url { display: none; }
  .plans { gap: 24px; }
  .closing { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .top, .closing, .foot, .lightbox { display: none; } }
