:root {
  --navy: #0a1b2e;
  --navy-2: #102943;
  --turquoise: #00c3d7;
  --green: #7cff3c;
  --white: #fff;
  --ink: #14283c;
  --muted: #587086;
  --surface: #f4f8fa;
  --card: #fff;
  --border: #d7e4ea;
  --shadow: 0 18px 50px rgba(10, 27, 46, 0.12);
  --radius: 1.25rem;
  --focus: #9b5d00;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --ink: #f4fbfc;
  --muted: #b6cad4;
  --surface: #071522;
  --card: #102943;
  --border: #29465b;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --focus: #7cff3c;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.image-credit {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.image-credit a {
  color: inherit;
}

a {
  color: #007b88;
  text-underline-offset: 0.18em;
}

[data-theme="dark"] a {
  color: #42d9e8;
}

a:hover {
  color: #005c66;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 2000;
  background: var(--green);
  color: var(--navy);
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 27, 46, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff !important;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: clamp(2.1rem, 4.5vw, 2.75rem);
  width: auto;
  max-width: min(220px, 55vw);
}

.brand-shield {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--turquoise);
  border-radius: 0.6rem 0.6rem 0.85rem 0.85rem;
  color: var(--turquoise);
  font-weight: 900;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  border-radius: 0.55rem;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.nav-links a {
  color: #dbe7ec;
  text-decoration: none;
  border-radius: 0.5rem;
  padding: 0.55rem 0.65rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(0, 195, 215, 0.16);
}

.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px var(--green);
}

.theme-controls {
  display: flex;
  gap: 0.3rem;
}

.theme-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 0.55rem;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
}

.theme-btn[aria-pressed="true"] {
  color: var(--navy);
  background: var(--green);
  border-color: var(--green);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, var(--navy) 0%, #0d2c48 62%, #075768 100%);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.hero::before {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  right: -10rem;
  top: -10rem;
  background: rgba(0, 195, 215, 0.16);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.brand-mark {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0;
}

.brand-mark span {
  color: var(--turquoise);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 850;
  margin-top: 1rem;
}

.display-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 16ch;
  margin: 1rem 0 0;
}

.hero-copy {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #d9eaf0;
  max-width: 36ch;
  margin: 1.25rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  font-family: inherit;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-brand {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
}

.btn-brand:hover {
  background: #62e828;
  border-color: #62e828;
  color: var(--navy);
}

.btn-outline {
  border-color: var(--turquoise);
  color: var(--turquoise);
  background: transparent;
}

.btn-outline:hover {
  background: var(--turquoise);
  color: var(--navy);
}

.hero-media {
  position: relative;
  max-width: 26rem;
  margin-inline: auto;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 12% -8% 4%;
  border-radius: 50%;
  background: rgba(0, 195, 215, 0.22);
  filter: blur(28px);
  z-index: 0;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.42));
  animation: float-in 1s ease both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto -0.5rem -0.5rem auto;
  width: 5.5rem;
  height: 5.5rem;
  border: 2px solid var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  animation: pulse-ring 2.8s ease-in-out infinite;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 900;
  max-width: 18ch;
  margin: 0;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 1rem 0 0;
}

.surface-alt {
  background: var(--card);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(10, 27, 46, 0.05);
}

[data-theme="dark"] .feature {
  background: var(--navy-2);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: rgba(0, 195, 215, 0.14);
  color: #007784;
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

[data-theme="dark"] .feature-icon {
  color: var(--turquoise);
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

/* Story band */
.story-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 2.5rem;
}

.story-visual {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-visual:hover img {
  transform: scale(1.03);
}

.story-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.story-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--turquoise);
  color: var(--navy);
  font-weight: 900;
}

.story-list strong {
  display: block;
  margin-bottom: 0.2rem;
}

.story-list span {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Visual split */
.visual-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.visual-split img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.tipps-frame {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--navy);
}

.tipps-frame img {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

/* Product */
.product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.product-media {
  background: linear-gradient(160deg, #1a2330, #0a1b2e);
  border-radius: 1.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(0, 195, 215, 0.25);
  box-shadow: var(--shadow);
}

.product-media img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  margin-inline: auto;
}

.product-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.product-points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--muted);
}

.product-points li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* CTA */
.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: 2rem;
  padding: clamp(2rem, 6vw, 3.5rem);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -6rem;
  top: -6rem;
  border-radius: 50%;
  background: rgba(0, 195, 215, 0.15);
}

.cta-band h2 {
  position: relative;
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  position: relative;
  color: #cfdee6;
  margin: 0.9rem 0 0;
  max-width: 42ch;
}

.cta-band .hero-actions {
  position: relative;
}

.cta-media {
  position: relative;
  max-width: 16rem;
  margin-inline: auto;
}

.cta-media img {
  width: 100%;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.35));
}

/* Footer */
.site-footer {
  background: #06121f;
  color: #c7d5dc;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.85rem;
}

.footer-brand {
  display: inline-block;
  margin: 0 0 0.85rem;
  line-height: 0;
  text-decoration: none;
}

.footer-logo {
  height: 2.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #c7d5dc;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--turquoise);
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin: 0.4rem 0;
}

.footer-note {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: #91aab6;
}

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 991px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(10, 27, 46, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
  }

  .hero-grid,
  .story-band,
  .visual-split,
  .product,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .hero-media {
    max-width: 18rem;
    order: -1;
  }

  .brand-mark,
  .display-title,
  .hero-copy,
  .eyebrow {
    text-align: center;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media::after {
    right: 0.5rem;
  }
}

@media (max-width: 575px) {
  .features {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .display-title {
    font-size: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Contact form */
.contact-form {
  margin-top: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  color: var(--ink);
  padding: 0.8rem 0.95rem;
  font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.25rem 0 1.25rem;
}

.form-alert {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
}

.form-alert--ok {
  border-color: rgba(124, 255, 60, 0.45);
  background: rgba(124, 255, 60, 0.12);
}

.form-alert--err {
  border-color: #c45c5c;
  background: rgba(196, 92, 92, 0.12);
}

.form-alert ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Legal pages */
.legal-page {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.legal-wrap {
  max-width: 48rem;
}

.legal-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--turquoise, #00c3d7);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.legal-block {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.legal-block h2 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.legal-block h3 {
  margin: 1.25rem 0 0.45rem;
  font-size: 1.02rem;
}

.legal-block p,
.legal-block li {
  color: var(--muted);
}

.legal-block p {
  margin: 0 0 0.9rem;
}

.legal-block ul {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}

.legal-block li {
  margin-bottom: 0.45rem;
}

.legal-block code {
  font-size: 0.92em;
  color: var(--turquoise, #00c3d7);
}

.legal-source {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
}
