:root {
  color-scheme: light;
  --bg: #f6f1e8;
  --ink: #3f2c24;
  --muted: #7a6558;
  --card: #fffaf3;
  --line: #e6d5c3;
  --primary: #8a4b1f;
  --primary-ink: #fffaf3;
  --soft: rgba(138, 75, 31, 0.12);
  --celebrate: #c9864a;
  --radius: 1rem;
  --font-heading: "Fraunces", "Songti SC", "Noto Serif SC", Georgia, serif;
  --font-sans: "Geist Variable", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --shadow: 0 12px 40px rgba(63, 44, 36, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.wrap {
  width: min(42rem, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
  padding-top: calc(0.65rem + env(safe-area-inset-top));
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
}

.brand strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand span {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.lang-switch a {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  color: var(--muted);
}

.lang-switch a[aria-current="page"] {
  background: var(--soft);
  border-color: var(--line);
  color: var(--primary);
  font-weight: 600;
}

.hero {
  padding: 2rem 0 1.5rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8vw, 2.75rem);
  line-height: 1.1;
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}

.hero .slogan {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.hero .lede {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .cta-row {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 48px;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--card);
  border-color: var(--line);
  color: var(--primary);
}

.section {
  padding: 2rem 0;
}

.section h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.25);
  padding: 1.15rem 1.25rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.feature-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-grid li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-grid .card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.feature-grid .card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.shots {
  display: grid;
  gap: 1.25rem;
}

.shots figure {
  margin: 0;
}

.shots img {
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
}

.shots figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.story figure {
  margin: 1.5rem 0;
}

.story figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.story .sign {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary);
  margin-top: 1rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.faq p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1rem 0;
}

.footer-links a {
  font-weight: 500;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.pill {
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  border: 1px solid var(--line);
}

.notice {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}
