/* nosasbusiness.com. Phone first, then wider. Brand: navy, blue, light blue (as the app and Facebook cover). */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --ink: #0f172a;
  --mute: #475569;
  --line: #cbd5e1;
  --surface: #f1f5f9;
  --primary: #1d4ed8;
  --primary-ink: #ffffff;
  --swoosh: #bfdbfe;
  --error: #b91c1c;
  --focus: #1d4ed8;
  --navy: #0b1530;
  --tap: 44px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --ink: #f1f5f9;
    --mute: #cbd5e1;
    --line: #334155;
    --surface: #111b31;
    --primary: #93c5fd;
    --primary-ink: #0b1530;
    --swoosh: #1e3a8a;
    --error: #fca5a5;
    --focus: #93c5fd;
  }
}
* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: var(--primary); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(5vw, 16px, env(safe-area-inset-left, 0px)); padding-right: max(5vw, 16px, env(safe-area-inset-right, 0px)); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -100px; background: #fff; color: #0b1530; padding: 10px 14px; border-radius: 8px; z-index: 10; font-weight: 700; }
.skip:focus { top: 8px; }

/* The name, as in the app: light "No", bold blue "SAS" on a swoosh, "Business". */
.wordmark { font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.wm-no { font-weight: 500; font-style: italic; }
.wm-sas { font-weight: 900; font-style: italic; color: var(--primary); padding: 0 0.12em; margin: 0 0.02em; border-radius: 0.2em;
  background: linear-gradient(to bottom, transparent 62%, var(--swoosh) 62%, var(--swoosh) 92%, transparent 92%); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 14px; border-radius: 10px; border: 2px solid transparent;
  background: var(--primary); color: var(--primary-ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn-big { min-height: var(--tap); padding: 10px 20px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Top bar and hero: always navy, like the Facebook cover. */
.top { background: var(--navy); color: #fff; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 1.15rem; min-height: var(--tap); }
.brand img { width: 36px; height: 36px; }
.top .wm-sas, .hero .wm-sas { color: #93c5fd; --swoosh: #1e3a8a; }
.top .btn, .hero .btn { background: #93c5fd; color: #0b1530; }
.hero { background: radial-gradient(circle at 12% 10%, #1e3a8a 0, transparent 45%), radial-gradient(circle at 90% 95%, #1d4ed8 0, transparent 40%), var(--navy); color: #fff; padding-block: 24px 48px; overflow: hidden; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 8vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 800; font-style: italic; }
.hero h1 .accent { color: #93c5fd; white-space: nowrap; }
.lead { font-size: 1.2rem; margin: 0 0 12px; color: #e2e8f0; max-width: 34em; }
.hero p { color: #e2e8f0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 24px; }
.hero-actions a:not(.btn) { color: #bfdbfe; font-weight: 600; }
@media (min-width: 860px) {
  .hero { padding-block: 48px 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; }
}

/* The app on a phone (sample names). */
.phone { width: min(320px, 100%); margin: 0 auto; background: #020617; border-radius: 40px; padding: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); border: 2px solid #334155; }
.screen { background: #ffffff; color: #0f172a; border-radius: 30px; padding: 18px 16px 20px; }
.screen-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.screen-top b { font-size: 1.25rem; }
.screen-top span { color: #475569; font-size: 0.85rem; }
.appt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid #e2e8f0; }
.appt time { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.appt .who { font-weight: 600; }
.appt .what { grid-column: 2 / span 2; color: #475569; font-size: 0.85rem; }
.chip { grid-row: 1; grid-column: 3; font-size: 0.75rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #e2e8f0; color: #1e293b; white-space: nowrap; }
.chip.in { background: #dcfce7; color: #14532d; }
.chip.paid { background: #dbeafe; color: #1e3a8a; }
.paid-card { margin-top: 12px; background: #1d4ed8; color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.paid-card b { font-size: 1.1rem; white-space: nowrap; }

/* Sections */
section { padding-block: 48px; }
section h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; }
.intro { color: var(--mute); font-size: 1.1rem; margin: 0 0 28px; max-width: 40em; }
.alt { background: var(--surface); }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
.features li { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.alt .features li { background: var(--bg); }
.features h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin: 0 0 6px; }
.features svg { flex: none; width: 28px; height: 28px; color: var(--primary); }
.features p { margin: 0; color: var(--mute); }
.two { display: grid; gap: 28px; }
@media (min-width: 860px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.kinds { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.checks svg { width: 24px; height: 24px; color: var(--primary); margin-top: 2px; }
.checks b { display: block; }
.checks span { color: var(--mute); }

/* The early list */
.join { display: grid; gap: 28px; }
@media (min-width: 860px) { .join { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
form { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
label { font-weight: 700; }
input, select { font: inherit; font-size: 1rem; min-height: var(--tap); padding: 8px 12px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
input:focus-visible, select:focus-visible { border-color: var(--focus); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-weight: 600; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.small { font-size: 0.9rem; color: var(--mute); margin: 0; }
.thanks { border: 2px solid var(--primary); border-radius: 16px; padding: 20px; }
.thanks h3 { margin: 0 0 6px; font-size: 1.3rem; }
.thanks p { margin: 0; }

/* Footer */
footer { background: var(--navy); color: #e2e8f0; padding-block: 32px; }
footer .wrap { display: grid; gap: 12px; }
footer a { color: #bfdbfe; }
footer .wm-sas { color: #93c5fd; --swoosh: #1e3a8a; }
footer p { margin: 0; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: #fff; }
.foot-brand img { width: 32px; height: 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 24px; }

/* Plain pages (privacy, thanks) */
.page { padding-block: 40px 56px; max-width: 46em; }
.page h1 { font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.page h2 { font-size: 1.3rem; margin: 28px 0 8px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Large text: let long words and the phone picture wrap instead of spilling out. */
.foot-links a, .page a { overflow-wrap: anywhere; }
.screen { overflow: hidden; }
.screen-top, .paid-card { flex-wrap: wrap; }
.appt .who, .appt .what { overflow-wrap: anywhere; }
