:root {
  --bg: #fbf3e7;
  --bg-soft: #f4e5d0;
  --paper: rgba(255, 250, 243, 0.94);
  --paper-2: rgba(255, 244, 232, 0.88);
  --ink: #4d1d17;
  --muted: #835247;
  --line: rgba(123, 59, 43, 0.18);
  --brand: #9c2823;
  --brand-deep: #6f1715;
  --gold: #b87d36;
  --gold-soft: #e7c58a;
  --jade: #496957;
  --shadow: 0 24px 52px rgba(87, 33, 24, 0.14);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Lucida Sans", "Trebuchet MS", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(231, 197, 138, 0.34), transparent 26%),
    radial-gradient(circle at top right, rgba(156, 40, 35, 0.12), transparent 24%),
    linear-gradient(180deg, #fff9f2 0%, #f9efe1 48%, #f4e6d4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(156, 40, 35, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(156, 40, 35, 0.02) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(calc(100% - 28px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 247, 238, 0.82);
  border-bottom: 1px solid rgba(123, 59, 43, 0.1);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark__crest {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: #fff8ef;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  box-shadow: 0 12px 24px rgba(111, 23, 21, 0.24);
  font-family: "Bookman Old Style", Georgia, serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-mark__text strong {
  display: block;
  font-family: "Bookman Old Style", Georgia, serif;
  font-size: 1.22rem;
  letter-spacing: 0.02em;
}

.brand-mark__text span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.site-nav__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.site-nav__menu a,
.locale-switch,
.header-cta {
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.site-nav__menu a {
  color: var(--muted);
}

.site-nav__menu a:hover,
.locale-switch:hover {
  background: rgba(156, 40, 35, 0.08);
}

.site-nav__menu a.is-active {
  color: var(--ink);
  background: rgba(184, 125, 54, 0.12);
  border: 1px solid rgba(184, 125, 54, 0.3);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.locale-switch {
  border: 1px solid rgba(123, 59, 43, 0.12);
  color: var(--muted);
}

.header-cta {
  color: #fff8ef;
  font-weight: 800;
  background: linear-gradient(140deg, var(--brand), var(--brand-deep));
  box-shadow: 0 14px 26px rgba(111, 23, 21, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(156, 40, 35, 0.08);
  font-size: 1.1rem;
}

.hero {
  padding: 22px 0 10px;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.9fr);
  grid-template-areas:
    "note media"
    "rail media";
  gap: 18px;
  align-items: start;
}

.hero-media {
  grid-area: media;
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(123, 59, 43, 0.12);
  box-shadow: var(--shadow);
  background: #e4cda7;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 11, 10, 0.06), rgba(30, 11, 10, 0.14)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), transparent 30%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note,
.hero-rail,
.paper,
.dock,
.footer-card {
  box-shadow: var(--shadow);
}

.hero-note {
  grid-area: note;
  width: auto;
  margin: 0;
  padding: 24px 26px;
  border-radius: 28px;
  border: 1px solid rgba(123, 59, 43, 0.12);
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(252, 243, 231, 0.98));
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-kicker {
  color: var(--brand);
  background: rgba(156, 40, 35, 0.08);
}

.hero h1 {
  margin: 14px 0 10px;
  font-family: "Bookman Old Style", Georgia, serif;
  font-size: clamp(1.72rem, 2.1vw, 2rem);
  line-height: 1.08;
  max-width: 16ch;
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.chip-row span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(184, 125, 54, 0.14);
  border: 1px solid rgba(184, 125, 54, 0.18);
  font-size: 0.86rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 184px;
  padding: 0 24px;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fff8ef;
  background: linear-gradient(140deg, var(--brand), var(--brand-deep));
  box-shadow: 0 18px 28px rgba(111, 23, 21, 0.18);
}

.btn--secondary {
  color: var(--ink);
  background: linear-gradient(140deg, #f3dcb4, #e9c17e);
  border-color: rgba(184, 125, 54, 0.2);
  box-shadow: 0 18px 28px rgba(184, 125, 54, 0.16);
}

.hero-rail {
  grid-area: rail;
  position: relative;
  right: auto;
  bottom: auto;
  width: auto;
  padding: 16px 18px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 243, 225, 0.14);
  color: #fff3ea;
  background: linear-gradient(180deg, rgba(111, 23, 21, 0.92), rgba(75, 20, 16, 0.94));
}

.hero-rail strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.hero-rail ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}

.hero-rail li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 244, 237, 0.86);
  font-size: 0.9rem;
}

.hero-rail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold));
}

.content {
  padding: 26px 0 80px;
}

.section-block {
  padding: 16px 0;
}

.paper {
  border-radius: 30px;
  border: 1px solid rgba(123, 59, 43, 0.1);
  background: var(--paper);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  padding: 30px;
}

.section-kicker {
  color: var(--jade);
  background: rgba(73, 105, 87, 0.08);
}

.section-heading h2,
.faq-card h2,
.dock-head h2 {
  margin: 16px 0 0;
  font-family: "Bookman Old Style", Georgia, serif;
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  line-height: 1.12;
}

.section-copy p {
  margin: 0 0 12px;
  color: var(--muted);
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.card-panel {
  padding: 28px;
}

.card-panel > p {
  margin: 10px 0 0;
  color: var(--muted);
}

.feature-grid,
.path-grid,
.dock-grid,
.footer-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.feature-card {
  padding: 20px;
  border-radius: 22px;
  background: var(--paper-2);
  border: 1px solid rgba(123, 59, 43, 0.08);
}

.feature-card h3,
.dock-card h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.feature-card p,
.faq-item p,
.dock-card p,
.footer-note {
  margin: 0;
  color: var(--muted);
}

.path-panel {
  padding: 28px;
}

.path-panel > p {
  margin: 10px 0 0;
  color: var(--muted);
}

.path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.path-step {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(248, 236, 220, 0.92));
  border: 1px solid rgba(123, 59, 43, 0.1);
}

.path-step strong {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #fff8ef;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  margin-bottom: 12px;
}

.faq-card {
  padding: 30px;
}

.faq-list {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(123, 59, 43, 0.1);
  background: rgba(255, 249, 241, 0.86);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 20px 18px;
}

.dock {
  margin-top: 8px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(123, 59, 43, 0.1);
  background: linear-gradient(180deg, rgba(111, 23, 21, 0.96), rgba(87, 20, 18, 0.96));
  color: #fff6ed;
}

.dock-head p {
  margin: 10px 0 0;
  color: rgba(255, 244, 237, 0.8);
}

.dock-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.dock-card {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 243, 225, 0.12);
}

.dock-card h3,
.dock-card p {
  color: #fff6ed;
}

.dock-card p {
  color: rgba(255, 244, 237, 0.82);
}

.dock-card .btn {
  margin-top: 14px;
}

.site-footer {
  padding: 0 0 48px;
}

.footer-card {
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(123, 59, 43, 0.1);
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.94), rgba(248, 237, 223, 0.92));
}

.footer-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(156, 40, 35, 0.06);
}

.tiny {
  color: var(--muted);
  font-size: 0.92rem;
}

.go-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.go-card {
  width: min(680px, 100%);
  padding: 32px;
  border-radius: 30px;
  border: 1px solid rgba(123, 59, 43, 0.1);
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.96), rgba(250, 239, 225, 0.96));
  box-shadow: var(--shadow);
}

@media (max-width: 1120px) {
  .feature-grid,
  .path-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1020px) {
  .hero-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "note"
      "media"
      "rail";
  }

  .hero-rail {
    width: 100%;
    margin: 0;
  }

  .split-panel,
  .dock-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 8px) 14px auto;
    display: none;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(123, 59, 43, 0.1);
    background: rgba(255, 248, 238, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__menu,
  .site-nav__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav__menu a,
  .locale-switch,
  .header-cta {
    text-align: center;
  }

  .hero-rail ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 18px), var(--container));
  }

  .brand-mark__text span {
    display: none;
  }

  .hero-note,
  .split-panel,
  .card-panel,
  .path-panel,
  .faq-card,
  .dock,
  .footer-card,
  .go-card {
    padding: 22px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-actions,
  .dock-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }
}
