:root {
  --ink: #0e1b2c;
  --muted: #586577;
  --paper: #f5f4ef;
  --paper-deep: #ece8de;
  --sand: #e9e5da;
  --green: #1f9e75;
  --green-soft: rgba(31, 158, 117, 0.12);
  --line: rgba(14, 27, 44, 0.1);
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 27, 44, 0.04), 0 12px 32px -16px rgba(14, 27, 44, 0.18);
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

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

body {
  color: var(--ink);
  font-family: var(--sans);
  background: var(--paper);
  position: relative;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 50% -10%, var(--green-soft), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
}

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 5vw;
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  background: rgba(245, 244, 239, 0.82);
}

.site-header:has(.header-inner) {
  padding: 0.9rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  padding: 0.05rem 0.5rem 0.12rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

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

/* Buttons */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

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

.cta.small {
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
  background: var(--card);
}

nav .cta.small {
  color: var(--ink);
}

.cta.primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(14, 27, 44, 0.6);
}

.cta.ghost {
  background: rgba(255, 255, 255, 0.6);
}

.cta.accent {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.cta.ghost-light {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Hero */

.hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 50rem;
}

.mascot {
  width: clamp(7.5rem, 14vw, 10rem);
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 18px 24px rgba(14, 27, 44, 0.15));
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: #137a59;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.hero .lede {
  margin-left: auto;
  margin-right: auto;
}

.hero .actions {
  justify-content: center;
}

.hero-shot {
  margin-top: 3.5rem;
}

.browser {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 40px 80px -40px rgba(14, 27, 44, 0.45);
}

.browser-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: #faf9f6;
}

.browser-bar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--sand);
}

.browser img {
  display: block;
  width: 100%;
  height: auto;
}

.shots-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Sections */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head h2,
.cta-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.showcase {
  display: grid;
  gap: 3.5rem;
}

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
  margin: 0;
}

.showcase-row:nth-child(even) {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

.showcase-row:nth-child(even) img {
  order: 2;
}

.showcase-row img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  padding: 0.75rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.showcase-row h3 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
}

.showcase-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature {
  padding: 1.6rem 1.5rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(14, 27, 44, 0.3);
}

.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--green-soft);
  color: #137a59;
  font-size: 0.85rem;
  font-weight: 700;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.96rem;
}

.cta-band {
  padding: 4rem 2rem;
  border-radius: 24px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(31, 158, 117, 0.35), transparent 70%),
    var(--ink);
}

.cta-band p {
  max-width: 34rem;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.cta-band .actions {
  justify-content: center;
}

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 1.5rem 5vw 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer:has(.footer-inner) {
  display: block;
  padding: 2rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand {
  font-weight: 600;
  color: var(--ink);
}

.site-footer a {
  color: var(--muted);
}

.page {
  padding: 2.5rem 5vw 4rem;
  max-width: 46rem;
}

.page h1 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
}

.page .lede {
  margin-top: 0;
}

.prose h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.15rem;
}

.prose p,
.prose li {
  line-height: 1.6;
}

.prose ul {
  padding-left: 1.2rem;
}

.draft-note {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-deep);
  color: var(--muted);
}

.form-card {
  display: grid;
  gap: 0.9rem;
  max-width: 28rem;
  margin-top: 1.75rem;
}

.form-card label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-card input[type='text'],
.form-card input[type='email'] {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.form-card label.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 500;
  line-height: 1.45;
}

.form-card label.consent input {
  margin-top: 0.2rem;
}

.form-status {
  margin: 0;
}

.form-status.error {
  color: #8a2b2b;
}

button.cta {
  cursor: pointer;
  font-family: inherit;
}

button.cta:disabled {
  opacity: 0.6;
  cursor: progress;
}

.version {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-row,
  .showcase-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .showcase-row:nth-child(even) img {
    order: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.8rem 1.25rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  nav {
    gap: 0.9rem;
  }

  .hero {
    padding: 3rem 0 2rem;
  }

  .hero-shot {
    margin-top: 2.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 3rem 1.25rem;
  }

  .page,
  .site-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
