:root {
  --page: #fbf8ef;
  --yellow: #ffe450;
  --yellow-soft: #fff2a6;
  --ink: #242420;
  --ink-deep: #11110f;
  --muted: #70664b;
  --muted-dark: #4f4f4f;
  --paper: #fffdf4;
  --line: #242420;
  --brand-blue: #13b9da;
  --brand-red: #e24c51;
  --logo-ink-filter: brightness(0) saturate(100%) invert(12%) sepia(7%) saturate(506%)
    hue-rotate(15deg) brightness(94%) contrast(92%);
  --logo-light-filter: brightness(0) saturate(100%) invert(96%) sepia(9%) saturate(364%)
    hue-rotate(331deg) brightness(104%) contrast(98%);
  --font-display: "Nunito", "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Nunito", "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
  --container: min(100% - clamp(2rem, 8vw, 8rem), 76rem);
  --narrow: min(100% - clamp(2rem, 8vw, 8rem), 58rem);
  --radius: 8px;
  --space-1: 0.625rem;
  --space-2: 1rem;
  --space-3: 1.625rem;
  --space-4: 2.625rem;
  --space-5: 4.25rem;
  --space-6: 6.875rem;
  --section-y: clamp(3.25rem, 7.5vw, 6.875rem);
  --button-height: 3.1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--yellow);
  font-family: var(--font-body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

.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;
}

.base-page {
  min-height: 100vh;
  background: var(--page);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 239, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-nav {
  display: flex;
  width: min(100% - clamp(1.5rem, 6vw, 8rem), 82rem);
  min-height: clamp(4.8rem, 7vw, 6.4rem);
  margin: 0 auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: auto;
  height: clamp(2.15rem, 3.6vw, 3.1rem);
  object-fit: contain;
  filter: var(--logo-ink-filter) drop-shadow(0 8px 12px rgba(36, 36, 32, 0.12));
}

.nav-links {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: clamp(1.25rem, 3.8vw, 3rem);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  text-transform: lowercase;
}

.nav-contact {
  display: inline-flex;
  min-height: 2.25rem;
  margin-left: clamp(0.05rem, 0.9vw, 0.55rem);
  padding: 0 0.82rem;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-contact:hover {
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-links a,
.footer-links a {
  position: relative;
  transition: opacity 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  opacity: 0.65;
}

.ticker-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--yellow);
}

.ticker-track {
  display: flex;
  width: max-content;
  min-width: 200%;
  gap: clamp(2.25rem, 5.5vw, 4.6rem);
  padding: 0.42rem 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.55vw, 1.35rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  animation: tickerMove 18s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  letter-spacing: -0.01em;
}

@keyframes tickerMove {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - 6rem);
  padding: clamp(2.75rem, 7.2svh, 4.75rem) max(1rem, 4vw) clamp(3.5rem, 8.4svh, 6.25rem);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  max-width: min(100%, 68rem);
  margin: 0;
  padding-bottom: 0.12em;
  color: var(--ink-deep);
  font-family: var(--font-display);
  font-size: clamp(3.35rem, 7.35vw, 7.45rem);
  font-weight: 900;
  letter-spacing: -0.046em;
  line-height: 0.94;
  text-wrap: balance;
}

.prompt-box {
  position: relative;
  width: min(100%, 52rem);
  min-height: 8rem;
  margin-top: clamp(2.1rem, 4.5vw, 4rem);
  padding: 1rem;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--yellow);
  box-shadow: 9px 9px 0 var(--ink);
}

.prompt-box textarea {
  display: block;
  width: 100%;
  min-height: 3.9rem;
  resize: none;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: clamp(1.04rem, 1.45vw, 1.24rem);
  font-weight: 800;
  line-height: 1.42;
}

.prompt-box textarea::placeholder {
  color: rgba(36, 36, 32, 0.62);
}

.prompt-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 0.85rem;
}

.prompt-mode {
  margin-left: auto;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  text-transform: lowercase;
}

.prompt-toggle {
  position: relative;
  width: 3.05rem;
  height: 1.7rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
}

.prompt-toggle::after {
  content: "";
  position: absolute;
  top: 0.22rem;
  left: 0.22rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--brand-blue);
}

.build-button,
.dark-cta,
.footer-action a {
  display: inline-flex;
  min-height: var(--button-height);
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.build-button {
  gap: 0.45rem;
  padding: 0 1.35rem;
}

.build-button:hover,
.dark-cta:hover,
.footer-action a:hover {
  background: var(--page);
  color: var(--ink);
  transform: translateY(-1px);
}

.build-button svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: lowercase;
}

.features-section,
.comparison-section,
.faq-section {
  position: relative;
  padding: var(--section-y) 0;
}

.features-section {
  background: var(--yellow);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.section-header {
  width: var(--container);
  max-width: 60rem;
  margin: 0 auto clamp(2rem, 4.5vw, 3.75rem);
}

.section-header--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-header h2,
.why-copy h2 {
  margin: 0;
  color: var(--ink-deep);
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.9vw, 6.15rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.section-header p:not(.eyebrow) {
  max-width: 43rem;
  margin: var(--space-3) 0 0;
  color: var(--muted-dark);
  font-size: clamp(1.06rem, 1.65vw, 1.32rem);
  font-weight: 800;
  line-height: 1.45;
}

.section-header--center p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.feature-grid {
  display: grid;
  width: var(--container);
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.3vw, 1.6rem);
}

.feature-card {
  min-height: 17rem;
  padding: clamp(1.2rem, 2.2vw, 1.65rem);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.feature-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--ink);
}

.feature-card h3 {
  margin: 0;
  color: var(--ink-deep);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.feature-card p {
  margin: var(--space-2) 0 0;
  color: var(--muted-dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.48;
}

.why-section {
  display: grid;
  width: 100%;
  padding: var(--section-y) max(clamp(2rem, 8vw, 8rem), calc((100vw - 76rem) / 2));
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: start;
  background: var(--ink);
  color: var(--page);
}

.why-copy {
  position: sticky;
  top: 6rem;
}

.why-copy .eyebrow {
  color: var(--yellow);
}

.why-copy h2 {
  color: var(--page);
}

.why-panel {
  padding: clamp(1.5rem, 4vw, 2.65rem);
  border: 2px solid var(--page);
  border-radius: var(--radius);
  background: rgba(251, 248, 239, 0.06);
}

.why-panel p {
  margin: 0;
  color: var(--page);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 900;
  line-height: 1.3;
}

.why-panel p + p {
  margin-top: var(--space-3);
  color: rgba(251, 248, 239, 0.72);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  font-weight: 800;
  line-height: 1.52;
}

.dark-cta {
  min-height: 3.25rem;
  margin-top: var(--space-4);
  padding: 0 1.4rem;
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.dark-cta:hover {
  background: var(--page);
  color: var(--ink);
}

.comparison-section {
  background: var(--page);
}

.comparison-table {
  width: var(--container);
  max-width: 72rem;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comparison-row > div,
.comparison-row > strong {
  min-width: 0;
  padding: 1.15rem 1.35rem;
  border-bottom: 2px solid rgba(36, 36, 32, 0.16);
  color: var(--muted-dark);
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 900;
  line-height: 1.25;
}

.comparison-row > div:first-child {
  border-right: 2px solid rgba(36, 36, 32, 0.16);
}

.comparison-row > strong {
  color: var(--ink);
  background: var(--yellow-soft);
}

.comparison-row:last-child > div,
.comparison-row:last-child > strong {
  border-bottom: 0;
}

.comparison-row--head > div {
  color: var(--ink-deep);
  background: var(--yellow);
}

.faq-section {
  background: var(--yellow);
  border-top: 2px solid var(--line);
}

.faq-list {
  display: grid;
  width: var(--narrow);
  margin: 0 auto;
  gap: var(--space-2);
}

.faq-list details {
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}

.faq-list summary {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0 var(--space-3);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 var(--space-3) var(--space-3);
  color: var(--muted-dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
}

.contact-main {
  min-height: calc(100svh - 6rem);
  background: var(--page);
}

.contact-hero {
  display: grid;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 8svh, 6rem) 0 clamp(4rem, 9svh, 7rem);
  grid-template-columns: minmax(16rem, 0.85fr) minmax(24rem, 1fr);
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: center;
}

.contact-copy h1 {
  max-width: 42rem;
  margin: 0;
  color: var(--ink-deep);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.7vw, 6.65rem);
  font-weight: 900;
  letter-spacing: -0.052em;
  line-height: 0.92;
  text-wrap: balance;
}

.contact-copy p:not(.eyebrow) {
  max-width: 35rem;
  margin: var(--space-3) 0 0;
  color: var(--muted-dark);
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  font-weight: 800;
  line-height: 1.45;
}

.contact-card {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--yellow);
  box-shadow: 9px 9px 0 var(--ink);
}

.contact-form {
  display: grid;
  gap: var(--space-2);
}

.form-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.contact-field label {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
}

.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  outline: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.contact-field input {
  min-height: 3.35rem;
  padding: 0 0.95rem;
}

.contact-field textarea {
  min-height: 11rem;
  padding: 0.9rem 0.95rem;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  box-shadow: 0 0 0 4px rgba(36, 36, 32, 0.14);
}

.contact-submit {
  display: inline-flex;
  min-height: var(--button-height);
  width: max-content;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  padding: 0 1.4rem;
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.contact-submit:hover {
  background: var(--page);
  color: var(--ink);
  transform: translateY(-1px);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  min-height: 1.25rem;
  margin: -0.25rem 0 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
}

.form-status.is-error {
  color: #9f1f1f;
}

.site-footer {
  padding: clamp(2.5rem, 6vw, 4.25rem) 0 var(--space-3);
  background: var(--ink);
  color: var(--page);
}

.footer-inner {
  display: grid;
  width: var(--container);
  max-width: 64rem;
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2.2vw, var(--space-2));
}

.footer-brand img {
  width: auto;
  height: clamp(2.75rem, 5vw, 3.5rem);
  object-fit: contain;
  filter: var(--logo-light-filter) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.2));
}

.footer-brand strong {
  display: block;
  color: var(--page);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.3rem;
  color: var(--page);
  font-size: 0.98rem;
  font-weight: 900;
  text-transform: lowercase;
}

.footer-action {
  display: grid;
  gap: var(--space-2);
  justify-items: center;
  max-width: 30rem;
}

.footer-action p,
.footer-bottom {
  color: rgba(251, 248, 239, 0.72);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.55;
}

.footer-action p {
  margin: 0;
}

.footer-action a {
  min-height: 2.85rem;
  padding: 0 1.1rem;
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.footer-action a:hover {
  background: var(--page);
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  width: var(--container);
  margin: var(--space-3) auto 0;
  padding-top: var(--space-2);
  border-top: 1px solid rgba(251, 248, 239, 0.18);
  justify-content: space-between;
  gap: var(--space-2);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .site-nav {
    gap: 0.75rem;
  }

  .nav-contact {
    margin-left: auto;
    min-height: 2.15rem;
    padding: 0 0.72rem;
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(2.45rem, 6svh, 4rem);
    padding-bottom: clamp(3rem, 7svh, 4.25rem);
  }

  .prompt-actions {
    gap: 0.45rem;
  }

  .prompt-mode,
  .prompt-toggle {
    display: none;
  }

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

  .why-section {
    grid-template-columns: 1fr;
  }

  .why-copy {
    position: static;
  }

  .contact-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --section-y: 3rem;
  }

  .site-nav {
    min-height: 4.1rem;
  }

  .nav-brand img {
    height: 2rem;
  }

  .hero {
    padding: 2.2rem 1.05rem 3.25rem;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 12.2vw, 4.45rem);
    line-height: 0.98;
    letter-spacing: -0.044em;
  }

  .prompt-box {
    margin-top: clamp(1.55rem, 7vw, 2.4rem);
    min-height: 7.4rem;
    padding: 0.9rem;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .prompt-box textarea {
    font-size: 1rem;
  }

  .build-button {
    min-height: 2.8rem;
    padding: 0 1rem;
  }

  .build-button svg {
    display: none;
  }

  .section-header h2,
  .why-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.9rem);
    line-height: 0.96;
  }

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

  .feature-card {
    min-height: auto;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .comparison-table {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .comparison-row--head {
    display: none;
  }

  .comparison-row > div:first-child {
    border-right: 0;
  }

  .contact-hero {
    padding: 2.5rem 0 3.5rem;
  }

  .contact-card {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .comparison-row > div {
    padding-bottom: 0.75rem;
    border-bottom: 0;
  }

  .comparison-row > strong {
    padding-top: 0.85rem;
  }
}
