:root {
  --bg: #f7f5f1;
  --bg-alt: #efece6;
  --surface: #fffcf8;
  --ink: #1f211d;
  --muted: #6b675f;
  --line: #ddd8ce;
  --accent: #2f342c;
  --accent-soft: #4a5246;
  --highlight: #c4b39a;
  --danger: #8a3b32;
  --ok: #355e45;
  --shadow: 0 18px 40px rgba(31, 33, 29, 0.07);
  --radius: 14px;
  --header-h: 72px;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-soft);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -40px;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 0.8rem;
  z-index: 1000;
}

.skip:focus {
  top: 0.6rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

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

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero {
  padding: 3.2rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: end;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  margin-bottom: 0.7rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  animation: rise 0.8s ease both;
}

.caption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.band {
  padding: 3.4rem 0;
}

.band-alt {
  background: var(--bg-alt);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0;
}

.grid-3,
.grid-2,
.grid-cards {
  display: grid;
  gap: 1.2rem;
}

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

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body,
.pad {
  padding: 1.2rem 1.25rem 1.4rem;
}

.meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}

.quote p {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.45;
}

.quote footer {
  color: var(--muted);
  font-size: 0.9rem;
}

.stars {
  color: #8a7354;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.6rem 0 1.6rem;
  background: #ece8e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h2 {
  font-size: 1rem;
  font-family: var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: 0.35rem 0;
}

.site-footer a {
  text-decoration: none;
  color: var(--ink);
}

.legal-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.page-hero {
  padding: 2.8rem 0 1.4rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 1.8rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--bg-alt);
  font-weight: 600;
}

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 38rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

input,
textarea,
select {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error,
.form-status,
.inline-error {
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status.ok {
  color: var(--ok);
}

.price-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-card .amount {
  font-family: var(--serif);
  font-size: 2.2rem;
}

.price-card ul {
  padding-left: 1.1rem;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

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

.modules li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  max-width: 720px;
  margin-inline: auto;
  display: none;
  animation: rise 0.35s ease;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.not-found {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

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

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.2rem 1.3rem;
  }

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

  .hero-photo img {
    height: 280px;
  }
}
