@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter/InterVariable-latin.woff2") format("woff2");
}

:root {
  --brand-green: #1f5c3a;
  --brand-green-hover: #174a2e;
  --brand-green-soft: #e8f2ec;
  --brand-green-muted: #c5dccf;
  --brand-ink: #0f0f0f;
  --brand-muted: #606060;
  --brand-subtle: #909090;
  --brand-line: #e5e5e5;
  --brand-surface: #fff;
  --brand-canvas: #f8f8f8;
  --brand-chip: #f2f2f2;
  --page-pad: 1rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  color-scheme: light;
}

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

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  background: var(--brand-canvas);
  color: var(--brand-ink);
  line-height: 1.5;
  touch-action: manipulation;
}

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

a {
  color: var(--brand-green);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--brand-green-hover);
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--brand-green);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(42rem, 100%);
  margin-inline: auto;
  padding-inline: max(var(--page-pad), env(safe-area-inset-left))
    max(var(--page-pad), env(safe-area-inset-right));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: max(1.1rem, env(safe-area-inset-top));
  padding-bottom: 1.15rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: inherit;
  opacity: 0.88;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 9999px;
  object-fit: cover;
  background: var(--brand-chip);
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-name .dot,
.brand-text .dot {
  color: var(--brand-green);
}

.brand-text {
  font-weight: 600;
  color: inherit;
}

.ghost-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  background: var(--brand-surface);
  border: 1px solid var(--brand-line);
  color: var(--brand-ink);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.ghost-link:hover {
  color: var(--brand-ink);
  background: var(--brand-chip);
}

.ghost-link:active {
  transform: scale(0.98);
}

main {
  padding-top: 0.85rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

.card {
  position: relative;
  overflow: visible;
  background: var(--brand-surface);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-2xl);
  color: var(--brand-ink);
}

.hero {
  position: relative;
  z-index: 2;
  overflow: visible;
  border-bottom: 1px solid var(--brand-line);
  background: var(--brand-chip);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  padding: 1.05rem 1.15rem 1.1rem;
}

.mascot {
  position: relative;
  z-index: 20;
  float: right;
  width: 8rem;
  height: 8rem;
  margin: -0.85rem -0.75rem -1rem 0.5rem;
  pointer-events: none;
}

.mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
}

.kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

h1 {
  margin: 0.2rem 0 0;
  color: var(--brand-green);
  font-size: clamp(1.55rem, 0.85rem + 3.8vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.lede {
  margin: 0.4rem 0 0;
  max-width: 36rem;
  color: var(--brand-muted);
  font-size: 0.9375rem;
  line-height: 1.625;
}

.body {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 0.5rem 1.15rem 1.25rem;
}

.panel {
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-xl);
  background: var(--brand-chip);
}

.panel + .panel {
  margin-top: 1rem;
}

.panel-head {
  padding: 0.75rem 1rem 0.65rem;
}

.panel-hang .panel-head {
  padding-right: 7.5rem;
}

.panel-head h2 {
  margin: 0;
  color: var(--brand-green);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.trust,
.note {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  color: var(--brand-ink);
  font-size: 0.9375rem;
  line-height: 1.625;
}

.note {
  color: var(--brand-muted);
  font-size: 0.8125rem;
}

.signup {
  background: #fff;
  padding: 1rem;
}

.field {
  margin: 0 0 1rem;
}

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-ink);
}

.field input,
.field select {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  min-height: 2.85rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-xl);
  background: var(--brand-chip);
  color: var(--brand-ink);
  font: inherit;
  font-size: 0.9375rem;
}

.field input:focus,
.field select:focus {
  outline: 2px solid color-mix(in srgb, var(--brand-green) 40%, transparent);
  outline-offset: 0;
  border-color: var(--brand-green);
  background: var(--brand-surface);
}

.hint {
  margin: 0.35rem 0 0;
  color: var(--brand-subtle);
  font-size: 0.75rem;
  line-height: 1.45;
}

.sms-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.5rem;
}

.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 1.35rem;
  border: 0;
  border-radius: 9999px;
  background: var(--brand-green);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.submit:hover {
  background: var(--brand-green-hover);
}

.submit:active {
  transform: scale(0.98);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.site-footer {
  padding-bottom: max(1.75rem, env(safe-area-inset-bottom));
  color: var(--brand-muted);
  font-size: 0.8125rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.site-footer a {
  color: var(--brand-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand-green);
  text-decoration: underline;
}

.legal {
  margin: 0.85rem 0 0;
}

@media (min-width: 40rem) {
  :root {
    --page-pad: 1.5rem;
  }

  .brand-mark {
    width: 2.6rem;
    height: 2.6rem;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .site-header {
    padding-bottom: 1.35rem;
  }

  main {
    padding-top: 1.15rem;
  }

  .hero {
    padding: 1.15rem 1.5rem 1.15rem;
  }

  .mascot {
    width: 9rem;
    height: 9rem;
    margin: -1.15rem -1.5rem -1.5rem 1rem;
  }

  .body {
    padding: 0.75rem 1.5rem 1.5rem;
  }

  .panel-head {
    padding: 1rem 1.25rem 0.85rem;
  }

  .panel-hang .panel-head {
    padding-right: 9.5rem;
  }

  .signup {
    padding: 1.15rem 1.25rem 1.25rem;
  }
}

@media (min-width: 48rem) {
  .site-header {
    padding-bottom: 1.5rem;
  }

  main {
    padding-top: 1.5rem;
  }

  .mascot {
    width: 12.5rem;
    height: 12.5rem;
    margin: -1.35rem -2rem -2rem 1rem;
  }

  .panel-hang .panel-head {
    padding-right: 10rem;
  }
}

@media (min-width: 64rem) {
  .mascot {
    width: 14rem;
    height: 14rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ghost-link,
  .submit {
    transition: none;
  }
}
