:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --ink: #0b1430;
  --accent: #e9f77b;
  --muted: #596070;
  --line: #d6d7d0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 3px; }
::selection { color: var(--ink); background: var(--accent); }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
.page-shell { width: min(100% - 96px, 1280px); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 12px 18px; background: var(--accent); z-index: 10; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; border-bottom: 1px solid var(--line); }
.brand-label { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 850; letter-spacing: -0.06em; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.site-header nav { display: flex; gap: 30px; font-size: 15px; font-weight: 600; }
.site-header nav a { padding-block: 8px; }
.site-header nav a span { margin-left: 5px; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero { padding-block: 36px 72px; }
.hero-label, .section-label { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 650; letter-spacing: 0.12em; }
.hero-label { justify-content: space-between; }
.hero-label span:last-child { letter-spacing: 0.06em; }
.wordmark-stage { width: 100%; max-width: 1040px; aspect-ratio: 1166 / 340; overflow: hidden; margin: 28px auto 36px; }
.wordmark { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bottom { display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: end; gap: 64px; }
h1 { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.24; letter-spacing: -0.045em; font-weight: 800; }
.highlight { background: linear-gradient(transparent 56%, var(--accent) 56%); }
.hero-description { margin-top: 24px; font-size: 16px; line-height: 1.9; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 54px; padding: 15px 23px; border: 1px solid var(--ink); border-radius: 6px; font-size: 15px; font-weight: 650; transition: transform 160ms ease, background-color 160ms ease; }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:focus-visible { outline-offset: 5px; }
.button-secondary { background: transparent; }
.button-primary:hover { background: #26304d; transform: translateY(-2px); }
.button-secondary:hover { background: var(--accent); transform: translateY(-2px); }
.play-note { background: var(--accent); border: 1px solid var(--ink); border-radius: 10px; padding: 22px; transform: rotate(3deg); margin: 0 8px 8px 0; }
.play-note-top { display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; }
.play-note-top span:last-child { font-size: 24px; line-height: 1; }
.play-shapes { position: relative; height: 170px; margin-block: 18px; }
.shape-ring { position: absolute; width: 116px; height: 116px; border: 24px solid var(--ink); border-radius: 50%; top: 22px; left: 8%; }
.shape-block { position: absolute; width: 88px; height: 88px; border: 3px solid var(--ink); border-radius: 8px; right: 8%; top: 30px; transform: rotate(-17deg); background: var(--paper); }
.shape-dot { position: absolute; width: 27px; height: 27px; border-radius: 50%; background: var(--ink); right: 32%; bottom: 5px; }
.play-note-bottom { display: block; border-top: 1px solid #9fa953; padding-top: 15px; font-size: 12px; font-weight: 550; }
.about-section { padding-block: 42px 62px; border-top: 1px solid var(--line); }
.tiny-square { width: 8px; height: 8px; background: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 28px; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.4; letter-spacing: -0.04em; }
.about-copy { align-self: center; max-width: 520px; }
.about-copy p { font-size: 16px; line-height: 1.95; color: var(--muted); }
.about-copy p + p { margin-top: 18px; }
.journal-note { border: 1px solid var(--line); border-radius: 10px; padding: 32px; margin-bottom: 70px; background: #eeede6; }
.journal-note h2 { font-size: clamp(23px, 2.5vw, 32px); margin-top: 15px; }
.journal-note p { color: var(--muted); font-size: 15px; line-height: 1.85; margin-top: 12px; }
.site-footer { border-top: 1px solid var(--ink); padding-block: 32px 24px; display: grid; grid-template-columns: 1fr auto; gap: 34px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand strong { font-size: 26px; font-weight: 850; letter-spacing: -0.06em; }
.footer-brand span, .contact { font-size: 12px; }
.contact { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.contact-label { color: var(--muted); }
.contact-email { font-size: 14px; overflow-wrap: anywhere; }
.contact-status { color: var(--muted); }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 10px; color: var(--muted); letter-spacing: 0.05em; }
.error-main { min-height: 65vh; padding-block: 72px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.error-number { font-size: clamp(80px, 18vw, 180px); font-weight: 850; line-height: 1; letter-spacing: -0.07em; margin-block: 20px; }
.error-main h1 { font-size: clamp(28px, 5vw, 44px); }
.error-main p { max-width: 480px; color: var(--muted); line-height: 1.9; margin-top: 18px; }
.error-main .button { margin-top: 28px; }

@media (max-width: 900px) {
  .page-shell { width: calc(100% - 56px); }
  .hero-bottom { gap: 32px; grid-template-columns: 1.15fr 0.85fr; }
  .play-note { padding: 18px; }
  .play-shapes { height: 140px; }
  .shape-ring { width: 100px; height: 100px; border-width: 21px; left: 0; }
  .shape-block { width: 70px; height: 70px; right: 0; }
  .about-grid { gap: 36px; }
}

@media (max-width: 640px) {
  .page-shell { width: calc(100% - 40px); }
  .site-header { padding-block: 18px; }
  .site-header nav { gap: 22px; font-size: 14px; }
  .hero { padding-block: 28px 40px; }
  .hero-label { font-size: 9px; letter-spacing: 0.08em; }
  .wordmark-stage { margin-block: 22px 20px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 34px; }
  h1 { font-size: clamp(36px, 9.8vw, 58px); }
  .hero-description { font-size: 15px; margin-top: 20px; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .button { flex: 1 1 auto; padding: 15px 18px; gap: 16px; font-size: 14px; }
  .play-note { width: 100%; transform: none; margin: 0; }
  .play-shapes { height: 110px; max-width: 260px; margin-inline: auto; }
  .shape-ring { top: 0; left: 15%; }
  .shape-block { top: 12px; right: 10%; }
  .shape-dot { right: 39%; bottom: 0; width: 20px; height: 20px; }
  .about-section { padding-block: 30px 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
  .about-copy p { font-size: 15px; }
  .journal-note { margin-bottom: 40px; padding: 24px; }
  .journal-note p { font-size: 14px; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; padding-top: 26px; }
  .footer-bottom { font-size: 9px; }
  .error-main { min-height: 60vh; padding-block: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .button:hover { transform: none; }
}
