/* Hank TC — hanktc.com (brand build #4, docs/hanktc-brand-domain-PLAN.md B8).
   Linked ONLY by the hanktc brand (BaseLayout `branding.stylesheetUrl`), so
   nothing here reaches another brand's pages. Everything is scoped to
   body.htc. Mobile first; breakpoints at 720px and 1000px. */

body.htc {
  --htc-ink: #0E1B2A;
  --htc-ink-2: #3B4756;
  --htc-muted: #5D6876;
  --htc-bg: #FAFAF7;
  --htc-paper: #FFFFFF;
  --htc-tint: #EEF4F1;
  --htc-rule: #DCE3DF;
  --htc-accent: #1D6B57;
  --htc-accent-deep: #14503F;
  --htc-accent-soft: #D7E8E1;
  --htc-highlight: #F3C94B;
  --htc-radius: 12px;
  --htc-radius-lg: 18px;
  --htc-display: 'Cabinet Grotesk', 'Switzer', system-ui, sans-serif;
  --htc-sans: 'Switzer', system-ui, -apple-system, 'Segoe UI', sans-serif;

  background: var(--htc-bg);
  color: var(--htc-ink);
  font-family: var(--htc-sans);
  font-size: 17px;
  line-height: 1.6;
}
body.htc :focus-visible {
  outline: 3px solid var(--htc-accent);
  outline-offset: 2px;
  border-radius: 6px;
}
body.htc a { color: var(--htc-accent-deep); text-decoration: underline; text-underline-offset: 2px; }
body.htc a:hover { opacity: 1; color: var(--htc-accent); }
body.htc h1, body.htc h2, body.htc h3 {
  font-family: var(--htc-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--htc-ink);
}
body.htc .skip-link { background: var(--htc-ink); color: #fff; }

.htc-wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 16px; }
.htc-wrap--narrow { max-width: 760px; }
@media (min-width: 720px) { .htc-wrap { padding-inline: 28px; } }

/* ── Type ─────────────────────────────────────────────────────────────── */
.htc-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--htc-accent-deep);
  margin: 0 0 12px;
}
.htc-h1 { font-size: clamp(38px, 8.6vw, 68px); line-height: 1.02; margin: 0 0 18px; }
.htc-h1 em { font-style: normal; color: var(--htc-accent); box-shadow: inset 0 -0.18em 0 var(--htc-highlight); }
.htc-h2 { font-size: clamp(28px, 5.4vw, 42px); line-height: 1.1; margin: 0 0 14px; }
.htc-h3 { font-size: 20px; line-height: 1.25; margin: 0 0 8px; }
.htc-lead { font-size: 18px; color: var(--htc-ink-2); max-width: 62ch; margin: 0 0 32px; }
.htc-fine { font-size: 14px; color: var(--htc-muted); margin: 0; }
.htc-fine--block { margin-top: 28px; max-width: 70ch; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
body.htc .htc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--htc-accent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid var(--htc-accent);
  cursor: pointer;
  font-family: inherit;
}
body.htc .htc-btn:hover { background: var(--htc-accent-deep); border-color: var(--htc-accent-deep); color: #fff; }
body.htc .htc-btn--ghost { background: transparent; color: var(--htc-accent-deep); }
body.htc .htc-btn--ghost:hover { background: var(--htc-accent-soft); color: var(--htc-accent-deep); }
body.htc .htc-btn--sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
body.htc .htc-btn--block { width: 100%; }
body.htc .htc-btn[disabled] { opacity: 0.6; cursor: progress; }

/* ── Header ───────────────────────────────────────────────────────────── */
.htc-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--htc-rule);
}
.htc-header__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.htc-header__brand { display: inline-flex; text-decoration: none; }
.htc-header__brand img { height: 28px; width: auto; }
.htc-nav { display: flex; align-items: center; gap: 20px; }
body.htc .htc-nav__link { display: none; color: var(--htc-ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
body.htc .htc-nav__link:hover { color: var(--htc-accent-deep); }
@media (min-width: 860px) { body.htc .htc-nav__link { display: inline; } }
@media (max-width: 400px) { body.htc .htc-header .htc-btn--sm { padding: 8px 12px; font-size: 14px; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.htc-hero { padding: 44px 0 56px; background: linear-gradient(180deg, var(--htc-tint), var(--htc-bg)); }
.htc-hero--short { padding-bottom: 40px; }
.htc-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .htc-hero { padding: 80px 0 88px; } .htc-hero__grid { grid-template-columns: 1.35fr 1fr; gap: 56px; } }
.htc-hero__sub { font-size: 19px; color: var(--htc-ink-2); max-width: 56ch; margin: 0 0 26px; }
.htc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.htc-hero__note { font-size: 15px; color: var(--htc-muted); margin: 0; }
.htc-hero__card {
  background: var(--htc-paper);
  border: 1px solid var(--htc-rule);
  border-radius: var(--htc-radius-lg);
  padding: 28px;
  box-shadow: 0 18px 40px -24px rgba(14, 27, 42, 0.35);
}
.htc-hero__card hr { border: 0; border-top: 1px solid var(--htc-rule); margin: 20px 0; }
.htc-hero__card-k { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--htc-muted); margin: 0 0 6px; }
.htc-hero__card-n { font-family: var(--htc-display); font-weight: 700; font-size: 64px; line-height: 1; color: var(--htc-accent); margin: 0 0 8px; }
.htc-hero__card-p { margin: 0; color: var(--htc-ink-2); }

/* ── Sections ─────────────────────────────────────────────────────────── */
.htc-section { padding: 56px 0; scroll-margin-top: 64px; }
.htc-section--tint { background: var(--htc-tint); }
@media (min-width: 1000px) { .htc-section { padding: 88px 0; } }
.htc-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .htc-grid--2, .htc-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .htc-grid--3 { grid-template-columns: 1fr 1fr 1fr; } }
.htc-item { border-top: 3px solid var(--htc-accent); padding-top: 18px; }
.htc-item p { color: var(--htc-ink-2); margin: 0; max-width: 52ch; }

.htc-steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 20px; counter-reset: none; }
@media (min-width: 900px) { .htc-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.htc-step { background: var(--htc-paper); border: 1px solid var(--htc-rule); border-radius: var(--htc-radius); padding: 24px; }
.htc-step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--htc-accent); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.htc-step p { color: var(--htc-ink-2); margin: 0; }

.htc-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.htc-checks li { position: relative; padding-left: 30px; color: var(--htc-ink-2); }
.htc-checks li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--htc-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%2314503F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* ── Pricing ──────────────────────────────────────────────────────────── */
.htc-freeband {
  display: flex; gap: 18px; align-items: center;
  background: var(--htc-ink); color: #fff;
  border-radius: var(--htc-radius-lg); padding: 22px 24px; margin-bottom: 20px;
}
.htc-freeband__price { font-family: var(--htc-display); font-weight: 700; font-size: 48px; line-height: 1; color: var(--htc-highlight); margin: 0; }
.htc-freeband__title { font-weight: 700; font-size: 19px; margin: 0 0 4px; }
.htc-freeband__p { margin: 0; color: #C9D3DC; font-size: 15px; }
.htc-plans-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .htc-plans-grid { grid-template-columns: 1fr 1fr; } }
.htc-plan { background: var(--htc-paper); border: 1px solid var(--htc-rule); border-radius: var(--htc-radius-lg); padding: 28px; }
.htc-plan__name { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--htc-muted); margin: 0 0 10px; }
.htc-plan__price { margin: 0 0 20px; color: var(--htc-ink-2); }
.htc-plan__price span { font-family: var(--htc-display); font-weight: 700; font-size: 52px; line-height: 1; color: var(--htc-ink); margin-right: 6px; }
.htc-cta-row { margin: 28px 0 0; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.htc-faq { border-top: 1px solid var(--htc-rule); margin-top: 12px; }
.htc-faq__item { border-bottom: 1px solid var(--htc-rule); }
.htc-faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; font-size: 18px; min-height: 44px;
}
.htc-faq__item summary::-webkit-details-marker { display: none; }
.htc-faq__item summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 26px; color: var(--htc-accent); }
.htc-faq__item[open] summary::after { content: '\2212'; }
.htc-faq__item p { margin: 0 0 20px; color: var(--htc-ink-2); max-width: 65ch; }

/* ── Join + form ──────────────────────────────────────────────────────── */
.htc-section--join { background: var(--htc-tint); }
.htc-join { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .htc-join { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.htc-card { background: var(--htc-paper); border: 1px solid var(--htc-rule); border-radius: var(--htc-radius-lg); padding: 22px; }
@media (min-width: 720px) { .htc-card { padding: 32px; } }
[data-founding][hidden], .htc-form [hidden] { display: none !important; }
.htc-form form { display: grid; gap: 16px; }
.htc-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .htc-row { grid-template-columns: 1fr 1fr; } .htc-row--city { grid-template-columns: 2fr 1fr; } }
.htc-field { display: grid; gap: 6px; }
.htc-field label, .htc-plans legend { font-size: 14px; font-weight: 600; color: var(--htc-ink); }
.htc-opt { font-weight: 400; color: var(--htc-muted); }
.htc-field input, .htc-field select, .htc-field textarea {
  width: 100%; min-height: 48px; padding: 12px; font: inherit; font-size: 16px; color: var(--htc-ink);
  background: #fff; border: 1px solid #B9C4BF; border-radius: 10px;
}
.htc-field textarea { min-height: 96px; resize: vertical; }
.htc-field input:focus, .htc-field select:focus, .htc-field textarea:focus { border-color: var(--htc-accent); outline: 2px solid var(--htc-accent-soft); }
.htc-plans { border: 0; padding: 0; margin: 0; display: grid; gap: 4px; }
.htc-plans legend { margin-bottom: 6px; }
.htc-check { display: flex; gap: 12px; align-items: center; min-height: 44px; font-size: 16px; color: var(--htc-ink-2); }
.htc-check input { width: 20px; height: 20px; flex: none; accent-color: var(--htc-accent); }
.htc-check--top { align-items: flex-start; font-size: 14px; line-height: 1.5; }
.htc-check--top input { margin-top: 2px; }
.htc-consent { display: grid; gap: 4px; }
.htc-tag { font-size: 13px; font-weight: 600; color: var(--htc-muted); margin: 0; }
.htc-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.htc-error { border-left: 4px solid #B42318; background: #FDECEA; color: #7A1A12; padding: 10px 14px; border-radius: 6px; font-size: 15px; }
.htc-success:focus { outline: none; }
.htc-success p { color: var(--htc-ink-2); }
.htc-closed p { color: var(--htc-ink-2); margin: 0; }

/* ── Legal pages ──────────────────────────────────────────────────────── */
.htc-prose p, .htc-prose ul { margin: 0 0 16px; color: var(--htc-ink-2); }
.htc-prose ul { list-style: disc; padding-left: 22px; }
.htc-prose li { margin-bottom: 8px; }
.htc-prose .htc-h3 { margin-top: 28px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.htc-footer { background: var(--htc-ink); color: #C9D3DC; padding: 44px 0; font-size: 15px; }
body.htc .htc-footer a { color: #fff; }
.htc-footer__grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .htc-footer__grid { grid-template-columns: 1fr 2fr; gap: 56px; } }
.htc-footer__logo { height: 28px; width: auto; margin-bottom: 12px; }
.htc-footer__tag { color: #fff; font-weight: 600; margin: 0 0 8px; }
.htc-footer__legal p { margin: 0 0 12px; max-width: 70ch; }
