:root {
  --deep-tide: #17525B;
  --deep-tide-dark: #124249;
  --sea-glass: #8CC5B8;
  --sea-glass-soft: #dceee9;
  --warm-sand: #F3E9DA;
  --warm-sand-deep: #ece0ca;
  --coral: #E9795B;
  --harbour-ink: #1E2B34;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --shadow: 0 8px 24px rgba(23, 82, 91, 0.12);
  --focus-ring: 0 0 0 3px #ffffff, 0 0 0 6px var(--coral);
  --font-body: ui-rounded, "Nunito", "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--harbour-ink);
  background: var(--warm-sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  color: var(--deep-tide);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--deep-tide);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--deep-tide-dark);
}

img, svg {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 720px;
}

.section {
  padding: 3rem 0;
}

.section-lead {
  font-size: 1.1rem;
  max-width: 46em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep-tide);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
  color: var(--white);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 233, 218, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--warm-sand-deep);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--deep-tide);
}

.brand-name {
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 12px 14px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.site-nav a:hover {
  background: var(--sea-glass-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--sea-glass);
  border-radius: var(--radius-sm);
  color: var(--deep-tide);
}

.lang-switch:hover {
  background: var(--sea-glass-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--deep-tide);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--deep-tide-dark);
  color: var(--white);
}

.btn-secondary {
  background: var(--sea-glass-soft);
  color: var(--deep-tide);
  border-color: var(--sea-glass);
}

.btn-secondary:hover {
  background: var(--sea-glass);
}

.btn-lg {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.hero {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(180deg, var(--warm-sand) 0%, #eef0df 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-tagline {
  display: inline-block;
  background: var(--sea-glass-soft);
  color: var(--deep-tide);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 1rem;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 1.5rem 0;
}

.hero-offer {
  color: var(--deep-tide);
  font-weight: 700;
  margin: 0;
}

.hero-built {
  color: var(--harbour-ink);
  opacity: 0.8;
  font-size: 0.95rem;
}

.hero-art-wrap {
  order: -1;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}

.problem-list {
  padding-left: 1.2em;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.problem-list li {
  margin-bottom: 0.6rem;
}

.problem-closing {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--deep-tide);
}

.features {
  background: var(--white);
}

.features-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--warm-sand);
  border-radius: var(--radius-md);
  padding: 24px;
}

.feature-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-card p {
  margin: 0;
}

.how {
  background: var(--warm-sand);
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sea-glass);
  color: var(--deep-tide);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin-bottom: 0.25rem;
}

.step p {
  margin: 0;
}

.pricing {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 2rem 0;
}

.tier {
  background: var(--warm-sand);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.tier-highlight {
  background: var(--deep-tide);
  color: var(--white);
  border-color: var(--sea-glass);
  box-shadow: var(--shadow);
}

.tier-highlight h3,
.tier-highlight .tier-price,
.tier-highlight .tier-price strong,
.tier-highlight .tier-price-annual,
.tier-highlight .tier-note {
  color: var(--white);
}

.tier-highlight .tier-features li {
  color: var(--white);
}

.tier-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tier-head h3 {
  margin: 0;
}

.tier-subtitle {
  margin: 0.5rem 0 0;
  color: var(--harbour-ink);
  font-weight: 600;
}

.tier-highlight .tier-subtitle {
  color: var(--white);
}

.tier-price {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 1rem 0 0;
  color: var(--deep-tide);
}

.tier-price span {
  font-size: 1rem;
  font-weight: 600;
}

.tier-price-annual {
  margin: 0 0 1.25rem;
  color: var(--harbour-ink);
  font-weight: 700;
}

.tier-price-annual span {
  font-weight: 600;
}

.tier-note {
  font-weight: 600;
  opacity: 0.85;
}

.tier-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.tier-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid rgba(23, 82, 91, 0.1);
}

.tier-highlight .tier-features li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.tier-features li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sea-glass);
}

.tier .btn {
  margin-top: auto;
}

.badge {
  display: inline-block;
  background: var(--coral);
  color: var(--deep-tide);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tier-highlight .badge {
  background: var(--coral);
  color: var(--deep-tide);
}

.pricing-draft-note {
  color: var(--harbour-ink);
  font-weight: 600;
}

.pricing-notes {
  padding-left: 1.2em;
  margin: 0;
  color: var(--harbour-ink);
}

.founding {
  background: var(--sea-glass-soft);
}

.giving {
  background: var(--warm-sand);
}

.giving-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.giving-art {
  flex: none;
}

.faq {
  background: var(--white);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--warm-sand);
  border-radius: var(--radius-md);
  padding: 4px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--deep-tide);
  padding: 14px 0;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin-top: 0;
}

.closing {
  background: linear-gradient(180deg, var(--white) 0%, var(--warm-sand) 100%);
}

.form-heading {
  margin-top: 2rem;
}

.form-intro {
  margin-bottom: 1.5rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label,
.fieldset legend {
  font-weight: 700;
  color: var(--deep-tide);
}

.fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.fieldset legend {
  margin-bottom: 8px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--sea-glass);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--harbour-ink);
  width: 100%;
}

.field input:focus,
.field select:focus {
  border-color: var(--deep-tide);
  outline: none;
}

.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 600;
  color: var(--harbour-ink);
}

.radio input {
  width: 20px;
  height: 20px;
  accent-color: var(--deep-tide);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--harbour-ink);
}

.checkbox input {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--deep-tide);
}

.field-consent a {
  margin-left: 34px;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--deep-tide);
  font-weight: 600;
}

.form-status[role="alert"] {
  color: #8a2f1f;
}

.form-success {
  background: var(--sea-glass-soft);
  color: var(--deep-tide);
  font-weight: 700;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 2px solid var(--sea-glass);
}

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

.site-footer {
  background: var(--deep-tide);
  color: var(--white);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.footer-brand .logo-mark path {
  stroke: var(--white);
}

.footer-brand-name {
  font-weight: 800;
  font-size: 1.3rem;
}

.footer-company,
.footer-location,
.footer-made {
  margin: 0;
  opacity: 0.9;
}

.footer-nav {
  margin-top: 1rem;
}

.footer-nav a {
  color: var(--white);
  text-decoration: underline;
}

.footer-nav a:hover {
  color: var(--sea-glass);
}

.privacy {
  padding: 3rem 0;
}

.privacy-updated {
  font-weight: 600;
  color: var(--deep-tide);
}

.privacy-intro {
  font-size: 1.1rem;
}

.privacy-section h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 5rem 0;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .hero-art-wrap {
    order: 0;
    flex: 1;
    margin: 0;
  }

  .hero-copy {
    flex: 1.1;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

  .giving-inner {
    flex-direction: row;
    text-align: left;
  }
}

@media (min-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }

  .header-inner {
    flex-wrap: nowrap;
  }
}

/* Highlighted tier: the primary button would be teal on teal, so invert it */
.tier-highlight .btn-primary {
  background: var(--sand, #F3E9DA);
  color: #17525B;
  border-color: var(--sand, #F3E9DA);
}
.tier-highlight .btn-primary:hover {
  background: #FFFFFF;
  color: #17525B;
}

/* Separator between the annual price and the "two months free" note */
.tier-price-annual .tier-note::before {
  content: "\00b7\00a0";
}
