/* ==========================================================
   DESIGN TOKENS / 全局设计变量
   之后要换字体、颜色、圆角、阴影，主要改这里即可。
   ========================================================== */

:root {
  /* Font
     日文网页推荐：
     - --font-main：正文与导航，清爽稳定，接近你截图里的日文网页感
     - --font-display：只给大标题/特殊标题使用，带一点高级感
  */
  --font-main: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-display: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;

  /* Colors */
  --page-bg: #FAF9F5;
  --panel-bg: #F0EFEB;
  --soft-card: #E9E8E4;
  --soft-card-2: #F4F3EF;
  --white-card: #FFFDF8;
  --text: #1B1B1B;
  --muted: #8C8880;
  --muted-light: #BDBAB2;
  --line: #D9D7D0;
  --black: #181818;
  --deep-black: #151515;
  --white: #FFFFFF;

  /* Gradients */
  --gradient-sunset: linear-gradient(135deg, #FF416C 0%, #FF4B2B 50%, #F27121 100%);
  --gradient-blue: linear-gradient(135deg, #E0EAFC 0%, #CFDEF3 100%);
  --gradient-emerald: linear-gradient(135deg, #DCEFE3 0%, #BFE3D5 100%);
  --gradient-dark: linear-gradient(135deg, rgba(0,0,0,.55), rgba(0,0,0,.18));

  /* Radius */
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-2xl: 48px;
  --radius-pill: 999px;

  /* Spacing */
  --container: 1728px;
  --margin: 40px;
  --section-y: 140px;

  /* Shadows */
  --shadow-soft: 0 18px 60px rgba(27, 27, 27, .08);
  --shadow-card: 0 24px 80px rgba(27, 27, 27, .12);
  --shadow-nav: 0 16px 40px rgba(0, 0, 0, .18);

  /* Typography */
  --display-size: clamp(52px, 7vw, 112px);
  --h1-size: clamp(44px, 5.2vw, 82px);
  --h2-size: clamp(34px, 4.4vw, 64px);
  --h3-size: clamp(22px, 2.1vw, 32px);
  --body-lg: clamp(17px, 1.3vw, 22px);
  --body-md: 16px;
  --label: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; }

::selection { background: var(--black); color: var(--white); }

.container {
  width: min(calc(100% - var(--margin) * 2), var(--container));
  margin: 0 auto;
}

.label {
  font-size: var(--label);
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
}

.text-balance { text-wrap: balance; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: #000; }

.btn-secondary {
  background: rgba(255,255,255,.48);
  border-color: rgba(27,27,27,.18);
  color: var(--text);
  backdrop-filter: blur(20px);
}
.btn-secondary:hover { background: var(--text); color: var(--white); }

.glass {
  background: rgba(255, 255, 255, .52);
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(26px) saturate(1.5);
}

@media (max-width: 768px) {
  :root {
    --margin: 20px;
    --section-y: 92px;
  }
}
