/* Poppins, hosted locally (SIL Open Font License, see assets/fonts/OFL.txt) */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
}

/* Brand colours from the SMIRA logo package (LÄSMIG.txt) */
:root {
  --navy: #03111f;
  --navy-card: #0a1a2f;
  --navy-line: #1a2c45;
  --white: #fbfbfc;
  --text-muted: #b4c0cc;
  --tagline: #e4e9ec;
  --green: #26d03b;
  --green-light: #75f249;
  --green-dark: #02a935;
  --blue: #00cffe;

  --radius: 16px;
  --max: 1080px;
  --gutter: clamp(16px, 5vw, 40px);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--green-light);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 10px 16px;
  background: var(--green);
  color: var(--navy);
  font-weight: 600;
  border-radius: 8px;
  z-index: 10;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.site-header {
  padding: 28px 0;
}
.site-header .logo {
  display: inline-block;
}
.site-header .logo img {
  width: 168px;
}

main {
  flex: 1;
}

/* Hero */
.hero {
  padding: clamp(40px, 9vw, 104px) 0 clamp(40px, 7vw, 72px);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto;
  height: 520px;
  background:
    radial-gradient(600px 300px at 15% 30%, rgba(0, 207, 254, 0.1), transparent 70%),
    radial-gradient(500px 260px at 80% 10%, rgba(38, 208, 59, 0.08), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  background: var(--navy-card);
  color: var(--tagline);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
h1 {
  margin: 0 0 20px;
  max-width: 16ch;
  font-size: clamp(2.125rem, 6vw, 3.5rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 .accent {
  background: linear-gradient(180deg, var(--green-light), var(--green) 55%, var(--green-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 0;
  max-width: 58ch;
  color: var(--text-muted);
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
}
.hero-cta {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--green);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.hero-cta:hover {
  background: var(--green-light);
  color: var(--navy);
}

/* Features */
.features {
  padding: 8px 0 clamp(48px, 8vw, 88px);
}
.features h2,
.waitlist h2 {
  margin: 0 0 24px;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature {
  padding: 28px;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  background: var(--navy-card);
}
.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--green);
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
}
.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Waitlist */
.waitlist {
  padding-bottom: clamp(56px, 9vw, 104px);
}
.waitlist-card {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--navy-line);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(160deg, var(--navy-card), var(--navy) 120%);
}
.waitlist-card > p {
  margin: 0 0 24px;
  max-width: 56ch;
  color: var(--text-muted);
}
.waitlist {
  scroll-margin-top: 24px;
}

/* MailerLite form: overrides MailerLite's own embed styles to match the page.
   The extra .waitlist-card prefix makes these win over MailerLite's !important rules. */
.waitlist-card #mlb2-48218957.ml-form-embedContainer {
  display: block !important;
  margin: 0 !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-align-center {
  text-align: left !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper,
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper.embedForm {
  display: block !important;
  max-width: 520px !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody,
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody {
  padding: 0 !important;
}
/* The section already has an H2 with the same text */
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent h4 {
  display: none !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent,
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent {
  margin: 0 0 24px !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent h4 {
  color: var(--white) !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 1.375rem !important;
  font-weight: 600 !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent p,
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent p {
  color: var(--text-muted) !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-formContent {
  margin: 0 0 12px !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input {
  background-color: var(--navy) !important;
  color: var(--white) !important;
  border: 1px solid #2b4263 !important;
  border-radius: 999px !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  padding: 13px 22px !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input::placeholder {
  color: #8796a6 !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input:focus {
  border-color: var(--green) !important;
  outline: 3px solid rgba(38, 208, 59, 0.35) !important;
  outline-offset: 1px !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedPermissions .ml-form-embedPermissionsContent.privacy-policy p {
  color: var(--text-muted) !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  margin: 0 0 16px !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit {
  margin: 0 !important;
  float: none !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary,
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.loading {
  width: auto !important;
  padding: 14px 26px !important;
  border-radius: 999px !important;
  background-color: var(--green) !important;
  color: var(--navy) !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:hover {
  background-color: var(--green-light) !important;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary:focus-visible {
  outline: 3px solid var(--green-light) !important;
  outline-offset: 3px !important;
}
@media (max-width: 480px) {
  .waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button.primary {
    width: 100% !important;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--navy-line);
  padding: 32px 0 40px;
  color: var(--text-muted);
  font-size: 0.875rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-row p {
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.disclaimer {
  margin-top: 20px !important;
  color: var(--tagline);
  font-weight: 500;
}

/* Privacy page */
.prose {
  max-width: 68ch;
  padding: clamp(24px, 6vw, 64px) 0 clamp(48px, 8vw, 88px);
}
.prose h1 {
  max-width: none;
  font-size: clamp(1.875rem, 5vw, 2.5rem);
}
.prose h2 {
  margin: 36px 0 8px;
  font-size: 1.25rem;
  font-weight: 600;
}
.prose p,
.prose li {
  color: var(--text-muted);
}
.prose strong {
  color: var(--white);
}
.review-banner {
  margin: 0 0 28px;
  padding: 16px 20px;
  border: 2px solid #ffb547;
  border-radius: 12px;
  background: rgba(255, 181, 71, 0.08);
  color: #ffd699 !important;
  font-weight: 500;
}
.updated {
  font-size: 0.875rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Launch discount line (hero and waitlist) */
.perk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 0;
  color: var(--green-light);
  font-weight: 500;
}
.perk .dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.6em;
  background: var(--green);
}
.waitlist-card .perk {
  margin: -8px 0 20px;
}
.waitlist-card #mlb2-48218957.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedPermissions .ml-form-embedPermissionsContent.privacy-policy p a {
  color: var(--green-light) !important;
  text-decoration: underline !important;
}
