:root {
  --bg: #ffffff;
  --bg-dark: #0a0a0c;
  --ink: #0a0a0c;
  --ink-soft: #4a4a52;
  --line: #e6e6ea;
  --accent: #5fb98a;
  --accent-deep: #2e7d57;
  --radius: 4px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
}

p {
  color: var(--ink-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  height: 36px;
  display: block;
}

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  overflow: hidden;
  padding: 5rem 2rem;
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #1a1a1a 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 70%, #1a1a1a 50%, transparent 51%),
    radial-gradient(1px 1px at 80% 20%, #1a1a1a 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 85%, #1a1a1a 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 50%, #1a1a1a 50%, transparent 51%),
    radial-gradient(1px 1px at 10% 60%, #1a1a1a 50%, transparent 51%);
  opacity: 0.08;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 900px;
  text-align: center;
  z-index: 1;
  transform: translateY(-60px);
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* FORM */
.subscribe-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.subscribe-form input[type="email"] {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.subscribe-form input[type="email"]::placeholder {
  color: #8a8a92;
}

.subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(95, 185, 138, 0.16);
}

.subscribe-form button {
  margin-top: 1rem;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.honeypot input {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
}

.form-status {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}

.form-status.success {
  color: var(--accent-deep);
}

.form-status.error {
  color: #b00020;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.95rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
}

/* FOOTER */
.footer {
  padding: 3rem 2rem;
  background: var(--bg-dark);
  color: #888;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  height: 32px;
  filter: invert(1);
}

.footer-meta {
  text-align: right;
  font-size: 0.85rem;
}

.footer-meta p {
  color: #888;
  margin-bottom: 0.3rem;
}

/* ACCESSIBILITY */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .nav-inner {
    padding: 0.9rem 1.5rem;
  }

  .hero {
    min-height: calc(100vh - 65px);
    padding: 4rem 1.5rem;
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

  .lead {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .subscribe-form {
    max-width: 100%;
  }

  .btn {
    width: 100%;
  }

  .footer {
    padding: 2.5rem 1.5rem;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    height: 32px;
  }

  .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.15em;
  }

  .hero {
    padding: 3.5rem 1.2rem;
  }

  .subscribe-form input[type="email"] {
    padding: 0.9rem 0.9rem;
  }
}

/* Legal links in footer */
.legal-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.legal-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.legal-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Privacy notice below subscription form */
.privacy-note {
  margin-top: 10px;
  font-size: 0.75rem;
  opacity: 0.65;
  text-align: center;
}

.privacy-note a {
  color: inherit;
  text-decoration: underline;
}

/* =========================================
   LEGAL PAGES
   ========================================= */

.legal-page {
  min-height: 100vh;
  padding: 50px 20px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 0.84rem;
  line-height: 1.6;
}

.legal-logo {
  width: 120px;
  height: auto;
  margin-bottom: 35px;
}

/* Main title */
.legal-content h1 {
  font-size: 1.7rem;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 8px;
}

/* Section titles */
.legal-content h2 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-top: 28px;
  margin-bottom: 8px;
}

/* Body text */
.legal-content p {
  font-size: 0.84rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Lists */
.legal-content ul {
  font-size: 0.84rem;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 22px;
}

/* Links */
.legal-content a {
  color: inherit;
  text-decoration: underline;
}

/* Back to Onnotherm */
.back-link {
  margin-top: 40px;
}

/* Mobile */
@media (max-width: 600px) {

  .legal-page {
    padding: 35px 18px;
  }

  .legal-content {
    font-size: 0.82rem;
  }

  .legal-content h1 {
    font-size: 1.5rem;
  }

  .legal-content h2 {
    font-size: 1rem;
  }

  .legal-content p,
  .legal-content ul {
    font-size: 0.82rem;
  }

}