/* ask1c — landing styles
   Display face: Bahnschrift (Windows) / Avenir Next Condensed (macOS) — technical, condensed.
   Body: Segoe UI / system. Data and provenance: Consolas / SF Mono. No web fonts, no trackers. */

:root {
  --ink: #14161a;
  --ink-2: #4d5462;
  --ink-3: #676e7d;
  --paper: #ffffff;
  --field: #eff1f5;
  --rule: #d9dde5;
  --slate: #191f2b;
  --slate-2: #2a3242;
  --mark: #ffc711;
  --ok: #157349;
  --no: #a8341f;

  --display: "Bahnschrift", "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PT Sans", Arial, sans-serif;
  --mono: "Consolas", ui-monospace, "SF Mono", Menlo, "DejaVu Sans Mono", monospace;

  --step: clamp(1rem, 0.6rem + 1.1vw, 1.125rem);
  --gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step);
  line-height: 1.55;
  font-feature-settings: "tnum" 1;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

a { color: inherit; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--field);
  padding: 0.08em 0.32em;
  border-radius: 2px;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--mark);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 20;
  font-weight: 600;
}
.skip:focus { left: 0; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 0.5rem + 3vw, 3rem);
}

/* ---------- header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}

.top__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 60px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex: none;
}

.logo__mark {
  width: 14px;
  height: 20px;
  background: var(--mark);
  display: inline-block;
  flex: none;
}

.logo__word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

.top__nav {
  display: flex;
  gap: 1.4rem;
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.top__nav a {
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}

.top__nav a:hover { color: var(--ink); border-bottom-color: var(--mark); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: transform 120ms ease, background-color 120ms ease;
}

.btn:hover { background: var(--slate-2); transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { background: var(--field); border-color: var(--ink-3); }

.btn--small { padding: 0.5rem 0.95rem; font-size: 0.88rem; flex: none; }

/* ---------- hero ---------- */

.hero {
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(3rem, 2rem + 4vw, 5rem);
  background:
    linear-gradient(to bottom, var(--field), var(--paper) 70%);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 1.4rem;
}

.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 87.5%;
  font-size: clamp(2.9rem, 1.4rem + 7.2vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 1.6rem;
}

.mark {
  background: linear-gradient(to bottom, transparent 62%, var(--mark) 62%, var(--mark) 96%, transparent 96%);
  padding-inline: 0.1em;
}

.hero__lead {
  max-width: 60ch;
  margin: 0 0 2rem;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.25rem);
  line-height: 1.5;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.hero__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-3);
  flex-basis: 100%;
}

/* ---------- demo card (the signature) ---------- */

.demo {
  margin: 0;
  max-width: 720px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--rule), 0 18px 40px -28px rgba(20, 22, 26, 0.45);
  overflow: hidden;
}

.demo__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.demo__ask {
  padding: 1rem 1.25rem 1.1rem;
  background: var(--field);
  border-bottom: 1px solid var(--rule);
}

.demo__question {
  margin: 0.3rem 0 0;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  font-weight: 600;
}

.caret {
  display: inline-block;
  width: 0.55ch;
  height: 1.05em;
  margin-left: 0.15em;
  background: var(--mark);
  vertical-align: -0.16em;
  animation: blink 1.15s steps(1) infinite;
}

@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

.demo__answer { padding: 1rem 1.25rem 0; }

.demo__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.42rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-2);
  white-space: nowrap;
}

.tag--mode { border-color: var(--ink); color: var(--ink); }
.tag--ext { border-color: var(--mark); background: var(--mark); color: var(--ink); }

.demo__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.demo__table th {
  text-align: left;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}

.demo__table th + th,
.demo__table td + td { text-align: right; }

.demo__table td {
  padding: 0.55rem 0;
  border-bottom: 1px dotted var(--rule);
}

.num { font-family: var(--mono); font-size: 0.9rem; white-space: nowrap; }

.row { animation: rise 420ms ease-out both; animation-delay: calc(220ms + var(--i) * 110ms); }

@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- provenance strip: the page cites itself ---------- */

.source {
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-2);
  border-left: 3px solid var(--mark);
  padding: 0.55rem 0 0.55rem 0.75rem;
  margin: 1.25rem 0 0;
}

.source__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  color: var(--ink-3);
}

.demo .source {
  margin: 0;
  border-left: 0;
  border-top: 1px solid var(--rule);
  background: var(--field);
  padding: 0.7rem 1.25rem 0.85rem;
  margin-inline: -1.25rem;
  box-shadow: inset 3px 0 0 var(--mark);
}

.source--light { color: #b9c0cd; border-left-color: var(--mark); }
.source--light .source__label { color: #7d8798; }

/* ---------- section shell ---------- */

.band { padding-block: var(--gap); border-bottom: 1px solid var(--rule); }

[id] { scroll-margin-top: 76px; }

.grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  column-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.gutter {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0.55rem 0 0;
  position: sticky;
  top: 84px;
  align-self: start;
  border-top: 2px solid var(--mark);
  padding-top: 0.6rem;
}

.gutter--light { color: #8b95a6; }

.col { min-width: 0; }

.col h2 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 87.5%;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.005em;
  margin: 0 0 1.1rem;
  max-width: 20ch;
}

.lead { max-width: 62ch; color: var(--ink-2); margin: 0 0 1.8rem; }

.aside { font-size: 0.92rem; color: var(--ink-3); max-width: 60ch; }

/* ---------- checklist ---------- */

.checks { list-style: none; padding: 0; margin: 0 0 1.6rem; max-width: 64ch; }

.checks li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.9rem;
  border-top: 1px solid var(--rule);
}

.checks li:last-child { border-bottom: 1px solid var(--rule); }

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 9px;
  height: 9px;
  background: var(--mark);
}

/* ---------- precheck outcomes ---------- */

.outcomes { list-style: none; padding: 0; margin: 0 0 1.8rem; max-width: 66ch; }

.outcome {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.9rem;
  background: var(--field);
  border-left: 3px solid var(--rule);
  margin-bottom: 0.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.5;
}

.outcome__glyph { font-size: 1rem; line-height: 1.35; flex: none; }

.outcome--ok { border-left-color: var(--ok); }
.outcome--ok .outcome__glyph { color: var(--ok); }
.outcome--no { border-left-color: var(--no); }
.outcome--no .outcome__glyph { color: var(--no); }

.downloads { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.band--check { background: var(--paper); }

/* ---------- steps ---------- */

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

.step {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--rule);
  max-width: 70ch;
}

.step:last-child { border-bottom: 1px solid var(--rule); }

.step__n {
  font-family: var(--display);
  font-stretch: 87.5%;
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--ink);
  border-bottom: 4px solid var(--mark);
  justify-self: start;
  padding-right: 0.25rem;
}

.step h3 { margin: 0 0 0.3rem; font-size: 1.1rem; }
.step p { margin: 0; color: var(--ink-2); }

.callout {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--ink);
  padding: 1rem 1.2rem;
  max-width: 70ch;
  background: var(--field);
}

.callout__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 0.4rem;
}

.callout p:last-child { margin: 0; color: var(--ink-2); }

/* ---------- question list ---------- */

.qlist { list-style: none; padding: 0; margin: 0; max-width: 70ch; }

.qlist li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}

.qlist li:first-child { border-top: 1px solid var(--rule); }

.q { font-size: 1.02rem; }

/* ---------- modes ---------- */

.modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.mode {
  border: 1px solid var(--rule);
  padding: 1.3rem 1.3rem 1.5rem;
  background: var(--paper);
}

.mode--ext { border-color: var(--ink); }

.mode__n {
  font-family: var(--display);
  font-stretch: 87.5%;
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 0.9;
  margin: 0 0 0.6rem;
}

.mode--ext .mode__n { background: var(--mark); display: inline-block; padding-inline: 0.16em; }

.mode h3 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.mode p { margin: 0 0 0.7rem; color: var(--ink-2); font-size: 0.96rem; }

.mode .mode__limit { font-size: 0.88rem; color: var(--ink-3); margin: 0; }

.band--modes { background: var(--field); }
.band--modes .mode { box-shadow: 0 1px 0 var(--rule); }

/* ---------- dark band ---------- */

.band--dark { background: var(--slate); color: #e7eaf0; border-bottom-color: var(--slate); }
.band--dark h2 { color: #ffffff; }

.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem 2rem;
  max-width: 74ch;
}

.facts h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  padding-top: 0.7rem;
  border-top: 2px solid var(--mark);
}

.facts p { margin: 0; color: #b4bccb; font-size: 0.95rem; }

.quote {
  margin: 0 0 0.5rem;
  padding: 1.1rem 1.3rem;
  background: var(--slate-2);
  border-left: 3px solid var(--mark);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
  max-width: 68ch;
}

/* ---------- plans ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.plan {
  border: 1px solid var(--rule);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}

.plan--lead { border-color: var(--ink); box-shadow: 6px 6px 0 var(--mark); }

.plan__tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 0.9rem;
}

.plan__price {
  font-family: var(--display);
  font-stretch: 87.5%;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  margin: 0 0 0.5rem;
}

.plan__price span { font-family: var(--body); font-size: 0.9rem; font-weight: 400; color: var(--ink-3); margin-left: 0.3rem; }

.plan h3 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.plan p:last-child { margin: 0; color: var(--ink-2); font-size: 0.94rem; }

/* ---------- limits ---------- */

.band--limits { background: var(--field); }

.limits { list-style: none; padding: 0; margin: 0; max-width: 68ch; }

.limits li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.9rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}

.limits li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--no);
  font-family: var(--mono);
}

/* ---------- faq ---------- */

.faq { margin: 0; max-width: 70ch; }

.faq dt {
  font-weight: 600;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.faq dd { margin: 0.35rem 0 1rem; color: var(--ink-2); }

/* ---------- closing ---------- */

.closing { padding-block: clamp(3rem, 2rem + 4vw, 5rem); background: var(--paper); }

.closing__title {
  font-family: var(--display);
  font-stretch: 87.5%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 1.2rem + 3.5vw, 3.6rem);
  line-height: 1;
  margin: 0 0 0.8rem;
}

.closing__inner p { margin: 0 0 1.6rem; color: var(--ink-2); max-width: 52ch; }

.closing__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- footer ---------- */

.foot { background: var(--slate); color: #aeb7c6; padding-block: 2.2rem; font-size: 0.9rem; }

.foot__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; justify-content: space-between; }

.foot__brand { display: flex; gap: 0.7rem; align-items: flex-start; max-width: 46ch; }
.foot__brand p { margin: 0; }

.foot__nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; align-items: flex-start; }
.foot__nav a { text-decoration: none; border-bottom: 1px solid transparent; }
.foot__nav a:hover { color: #ffffff; border-bottom-color: var(--mark); }

/* ---------- narrow ---------- */

@media (max-width: 860px) {
  .top__nav { display: none; }
  .top__inner { justify-content: space-between; }
  .btn--small { margin-left: auto; }

  .grid { grid-template-columns: minmax(0, 1fr); row-gap: 0.9rem; }

  .gutter { position: static; border-top: 0; border-left: 3px solid var(--mark); padding: 0 0 0 0.6rem; margin: 0; }

}

@media (max-width: 520px) {
  .qlist li { flex-direction: column; gap: 0.3rem; }
  .tag { align-self: flex-start; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .demo__table th:nth-child(3), .demo__table td:nth-child(3) { display: none; }
}

.top__nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--mark); }
