:root {
  --color-cream: #ffd699;
  --color-rose: #ffd6d6;
  --color-wine: #3d0026;
  --color-blue-soft: rgba(35, 60, 230, 0.4);
  --color-surface: #fff5e7;
  --color-line: rgba(61, 0, 38, 0.12);
  --font-display: "Extenda 50 Mega", "Arial Black", Impact, sans-serif;
  --font-narrow: "Extenda 20 Micro", "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Geomanist", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: only light;
}

@font-face {
  font-family: "Extenda 20 Micro";
  src: local("Extenda 20 Micro"), local("Extenda20Micro");
  font-display: swap;
}

@font-face {
  font-family: "Extenda 50 Mega";
  src: local("Extenda 50 Mega"), local("Extenda50Mega");
  font-display: swap;
}

@font-face {
  font-family: "Geomanist";
  src: local("Geomanist"), local("Geomanist Regular");
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  background: linear-gradient(180deg, var(--color-rose), #ffe6cb 36%, #ffe4da 100%);
}

body {
  margin: 0;
  color: var(--color-wine);
  background: linear-gradient(180deg, var(--color-rose), #ffe6cb 36%, #ffe4da 100%);
  font-family: var(--font-body);
  line-height: 1.45;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.hero {
  min-height: 95vh;
  display: grid;
  place-items: center;
  overflow: clip;
  background:
    radial-gradient(circle at 20% 16%, var(--color-blue-soft) 0 18%, transparent 19%),
    radial-gradient(circle at 88% 75%, rgba(61, 0, 38, 0.08) 0 22%, transparent 23%),
    linear-gradient(140deg, var(--color-rose), #ffd7bc 58%, var(--color-cream));
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 2.5rem));
  padding: clamp(2rem, 8vw, 4rem);
  border: 1px solid var(--color-line);
  border-radius: 2rem;
  background: rgba(255, 236, 236, 0.72);
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 60px rgba(61, 0, 38, 0.12);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(1.1rem, 3vw, 2.6rem);
  align-items: stretch;
}

.hero-visual {
  position: relative;
  margin: 0;
  border-radius: 1.35rem;
  border: 1px solid rgba(61, 0, 38, 0.2);
  min-height: clamp(340px, 58vh, 640px);
  overflow: clip;
  background:
    radial-gradient(circle at 15% 18%, rgba(35, 60, 230, 0.44), transparent 38%),
    linear-gradient(160deg, #ffd6d6 0%, #ffd699 52%, #ffcddf 100%);
  box-shadow: inset 0 -80px 120px rgba(61, 0, 38, 0.12);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(61, 0, 38, 0.2), rgba(61, 0, 38, 0)),
    repeating-linear-gradient(
      -15deg,
      rgba(61, 0, 38, 0.08) 0 14px,
      transparent 14px 28px
    );
}

.hero-visual-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 1rem 1rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 238, 238, 0.86);
  border: 1px solid rgba(61, 0, 38, 0.17);
}

.hero-visual-kicker {
  margin: 0 0 0.3rem;
  font-family: var(--font-narrow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
}

.hero-visual-stat {
  margin: 0 0 0.42rem;
  font-family: var(--font-display);
  line-height: 0.86;
  letter-spacing: 0.01em;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
}

.hero-visual-caption p:last-child {
  margin: 0;
  font-size: clamp(0.98rem, 1.55vw, 1.12rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero-ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-ambient-a {
  width: clamp(280px, 35vw, 520px);
  height: clamp(280px, 35vw, 520px);
  left: -8%;
  top: -12%;
  background: rgba(35, 60, 230, 0.28);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-ambient-b {
  width: clamp(220px, 28vw, 430px);
  height: clamp(220px, 28vw, 430px);
  right: -8%;
  bottom: -10%;
  background: rgba(61, 0, 38, 0.1);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

.hero-noise {
  position: absolute;
  top: clamp(0.5rem, 2vw, 1.5rem);
  left: clamp(-0.4rem, 0.5vw, 0.75rem);
  margin: 0;
  font-family: var(--font-narrow);
  font-size: clamp(4.5rem, 16vw, 13rem);
  line-height: 0.82;
  letter-spacing: 0.02em;
  color: var(--color-blue-soft);
  text-transform: lowercase;
  z-index: 0;
  pointer-events: none;
}

.hero-kicker,
.hero-title,
.hero-subtitle,
.hero-text,
.button {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  margin: 0;
  font-family: var(--font-narrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: clamp(0.8rem, 1.3vw, 1rem);
}

.hero-title {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 7.2vw, 6.4rem);
  text-wrap: balance;
  max-width: 8.6ch;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.hero-subtitle {
  margin: clamp(0.9rem, 2vw, 1.4rem) 0 0;
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.8vw, 2.05rem);
  letter-spacing: -0.02em;
  max-width: 21ch;
}

.hero-text {
  margin: 1rem 0 0;
  width: min(52ch, 100%);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

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

.hero-actions .button {
  margin-top: 0;
}

.button {
  display: inline-flex;
  margin-top: 1.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 1.4rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff4f6;
  background: var(--color-wine);
  box-shadow: 0 12px 28px rgba(61, 0, 38, 0.24);
}

.button-primary:hover {
  box-shadow: 0 16px 30px rgba(61, 0, 38, 0.26);
}

.button-ghost {
  border-color: var(--color-wine);
  color: var(--color-wine);
  background: transparent;
}

.button-ghost:hover {
  background: rgba(61, 0, 38, 0.08);
}

.intro {
  background: linear-gradient(180deg, #ffe3e3, #fff2e4 90%);
}

.text-block h2,
.section h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.93;
  font-size: clamp(1.8rem, 7vw, 5rem);
  max-width: 17ch;
  font-weight: 900;
}

.hero-title,
.section h2,
.text-block h2 {
  text-transform: uppercase !important;
}

.text-block p,
.section p,
.section li {
  font-size: clamp(1.02rem, 1.6vw, 1.3rem);
  max-width: 68ch;
}

.stat {
  background:
    linear-gradient(115deg, #ffe1e1, #ffd8a6),
    radial-gradient(circle at 62% 20%, rgba(35, 60, 230, 0.15), transparent 40%);
}

.stat-grid {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 2rem;
  border: 1px solid var(--color-line);
  background: rgba(255, 242, 242, 0.72);
  overflow: clip;
}

.stat-bg-text {
  position: absolute;
  margin: 0;
  top: -0.3rem;
  left: 0.4rem;
  font-family: var(--font-narrow);
  line-height: 0.8;
  font-size: clamp(3.3rem, 14vw, 10rem);
  color: var(--color-blue-soft);
  pointer-events: none;
}

.stat-number {
  margin: 0;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  line-height: 0.8;
  font-size: clamp(5rem, 26vw, 16rem);
  text-shadow: 0 10px 30px rgba(61, 0, 38, 0.14);
}

.stat-detail {
  margin: 1rem 0 0;
  position: relative;
  z-index: 1;
}

.why {
  background: linear-gradient(180deg, #ffe3d0, #ffe9e9);
}

.section-lead {
  margin-top: 0.2rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--color-line);
  border-radius: 1.2rem;
  padding: 1rem 1.1rem 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.4));
}

.card h3 {
  margin: 0 0 20px;
  font-family: var(--font-narrow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
}

.gaps {
  background: linear-gradient(180deg, #ffe9dd, #ffeedf);
}

.bullet-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.65rem;
}

.standards {
  background: linear-gradient(180deg, #ffe8ec, #ffdfd1);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  border-left: 3px solid rgba(61, 0, 38, 0.36);
  padding: 0.3rem 0 0.3rem 1rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent);
}

.timeline-item h3 {
  margin: 0 0 20px;
  font-family: var(--font-narrow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}

.timeline-item p {
  margin: 0.35rem 0 0;
}

.demands {
  background: linear-gradient(180deg, #ffe7d5, #ffe5ee);
}

.demands-card {
  border: 1px solid var(--color-line);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.53);
  padding: 1.2rem;
}

.social-proof {
  background: linear-gradient(180deg, #ffefdd, #ffe8ef);
}

.team {
  background: linear-gradient(180deg, #ffe8ee, #ffe8d7);
}

.cta {
  background: linear-gradient(145deg, #ffd89f, #ffdbe5);
}

.cta-box {
  border: 1px solid var(--color-line);
  border-radius: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  background: rgba(255, 255, 255, 0.64);
}

.contact {
  background: linear-gradient(180deg, #fff0e1, #ffe9ee);
}

.contact a {
  color: var(--color-wine);
  font-weight: 700;
}

.contact-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
  max-width: 40rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid rgba(61, 0, 38, 0.3);
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-wine);
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.sources {
  background: linear-gradient(180deg, #ffe9d6, #ffe8f0);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-blue-soft);
  outline-offset: 2px;
}

.visually-hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form button[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
}

.form-feedback {
  min-height: 1.4em;
  margin: 0.2rem 0 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.form-feedback.is-success {
  color: #1f6a2c;
}

.form-feedback.is-error {
  color: #8f1632;
}

.footer {
  padding: 2.5rem 0 3rem;
  background: #2f001d;
  color: #ffe4ea;
}

.site-footer {
  border-top: 1px solid rgba(255, 228, 234, 0.2);
}

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

.footer-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-narrow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

.footer p {
  margin: 0.2rem 0;
  max-width: 60ch;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}

.footer-links a {
  color: #ffe4ea;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, opacity 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-bottom-color: currentColor;
  opacity: 0.9;
}

.legal-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffe3d9, #ffdca7 36%, #ffe1ea 100%);
}

.legal-hero {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.legal-hero-inner {
  border: 1px solid var(--color-line);
  border-radius: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgba(255, 243, 240, 0.72);
  backdrop-filter: blur(3px);
}

.legal-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 9vw, 5.8rem);
}

.legal-meta {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
  opacity: 0.9;
}

.legal-content {
  padding-top: 1.2rem;
}

.legal-card {
  border: 1px solid var(--color-line);
  border-radius: 1.2rem;
  padding: clamp(1.2rem, 3.2vw, 2.2rem);
  background: rgba(255, 250, 246, 0.74);
}

.legal-card h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: var(--font-narrow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.1rem, 3vw, 1.55rem);
}

.legal-card p,
.legal-card li {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  max-width: 72ch;
}

.legal-card a {
  color: var(--color-wine);
  font-weight: 700;
}

.maintenance-page .legal-hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.maintenance-box {
  width: min(560px, 100%);
}

.maintenance-form {
  margin-top: 1rem;
}

.maintenance-feedback {
  margin-bottom: 0.6rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-in 720ms ease forwards;
  animation-delay: 0ms;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 600ms ease forwards;
}
.hero-copy > *:nth-child(1) {
  animation-delay: 90ms;
}
.hero-copy > *:nth-child(2) {
  animation-delay: 140ms;
}
.hero-copy > *:nth-child(3) {
  animation-delay: 200ms;
}
.hero-copy > *:nth-child(4) {
  animation-delay: 255ms;
}
.hero-copy > *:nth-child(5) {
  animation-delay: 310ms;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translateY(-8px) translateX(0);
  }
  to {
    transform: translateY(12px) translateX(8px);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    padding: clamp(1.1rem, 4vw, 2rem);
  }

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

  .hero-visual {
    min-height: clamp(260px, 48vh, 420px);
  }

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

  .hero-title,
  .hero-subtitle,
  .hero-text {
    max-width: unset;
  }

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

@media (max-width: 620px) {
  .container,
  .hero-inner {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .hero-inner {
    padding: 1.1rem;
    border-radius: 1.3rem;
  }

  .hero-visual-caption {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    padding: 0.85rem 0.85rem 0.8rem;
  }

  .hero-actions {
    gap: 0.55rem;
  }

  .hero-actions .button {
    flex: 1 1 170px;
  }

  .section {
    padding: 3rem 0;
  }
}
