:root {
  --bg: #e8f6f1;
  --bg-deep: #d5eee5;
  --ink: #2a3340;
  --muted: #6b7a86;
  --accent: #ff8f7a;
  --accent-soft: #ffe5de;
  --mint: #7dcfb6;
  --mint-soft: #d8f3ea;
  --sky: #8ec8e8;
  --white: #ffffff;
  --line: rgba(42, 51, 64, 0.08);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.55;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 143, 122, 0.28), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(125, 207, 182, 0.35), transparent 50%),
    linear-gradient(180deg, #eef9f5 0%, var(--bg) 42%, #f7fbf9 100%);
  min-height: 100vh;
}

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

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

h1,
h2,
h3,
.brand-type {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(232, 246, 241, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand span {
  font-family: "Fredoka", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), #ffb09e);
  color: var(--white) !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 18px rgba(255, 143, 122, 0.28);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  transition: transform 0.25s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #ffb09e);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(255, 143, 122, 0.3);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(42, 51, 64, 0.06);
}

.btn-mint {
  background: var(--mint);
  color: var(--white);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroDrift 14s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(232, 246, 241, 0.94) 0%, rgba(232, 246, 241, 0.72) 38%, rgba(232, 246, 241, 0.18) 72%, rgba(255, 229, 222, 0.35) 100%),
    linear-gradient(0deg, rgba(232, 246, 241, 0.9) 0%, transparent 35%);
}

.hero-copy {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 7.5rem 0 4.5rem;
  max-width: 34rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.hero-brand img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(42, 51, 64, 0.12);
}

.hero-brand strong {
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  margin-bottom: 0.85rem;
}

.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 28rem;
  margin-bottom: 1.6rem;
}

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

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin-bottom: 0.55rem;
}

.section-head p {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* How it works — one job, no card clutter in sense of marketing cards; use simple steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  padding: 0.25rem 0;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

.gear-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.gear-visual {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--mint-soft), var(--accent-soft));
}

.gear-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.gear-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin-bottom: 0.7rem;
}

.gear-copy p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.gear-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.7rem;
}

.gear-points li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 700;
}

.gear-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
}

.band {
  background: linear-gradient(120deg, rgba(125, 207, 182, 0.28), rgba(255, 143, 122, 0.22));
  border-block: 1px solid var(--line);
}

.band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2.4rem 0;
}

.band-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  max-width: 18ch;
}

/* —— Inner pages —— */
.page-hero {
  padding: 4.5rem 0 2.5rem;
}

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

.page-hero p {
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.05rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  padding-bottom: 4.5rem;
  align-items: start;
}

.prose {
  background: var(--white);
  border-radius: 24px;
  padding: 1.8rem 1.7rem;
  box-shadow: 0 10px 30px rgba(42, 51, 64, 0.04);
}

.prose h2 {
  font-size: 1.35rem;
  margin: 1.6rem 0 0.55rem;
}

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

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.15rem;
  margin: 0.4rem 0 0;
}

.prose li + li {
  margin-top: 0.35rem;
}

.aside-stack {
  display: grid;
  gap: 1rem;
}

.aside-panel {
  background: var(--white);
  border-radius: 22px;
  padding: 1.35rem 1.3rem;
  box-shadow: 0 10px 30px rgba(42, 51, 64, 0.04);
}

.aside-panel h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.aside-panel p,
.aside-panel a {
  color: var(--muted);
  font-size: 0.95rem;
}

.aside-panel a {
  color: var(--ink);
  font-weight: 800;
}

.aside-panel .meta {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.aside-panel .meta div {
  display: grid;
  gap: 0.15rem;
}

.aside-panel .meta span {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Support topics — interaction containers */
.topic-list {
  display: grid;
  gap: 0.85rem;
}

.topic {
  border: 0;
  background: var(--white);
  border-radius: 18px;
  padding: 1rem 1.15rem;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(42, 51, 64, 0.04);
  width: 100%;
  font: inherit;
  color: inherit;
}

.topic summary,
.topic-title {
  font-family: "Fredoka", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
}

.topic summary::-webkit-details-marker {
  display: none;
}

.topic p {
  color: var(--muted);
  margin-top: 0.55rem;
  font-size: 0.95rem;
}

details.topic[open] {
  background: linear-gradient(180deg, #fff, var(--mint-soft));
}

/* Contact form */
.form {
  display: grid;
  gap: 0.9rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #e4eee9;
  background: #f3fbf0;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(125, 207, 182, 0.25);
}

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

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--mint-soft);
  color: var(--ink);
  font-weight: 700;
}

.form-success.is-visible {
  display: block;
  animation: riseIn 0.45s var(--ease);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.footer-brand strong {
  font-family: "Fredoka", sans-serif;
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 900px) {
  .steps,
  .gear-strip,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gear-visual {
    min-height: 280px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(42, 51, 64, 0.12);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
  }

  .nav-links a:hover {
    background: var(--mint-soft);
  }

  .nav-cta {
    justify-content: center;
    box-shadow: none;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-copy {
    padding-top: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
