:root {
  --bg: #f3f1ec;
  --bg-elevated: #faf9f6;
  --ink: #1f2420;
  --ink-soft: #4a524c;
  --line: #d8d3c8;
  --accent: #3f5e52;
  --accent-deep: #2c453b;
  --accent-soft: #dce8e2;
  --warn: #8a4b3a;
  --shadow: 0 18px 40px rgba(31, 36, 32, 0.06);
  --radius: 2px;
  --font-display: "Literata", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --shell: min(1120px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #e7eee9 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #ebe6dc 0%, transparent 50%),
    var(--bg);
  line-height: 1.65;
  font-size: 1.02rem;
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(243, 241, 236, 0.88);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

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

.nav-cta {
  background: var(--accent);
  color: #f7faf8 !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--accent-deep);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 0.45rem 0.8rem;
  font: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.8rem 1.25rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  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: #f7faf8;
}

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

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

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

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero-home {
  display: grid;
  gap: 2rem;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: clamp(240px, 42vw, 420px);
  background: var(--accent-soft);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: inherit;
  animation: rise-in 1s ease both;
}

@keyframes rise-in {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fade-up 0.7s ease both;
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .hero-home {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1.3fr 1.2fr 0.8fr;
  }
}

.offer-grid,
.story-grid,
.rate-list,
.post-grid {
  display: grid;
  gap: 1.25rem;
}

.offer-item,
.story-item,
.rate-item,
.post-item,
.detail-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.35rem;
}

.offer-item img,
.post-item img,
.detail-hero img,
.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.offer-item h3 a,
.post-item h3 a {
  text-decoration: none;
  color: var(--ink);
}

.meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.65rem;
}

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}

.page-hero .hero-visual,
.detail-hero {
  margin-top: 1.5rem;
}

.prose {
  max-width: 42rem;
}

.prose ul,
.detail-list {
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.prose li,
.detail-list li {
  margin-bottom: 0.45rem;
}

.quote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 0 0 1.5rem;
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.quote cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem 0.85rem;
  font: inherit;
  border-radius: var(--radius);
  color: var(--ink);
}

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

.field-error {
  color: var(--warn);
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: #f6e8e3;
  border-color: #e2c0b5;
}

.contact-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #ebe8e1;
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.footer-address,
.footer-tag {
  font-size: 0.95rem;
}

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

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: rgba(31, 36, 32, 0.96);
  color: #f4f1ec;
  padding: 1rem 0;
  box-shadow: var(--shadow);
}

.cookie-banner p {
  color: #e4e0d8;
  margin: 0;
}

.cookie-banner a {
  color: #cfe0d7;
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.cookie-banner .btn-ghost {
  color: #f4f1ec;
  border-color: #6b746d;
}

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

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(--accent-soft);
  color: var(--ink);
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 3rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.muted {
  color: var(--ink-soft);
}

.legal h2 {
  margin-top: 2rem;
}

.not-found {
  text-align: center;
  padding: 6rem 0;
}

@media (max-width: 879px) {
  .nav-toggle {
    display: inline-flex;
  }

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

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