/* OUUUT MAKE — Token Harbor design language
   Monochrome, dual theme, Inter + Noto Sans SC, 14px cards, 4px buttons.
   No gradients. No serif display. One accent: the ink itself. */

@font-face {
  font-family: "Noto Sans SC";
  src: url("../fonts/noto-sans-sc.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --background: #141413;
  --card: #1b1b19;
  --raised: #232320;
  --foreground: #e8e6e1;
  --muted: #9a9793;
  --muted-soft: #6f6c68;
  --border: #ffffff17;
  --border-hairline: #ffffff0d;
  --border-field: #ffffff29;
  --border-control: #ffffff5c;
  --surface-hover: #ffffff0a;
  --surface-pressed: #ffffff14;
  --accent-fg: #e8e6e1;
  --accent-bg: #ffffff14;
  --promo-bg: #e8e6e1;
  --promo-fg: #141413;
  --footer-bg: #0c0d09;
  --footer-fg: #fafaf9;
  --shadow-btn:
    0 1px #0000001a,
    0 2px 4px #00000033,
    0 8px 22px -4px #00000059;
  --shadow-card:
    0 1px 2px #00000022,
    0 8px 24px -12px #00000044;
  --shadow-pill:
    0 1px #00000026,
    0 2px 4px #00000033,
    0 12px 28px -8px #00000055;
}

html[data-theme="light"] {
  color-scheme: light;
  --background: #f7f6f2;
  --card: #ffffff;
  --raised: #faf9f5;
  --foreground: #17170f;
  --muted: #6b6a64;
  --muted-soft: #96948d;
  --border: #17170f1a;
  --border-hairline: #17170f0f;
  --border-field: #17170f3d;
  --border-control: #17170f80;
  --surface-hover: #17170f09;
  --surface-pressed: #17170f0f;
  --accent-fg: #17170f;
  --accent-bg: #17170f0f;
  --promo-bg: #17170f;
  --promo-fg: #f7f6f2;
  --footer-bg: #11120d;
  --footer-fg: #fafaf9;
  --shadow-btn:
    0 1px #0000000f,
    0 2px 4px #1a191824,
    0 8px 22px -4px #1a191847;
  --shadow-card:
    0 1px 2px #17170f0a,
    0 8px 24px -12px #17170f1a;
  --shadow-pill:
    0 1px #1a19180d,
    0 2px 4px #1a19180f,
    0 12px 28px -8px #1a191829;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", "Inter var", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans SC", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", "Meiryo", sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease, color 0.2s ease;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
::selection { background: var(--foreground); color: var(--card); }

:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus {
  left: 8px; top: 8px; z-index: 9999;
  padding: 8px 16px;
  background: var(--foreground); color: var(--card);
  border-radius: 4px;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-6 { margin-top: 40px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-3 { gap: 12px; }

/* ── Type ─────────────────────────────────────────────────────────────── */

.eyebrow {
  display: block;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 800;
}
.h-display {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--foreground);
  text-wrap: balance;
}
.h-section {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.16;
  color: var(--foreground);
  text-wrap: balance;
}
.h-card {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
.lede {
  margin: 16px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--foreground);
  opacity: 0.76;
  text-wrap: pretty;
}
.body-sm {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--foreground);
  opacity: 0.76;
}
.muted { color: var(--muted); }
.muted-soft { color: var(--muted-soft); }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.2s ease, opacity 0.16s ease,
    background 0.16s ease, border-color 0.16s ease;
}
.btn-primary {
  background: var(--foreground);
  color: var(--card);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { transform: translateY(-1px); color: var(--card); opacity: 0.95; }
.btn-primary:active { transform: translateY(0); opacity: 0.9; }
.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border-field);
}
.btn-outline:hover { background: var(--surface-hover); border-color: var(--border-control); }
.btn-lg { height: 44px; padding: 0 24px; font-size: 14px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12px; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  background: var(--surface-pressed);
  color: var(--foreground);
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
}
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--surface-pressed);
  color: var(--foreground);
  border-radius: 10px;
  flex-shrink: 0;
}
.icon-chip svg { width: 20px; height: 20px; stroke-width: 2.2; }

/* ── Announcement ─────────────────────────────────────────────────────── */

.announce {
  background: var(--promo-bg);
  color: var(--promo-fg);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-hairline);
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
}
.announce-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--promo-fg);
  flex-shrink: 0;
}

/* ── Header ───────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--background);
  border-bottom: 1px solid var(--border-hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--foreground);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand-mark {
  display: inline-block;
  width: 28px; height: 28px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("../img/logo-mark.svg") center / contain no-repeat;
  mask: url("../img/logo-mark.svg") center / contain no-repeat;
}
.brand-text { font-weight: 800; }
.brand-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  padding-left: 8px;
  margin-left: 4px;
  border-left: 1px solid var(--border-hairline);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 8px;
}
.nav a { color: var(--muted); transition: color 0.16s ease; }
.nav a:hover { color: var(--foreground); }
.nav-cta { display: none; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 500;
}
.lang-switch a {
  padding: 6px 8px;
  border-radius: 4px;
  color: var(--muted);
  transition: color 0.16s ease, background 0.16s ease;
}
.lang-switch a:hover { background: var(--surface-hover); color: var(--foreground); }
.lang-switch a.is-active { color: var(--foreground); background: var(--surface-pressed); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}
.theme-toggle:hover { background: var(--surface-hover); color: var(--foreground); }
.theme-toggle svg { width: 17px; height: 17px; stroke-width: 1.8; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  border-radius: 4px;
  color: var(--foreground);
}
.menu-toggle:hover { background: var(--surface-hover); }
.menu-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform 0.18s ease;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - 260px);
  padding: 64px 24px 48px;
  text-align: center;
  overflow: hidden;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 92vw;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--foreground);
  background: var(--card);
  border: 1px solid var(--border-hairline);
  border-radius: 9999px;
  box-shadow: var(--shadow-pill);
  margin-bottom: 28px;
}
.hero-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--foreground);
  flex-shrink: 0;
}
.hero-title {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--foreground);
  max-width: 980px;
  text-wrap: balance;
}
.hero-sub {
  margin: 20px 0 0;
  max-width: 720px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--foreground);
  opacity: 0.76;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-note {
  margin: 18px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.hero-proof {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 48px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}
.proof-item {
  min-width: 150px;
  padding: 18px 28px;
  text-align: center;
}
.proof-item + .proof-item { border-left: 1px solid var(--border-hairline); }
.proof-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.proof-label {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ── Sections ─────────────────────────────────────────────────────────── */

.section { padding: 80px 24px 64px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 10px; }
.section-head .lede { max-width: 640px; margin-left: auto; margin-right: auto; }
.section-head--left { text-align: left; }
.section-head--left .lede { margin-left: 0; }

/* ── Work ─────────────────────────────────────────────────────────────── */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.work-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-field);
}
.work-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--raised);
  border-bottom: 1px solid var(--border-hairline);
}
.work-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.work-card:hover .work-media img { transform: scale(1.025); }
.work-type {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(20, 20, 19, 0.72);
  color: #f7f6f2;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.work-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
}
.work-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.work-title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.work-arrow { color: var(--muted); font-size: 13px; flex-shrink: 0; }
.work-desc { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.work-tags .tag { font-size: 10.5px; padding: 3px 8px; }
.work-all { margin-top: 32px; text-align: center; }
.work-all a {
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border-control);
}
.work-all a:hover { text-decoration-color: var(--foreground); }

/* ── Services ─────────────────────────────────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
}
.service-card .tag { align-self: flex-start; }
.service-card p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.service-tags .tag { font-size: 10.5px; padding: 3px 8px; }

/* ── Pricing ──────────────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.sku-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.sku-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--border-field); }
.sku-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.sku-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.sku-price-num { font-size: 38px; font-weight: 700; letter-spacing: -0.025em; line-height: 1; color: var(--foreground); }
.sku-price-unit { font-size: 12px; color: var(--muted); }
.sku-desc { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); flex: 1; }
.sku-features {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13px; line-height: 1.5;
}
.sku-features li { display: flex; align-items: flex-start; gap: 8px; }
.sku-features li::before { content: "✓"; font-weight: 700; flex-shrink: 0; color: var(--foreground); }
.sku-card.is-featured {
  background: #e8e6e1;
  color: #141413;
  border-color: #e8e6e1;
  box-shadow: var(--shadow-card);
}
html[data-theme="light"] .sku-card.is-featured { background: #17170f; color: #f7f6f2; border-color: #17170f; }
.sku-card.is-featured .sku-name,
.sku-card.is-featured .sku-price-unit,
.sku-card.is-featured .sku-desc { color: rgba(20, 20, 19, 0.7); }
html[data-theme="light"] .sku-card.is-featured .sku-name,
html[data-theme="light"] .sku-card.is-featured .sku-price-unit,
html[data-theme="light"] .sku-card.is-featured .sku-desc { color: rgba(247, 246, 242, 0.7); }
.sku-card.is-featured .sku-price-num { color: #141413; }
html[data-theme="light"] .sku-card.is-featured .sku-price-num { color: #f7f6f2; }
.sku-card.is-featured .sku-features { color: #141413; }
html[data-theme="light"] .sku-card.is-featured .sku-features { color: #f7f6f2; }
.sku-card.is-featured .sku-features li::before { color: #141413; }
html[data-theme="light"] .sku-card.is-featured .sku-features li::before { color: #f7f6f2; }
.sku-card.is-featured .btn-primary { background: #141413; color: #e8e6e1; box-shadow: none; }
html[data-theme="light"] .sku-card.is-featured .btn-primary { background: #f7f6f2; color: #17170f; }
.sku-card.is-featured .tag { background: rgba(20, 20, 19, 0.12); color: #141413; }
html[data-theme="light"] .sku-card.is-featured .tag { background: rgba(247, 246, 242, 0.16); color: #f7f6f2; }
.pricing-note { margin: 24px auto 0; max-width: 760px; text-align: center; font-size: 12px; color: var(--muted); }

.extras-wrap { margin-top: 64px; }
.extras-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.extras-head h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.extras-head span { font-size: 12px; color: var(--muted); }
.extras-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border-hairline); border: 1px solid var(--border-hairline); border-radius: 14px; overflow: hidden; }
.extra-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 20px; background: var(--card); }
.extra-name { font-size: 13.5px; font-weight: 600; }
.extra-desc { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.extra-price { font-size: 12px; font-weight: 600; color: var(--foreground); white-space: nowrap; text-align: right; }

.care-wrap { margin-top: 64px; }
.care-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.care-card { padding: 24px; background: var(--card); border: 1px solid var(--border-hairline); border-radius: 14px; }
.care-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.care-name { font-size: 14px; font-weight: 700; }
.care-price { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.care-price span { font-size: 11px; font-weight: 500; color: var(--muted); }
.care-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--muted); }
.care-list li { display: flex; gap: 8px; }
.care-list li::before { content: "·"; color: var(--foreground); font-weight: 700; }

/* ── Process ──────────────────────────────────────────────────────────── */

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border-hairline);
}
.process-step {
  padding: 24px 20px 0 0;
  border-right: 1px solid var(--border-hairline);
}
.process-step:last-child { border-right: 0; padding-right: 0; }
.process-step + .process-step { padding-left: 20px; }
.process-num { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }
.process-title { margin: 12px 0 0; font-size: 15px; font-weight: 700; }
.process-desc { margin: 8px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }

/* ── Why ──────────────────────────────────────────────────────────────── */

.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why-card { padding: 28px; background: var(--card); border: 1px solid var(--border-hairline); border-radius: 14px; }
.why-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.why-card p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq-list { max-width: 840px; margin: 0 auto; border-top: 1px solid var(--border-hairline); }
.faq-item { border-bottom: 1px solid var(--border-hairline); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.16s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 22px; max-width: 720px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }

/* ── Case notes ───────────────────────────────────────────────────────── */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.case-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
}
.case-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.case-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.case-list { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.case-list div { border-top: 1px solid var(--border-hairline); padding-top: 12px; }
.case-list dt {
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.case-list dd { margin: 0; font-size: 13px; line-height: 1.55; color: var(--foreground); opacity: 0.78; }
.case-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-tags .tag { font-size: 10.5px; padding: 3px 8px; }
.case-foot > a {
  font-size: 12px;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border-control);
}
.case-foot > a:hover { text-decoration-color: var(--foreground); }

/* ── Contact ──────────────────────────────────────────────────────────── */

.contact-section { padding: 80px 24px 96px; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
  max-width: 1080px;
}
.contact-intro { padding-top: 20px; }
.contact-note { margin: 20px 0 0; font-size: 12px; color: var(--muted); }
.contact-checklist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.contact-checklist span {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  padding: 5px 10px;
}
.contact-fallback { margin: 24px 0 0; font-size: 12px; color: var(--muted); }
.contact-fallback a {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-form-card {
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}
.form-title { margin: 0 0 20px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.project-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; }
.field span { color: var(--foreground); }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 400;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border-field);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--foreground);
  box-shadow: 0 0 0 3px var(--surface-pressed);
}
.field textarea { min-height: 120px; resize: vertical; }
.field small { font-size: 11px; font-weight: 400; color: var(--muted); }
.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--muted);
}
.check input { margin-top: 2px; accent-color: var(--foreground); }
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status { min-height: 20px; margin: 0; font-size: 12px; color: var(--muted); }
.form-status.is-ok { color: var(--foreground); font-weight: 600; }
.form-status.is-error { color: var(--foreground); font-weight: 600; }
.form-privacy { margin: 0; font-size: 11px; line-height: 1.5; color: var(--muted); }

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer { margin-top: auto; background: var(--footer-bg); color: var(--footer-fg); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.footer-brand .brand { color: var(--footer-fg); margin-bottom: 16px; }
.footer-brand .brand-mark { width: 26px; height: 26px; }
.footer-brand .brand-sub { color: rgba(250, 250, 249, 0.45); border-left-color: rgba(250, 250, 249, 0.18); }
.footer-tagline { max-width: 300px; margin: 16px 0 20px; font-size: 13px; line-height: 1.6; color: rgba(250, 250, 249, 0.55); }
.footer-company, .footer-meta { margin: 6px 0 0; font-size: 11.5px; line-height: 1.6; color: rgba(250, 250, 249, 0.55); }
.footer-col h2 { margin: 0 0 16px; font-size: 12px; font-weight: 600; color: rgba(250, 250, 249, 0.9); }
.footer-col a { display: block; margin-bottom: 10px; font-size: 12.5px; color: rgba(250, 250, 249, 0.6); }
.footer-col a:hover { color: var(--footer-fg); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(250, 250, 249, 0.12);
  font-size: 11px;
  color: rgba(250, 250, 249, 0.55);
}
.footer-bottom p { margin: 0; }
.footer-lang { display: flex; gap: 12px; }
.footer-lang a { color: rgba(250, 250, 249, 0.6); }

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid .sku-card:last-child { grid-column: 1 / -1; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--background);
    border-bottom: 1px solid var(--border-hairline);
    padding: 12px 24px 20px;
    gap: 4px;
    margin-left: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 12px; border-radius: 6px; }
  .nav a:hover { background: var(--surface-hover); }
  .nav a.nav-cta { color: var(--card); }
  .nav a.nav-cta:hover { color: var(--card); }
  .nav-cta {
    display: block;
    margin-top: 8px;
    padding: 11px 12px;
    text-align: center;
    background: var(--foreground);
    color: var(--card);
    border-radius: 4px;
    font-weight: 600;
  }
  .nav-cta:hover { background: var(--foreground); color: var(--card); opacity: 0.95; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step { border-right: 0; padding: 24px 20px 0 0; }
  .process-step + .process-step { padding-left: 0; }
  .process-step:nth-child(even) { padding-left: 20px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-intro { padding-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .h-display { font-size: 38px; }
  .h-section { font-size: 28px; }
  .hero { min-height: auto; padding: 56px 20px 48px; }
  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 14px; }
  .hero-pill { font-size: 11.5px; padding: 8px 14px; }
  .hero-proof { margin-top: 36px; }
  .proof-item { min-width: 0; flex: 1; padding: 16px 10px; }
  .proof-value { font-size: 20px; }
  .proof-label { font-size: 10px; }
  .section { padding: 64px 20px 48px; }
  .work-grid, .services-grid, .why-grid, .extras-grid, .care-grid, .case-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid .sku-card:last-child { grid-column: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:nth-child(even) { padding: 20px 0 0; }
  .process-step + .process-step { border-top: 1px solid var(--border-hairline); margin-top: 20px; }
  .contact-form-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .brand-sub { display: none; }
  .brand { font-size: 14px; gap: 6px; }
  .brand-mark { width: 24px; height: 24px; }
  .lang-switch { display: flex; }
  .lang-switch a { padding: 4px 5px; font-size: 11px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .work-card:hover, .sku-card:hover { transform: none; }
  .work-card:hover .work-media img { transform: none; }
}

/* ── Legal ────────────────────────────────────────────────────────────── */

.legal { max-width: 760px; padding: 72px 0 96px; }
.legal h1 { margin: 0 0 16px; font-size: 40px; font-weight: 500; letter-spacing: -0.022em; }
.legal h2 { margin: 40px 0 12px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.legal p, .legal li { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal a { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }
.legal .legal-back { display: inline-block; margin-bottom: 32px; font-size: 12px; color: var(--muted); }
.legal .legal-meta { margin-top: 40px; font-size: 11px; color: var(--muted-soft); }
.legal .legal-zh { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border-hairline); }
