:root {
  --slate: #4a6278;
  --slate-deep: #334155;
  --slate-soft: #64748b;
  --mist: #e8eef4;
  --white: #ffffff;
  --mint: #7eecca;
  --mint-dark: #3db896;
  --ink: #1e293b;
  --line: #cbd5e1;
  --hero-overlay: rgba(30, 41, 59, 0.62);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Figtree, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--slate-deep); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.logo {
  text-decoration: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--slate-deep);
  line-height: 1.2;
}
.logo small {
  display: block;
  font-family: Figtree, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate-soft);
  margin-top: 2px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.95rem;
}
nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
nav a:hover,
nav a.is-current {
  color: var(--slate);
  border-bottom-color: var(--mint);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.header-mail {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--slate);
  font-weight: 600;
}
.lang { display: flex; gap: 6px; }
.lang button {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
}
.lang button.is-on {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
}
.nav-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--slate);
  color: var(--white);
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(30, 41, 59, 0.25);
  cursor: pointer;
}

.hero-full {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--slate-deep) center/cover no-repeat;
}
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, var(--hero-overlay));
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 24px 56px;
  width: 100%;
}
.hero-full .tag {
  display: inline-block;
  background: rgba(126, 236, 202, 0.2);
  border: 1px solid rgba(126, 236, 202, 0.45);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.hero-full h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  max-width: 16ch;
  margin: 0 0 16px;
}
.hero-full .lead {
  max-width: 42rem;
  font-size: 1.08rem;
  opacity: 0.95;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  background: var(--mint);
  color: var(--slate-deep);
  border: none;
  cursor: pointer;
  font: inherit;
}
.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.page-hero {
  background: var(--mist);
  padding: 56px 24px 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap,
section .wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin: 0 0 12px;
  color: var(--slate-deep);
}
.page-hero .lead { max-width: 40rem; margin: 0; color: var(--slate-soft); }
.page-hero .tag {
  color: var(--slate);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.strip-meta {
  background: var(--slate-deep);
  color: var(--white);
}
.strip-meta .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 28px 24px;
}
.strip-meta span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 4px;
}
.strip-meta b { font-size: 1rem; font-weight: 600; }
.strip-meta a { color: var(--mint); }

section.block {
  padding: 64px 24px;
}
section.block.alt { background: var(--mist); }
section.block h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 12px;
  color: var(--slate-deep);
}
section.block .intro {
  max-width: 38rem;
  color: var(--slate-soft);
  margin: 0 0 32px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(51, 65, 85, 0.12);
}
.split figcaption {
  font-size: 0.85rem;
  color: var(--slate-soft);
  padding: 10px 4px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.card code {
  display: inline-block;
  font-size: 0.75rem;
  background: var(--mist);
  color: var(--slate);
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--slate-soft); font-size: 0.95rem; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 16px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--slate-deep);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.steps h3 { margin: 0 0 6px; font-size: 1rem; }
.steps p { margin: 0; color: var(--slate-soft); font-size: 0.95rem; }

.two-col-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.two-col-lists ul { margin: 0; padding-left: 1.2rem; color: var(--slate-soft); }
.two-col-lists h3 { margin-top: 0; color: var(--slate-deep); }

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: var(--white);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--slate-deep);
}
.faq p { margin: 12px 0 0; color: var(--slate-soft); }

.form-block {
  max-width: 520px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.form-block label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-block input,
.form-block select,
.form-block textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.form-block textarea { min-height: 120px; resize: vertical; }

.cta-band {
  background: linear-gradient(135deg, var(--slate) 0%, var(--slate-deep) 100%);
  color: var(--white);
  text-align: center;
  padding: 56px 24px;
}
.cta-band h2 {
  font-family: Fraunces, Georgia, serif;
  color: var(--white);
  margin: 0 0 12px;
}
.cta-band p { max-width: 32rem; margin: 0 auto 24px; opacity: 0.92; }
.cta-band .btn { background: var(--mint); }

.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 40px 24px 32px;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.site-footer a { color: var(--mint); }
.site-footer .brand {
  font-family: Fraunces, Georgia, serif;
  color: var(--white);
  font-size: 1.1rem;
}

.privacy-prose { max-width: 720px; }
.privacy-prose h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  margin: 28px 0 8px;
  color: var(--slate-deep);
}
.privacy-prose p, .privacy-prose ul { color: var(--slate-soft); }
.privacy-prose ul { padding-left: 1.2rem; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.55);
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none !important; }
.modal-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}
.modal-card h2 {
  font-family: Fraunces, Georgia, serif;
  margin: 0 0 12px;
  color: var(--slate-deep);
}
.modal-card p { color: var(--slate-soft); margin: 0 0 20px; }
.modal-card p[hidden] { display: none; }
body.modal-open { overflow: hidden; }

@media (max-width: 900px) {
  nav {
    display: none;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(280px, 85vw);
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 24px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    z-index: 45;
  }
  nav.is-open { display: flex; }
  .nav-btn { display: block; }
  .split, .two-col-lists { grid-template-columns: 1fr; }
}
