/* Kinetic minimalism — spacing scale */
:root {
  --color-primary: #10b981;
  --color-secondary: #64748b;
  --color-accent: #f43f5e;
  --color-bg: #ffffff;
  --color-muted: #f1f5f9;
  --color-text: #0f172a;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --shadow-card: 0 0.35rem 1.25rem rgba(15, 23, 42, 0.08);
  --radius: 0;
  --header-h: 4rem;
  --max: 72rem;
}

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

html {
  font-size: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-display);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: var(--color-secondary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.site-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  min-width: 0;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: flex-end;
  align-items: center;
}

.nav-list a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.burger {
  display: none;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(100, 116, 139, 0.35);
  background: var(--color-bg);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.burger:hover {
  transform: scale(1.04);
  border-color: var(--color-accent);
}

.burger-line {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .header-inner {
    justify-content: space-between;
  }

  .burger {
    display: flex;
  }

  .header-actions {
    flex: 0 0 auto;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: 400px;
    bottom: 0;
    flex: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem 1.25rem 3rem;
    overflow-y: auto;
    z-index: 35;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
    justify-content: flex-start;
    align-items: stretch;
    border-bottom: 1px solid rgba(100, 116, 139, 0.15);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav .nav-list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 0.25rem;
  }

  .main-nav .nav-list li {
    width: 100%;
    flex: 0 0 auto;
  }

  .main-nav .nav-list a {
    display: block;
    width: 100%;
    padding: 0.65rem 0;
    box-sizing: border-box;
  }

  .footer-nav .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.25rem;
  }

  body.nav-locked {
    overflow: hidden;
  }
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(15, 23, 42, 0.25);
}

.nav-backdrop[hidden] {
  display: none;
}

@media (min-width: 1024px) {
  .nav-backdrop {
    display: none !important;
  }
}

.section {
  padding: clamp(3rem, 8vw, 5rem) 1.25rem;
}

.hero {
  position: relative;
  min-height: min(88vh, 44rem);
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: grid;
  align-items: stretch;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(88vh, 44rem);
  padding: clamp(4rem, 12vw, 7rem) 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.88) 45%,
    rgba(255, 255, 255, 0.96) 100%
  );
}

.hero-content {
  max-width: 40rem;
  text-align: center;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-secondary);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.05rem;
  color: var(--color-secondary);
  margin: 0 0 1.5rem;
}

.date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-secondary);
  margin: 0;
}

.panel,
.offerings,
.resources,
.contact {
  max-width: var(--max);
  margin: 0 auto;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.panel-grid-reverse .panel-copy {
  order: 2;
}

@media (min-width: 48rem) {
  .panel-grid-reverse .panel-figure {
    order: 1;
  }
}

.panel-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
}

.panel-copy p {
  margin: 0 0 1rem;
  color: var(--color-secondary);
}

.plain-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--color-text);
}

.plain-list li {
  margin-bottom: 0.35rem;
}

.panel-figure {
  margin: 0;
  box-shadow: var(--shadow-card);
  background: var(--color-muted);
}

.panel-figure img {
  width: 100%;
  height: auto;
}

.panel-alt {
  background: var(--color-muted);
}

.section-head {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--color-secondary);
}

.offer-banner {
  margin: 0 auto 2rem;
  max-width: 48rem;
  box-shadow: var(--shadow-card);
  background: var(--color-bg);
}

.offer-banner img {
  width: 100%;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.offer-card {
  background: var(--color-bg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0.5rem 1.75rem rgba(15, 23, 42, 0.12);
}

.offer-title {
  margin: 0;
  font-size: 1.15rem;
}

.offer-desc {
  margin: 0;
  flex: 1;
  color: var(--color-secondary);
  font-size: 0.95rem;
}

.offer-price {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--color-text);
}

.resources-inner {
  position: relative;
  min-height: min(28rem, 70vh);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.resources-bg {
  grid-area: 1 / 1;
  margin: 0;
  z-index: 0;
}

.resources-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.resources-overlay {
  grid-area: 1 / 1;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.88) 50%,
    rgba(241, 245, 249, 0.92) 100%
  );
}

.resources-copy {
  max-width: 36rem;
  text-align: center;
}

.resources-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.resources-copy p {
  margin: 0;
  color: var(--color-secondary);
}

.contact {
  background: var(--color-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 2.5rem;
  align-items: start;
}

.contact-copy h2 {
  margin: 0 0 1rem;
}

.contact-copy p {
  margin: 0 0 1rem;
  color: var(--color-secondary);
}

.vcard {
  font-style: normal;
}

.vcard p {
  margin: 0 0 0.5rem;
}

.domain-ref {
  font-family: var(--font-mono);
  word-break: break-all;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
}

.contact-form label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(100, 116, 139, 0.35);
  font: inherit;
  background: var(--color-bg);
}

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

.checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-secondary);
}

.checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(16, 185, 129, 0.35),
    transparent
  );
  transform: translateX(-100%);
  animation: scan 4.5s ease-in-out infinite;
}

.btn-primary:hover {
  transform: scale(1.03);
  border-color: var(--color-accent);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(100, 116, 139, 0.4);
}

.btn-secondary:hover {
  transform: scale(1.03);
  border-color: var(--color-accent);
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }
  40% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.site-footer {
  border-top: 1px solid rgba(100, 116, 139, 0.2);
  padding: 2.5rem 1.25rem;
  background: var(--color-bg);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-nav .nav-list {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-meta {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-secondary);
}

.footer-legal {
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
}

.footer-legal a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-contact {
  margin: 0 0 0.75rem;
}

.footer-domain {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.footer-year {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.cookie-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.cookie-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

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

.cookie-link {
  color: #a7f3d0;
  font-size: 0.85rem;
}

.cookie-banner .btn-primary {
  background: #ffffff;
  color: var(--color-text);
  border-color: #ffffff;
}

.cookie-banner .btn-primary::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(244, 63, 94, 0.2),
    transparent
  );
}

.cookie-banner .btn-secondary {
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.5);
}

.cookie-banner .btn-secondary:hover {
  border-color: var(--color-accent);
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translate3d(2rem, 0, 0);
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-left {
  transform: translate3d(-2rem, 0, 0);
}

.reveal-left.is-visible {
  transform: translate3d(0, 0, 0);
}

@media (max-width: 24rem) {
  html {
    font-size: 93%;
  }
}

/* Legal page layout */
.legal-page .legal-main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.legal-page h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
}

.legal-page p,
.legal-page li {
  color: var(--color-secondary);
}

.legal-main .date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-secondary);
  margin-top: 2rem;
}

.legal-page ul {
  padding-left: 1.2rem;
}

.legal-page .legal-main.thank-you-main {
  max-width: 40rem;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem;
  text-align: center;
}

.thank-you-main h1 {
  margin-bottom: 1rem;
}

.thank-you-main p {
  margin: 0 0 1rem;
  color: var(--color-secondary);
  line-height: 1.6;
}

.thank-you-main p:last-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.thank-you-main .btn {
  text-decoration: none;
}
