:root {
  color-scheme: light dark;
  --bg: #f7f8f4;
  --ink: #151515;
  --muted: #5d625a;
  --panel: #ffffff;
  --panel-strong: #f0f4ee;
  --border: #d9dfd2;
  --teal: #137c72;
  --teal-dark: #0f5f58;
  --coral: #e65f3c;
  --gold: #f4b942;
  --violet: #6c63c7;
  --shadow: rgb(21 21 21 / 12%);
  --radius: 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161815;
    --ink: #f5f6ef;
    --muted: #c4c8bd;
    --panel: #20231e;
    --panel-strong: #282d25;
    --border: #3e463b;
    --teal: #59c9bb;
    --teal-dark: #7adcd1;
    --coral: #ff896c;
    --gold: #ffd166;
    --violet: #aaa4ff;
    --shadow: rgb(0 0 0 / 34%);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 2.15rem;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  overflow: hidden;
  background: var(--panel);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  gap: clamp(0.75rem, 3vw, 1.5rem);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: min(32rem, calc(100vh - 9rem));
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 4rem) clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}

.workflow-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--border) 48%, transparent) 1px, transparent 1px),
    linear-gradient(0deg, color-mix(in srgb, var(--border) 48%, transparent) 1px, transparent 1px),
    var(--panel-strong);
  background-size: 4rem 4rem;
}

.workflow-scene::after {
  position: absolute;
  inset: 0;
  content: "";
  background: color-mix(in srgb, var(--bg) 18%, transparent);
}

.workflow-card {
  position: absolute;
  width: min(18rem, 42vw);
  min-height: 7rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  box-shadow: 0 1.5rem 4rem var(--shadow);
}

.workflow-card span,
.eyebrow,
.offer-price {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflow-card strong {
  display: block;
  margin-top: 0.65rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.card-a {
  top: 1rem;
  left: 7%;
  border-top: 5px solid var(--coral);
}

.card-b {
  top: 22%;
  right: 10%;
  border-top: 5px solid var(--violet);
}

.card-c {
  display: none;
}

.workflow-line {
  position: absolute;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal) 70%, transparent);
  transform-origin: left center;
}

.line-a {
  top: 31%;
  left: 28%;
  width: 28%;
  transform: rotate(-8deg);
}

.line-b {
  display: none;
}

.hero-content {
  width: min(100%, 58rem);
  padding-top: clamp(3rem, 8vw, 5rem);
}

.eyebrow {
  margin: 0 0 1rem;
}

.badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 20ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-copy,
.section-copy p,
.offer-card p,
.proof-comparison li,
.proof-result,
.site-footer {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-copy {
  max-width: 45rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions,
.offer-grid {
  display: grid;
  gap: 1rem;
}

.hero-actions {
  grid-template-columns: repeat(2, minmax(0, max-content));
  margin-top: 2rem;
}

.hero-microcopy {
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  box-shadow: 0 0.65rem 1.2rem var(--shadow);
  transform: translateY(-1px);
}

.button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold) 75%, transparent);
  outline-offset: 3px;
}

.button.primary {
  background: var(--ink);
  color: var(--bg);
}

.button.secondary {
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  color: var(--ink);
}

.button.accent {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.button.accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.8rem 1.6rem var(--shadow);
}

.button.full-width {
  width: 100%;
}

.section {
  padding: clamp(3rem, 5vw, 4rem) clamp(1rem, 5vw, 4rem);
  scroll-margin-top: 5rem;
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: start;
  border-bottom: 1px solid var(--border);
}

.section-copy {
  max-width: 47rem;
}

.section-copy.narrow {
  max-width: 54rem;
  margin-inline: auto;
  text-align: center;
}

.signup-form,
.offer-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1.2rem 3rem var(--shadow);
}

.signup-form {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--bg);
  font: inherit;
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

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

.form-note,
.form-status,
.checkout-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-status[data-state="success"] {
  color: var(--teal-dark);
}


.form-status[data-state="error"],
.checkout-status[data-state="error"] {
  color: var(--coral);
}

/* Proof / before-after section */

.proof-section {
  display: grid;
  gap: 2rem;
  border-bottom: 1px solid var(--border);
}

.proof-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.proof-before,
.proof-after {
  padding: 1.5rem;
  border-radius: var(--radius);
}

.proof-before {
  background: color-mix(in srgb, var(--coral) 8%, var(--panel-strong));
  border-left: 5px solid var(--coral);
}

.proof-after {
  background: color-mix(in srgb, var(--teal) 8%, var(--panel-strong));
  border-left: 5px solid var(--teal);
}

.proof-before h3,
.proof-after h3 {
  font-size: 1.1rem;
}

.proof-before ul,
.proof-after ul {
  margin: 0;
  padding-left: 1.2rem;
}

.proof-before li,
.proof-after li {
  margin-top: 0.4rem;
}

.proof-result {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  background: var(--panel-strong);
  font-weight: 700;
  text-align: center;
}

/* About / founder section */

.about-section {
  border-bottom: 1px solid var(--border);
}

.about-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: 52rem;
  margin-inline: auto;
}

.about-photo-img {
  display: block;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: 3px solid var(--border);
  object-fit: cover;
  object-position: center top;
}

.about-photo-placeholder {
  display: grid;
  place-items: center;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: var(--panel-strong);
  border: 3px solid var(--border);
  color: var(--muted);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.about-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Offers section */

.offers-section {
  border-bottom: 1px solid var(--border);
}

.offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.offer-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.15rem;
}

.offer-card p {
  margin-bottom: 0;
}

.offer-price {
  margin-bottom: 0.1rem;
  color: var(--coral);
  font-size: 0.95rem;
}

.founding-rate {
  font-size: 0.75rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.offer-guarantee {
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--teal) 8%, var(--panel-strong));
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.offer-slots {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offer-card-featured {
  border-color: var(--coral);
  border-width: 2px;
}

.checkout-status {
  margin-top: 1rem;
  text-align: center;
}

/* Website build application section */

.apply-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 32rem);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: start;
  border-bottom: 1px solid var(--border);
}

/* Guide / tripwire section */

.guide-feature {
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--border);
}

.guide-content {
  width: 100%;
  max-width: 38rem;
  padding: 2rem;
  border: 2px solid var(--coral);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1.2rem 3rem var(--shadow);
}

.guide-benefits {
  margin: 1rem 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

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

.guide-price {
  margin-bottom: 0.75rem;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--coral);
}

.price-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.guide-microcopy {
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

/* Testimonials section */

.testimonials-section {
  display: grid;
  gap: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
  max-width: 54rem;
  margin-inline: auto;
}

.testimonial-card {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 0.8rem 2rem var(--shadow);
}

.testimonial-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  font-style: italic;
}

.testimonial-card footer {
  margin-top: 1rem;
  display: grid;
  gap: 0.25rem;
}

.testimonial-card footer strong {
  font-size: 1rem;
}

.testimonial-card footer span {
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonial-card footer a {
  color: var(--teal-dark);
  font-weight: 700;
}

.testimonial-placeholder {
  border-style: dashed;
  text-align: center;
}

/* Footer */

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
}

.footer-note {
  margin-top: 0.35rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-links a {
  text-decoration: none;
}

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

.legal-page {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 4rem);
}

.legal-content {
  max-width: 52rem;
}

.legal-content h1 {
  max-width: none;
  font-size: clamp(2.6rem, 8vw, 5rem);
}

.legal-content h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 800;
}

/* Cookie consent */

.cookie-consent {
  position: fixed;
  z-index: 30;
  left: 1rem;
  bottom: 1rem;
}

.cookie-consent-panel {
  display: grid;
  width: min(25rem, calc(100vw - 2rem));
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 96%, transparent);
  box-shadow: 0 1.2rem 3rem var(--shadow);
  backdrop-filter: blur(14px);
}

.cookie-consent-title {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 800;
}

.cookie-consent-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-consent-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent-actions a {
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.cookie-consent-actions a:hover {
  color: var(--ink);
}

.cookie-consent-actions .button {
  min-height: 2.5rem;
  padding: 0.55rem 0.9rem;
}

.cookie-consent-trigger {
  display: inline-grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--panel);
  box-shadow: 0 0.8rem 2rem var(--shadow);
  cursor: pointer;
}

.cookie-consent-trigger:hover {
  border-color: var(--teal);
}

.cookie-consent-trigger:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold) 75%, transparent);
  outline-offset: 3px;
}

.cookie-consent-icon {
  position: relative;
  display: block;
  width: 1.55rem;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.cookie-consent-icon::before,
.cookie-consent-icon::after,
.cookie-consent-icon span {
  position: absolute;
  width: 0.28rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.cookie-consent-icon::before {
  top: 0.32rem;
  left: 0.34rem;
}

.cookie-consent-icon::after {
  right: 0.34rem;
  bottom: 0.33rem;
}

.cookie-consent-icon span {
  top: 0.7rem;
  left: 0.68rem;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 40rem;
  }

  .workflow-card {
    width: min(15rem, 62vw);
  }

  .card-a {
    left: 1rem;
  }

  .card-b {
    display: none;
  }

  .card-c {
    right: 2rem;
    bottom: 10%;
  }

  .line-a,
  .line-b {
    display: none;
  }

  .hero-actions,
  .newsletter-section,
  .apply-section,
  .offer-grid,
  .proof-comparison,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 520px) {
  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero {
    min-height: 39rem;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4rem);
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .workflow-card {
    min-height: 5.75rem;
  }
}
