/* Andy Kairos LLC — static styles. No build step. */

:root {
  --navy: #10243e;
  --navy-2: #173154;
  --teal: #0e6e6a;
  --teal-deep: #0a524f;
  --teal-soft: #e5f3f2;
  --teal-mist: #b7e0dc;
  --paper: #f3f0e8;
  --card: #fffcf8;
  --ink: #1a2330;
  --muted: #5c6976;
  --line: #e0d8cc;
  --line-strong: #cfc6b6;
  --danger: #8e2f2f;
  --warn-bg: #fff8e8;
  --warn-line: #e2c98a;
  --warn-ink: #5c4814;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 16px 40px rgba(16, 36, 62, 0.06);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  color-scheme: light;
}

main {
  flex: 1;
}

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

p + p {
  margin-top: 0.85rem;
}

a {
  color: var(--teal-deep);
}

img {
  max-width: 100%;
}

::selection {
  background: #cfe7e5;
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 40;
  background: var(--navy);
  color: #fff;
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
}

.skip:focus {
  top: 0.6rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  overflow-wrap: anywhere;
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-top: 4px solid var(--teal);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.85rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
}

.wordmark {
  color: var(--navy);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1;
}

.wordmark span {
  margin-left: 0.4rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

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

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.35rem 0;
}

.nav a:hover {
  color: var(--teal-deep);
}

.nav a[aria-current="page"] {
  color: var(--teal-deep);
  box-shadow: inset 0 -2px 0 var(--teal);
}

.hero {
  background: var(--navy);
  color: var(--paper);
}

.hero-inner {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.75rem 0 3rem;
  display: grid;
  gap: 2rem;
}

.hero .kicker {
  color: var(--teal-mist);
}

.hero h1 {
  max-width: 11em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 8vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #f7f4ee;
}

.lede {
  max-width: 38rem;
  font-size: 1.125rem;
}

.hero .lede {
  margin-top: 1.15rem;
  color: #d7e0dc;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--teal-deep);
}

.button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.button:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.hero .button:focus-visible,
.band .button:focus-visible {
  outline-color: #f4f1ea;
}

.button-ghost {
  background: transparent;
  color: #f4f1ea;
  box-shadow: inset 0 0 0 1.5px rgba(244, 241, 234, 0.5);
}

.button-ghost:hover {
  background: rgba(244, 241, 234, 0.08);
}

.buy-box-card {
  background: var(--navy-2);
  border: 1px solid rgba(183, 224, 220, 0.28);
  border-radius: 14px;
  padding: 1.2rem 1.2rem 1rem;
}

.buy-box-card .kicker {
  margin-bottom: 0.35rem;
}

.buy-box-card ul {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.buy-box-card li {
  padding: 0.72rem 0;
  border-top: 1px solid rgba(244, 241, 234, 0.14);
  color: #f4f1ea;
}

.card-note {
  margin: 0.35rem 0 0;
  color: var(--teal-mist);
  font-size: 0.95rem;
}

.section {
  padding: 3.25rem 0 3.5rem;
}

.section h2,
.band h2,
.prose h1,
.page-intro h1,
.thanks-panel h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--navy);
}

.section h2,
.band h2 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  max-width: 16em;
}

.section-head p:last-child,
.service-line {
  margin-top: 1rem;
  max-width: 38rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.35rem 0.85rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.num {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--teal);
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.band {
  background: var(--navy);
  color: #f4f1ea;
}

.band-inner {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3rem 0 3.15rem;
}

.band h2 {
  color: #f7f4ee;
}

.band p {
  max-width: 36rem;
  margin-top: 0.85rem;
  color: #d7e0dc;
}

.band .button {
  margin-top: 1.4rem;
}

.site-footer {
  background: var(--navy);
  color: #d5ddd8;
  border-top: 1px solid rgba(244, 241, 234, 0.14);
}

.footer-inner {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.4rem 0 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
  align-items: end;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: #fff;
  line-height: 1.1;
}

.fine,
.footer-links {
  color: #b7c2be;
  font-size: 0.92rem;
}

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

.footer-links a,
.site-footer a {
  color: #fff;
}

.page-intro,
.prose {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-top: 2.4rem;
}

.page-intro h1,
.prose h1 {
  font-size: clamp(2.3rem, 6vw, 3.55rem);
}

.page-intro .lede,
.prose p,
.prose li {
  color: var(--ink);
}

.page-intro .lede {
  margin-top: 0.9rem;
  color: var(--muted);
}

.prose {
  padding-bottom: 3.5rem;
}

.prose h2 {
  margin: 1.8rem 0 0.45rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--navy);
}

.prose ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

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

.prose .button {
  margin-top: 0.4rem;
}

.form-layout {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.notice,
.form-alert {
  margin-top: 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  color: var(--warn-ink);
}

.form-alert {
  background: #fdf2f2;
  border-color: #e4c1c1;
  color: var(--danger);
}

.form-card {
  position: relative;
  margin-top: 1.15rem;
  padding: 1.15rem 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form-section + .form-section {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

h2.section-label {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.field,
fieldset.field {
  margin: 0 0 1rem;
}

fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
  font-weight: 600;
  color: var(--navy);
}

label,
.consent label {
  font-weight: 600;
  color: var(--navy);
}

.field > label,
fieldset > legend {
  display: block;
  margin-bottom: 0.4rem;
}

.hint {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.req {
  color: var(--teal-deep);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.45;
}

::placeholder {
  color: #6f675c;
}

.money {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
}

.money span {
  padding-left: 0.8rem;
  color: var(--muted);
}

.money input {
  border: 0;
  background: transparent;
  min-width: 0;
}

.money input:focus {
  outline: none;
}

.money:focus-within {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.price-row {
  display: grid;
  gap: 0.85rem;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.choices label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  margin: 0;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-weight: 500;
  cursor: pointer;
}

.choices input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  accent-color: var(--teal-deep);
}

.choices input:focus {
  outline: none;
}

.choices label:has(input:checked) {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.choices label:focus-within {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem;
  background: var(--teal-soft);
  border-radius: 10px;
}

.consent input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--teal-deep);
  flex: none;
}

.consent label {
  display: block;
  font-weight: 500;
}

.field-error {
  margin: 0.4rem 0 0;
  color: var(--danger);
  font-size: 0.9rem;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.money:has(input[aria-invalid="true"]) {
  border-color: var(--danger);
}

fieldset.is-invalid .choices,
.consent.is-invalid {
  outline: 1px solid var(--danger);
  outline-offset: 3px;
  border-radius: 12px;
}

.submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.submit-row .fine {
  flex: 1;
  min-width: 12rem;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.thanks-panel {
  margin-top: 0.5rem;
  padding: 1.4rem 0 0.5rem;
}

.thanks-panel h2 {
  font-size: clamp(2.1rem, 5vw, 3rem);
}

.thanks-panel .lede,
.thanks-panel p {
  max-width: 38rem;
}

.thanks-panel .lede {
  color: var(--ink);
}

.prose h1 + p,
.thanks-panel h2 + p {
  margin-top: 0.9rem;
}

#how,
main {
  scroll-margin-top: 5.5rem;
}

.thanks-panel .button {
  margin-top: 0.4rem;
}

@media (max-width: 560px) {
  .actions,
  .submit-row .button {
    display: grid;
    width: 100%;
  }

  .header-inner,
  .hero-inner,
  .wrap,
  .band-inner,
  .footer-inner,
  .page-intro,
  .prose,
  .form-layout {
    width: min(1080px, calc(100% - 2rem));
  }
}

@media (min-width: 560px) {
  .price-row {
    grid-template-columns: 1fr 1fr;
  }

  .form-card {
    padding: 1.6rem 1.5rem 1.5rem;
  }
}

@media (min-width: 860px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
    gap: 3rem;
    align-items: start;
    padding: 4.5rem 0 4.75rem;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .steps li {
    display: block;
    padding: 1rem 0 0;
    border-top: 2px solid var(--navy);
  }

  .num {
    display: block;
    margin-bottom: 0.85rem;
  }
}

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