:root {
  --bg: #f6efe6;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #fffdf9;
  --text: #1f1713;
  --muted: #6b5b4f;
  --accent: #c95f32;
  --accent-dark: #8f391b;
  --line: rgba(31, 23, 19, 0.08);
  --shadow: 0 24px 60px rgba(88, 51, 32, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --wrap: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 95, 50, 0.18), transparent 30%),
    linear-gradient(180deg, #fdf8f2 0%, #f6efe6 100%);
}

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

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

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(253, 248, 242, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-text span,
.footer-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-links .back-site {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
}

.hero,
.split-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.hero {
  padding: 88px 0 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-head h2,
.content-card h2 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero p,
.page-hero p,
.feature-card p,
.content-card p,
.footer-tagline,
.legal-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: var(--accent-dark);
}

.btn.outline {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.stat-card,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  font-size: 1rem;
}

.stat-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.media-copy {
  padding: 22px 24px 26px;
}

.tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(201, 95, 50, 0.12);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.media-copy h2 {
  margin: 14px 0 10px;
  font-size: 1.8rem;
  line-height: 1.05;
}

.section,
.legal-page {
  padding: 32px 0 48px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.grid {
  display: grid;
  gap: 22px;
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.content-card,
.list-card,
.legal-card {
  padding: 28px;
}

.feature-visual {
  overflow: hidden;
  margin: -8px -8px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-strong);
}

.feature-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-visual-icon img {
  object-fit: contain;
  padding: 22px;
  background: linear-gradient(180deg, #fff, #f8f1e8);
}

.feature-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  background:
    radial-gradient(circle at top, rgba(201, 95, 50, 0.18), transparent 54%),
    linear-gradient(135deg, rgba(201, 95, 50, 0.12), rgba(143, 57, 27, 0.08));
}

.feature-symbol span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 86px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff7f0;
  border: 1px solid rgba(201, 95, 50, 0.18);
  color: var(--accent-dark);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.mini-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(201, 95, 50, 0.12);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.detail-list li:first-child {
  border-top: 0;
}

code {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(201, 95, 50, 0.1);
  color: var(--accent-dark);
  font-family: "Courier New", monospace;
  font-size: 0.92em;
}

.page-hero {
  padding: 88px 0 28px;
  max-width: 860px;
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(201, 95, 50, 0.08);
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  padding: 40px 0 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-download {
  display: inline-flex;
  margin-top: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
}

.footer-bottom {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .hero,
  .split-section,
  .cols-2,
  .cols-3,
  .footer-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
  }
}

@media (max-width: 760px) {
  .nav {
    flex-wrap: wrap;
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 14px;
    background: transparent;
  }

  .hero h1,
  .page-hero h1,
  .section-head h2,
  .content-card h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .hero-media img {
    height: auto;
  }

  .feature-visual img {
    height: auto;
  }
}
