:root {
  --bg: #f7f3e8;
  --surface: #fffdf7;
  --ink: #1f2933;
  --muted: #52606d;
  --brand: #d97706;
  --brand-strong: #b45309;
  --accent: #0f766e;
  --ok: #166534;
  --ring: rgba(217, 119, 6, 0.25);
  --border: #eadfca;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #fde7c2 0%, transparent 40%),
    radial-gradient(circle at bottom left, #c8f1ec 0%, transparent 35%),
    var(--bg);
  min-height: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(247, 243, 232, 0.92);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark {
  display: inline-grid;
  place-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(140deg, var(--brand), var(--accent));
}

.logo-image {
  /* width: 2.75rem; */
  height: 7.75rem;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.top-nav a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  padding: 0.85rem 1.35rem;
  box-shadow: 0 8px 20px rgba(180, 83, 9, 0.2);
}

.button-primary:hover {
  transform: translateY(-1px);
}

.button-primary:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.button-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 0.8rem 1.25rem;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-top: 0.7rem;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 1.2rem 0 0;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(31, 41, 51, 0.08);
}

.highlight {
  display: inline-block;
  background: #fff3cd;
  border: 1px solid #f9d98d;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.copy-block {
  padding: 2rem 0 3rem;
}

.copy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.copy-card h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.copy-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 1rem;
}

.policy-toc {
  margin: 1.1rem 0 1.6rem;
  padding: 1rem;
  border: 1px dashed #d8ceb8;
  border-radius: 14px;
  background: #fff;
}

.policy-toc p {
  margin: 0 0 0.6rem;
  color: var(--ink);
  font-weight: 700;
}

.policy-toc ol {
  margin: 0;
  padding-left: 1.1rem;
  columns: 2;
  column-gap: 1.2rem;
}

.policy-toc li {
  margin: 0 0 0.45rem;
  break-inside: avoid;
}

.policy-toc a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.policy-toc a:hover {
  text-decoration: underline;
}

.copy-card h2[id] {
  scroll-margin-top: 5.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

.reg-shell {
  padding: 3rem 0;
}

.reg-intro {
  max-width: 780px;
}

.reg-intro h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-top: 0.65rem;
}

.reg-intro p {
  color: var(--muted);
  line-height: 1.75;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.3rem 0 1.7rem;
}

.step-pill {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(31, 41, 51, 0.08);
  padding: clamp(1rem, 3vw, 2rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field,
.full {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.92rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8ceb8;
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--ring);
}

.consent-box {
  margin-top: 1.1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
}

.consent-copy {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.9rem;
}

.tick {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.tick input {
  width: auto;
  margin-top: 0.18rem;
}

.form-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
}

.error {
  color: #9f1239;
  font-size: 0.85rem;
  display: none;
}

.error.show {
  display: block;
}

.success-wrap {
  min-height: 62vh;
  display: grid;
  place-content: center;
  padding: 2rem 0 4rem;
}

.success-card {
  width: min(720px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 2rem);
  text-align: center;
  box-shadow: 0 18px 45px rgba(31, 41, 51, 0.09);
}

.contact-shell {
  padding-top: 2.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-intro h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.6rem 0 1rem;
}

.contact-intro p {
  color: var(--muted);
  line-height: 1.8;
}

.contact-points {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.contact-point {
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.contact-point h2 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.contact-point p {
  margin: 0.2rem 0;
}

.contact-point a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.contact-point a:hover {
  text-decoration: underline;
}

.contact-success {
  color: var(--ok);
  font-size: 0.9rem;
  display: none;
}

.contact-success.show {
  display: block;
}

.badge-ok {
  display: inline-flex;
  border-radius: 999px;
  background: #dcfce7;
  color: var(--ok);
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

footer {
  margin-top: 2.5rem;
  padding: 2rem 0 1.2rem;
  background: linear-gradient(180deg, #fffaf0 0%, #fffdf8 100%);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
  padding: 0 0 1rem;
}

.footer-grid > div {
  min-width: 0;
}

.footer-grid h3 {
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.footer-lead {
  color: var(--ink);
  font-weight: 700;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  text-decoration: none;
  margin: 0.22rem 0;
  line-height: 1.6;
}

.links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.9rem;
  margin-top: 0.2rem;
}

.links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.links a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(216, 206, 184, 0.9);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 1rem 0;
  background: rgba(31, 41, 51, 0.94);
  box-shadow: 0 -16px 40px rgba(15, 23, 42, 0.28);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__copy {
  color: #f8fafc;
}

.cookie-banner__copy strong {
  display: block;
  margin-bottom: 0.35rem;
}

.cookie-banner__copy p {
  margin: 0;
  color: rgba(248, 250, 252, 0.9);
  line-height: 1.7;
}

.cookie-banner__copy a {
  color: #fde68a;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.6s ease forwards;
}

.fade-up.delay-1 {
  animation-delay: 0.12s;
}

.fade-up.delay-2 {
  animation-delay: 0.22s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .top-nav {
    gap: 0.6rem;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .policy-toc ol {
    columns: 1;
  }

  .hero {
    padding-top: 3.7rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .footer-grid,
  footer {
    padding-left: 0;
    padding-right: 0;
  }

  .footer-grid {
    padding: 1.2rem;
  }

  .links {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
