:root {
  --bg: #f5efe4;
  --bg-soft: rgba(255, 250, 242, 0.72);
  --panel: rgba(255, 252, 247, 0.86);
  --text: #2d241b;
  --muted: #6e6153;
  --line: rgba(73, 53, 31, 0.12);
  --accent: #c95f34;
  --accent-dark: #8b3917;
  --shadow: 0 24px 60px rgba(79, 47, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(226, 160, 114, 0.22), transparent 24%),
    linear-gradient(180deg, #f7f1e7 0%, #efe3d2 100%);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

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

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 95, 52, 0.24), transparent 68%);
  pointer-events: none;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff9f3;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.brand-name,
.nav-link,
.button,
.scene-tag,
.step span,
.stat-card strong {
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  letter-spacing: 0.02em;
}

.nav-link {
  color: var(--muted);
  font-size: 0.96rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  font-size: 0.96rem;
}

.lang-switch select {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  font: inherit;
}

.hero-content {
  max-width: 740px;
  padding: 72px 0 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-copy {
  max-width: 60ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions,
.steps,
.feature-grid,
.scene-list,
.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-actions {
  grid-template-columns: repeat(2, max-content);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.98rem;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff7f0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 12px 24px rgba(139, 57, 23, 0.22);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.hero-panel {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
}

.stat-card,
.feature-card,
.scene-card,
.step,
.cta {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 18px;
  border-radius: 20px;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.stat-card span,
.feature-card p,
.scene-card p,
.step p,
.cta p {
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 72px 0 12px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.narrow {
  max-width: 620px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

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

.feature-card,
.scene-card,
.step {
  padding: 24px;
  border-radius: 24px;
}

.feature-card h3,
.scene-card h3,
.step h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.split-section {
  display: grid;
  gap: 20px;
}

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

.scene-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
}

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

.step span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.95rem;
}

.cta {
  margin-top: 64px;
  padding: 36px 28px;
  border-radius: 28px;
  text-align: center;
}

.cta h2 {
  max-width: 14ch;
  margin: 0 auto 18px;
}

.cta p {
  max-width: 58ch;
  margin: 0 auto 22px;
}

.policy-spaced {
  margin-top: 18px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  justify-content: center;
  padding: 28px 12px 0;
  color: var(--muted);
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
}

.site-footer a:hover {
  color: var(--accent-dark);
}

.subpage-hero {
  padding-bottom: 24px;
}

.subpage-hero h1 {
  max-width: 14ch;
}

.subpage-hero .hero-copy {
  max-width: 68ch;
}

.policy-layout {
  display: grid;
  gap: 18px;
}

.policy-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.policy-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.policy-card h3 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.8;
}

.policy-card ul {
  margin: 0;
  padding-left: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(255, 247, 240, 0.95) 0%, rgba(255, 252, 247, 0.92) 100%);
  border-color: rgba(139, 57, 23, 0.22);
}

.pricing-label {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.price {
  margin-bottom: 14px;
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.price small {
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0;
}

.pricing-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .hero-panel,
  .feature-grid,
  .scene-list,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 56px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 10px;
  }

  .hero,
  .feature-card,
  .scene-card,
  .step,
  .cta {
    border-radius: 22px;
  }

  .hero {
    padding: 18px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    max-width: none;
  }
}
