:root {
  --paper: #f6f2ea;
  --paper-warm: #fdfce8;
  --paper-cool: #e0f2fe;
  --ink: #0a0a0a;
  --ink-muted: #404040;
  --muted: #525252;
  --accent: #c026d3;
  --accent-2: #0891b2;
  --tape: #fef08a;
  --white: #ffffff;
  --radius: 0;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 3.5rem;
  --space-2xl: 5rem;
  --max-width: 1140px;
  --font-display: "Lexend", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --border-thick: 3px solid var(--ink);
  --shadow-brutal: 8px 8px 0 var(--ink);
  --shadow-brutal-accent: 8px 8px 0 var(--accent);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--muted);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 var(--space-sm);
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
}

h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  margin: 0 0 var(--space-md);
  color: var(--muted);
}

a {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, background 0.15s ease;
}

a:hover {
  color: var(--ink);
  background: var(--tape);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 4px solid var(--ink);
  padding: var(--space-sm) 0;
  box-shadow: 0 4px 0 var(--tape);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link:hover {
  opacity: 1;
}

.logo {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border: 2px solid var(--ink);
  background: var(--white);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-link:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--paper-cool);
}

.nav-link.active {
  background: var(--tape);
  box-shadow: 4px 4px 0 var(--accent);
}

/* Hero */
.hero {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-xl);
  border-bottom: 4px solid var(--ink);
  background:
    linear-gradient(120deg, var(--paper-warm) 0%, var(--paper) 45%, var(--paper-cool) 100%);
}

.hero .container {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-copy {
  max-width: 38rem;
}

.hero-title {
  text-align: left;
  margin-bottom: var(--space-md);
  color: var(--ink);
  text-wrap: balance;
}

.hero-title span.mark {
  background: var(--tape);
  padding: 0 0.15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-subtitle {
  text-align: left;
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  margin: 0 0 var(--space-lg);
  color: var(--ink-muted);
  font-weight: 500;
  max-width: 36rem;
}

.hero-aside {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-aside picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-product {
  width: 100%;
  max-width: 320px;
  height: auto;
  border: 4px solid var(--ink);
  box-shadow: var(--shadow-brutal-accent);
  background: var(--white);
  display: block;
}

@media (max-width: 899px) {
  .hero-aside {
    order: -1;
  }

  .hero-product {
    max-width: 240px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: var(--radius);
  border: 3px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--accent);
}

.btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--accent);
  color: var(--white);
  background: var(--ink);
}

.btn-lg {
  padding: 1.15rem 2rem;
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section.alt {
  background: var(--white);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  box-shadow: inset 0 12px 0 var(--tape);
}

.text-center {
  text-align: center;
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

/* Grids */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (min-width: 960px) {
  .bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: var(--space-md);
  }

  .bento .card {
    grid-column: span 2;
  }

  .bento .card:nth-child(1),
  .bento .card:nth-child(2) {
    grid-column: span 3;
  }

  .bento .card:nth-child(6) {
    grid-column: span 6;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    align-items: center;
  }

  .bento .card:nth-child(6) .card-icon {
    margin-bottom: 0;
  }
}

/* Cards */
.card {
  background: var(--white);
  border: var(--border-thick);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-brutal);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--accent);
}

.card::before {
  display: none;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--paper-cool);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: 3px 3px 0 var(--ink);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  stroke: var(--accent);
}

.card-title {
  font-family: var(--font-display);
  color: var(--ink);
  margin-bottom: var(--space-sm);
  font-size: 1.15rem;
  font-weight: 800;
}

.card-text {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.card img:not(.product-shot) {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink-muted);
}

/* Stats */
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: var(--space-sm);
  line-height: 1;
  background: var(--tape);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--accent-2);
}

/* Product */
.product-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-wrap picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.product-shot {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 4px solid var(--ink);
  box-shadow: 12px 12px 0 var(--accent-2);
  background: var(--white);
}

.faq-stack {
  max-width: 820px;
  margin: 0 auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.55s ease forwards;
}

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 3px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  font-family: var(--font-body);
  box-shadow: 4px 4px 0 rgba(10, 10, 10, 0.12);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 4px 4px 0 var(--accent);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Contact */
.contact-info {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.contact-info:hover {
  box-shadow: 7px 7px 0 var(--accent);
  transform: translate(-1px, -1px);
}

.contact-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info span,
.contact-info a {
  color: var(--muted);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--accent-2);
  background: transparent;
}

/* Footer */
.footer {
  background: var(--ink);
  border-top: 4px solid var(--tape);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer h4 {
  font-family: var(--font-display);
  color: var(--tape);
  margin-bottom: var(--space-md);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer p {
  color: #a3a3a3;
  line-height: 1.75;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: #e5e5e5;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-2);
}

.footer-links a:hover {
  color: var(--accent-2);
  background: transparent;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 2px solid #404040;
  text-align: center;
  color: #a3a3a3;
  font-size: 0.82rem;
  line-height: 1.65;
}

.footer-bottom a {
  color: #67e8f9;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--tape);
  background: transparent;
}

.footer-legal-line {
  margin-top: var(--space-sm);
  font-size: 0.76rem;
  color: #737373;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

/* List check */
.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: var(--space-sm);
  color: var(--muted);
  line-height: 1.75;
}

.list-check li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
  font-family: var(--font-display);
}

/* Legal pages */
.content-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.content-card {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--space-xl);
  box-shadow: var(--shadow-brutal);
}

.content-card h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--ink);
  color: var(--ink);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--accent);
  font-size: 1.05rem;
}

.content-card ul,
.content-card ol {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
  color: var(--muted);
}

.content-card li {
  margin-bottom: var(--space-xs);
  line-height: 1.75;
}

.content-card strong {
  color: var(--ink);
}

.content-card .contact-info {
  display: block;
  line-height: 1.75;
  box-shadow: 5px 5px 0 var(--accent-2);
}

.content-card .contact-info strong {
  color: var(--accent);
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: start;
}

/* Responsive */
@media (max-width: 968px) {
  .header-content {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .nav {
    width: 100%;
    justify-content: center;
  }

  .hero-title,
  .hero-subtitle {
    text-align: center;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
    margin: 0 auto;
  }

  .hero .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-md);
  }

  .card {
    padding: var(--space-md);
  }

  .btn {
    padding: 0.9rem 1.25rem;
    font-size: 0.78rem;
  }

  .content-card {
    padding: var(--space-md);
  }
}
