@font-face {
  font-family: Mogra;
  src: url("assets/mogra.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #fcfcfd;
  --ink: #08152e;
  --muted: #454f62;
  --line: #e5e7ec;
  --surface: #f5f6f8;
  --accent: #08152e;
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1 { margin: 0; }
a { outline-offset: 6px; }
:focus-visible { outline: 2px solid var(--accent); }
::selection { background: #dfe6f2; color: #08152e; }
.wordmark { font-family: Mogra, Georgia, serif; font-weight: 400; line-height: 1; }
.section-shell { width: min(1120px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .2em; line-height: 1.6; }
.icon { display: inline-block; flex: 0 0 auto; width: 20px; height: 20px; background: currentColor; mask: var(--icon) center / contain no-repeat; -webkit-mask: var(--icon) center / contain no-repeat; }
.icon-down { --icon: url("assets/icons/arrow-down-line.svg"); }
.icon-up { --icon: url("assets/icons/arrow-right-up-line.svg"); }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 16px; padding: 8px 18px; border-radius: 8px; background: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; width: min(1344px, calc(100% - 112px)); min-height: 80px; margin: auto; padding-block: 12px; }
.header-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.brand { display: flex; align-items: center; gap: 11px; min-height: 44px; }
.brand img { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; }
.brand .wordmark { padding-top: 7px; font-size: 29px; }
.site-header .brand { flex-shrink: 0; }
.site-header .wordmark { padding-top: 5px; font-size: 26px; }
.site-header .about-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; transition: color 180ms ease, background 180ms ease; }
.site-header .about-link:hover, .site-header .about-link:focus-visible { background: var(--surface); color: var(--ink); }
.about-link .icon { width: 17px; height: 17px; }

.hero { position: relative; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding: 75px 24px 0; text-align: center; animation: arrive 800ms ease both; }
.hero .eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #8792a5; box-shadow: 0 0 0 4px #8792a512; }
h1 { margin-top: 25px; font: 400 clamp(42px, 4.6vw, 68px)/1.45 var(--serif); letter-spacing: -.055em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); }
.hero #hero-title { font-size: clamp(20px, 3.8468vw, 32px); }
.hero-description { margin: 25px auto 26px; color: var(--muted); font-size: 14px; line-height: 1.95; text-wrap: balance; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 11px 25px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; line-height: 1.8; transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.button-primary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.button-primary:hover { background: var(--paper); border-color: var(--muted); box-shadow: 0 5px 18px #08152e14; transform: translateY(-2px); }
.button-primary:active { transform: translateY(0); }
.button .icon { width: 17px; height: 17px; }
.hero-stage { position: relative; width: min(1080px, 100%); height: 739px; margin: 61px auto 0; }
.hero-stage::before { position: absolute; inset: 70px 8% -100px; content: ""; background: radial-gradient(ellipse at 50% 60%, #d7dce95c, transparent 68%); }
.phone { position: absolute; z-index: 3; top: 0; left: 50%; width: 326px; aspect-ratio: 714 / 1479; transform: translateX(-50%); animation: phone-arrive 1000ms 120ms both; }
.phone-screen { position: relative; display: block; height: 100%; }
.phone-screen img { width: 100%; height: 100%; object-fit: contain; }
.print { position: absolute; z-index: 2; padding: 10px 10px 0; border: 1px solid #e3e5eb; background: #ffffff; color: #657086; box-shadow: 0 14px 30px -14px #08152e26; }
.print img { width: 100%; object-fit: cover; }
.print figcaption { padding: 14px 0 17px; font: italic 15px/1.5 Georgia, serif; text-align: center; }
.print-left { top: 97px; left: 55px; width: 258px; transform: rotate(-11deg); animation: arrive 1000ms 200ms both; }
.print-left img { height: 182px; }
.print-right { top: 160px; right: 70px; width: 214px; transform: rotate(10deg); animation: arrive 1000ms 300ms both; }
.print-right img { height: 248px; }
.stage-note { position: absolute; z-index: 1; color: var(--muted); }
.note-left { top: 400px; left: 115px; font: italic 21px/1.4 Georgia, serif; transform: rotate(-6deg); }
.note-right { top: 55px; right: 97px; font: 12px/1.9 var(--serif); transform: rotate(5deg); letter-spacing: .06em; }

.site-footer { display: flex; justify-content: space-between; gap: 64px; padding: 64px 0 80px; }
.footer-brand p { margin-top: 24px; color: var(--muted); font-size: 13px; }
.footer-brand small { display: block; margin-top: 16px; color: var(--muted); font-size: 11px; }
.footer-nav { display: flex; gap: clamp(48px, 8vw, 120px); }
.footer-group h2 { margin: 0 0 18px; font: 500 18px/1.8 var(--serif); }
.footer-group a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--muted); font-size: 13px; }
.footer-group a:hover, .about-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.footer-group .icon { width: 15px; height: 15px; }
.about-page { min-height: 60vh; padding-block: 80px 100px; }
.about-page h1 { margin-top: 0; }
.about-page p { max-width: 560px; margin-top: 24px; color: var(--muted); }
.about-page .contact-email { display: inline-block; margin-top: 12px; padding-block: 8px; font-size: clamp(20px, 4vw, 28px); text-decoration: underline; text-underline-offset: 6px; overflow-wrap: anywhere; }
.legal-page { max-width: 860px; padding-block: 64px 80px; overflow-wrap: anywhere; }
.legal-page h1 { margin-top: 0; font-size: clamp(30px, 5vw, 44px); }
.legal-page h2 { margin: 48px 0 16px; font: 500 24px/1.5 var(--serif); }
.legal-page h3 { margin: 28px 0 12px; font-size: 18px; }
.legal-page p, .legal-page ul, .legal-page ol { margin: 16px 0; }
.legal-page ul, .legal-page ol { padding-left: 24px; }
.legal-page li + li { margin-top: 8px; }
.legal-page a { text-decoration: underline; text-underline-offset: 4px; }
.legal-page code { padding: 2px 5px; border-radius: 4px; background: var(--surface); }
.legal-table { max-width: 100%; margin-block: 24px; overflow-x: auto; }
.legal-table:focus-visible { outline-offset: -2px; }
.legal-page table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.legal-page th, .legal-page td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-page th { background: var(--surface); font-weight: 600; }

@keyframes arrive { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes phone-arrive { from { opacity: 0; translate: 0 35px; } to { opacity: 1; translate: 0 0; } }

@media (min-width: 1600px) {
  .hero-copy { padding-top: 90px; }
}
@media (max-width: 1100px) {
  .section-shell { width: calc(100% - 80px); }
  .print-left { left: 4%; width: 222px; }
  .print-right { right: 5%; width: 188px; }
  .note-left { left: 8%; }
  .note-right { right: 6%; }
}
@media (max-width: 800px) {
  .section-shell { width: calc(100% - 48px); }
  .site-header { width: calc(100% - 48px); }
  .hero-copy { padding-top: 56px; }
  h1 { font-size: clamp(37px, 6vw, 48px); }
  .hero-description { font-size: 13px; }
  .hero-stage { height: 711px; margin-top: 55px; }
  .print-left { top: 120px; left: -28px; width: 180px; }
  .print-left img { height: 150px; }
  .print-right { top: 215px; right: -18px; width: 157px; }
  .print-right img { height: 194px; }
  .print figcaption { font-size: 12px; }
  .stage-note { display: none; }
}
@media (max-width: 600px) {
  .site-footer { flex-direction: column; gap: 36px; padding: 40px 0 56px; }
  .footer-nav { justify-content: space-between; gap: 32px; }
  .about-page { padding-block: 48px 64px; }
  html { scroll-padding-top: 24px; }
  .site-header { min-height: 68px; gap: 8px 20px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .brand .wordmark { font-size: 25px; }
  .site-header .wordmark { font-size: 24px; }
  .hero-copy { padding: 44px 20px 0; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .16em; }
  h1 { margin-top: 25px; font-size: clamp(30px, 7.5vw, 44px); line-height: 1.55; }
  .hero-description { max-width: 320px; margin-top: 21px; margin-bottom: 25px; font-size: 12px; }
  .hero-description br { display: none; }
  .hero-stage { height: 641px; margin-top: 48px; }
  .phone { width: 290px; }
  .print-left { z-index: 1; left: -67px; top: 90px; width: 150px; transform: rotate(-15deg); }
  .print-right { z-index: 1; right: -64px; top: 185px; width: 140px; transform: rotate(13deg); }
  .eyebrow { font-size: 9px; letter-spacing: .15em; }
}
@media (max-width: 360px) {
  .section-shell { width: calc(100% - 36px); }
  .site-header { width: calc(100% - 36px); }
  .hero-stage { height: 640px; }
  .print { display: none; }
  .hero-description { font-size: 11px; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1221;
    --ink: #eef1f7;
    --muted: #a9b3c4;
    --line: #2b364a;
    --surface: #172238;
    --accent: #eef1f7;
  }
  .hero-stage::before { background: radial-gradient(ellipse at 50% 65%, #536a9630, transparent 70%); }
  .print { background: #f5f6fa; border-color: #cbd1dc; }
  .brand img { border-color: #46516a; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
