:root {
  --ink: #071b18;
  --ink-soft: #2a4a44;
  --teal: #0f766e;
  --teal-deep: #0a5c56;
  --mint: #d8f3ee;
  --foam: #f2fbf8;
  --sand: #e7f2ee;
  --line: #b7d8d1;
  --glow: rgba(15, 118, 110, 0.35);
  --display: "Syne", system-ui, sans-serif;
  --body: "Newsreader", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.55;
  background: var(--foam);
}

a {
  color: var(--teal-deep);
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 50;
  background: #fff;
  padding: 0.5rem 0.75rem;
}

/* —— Hero: one composition, brand-first, full-bleed —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f5fffc;
  background:
    radial-gradient(ellipse 90% 70% at 80% 20%, rgba(56, 178, 162, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(8, 60, 55, 0.9), transparent 50%),
    linear-gradient(155deg, #062823 0%, #0f766e 48%, #134e4a 100%);
}

.hero__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__form {
  position: absolute;
  right: -4%;
  top: 12%;
  width: min(52vw, 560px);
  aspect-ratio: 4 / 5;
  border-radius: 1.25rem;
  background: rgba(242, 251, 248, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  padding: 1.25rem;
  transform: rotate(-4deg);
  animation: drift 9s ease-in-out infinite;
}

.hero__form .bar {
  height: 0.65rem;
  width: 42%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.25rem;
}

.hero__form .field {
  height: 2.4rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
}

.hero__form .field::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-100%);
  animation: fillSweep 2.8s ease-in-out infinite;
}

.hero__form .field:nth-child(3)::after {
  animation-delay: 0.35s;
}
.hero__form .field:nth-child(4)::after {
  animation-delay: 0.7s;
}
.hero__form .field:nth-child(5)::after {
  animation-delay: 1.05s;
}

.hero__form .btn {
  margin-top: 1rem;
  height: 2.6rem;
  width: 48%;
  margin-left: auto;
  border-radius: 0.55rem;
  background: #fff;
  opacity: 0.9;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto 0 8vw;
  padding: 6rem 0 4.5rem;
  animation: rise 0.9s ease both;
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 11ch;
}

.hero__lede {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  max-width: 34ch;
  color: rgba(245, 255, 252, 0.88);
  margin: 0 0 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

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

.btn--solid {
  background: var(--teal);
  color: #fff;
}

.btn--ghost {
  color: #f5fffc;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

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

.note {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  opacity: 0.75;
  margin-top: 1rem;
}

/* —— Sections: one job each —— */
.section {
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.section .support {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  max-width: 48ch;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.25rem 0;
}

.steps .n {
  font-family: var(--display);
  font-weight: 800;
  color: var(--teal);
  font-size: 1.25rem;
  line-height: 1.2;
}

.strip {
  background: linear-gradient(180deg, var(--sand), var(--foam));
  border-block: 1px solid var(--line);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  font-family: var(--display);
  font-weight: 700;
  cursor: pointer;
}

.faq p {
  color: var(--ink-soft);
  margin: 0.6rem 0 0;
}

.site-footer {
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.site-footer a {
  text-decoration: none;
  font-family: var(--display);
  font-weight: 650;
  color: var(--teal-deep);
}

.page {
  padding: 3rem 1.25rem 4rem;
}

.page main {
  width: min(720px, 100%);
  margin: 0 auto;
}

.page h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

@keyframes drift {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-12px);
  }
}

@keyframes fillSweep {
  0%,
  20% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

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

@media (max-width: 820px) {
  .hero__form {
    width: min(78vw, 360px);
    right: -18%;
    top: 6%;
    opacity: 0.55;
  }
  .hero__content {
    margin-left: auto;
    margin-right: auto;
    width: min(640px, calc(100% - 2rem));
    padding-top: 7.5rem;
  }
  .brand {
    max-width: none;
  }
}
