:root {
  --page: #f3eee6;
  --panel: #fffdf8;
  --inset: #ebe4d8;
  --ink: #1a1714;
  --muted: #6f675e;
  --faint: #9a9288;
  --accent: #5e7fa3;
  --accent-soft: #e7eef5;
  --sage: #5f7358;
  --sage-soft: #e8eee4;
  --amber: #8a5a24;
  --amber-soft: #f4ead8;
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC",
    "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Iowan Old Style", Palatino,
    "Palatino Linotype", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--page) 88%, white);
  backdrop-filter: blur(16px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: nowrap;
}
.nav a:hover { background: var(--inset); color: var(--ink); }
.cta {
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.cta:hover { background: #2b2621; color: #fff; }

.hero {
  padding: 36px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  min-width: 0;
}
.kicker {
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.lede {
  font-size: 16px;
  color: var(--muted);
  max-width: 36em;
  margin: 0 0 28px;
  overflow-wrap: break-word;
}
.fact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.fact {
  background: var(--panel);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 0;
}
.fact span { overflow-wrap: anywhere; }
.fact b {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.fact span {
  color: var(--muted);
  font-size: 12px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-ghost { background: var(--inset); color: var(--ink); }
.hero-photo {
  background: var(--panel);
  border-radius: 32px;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 70% 50%;
}

.section {
  padding: 72px 0;
}
.section-head {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  margin-bottom: 32px;
  align-items: start;
}
.index {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--faint);
  padding-top: 10px;
}
.section h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 10px;
}
.section-lead {
  margin: 0;
  color: var(--muted);
  max-width: 40em;
}

.panel {
  background: var(--panel);
  border-radius: 28px;
  padding: 28px;
}
.inset {
  background: var(--inset);
  border-radius: 20px;
  padding: 20px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.split h3, .card h3, .page-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}
.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.list li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}
.list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  position: absolute;
  left: 0;
  top: 0.65em;
}
.split .yes h3 { color: var(--sage); }
.split .no h3 { color: var(--amber); }
.split .yes { background: var(--sage-soft); border-radius: 24px; padding: 24px; }
.split .no { background: var(--amber-soft); border-radius: 24px; padding: 24px; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  background: var(--panel);
  border-radius: 24px;
  padding: 22px;
  min-height: 180px;
}
.card .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.card p { margin: 0; color: var(--muted); }

.brief-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}
.must {
  background: var(--ink);
  color: #f7f1e8;
  border-radius: 28px;
  padding: 28px;
}
.must p, .choose p { color: inherit; opacity: 0.78; }
.choose {
  background: var(--panel);
  border-radius: 28px;
  padding: 28px;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chip {
  background: var(--inset);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
}
.must .chip {
  background: #2c2723;
  color: #f7f1e8;
}

.phone {
  width: min(240px, 100%);
  margin: 24px auto 0;
  background: #1a1714;
  border-radius: 36px;
  padding: 12px;
}
.phone-screen {
  background: linear-gradient(180deg, #fff3c0 0%, #fff 42%);
  border-radius: 26px;
  padding: 18px 14px 16px;
  color: #633201;
}
.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.phone-child { font-weight: 800; font-size: 15px; line-height: 1.2; }
.phone-child small { display: block; opacity: 0.55; font-weight: 700; font-size: 11px; }
.phone-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
}
.bubble {
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 10px;
}
.mascot {
  width: 120px;
  margin: 0 auto 10px;
}
.pill {
  margin: 0 auto 16px;
  width: fit-content;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
}
.metrics {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 8px;
  margin-bottom: 10px;
}
.metric {
  background: #fff;
  border-radius: 16px;
  padding: 10px;
}
.metric b { display: block; font-size: 18px; }
.metric span { font-size: 10px; opacity: 0.65; }
.highlight {
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  font-size: 11px;
  font-weight: 700;
}
.caption {
  text-align: center;
  color: var(--faint);
  font-size: 12px;
  margin-top: 10px;
}

.photo-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-top: 16px;
}
.photo-card {
  background: var(--panel);
  border-radius: 28px;
  overflow: hidden;
}
.photo-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.photo-card figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 13px;
}

.pages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.page-card {
  background: var(--panel);
  border-radius: 24px;
  padding: 22px;
}
.page-card .meta {
  color: var(--faint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.page-card p { margin: 0; color: var(--muted); }

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border-radius: 24px;
  overflow: hidden;
}
.table th, .table td {
  text-align: left;
  padding: 14px 16px;
  vertical-align: top;
}
.table thead th {
  background: var(--inset);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.table tbody tr:nth-child(even) td { background: #faf6ef; }
.table td { font-size: 14px; }
.table td:first-child { font-weight: 650; width: 28%; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.step {
  background: var(--panel);
  border-radius: 22px;
  padding: 20px;
}
.step b {
  display: block;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.check {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check li {
  background: var(--panel);
  border-radius: 16px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}
.check i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  display: inline-block;
  margin-top: 3px;
}

.collab {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.quote {
  background: var(--panel);
  border-radius: 24px;
  padding: 24px;
  min-height: 200px;
}
.quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.45;
}

.submit-box {
  background: var(--ink);
  color: #f7f1e8;
  border-radius: 32px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
}
.submit-box h2 {
  color: #fff;
  margin-bottom: 8px;
}
.submit-box p { color: #d8cfc4; margin: 0 0 8px; }
.mail {
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
}
.meta-list {
  background: #2c2723;
  border-radius: 20px;
  padding: 18px;
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.meta-list span { color: #b9aea2; display: block; font-size: 12px; }

.site-footer {
  padding: 28px 0 48px;
  color: var(--faint);
  font-size: 13px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .brief-grid,
  .photo-row,
  .pages,
  .principles,
  .steps,
  .collab,
  .submit-box,
  .section-head {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .hero-grid > * { min-width: 0; }
  .lede { font-size: 15px; }
  .hero-photo img { height: 360px; }
  .nav { display: none; }
  .index { padding-top: 0; }
  .hero { padding-top: 20px; }
  h1 { font-size: 28px; line-height: 1.25; }
  .photo-card img { height: 220px; }
}
