@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("assets/fonts/noto-sans-sc.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/noto-serif-sc.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2efe6;
  --paper-2: #e9e5da;
  --ink: #121310;
  --muted: #62655b;
  --lime: #d8ff3f;
  --line: rgba(18, 19, 16, 0.16);
  --display: "Bricolage Grotesque", "Noto Sans SC", Arial, sans-serif;
  --sans: "Manrope", "Noto Sans SC", Arial, sans-serif;
  --serif: "Instrument Serif", "Noto Serif SC", Georgia, serif;
  --wrap: min(calc(100% - 72px), 1180px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lime); color: var(--ink); }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding-left: 20px; }
img, svg { display: block; }
:focus-visible { outline: 2px solid #ff5c35; outline-offset: 4px; }

.wrap { width: var(--wrap); margin-inline: auto; }

.legal-header {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: rgba(242, 239, 230, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.legal-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { width: 32px; height: 32px; }
.brand span {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}
.brand sup {
  position: relative;
  top: -0.55em;
  font-size: 6px;
  letter-spacing: 0;
}
.legal-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, gap 0.25s ease;
}
.back:hover { color: var(--ink); gap: 12px; }

.legal-main { padding: clamp(64px, 9vw, 110px) 0 clamp(80px, 10vw, 130px); }
.eyebrow {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.legal-main h1 {
  max-width: 900px;
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.legal-main h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.legal-date {
  margin-top: 22px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-content { max-width: 790px; padding-top: 36px; }
.legal-lede {
  margin-bottom: 38px;
  font-family: var(--display);
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.legal-content h2 {
  margin: 40px 0 12px;
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.legal-content p { margin-bottom: 14px; color: #3d4037; }
.legal-content ul { margin: 8px 0 18px; color: #3d4037; }
.legal-content li { margin-bottom: 7px; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: var(--ink); }
.legal-callout {
  margin: 34px 0;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
}
.legal-callout p:last-child { margin-bottom: 0; }
.legal-foot {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  :root { --wrap: calc(100% - 36px); }
  .brand svg { width: 28px; height: 28px; }
  .brand span { font-size: 15px; }
  .back { font-size: 10px; }
  .legal-main { padding-top: 54px; }
  .legal-main h1 { font-size: clamp(43px, 13vw, 64px); }
  .legal-content { padding-top: 26px; }
  .legal-lede { font-size: 20px; }
  .legal-content h2 { margin-top: 32px; }
}

/* Thank-you page */
.thanks-main {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
  padding: 80px 0 100px;
}
.thanks-card {
  position: relative;
  width: min(100%, 880px);
  padding: clamp(30px, 6vw, 68px);
  border-radius: 26px;
  background: var(--lime);
  overflow: hidden;
}
.thanks-card::after {
  content: "✳";
  position: absolute;
  right: -10px;
  bottom: -80px;
  color: rgba(18, 19, 16, 0.08);
  font-family: var(--display);
  font-size: 280px;
  line-height: 1;
  pointer-events: none;
}
.thanks-card .eyebrow { color: rgba(18, 19, 16, 0.7); }
.thanks-card h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(56px, 9vw, 100px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.thanks-copy {
  max-width: 550px;
  margin-top: 26px;
  color: rgba(18, 19, 16, 0.68);
  font-size: 16px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.contact-hub {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 18px;
}
.contact-option {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 215px;
  padding: 21px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.contact-option-label {
  color: rgba(242, 239, 230, 0.62);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-option > strong {
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.contact-option > p {
  max-width: 280px;
  color: rgba(242, 239, 230, 0.66);
  font-size: 10px;
  line-height: 1.55;
}
.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: auto;
  padding: 9px 11px;
  border: 1px solid rgba(242, 239, 230, 0.26);
  border-radius: 8px;
  background: transparent;
  color: var(--lime);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.copy-button:hover { background: var(--lime); color: var(--ink); }
.copy-label { font-size: 8px; font-weight: 700; opacity: 0.9; }
.copy-label:not(:empty)::before { content: " · "; }
.option-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--lime);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.contact-option .icon { width: 13px; height: 13px; }
.thanks-note {
  position: relative;
  z-index: 1;
  max-width: 580px;
  color: rgba(18, 19, 16, 0.7);
  font-size: 10px;
  line-height: 1.6;
}
.thanks-note a { text-decoration: underline; text-underline-offset: 3px; }
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}
.thanks-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.thanks-button span { color: var(--lime); }
.thanks-link {
  font-size: 11px;
  font-weight: 700;
  color: rgba(18, 19, 16, 0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.thanks-email {
  margin-top: 21px;
  color: rgba(18, 19, 16, 0.72);
  font-size: 10px;
  position: relative;
  z-index: 1;
}
.thanks-email a { color: rgba(18, 19, 16, 0.9); text-decoration: underline; text-underline-offset: 3px; }

html[lang="zh-CN"] body { line-height: 1.85; }
html[lang="zh-CN"] .legal-main h1,
html[lang="zh-CN"] .thanks-card h1 {
  line-height: 1.02;
  letter-spacing: -0.055em;
}
html[lang="zh-CN"] .legal-main h1 em,
html[lang="zh-CN"] .thanks-card h1 em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.02em;
}
html[lang="zh-CN"] .legal-lede { line-height: 1.55; }
html[lang="zh-CN"] .legal-content p,
html[lang="zh-CN"] .legal-content li { letter-spacing: 0.01em; }
html[lang="zh-CN"] .back { font-size: 11px; }
html[lang="zh-CN"] .contact-option-label { letter-spacing: 0.06em; }
html[lang="zh-CN"] .contact-option > strong { font-size: clamp(23px, 2.7vw, 33px); }
html[lang="zh-CN"] .thanks-note { line-height: 1.8; }

@media (max-width: 700px) {
  .contact-hub { grid-template-columns: 1fr; }
  .contact-option { min-height: 0; }
  .contact-option > strong { font-size: 25px; }
  .thanks-note { font-size: 10px; }
}
