/* ==========================================================================
   Homepage — "Landing — Inspection docket" design (2026-10-21)
   Loaded after styles.css on index.html only.
   ========================================================================== */

.home {
  --muted: #4a4f57;
  --muted-2: #5c6168;
  --ok-bg: #eaf4ef;
  color: var(--ink);
  font-family: var(--font-body);
}

.home a { color: var(--ink); text-decoration: underline; text-decoration-color: currentColor; }
.home a:hover { color: var(--signal); opacity: 1; }
.home h1, .home h2, .home h3, .home p, .home ul, .home ol, .home li, .home dl, .home dd { margin: 0; }
.home ul, .home ol { padding: 0; list-style: none; }
.home h1, .home h2, .home h3 { color: inherit; }

.h-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.h-mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.h-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--signal);
  font-weight: 600;
}

.h-h2 {
  font-weight: 800;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.h-head { display: flex; flex-direction: column; gap: 12px; }

.h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--signal);
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  padding: 18px 26px;
  border-radius: var(--radius);
}
.h-btn:hover { opacity: 0.92 !important; }
.h-btn svg { display: block; flex: none; }

/* ---------- Hero ---------- */

.h-hero {
  padding-top: 72px;
  padding-bottom: 88px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}

.h-hero-main {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.h-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.h-tags .h-tag-lead { color: var(--signal); padding: 6px 4px 6px 0; font-weight: 600; }
.h-tags .h-tag { border: 1px solid var(--line); border-radius: 4px; padding: 5px 10px; }

.h-hero h1 {
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.h-hero h1 .accent { color: var(--signal); }

.h-hero-sub {
  max-width: 560px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
}

.h-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.h-hero-ctas .h-textlink { font-weight: 600; font-size: 17px; padding: 16px 8px; text-underline-offset: 4px; }

.h-facts {
  margin-top: 8px !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  max-width: 560px;
}
.h-facts > div { padding: 14px 12px 0 14px; border-right: 1px solid var(--line); }
.h-facts > div:first-child { padding-left: 0; }
.h-facts > div:last-child { border-right: 0; padding-right: 0; }
.h-facts dt { font-family: var(--font-mono); font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); }
.h-facts dd { margin-top: 4px !important; font-weight: 800; font-size: 22px; line-height: 1.25; }

/* ---------- Run log docket ---------- */

.h-docket {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 560px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-margin-top: 24px;
}

.h-docket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.h-docket-top span:first-child { font-weight: 600; }
.h-docket-top span:last-child { color: var(--muted-2); }

.h-docket-body { padding: 18px; display: flex; flex-direction: column; gap: 16px; }

.h-field { display: flex; flex-direction: column; gap: 6px; }
.h-label { font-family: var(--font-mono); font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); }
.h-biz { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.h-blur {
  width: 200px;
  max-width: 100%;
  height: 18px;
  background: repeating-linear-gradient(90deg, #11161c 0 8px, #4a4f57 8px 14px);
  filter: blur(3px);
}
.h-biz-meta { font-family: var(--font-mono); font-size: 13px; line-height: 1.4; }

.h-query {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
  background: var(--stone);
  border: 1px solid var(--line);
  padding: 10px 12px;
}

.h-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
}
.h-grid > span { border-bottom: 1px solid var(--line); }
.h-grid > .h-th { padding: 10px; border-bottom: 1.5px solid var(--ink); background: var(--ink); color: var(--stone); }
.h-grid > .h-th.c { text-align: center; }
.h-grid > .h-row { padding: 12px 10px; font-weight: 600; }
.h-grid > .h-cell { padding: 8px; display: grid; place-items: center; color: var(--muted-2); }
.h-grid > .last { border-bottom: 0; }
.h-named { background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok); padding: 4px 6px; font-weight: 600; }

.h-docket-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.h-rate { font-weight: 800; font-size: 40px; line-height: 1; margin-top: 2px; }
.h-rate span { color: var(--muted-2); }
.h-stamp {
  border: 2.5px solid var(--signal);
  color: var(--signal);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.3;
}

/* ---------- Prompt ticker ---------- */

.h-ticker { background: var(--stone); border-block: 1px solid var(--line); overflow: hidden; }
.h-ticker-inner {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.4;
}
.h-ticker-inner .lead { color: var(--signal); font-weight: 600; }

/* ---------- Method ---------- */

.h-method { padding-top: 104px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 48px; }
.h-method-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.h-method-head p { max-width: 440px; font-size: 18px; line-height: 1.55; color: var(--muted); }

.h-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.h-stat { padding: 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.h-stat:last-child { border-right: 0; }
.h-stat-num { font-weight: 800; font-size: 48px; line-height: 1; }
.h-stat h3 { font-size: 22px; line-height: 1.3; font-weight: 800; }
.h-stat p { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- What you get ---------- */

.h-get { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 56px; }
.h-get-head { flex: 1 1 340px; min-width: 0; }
.h-get-head p { margin-top: 8px; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 380px; }
.h-deliv { flex: 2 1 560px; min-width: 0; border-top: 2px solid var(--ink); }
.h-deliv li { display: flex; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.h-deliv .k { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); width: 40px; flex: none; }
.h-deliv .v { flex: 1; font-size: 22px; line-height: 1.35; font-weight: 700; }

/* ---------- What this is not ---------- */

.h-not { background: var(--stone); margin-top: 64px; }
.h-not-inner { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.h-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.h-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.h-card h3 { font-size: 21px; line-height: 1.3; font-weight: 800; }
.h-card p { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- How it works ---------- */

.h-how { padding-top: 104px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 48px; }
.h-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.h-step { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; border-top: 2px solid var(--ink); }
.h-step.is-last { border-top-color: var(--signal); }
.h-step .h-step-k { font-family: var(--font-mono); font-size: 13px; line-height: 1.4; font-weight: 600; }
.h-step h3 { font-weight: 800; font-size: 24px; line-height: 1.25; }
.h-step p { font-size: 17px; line-height: 1.55; color: var(--muted); }

/* ---------- Order ---------- */

.h-order { padding-top: 64px; padding-bottom: 104px; scroll-margin-top: 0; }
.h-order-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-wrap: wrap; }
.h-order-price {
  flex: 1 1 380px;
  min-width: 0;
  padding: 48px;
  background: var(--stone);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}
.h-order-price .h-mono { font-size: 13px; font-weight: 600; }
.h-price { font-weight: 800; font-size: clamp(56px, 7vw, 80px); line-height: 1; }
.h-price-sub { font-size: 20px; line-height: 1.3; font-weight: 700; margin-top: 10px; }
.h-order-meta { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; }

.h-order-main { flex: 1 1 420px; min-width: 0; padding: 48px; display: flex; flex-direction: column; gap: 28px; }
.h-checks { display: flex; flex-direction: column; gap: 14px; font-size: 18px; line-height: 1.45; }
.h-checks li { display: flex; gap: 12px; align-items: flex-start; }
.h-checks svg { flex: none; margin-top: 1px; }
.h-order-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.h-order-btns .h-btn { flex: 1 1 100%; padding: 18px 24px; text-align: center; }
.h-btn-outline {
  flex: 1 1 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid var(--ink);
  color: var(--ink) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  padding: 16px 24px;
}
.h-btn-outline:hover { color: var(--signal) !important; border-color: var(--signal); }
.h-fine { font-size: 14px; line-height: 1.55; color: var(--muted-2); }

/* ---------- FAQ ---------- */

.h-faq { padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 56px; }
.h-faq-head { flex: 1 1 300px; min-width: 0; }
.h-faq-list { flex: 2 1 600px; min-width: 0; border-top: 2px solid var(--ink); }
.h-faq-list details { border-bottom: 1px solid var(--line); }
.h-faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}
.h-faq-list summary::-webkit-details-marker { display: none; }
.h-faq-list summary:hover { color: var(--signal); }
.faq-plus { font-family: var(--font-mono); font-size: 24px; line-height: 1.1; font-weight: 400; transition: transform .2s; flex: none; }
.h-faq-list details[open] .faq-plus { transform: rotate(45deg); }
.h-faq-list details p { margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 640px; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .h-stats { grid-template-columns: 1fr; }
  .h-stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .h-stat:last-child { border-bottom: 0; }
  .h-order-price { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .h-hero { padding-top: 40px; padding-bottom: 56px; gap: 40px; }
  .h-hero-main { flex-basis: 100%; gap: 22px; }
  .h-hero-sub { font-size: 18px; }
  .h-hero-ctas .h-btn { width: 100%; }
  .h-docket { flex-basis: 100%; }
  .h-facts dd { font-size: 17px; }
  .h-facts > div { padding: 12px 8px 0 10px; }
  .h-method, .h-how { padding-top: 64px; padding-bottom: 40px; gap: 32px; }
  .h-get { padding-top: 40px; padding-bottom: 40px; gap: 28px; }
  .h-deliv .v { font-size: 19px; }
  .h-deliv li { gap: 12px; }
  .h-deliv .k { width: 24px; }
  .h-not { margin-top: 32px; }
  .h-not-inner { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .h-stat, .h-card { padding: 24px; }
  .h-order { padding-top: 40px; padding-bottom: 64px; }
  .h-order-price, .h-order-main { padding: 28px 22px; }
  .h-faq { padding-bottom: 64px; gap: 24px; }
  .h-faq-list summary { font-size: 18px; }
  .h-ticker-inner { font-size: 14px; gap: 10px 24px; }
}

@media (max-width: 380px) {
  .h-grid { font-size: 11px; }
  .h-grid > .h-row { padding: 12px 6px; }
  .h-grid > .h-cell { padding: 8px 2px; }
  .h-named { padding: 3px 4px; }
}

/* Free guides list (2026-10-29) */
.h-guides-list { flex: 2 1 600px; min-width: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.h-guides-list li { border-bottom: 1px solid var(--line); }
.h-guides-list a { display: block; padding: 16px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.h-guides-list a::after { content: " →"; color: var(--signal); }
.h-guides-list a:hover { color: var(--signal); }
