/* HelloYes design tokens. Yes Blue is the only action color.
   Hello Teal is never text on a light surface. */
:root {
  --surface: #F6F9FE;
  --surface-raised: #FFFFFF;
  --surface-mist: #E6EDF8;
  --ink: #0C1F5E;
  --ink-muted: #45537A;
  --yes-blue: #1B63E3;
  --on-yes-blue: #FFFFFF;
  --hello-teal: #1FE0CC;
  --navy: #0C1F5E;
  --border-subtle: #C9D5EA;
  --border-strong: #6B7AA3;
  --link: #1B63E3;
  --footer-ink: #FFFFFF;
  --radius-card: 24px;
  --radius-pill: 999px;
  --tap: 56px;
  --caption: 15px;
  --decision: 18px;
  --body: 20px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0C1F5E;
    --surface-raised: #0C1F5E;
    --surface-mist: #0C1F5E;
    --ink: #F6F9FE;
    --ink-muted: #E6EDF8;
    --yes-blue: #1B63E3;
    --on-yes-blue: #FFFFFF;
    --hello-teal: #1FE0CC;
    --navy: #0C1F5E;
    --border-subtle: #C9D5EA;
    --border-strong: #E6EDF8;
    --link: #F6F9FE;
    --footer-ink: #FFFFFF;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { font-size: var(--body); }

html, body {
  margin: 0;
  max-width: 100%;
  background: var(--surface);
  color: var(--ink);
}

body {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

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

h1, h2, h3, .brand-lockup, .approval-title {
  font-family: Figtree, "Atkinson Hyperlegible", sans-serif;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 8vw, 2.6rem); margin: 0 0 0.6rem; }
h2 { font-size: 1.5rem; margin: 0 0 0.5rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }

p { margin: 0 0 1rem; }

a { color: var(--link); text-underline-offset: 0.15em; }

main a:not(.cta) {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  max-width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
  white-space: normal;
}

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
}

.site-header, .shell, .wrap {
  width: min(960px, 100%);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-height: var(--tap);
  color: var(--ink);
  font-family: Figtree, "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.site-footer .brand { color: var(--footer-ink); }

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.brand-logos {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 124px;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
  flex: 0 1 auto;
}

.brand-logo-white { display: none; }

.site-footer .brand-logo-color { display: none; }

.site-footer .brand-logo-white { display: block; }

@media (prefers-color-scheme: dark) {
  .site-header .brand-logo-color { display: none; }
  .site-header .brand-logo-white { display: block; }
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
}

.brand-divider {
  width: 1px;
  height: 1.15em;
  background: currentColor;
  flex: 0 0 auto;
}

.brand-module { font-weight: 700; }

.site-nav, .footer-col nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a, .footer-col a, .footer-legal a, .cta, button, summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 12px 16px;
  font-size: var(--decision);
  line-height: 1.3;
}

.site-nav a {
  color: var(--ink);
  font-family: Figtree, "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-pill);
}

.site-nav a[aria-current="page"] {
  background: var(--yes-blue);
  color: var(--on-yes-blue);
}

@media (prefers-color-scheme: dark) {
  .site-nav a[aria-current="page"] { box-shadow: 0 0 0 2px #FFFFFF; }
}

.shell { padding-bottom: 24px; }

.hero-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.placeholder, .modules li, .approval-card, .job-slots li {
  background: var(--surface-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
}

.placeholder {
  margin: 0 0 1rem;
  padding: 16px 20px;
}

.modules {
  display: grid;
  gap: 16px;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.modules li {
  margin: 0;
  padding: 16px 20px;
}

.modules h2 a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}

.modules .status, .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--ink-muted);
  font-size: var(--caption);
  font-weight: 700;
  line-height: 1.4;
}

.icon-clock { width: 20px; height: 20px; flex: 0 0 auto; }

.approval-card {
  margin: 0;
  padding: 20px;
}

.approval-card .caption {
  margin: 0 0 8px;
  color: var(--ink-muted);
  font-size: var(--caption);
  font-weight: 700;
}

.approval-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.approval-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill, .cta, button {
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--yes-blue);
  color: var(--on-yes-blue);
  font-family: Figtree, "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 12px 18px;
  font-size: var(--decision);
}

.pill-quiet {
  background: var(--surface-mist);
  color: var(--ink);
  border: 2px solid var(--border-strong);
}

.cta, button {
  max-width: 100%;
  white-space: normal;
}

.cta:hover, .cta:focus-visible, button:hover, button:focus-visible { color: var(--on-yes-blue); }

.checkout-note {
  margin: 8px 0 0;
  color: var(--ink-muted);
  font-size: var(--decision);
}

button:disabled, input:disabled, textarea:disabled {
  opacity: 1;
  color: var(--ink);
  background: var(--surface-mist);
  border: 2px solid var(--border-strong);
  cursor: not-allowed;
}

label { display: block; margin: 0 0 8px; font-size: var(--decision); }

input[type="email"], input[type="text"], textarea {
  display: block;
  width: min(28rem, 100%);
  min-height: var(--tap);
  margin: 0 0 12px;
  padding: 8px 16px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-card);
  background: var(--surface-raised);
  color: var(--ink);
  font: inherit;
  font-size: var(--decision);
}

.waitlist { margin: 0 0 2rem; }

.job-slots {
  display: grid;
  gap: 12px;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.job-slots li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: var(--tap);
  margin: 0;
  padding: 16px 20px;
  border-style: solid;
  border-width: 2px;
  color: var(--ink);
  font-size: var(--decision);
}

.job-slots strong {
  font-family: Figtree, "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
}

.job-slots p { margin: 0; }

.site-footer {
  width: 100%;
  max-width: none;
  margin: 24px 0 0;
  padding: 24px 0 48px;
  background: var(--navy);
  color: var(--footer-ink);
  border-top: 1px solid var(--border-subtle);
}

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

.site-footer h2 {
  margin: 0 0 8px;
  color: var(--footer-ink);
  font-size: var(--body);
  font-weight: 700;
}

.site-footer p { margin: 0; }

.footer-inner {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 800px) {
  .hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); }
  .footer-inner { grid-template-columns: auto 1fr auto; align-items: start; }
}

@media (max-width: 390px) {
  .site-header, .shell, .wrap, .footer-inner { padding-left: 16px; padding-right: 16px; }
}
