:root {
  --bg: #f4efe5;
  --bg-alt: #f9f6ef;
  --ink: #102a43;
  --ink-soft: #2f4858;
  --accent: #0f8b8d;
  --accent-2: #f4a261;
  --line: #d9d4c8;
  --card: #fffdf8;
  --shadow: 0 12px 32px rgba(16, 42, 67, 0.12);
  --radius: 14px;
  --shell: min(1100px, calc(100vw - 2.5rem));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(15, 139, 141, 0.18) 0, rgba(15, 139, 141, 0) 42%),
    radial-gradient(circle at 85% 20%, rgba(244, 162, 97, 0.22) 0, rgba(244, 162, 97, 0) 38%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 70%);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(249, 246, 239, 0.88);
  border-bottom: 1px solid rgba(217, 212, 200, 0.75);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  font-family: "Menlo", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-decoration: none;
  color: var(--ink);
}

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

.main-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(15, 139, 141, 0.13);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
}

.site-main {
  padding: 2.2rem 0 4rem;
}

.hero {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(130deg, rgba(255, 253, 248, 0.92), rgba(244, 239, 229, 0.92));
  box-shadow: var(--shadow);
  padding: 2.2rem;
  animation: rise 0.5s ease forwards;
}

.kicker {
  font-family: "Menlo", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 74ch;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0;
}

.btn {
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0.65rem 1rem;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 139, 141, 0.28);
}

.btn-primary:hover {
  background: #0a7a7c;
}

.btn-secondary {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
}

.hero-meta {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.2rem;
}

.prose {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 2rem;
  box-shadow: var(--shadow);
  animation: rise 0.65s ease forwards;
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-description {
  color: var(--ink-soft);
  max-width: 72ch;
  text-wrap: pretty;
}

.prose a {
  color: #0a6570;
}

.prose code {
  font-family: "Menlo", "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 0.92em;
  background: #f2ede2;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}

.prose pre {
  overflow-x: auto;
  background: #112235;
  color: #e3eef4;
  border-radius: 10px;
  padding: 1rem;
}

.prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.contact-form-wrap {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.contact-form-wrap form {
  display: grid;
  gap: 0.95rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
}

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

.hidden-field {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 1.2rem 0 2rem;
  color: var(--ink-soft);
}

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

.footer-nav {
  display: flex;
  gap: 0.9rem;
}

.footer-nav a {
  color: var(--ink-soft);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  z-index: 40;
}

.cookie-inner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  color: var(--ink-soft);
}

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

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

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

  .main-nav {
    position: absolute;
    right: 1.25rem;
    top: 3.2rem;
    min-width: 180px;
    padding: 0.6rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

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

  .hero,
  .prose {
    padding: 1.3rem;
  }

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

.faq-intro {
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.faq-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.8rem;
}

.faq-sections span {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f2e7;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.faq-section {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(249, 246, 239, 0.96), rgba(255, 253, 248, 0.96));
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-section summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-size: 1.06rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-section[open] summary {
  border-bottom: 1px solid var(--line);
  background: rgba(15, 139, 141, 0.06);
}

.faq-section[open] summary::after {
  content: '−';
}

.faq-items {
  padding: 1rem 1.15rem 1.2rem;
}

.faq-item + .faq-item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}

.faq-item h3 {
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}

.faq-item p {
  margin: 0.42rem 0;
}
