:root {
  --ivory: #f4efe7;
  --ivory-strong: #fbf7f1;
  --ink: #111111;
  --ink-soft: rgba(17, 17, 17, 0.7);
  --line: rgba(17, 17, 17, 0.08);
  --line-strong: rgba(17, 17, 17, 0.14);
  --card: rgba(255, 255, 255, 0.78);
  --card-strong: rgba(255, 255, 255, 0.92);
  --shadow: 0 30px 80px rgba(17, 17, 17, 0.12);
  --shadow-soft: 0 14px 40px rgba(17, 17, 17, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --accent: #111111;
  --accent-soft: #e7dfd2;
  --gold: #8d7753;
  --hero: linear-gradient(145deg, #121212 0%, #1c1b1a 60%, #27231f 100%);
  --hero-line: rgba(255, 255, 255, 0.09);
  --hero-text: #f7f4ee;
  --hero-muted: rgba(247, 244, 238, 0.72);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(141, 119, 83, 0.10), transparent 32%),
    radial-gradient(circle at bottom right, rgba(17, 17, 17, 0.04), transparent 30%),
    linear-gradient(180deg, #f8f4ed 0%, #f2ece2 100%);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.018) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 85%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(248, 244, 237, 0.74);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}
.header-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-copy strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.brand-copy span {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
}
.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.site-nav a,
.nav-ghost {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: 180ms ease;
}
.site-nav a:hover,
.nav-ghost:hover {
  background: rgba(17, 17, 17, 0.06);
  color: var(--ink);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--hero-text);
  box-shadow: var(--shadow-soft);
}
.nav-cta:hover { transform: translateY(-1px); }

.page-main {
  padding: 28px 0 88px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}
.hero-panel,
.hero-side {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.hero-panel {
  padding: 40px 42px 38px;
  background: var(--hero);
  color: var(--hero-text);
}
.hero-panel::after,
.hero-side::after {
  content: "";
  position: absolute;
  inset: auto -12% -24% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
  pointer-events: none;
}
.hero-side {
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.74));
  border: 1px solid rgba(17,17,17,0.06);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(247, 244, 238, 0.86);
}
.hero-panel .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d5c5ac;
}
.display-title,
.legal-title {
  margin: 20px 0 16px;
  font-family: "Baskerville", "Iowan Old Style", "Noto Serif SC", serif;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.display-title { font-size: clamp(44px, 7.4vw, 86px); }
.legal-title { font-size: clamp(34px, 5.2vw, 60px); }
.hero-copy,
.legal-lede {
  margin: 0;
  max-width: 700px;
  color: var(--hero-muted);
  font-size: 17px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 180ms ease;
}
.button-primary {
  background: #f7f3eb;
  color: #111111;
}
.button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  color: #f7f3eb;
  background: rgba(255, 255, 255, 0.04);
}
.button-primary:hover,
.button-secondary:hover,
.surface-link:hover,
.tile:hover {
  transform: translateY(-1px);
}
.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.hero-chip {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--hero-line);
  background: rgba(255, 255, 255, 0.05);
}
.hero-chip strong {
  display: block;
  font-size: 14px;
  color: var(--hero-text);
}
.hero-chip span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--hero-muted);
}
.preview-card {
  position: relative;
  z-index: 1;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.96), rgba(17, 17, 17, 0.88));
  color: var(--hero-text);
  min-height: 100%;
}
.preview-card .brand-mark {
  width: 68px;
  height: 68px;
  border-radius: 20px;
}
.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.preview-label {
  color: rgba(247, 244, 238, 0.62);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preview-copy {
  margin-top: 20px;
  font-size: 16px;
  color: rgba(247, 244, 238, 0.78);
}
.preview-stack {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.preview-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.preview-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  font-family: "Baskerville", "Iowan Old Style", serif;
  font-size: 28px;
}
.preview-item strong {
  font-size: 15px;
}
.preview-item p {
  margin: 6px 0 0;
  color: rgba(247, 244, 238, 0.64);
  font-size: 13px;
}

.section-block {
  margin-top: 24px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.section-heading h2 {
  margin: 0;
  font-family: "Baskerville", "Iowan Old Style", "Noto Serif SC", serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.section-heading p {
  margin: 0;
  max-width: 540px;
  color: var(--ink-soft);
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  min-height: 100%;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card-strong);
  box-shadow: var(--shadow-soft);
  transition: 180ms ease;
}
.tile-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tile h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.1;
}
.tile p, .tile li, .surface-link p, .section-copy p, .legal-card p, .legal-card li {
  color: var(--ink-soft);
}
.tile ul, .legal-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}
.tile li + li, .legal-card li + li { margin-top: 8px; }

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 20px;
}
.section-copy {
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.96), rgba(17, 17, 17, 0.88));
  color: var(--hero-text);
}
.section-copy p { color: rgba(247, 244, 238, 0.72); }
.surface-link-list {
  display: grid;
  gap: 14px;
}
.surface-link {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card-strong);
  box-shadow: var(--shadow-soft);
  transition: 180ms ease;
}
.surface-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.surface-link strong {
  display: block;
  font-size: 18px;
}
.surface-link p { margin: 4px 0 0; }
.surface-link span { color: var(--gold); font-weight: 700; }

.cta-panel {
  margin-top: 24px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: var(--hero);
  color: var(--hero-text);
  box-shadow: var(--shadow);
}
.cta-panel .section-heading p,
.cta-panel p { color: var(--hero-muted); }

.legal-main {
  display: grid;
  gap: 20px;
}
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 36px 30px;
  border-radius: var(--radius-xl);
  background: var(--hero);
  color: var(--hero-text);
  box-shadow: var(--shadow);
}
.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -32% auto;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 68%);
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  color: var(--hero-muted);
  font-size: 14px;
}
.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.legal-button-primary {
  background: #f7f3eb;
  color: #111111;
}
.legal-button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  color: #f7f3eb;
  background: rgba(255, 255, 255, 0.04);
}
.legal-card {
  padding: 26px 28px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.legal-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.legal-card h3 {
  margin: 18px 0 10px;
  font-size: 17px;
}
.callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f0e6d8;
  color: var(--ink);
}
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.inline-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(17,17,17,0.05);
  color: var(--ink);
}
.footer-wrap {
  margin-top: 28px;
  padding-bottom: 20px;
}
.footer-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.64);
  border: 1px solid var(--line);
}
.footer-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}
.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links a {
  color: var(--ink-soft);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .tile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .header-inner {
    min-height: 72px;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
  .site-nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .page-main { padding-top: 20px; }
  .hero-panel, .legal-hero, .section-block, .cta-panel, .hero-side, .legal-card { padding: 22px 20px; }
  .hero-strip { grid-template-columns: 1fr; }
  .surface-link { grid-template-columns: 54px 1fr; }
  .surface-link span { display: none; }
  .display-title { font-size: 44px; }
  .legal-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
