/* The Usual's marketing page. Builds on /styles.css (colors, buttons, inputs, the pole stripe). */

.home { --h-navy: #1f2a44; --h-cream: #f6f1e9; }
.h-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Brand: the name in the serif, with a tiny barber pole. */
.h-brand { display: inline-flex; align-items: center; gap: 10px; font: 600 22px var(--serif); text-decoration: none; color: inherit; letter-spacing: 0.01em; }
.h-brand.small { font-size: 17px; }
.h-mark { width: 10px; height: 26px; border-radius: 5px; flex: none; background: repeating-linear-gradient(-50deg, var(--accent) 0 4px, #fffdf9 4px 8px, #3d5a9c 8px 12px, #fffdf9 12px 16px); box-shadow: 0 0 0 1.5px currentColor; }
.h-brand.small .h-mark { height: 20px; width: 8px; }

/* Hero: navy like an old shop sign, cream type. */
.h-hero { background: var(--h-navy); color: var(--h-cream); }
.h-hero .btn { background: var(--h-cream); color: var(--h-navy); }
.h-hero .btn.secondary { background: transparent; color: var(--h-cream); border-color: rgb(246 241 233 / 0.45); }
.h-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.h-hero-body { padding-top: 40px; padding-bottom: 72px; max-width: 820px; margin-left: max(16px, calc((100% - 1040px) / 2)); }
.h-kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 700; color: #e9a59e; margin-bottom: 18px; }
.h-hero h1 { font-size: clamp(42px, 7.4vw, 76px); line-height: 1.02; letter-spacing: -0.01em; }
.h-lede { font-size: clamp(18px, 2.2vw, 21px); max-width: 38ch; margin-top: 22px; opacity: 0.92; }
.h-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.h-cta, .h-cta-2 { min-height: 54px; padding: 0 26px; font-size: 17px; }
.h-note { margin-top: 14px; font-size: 14px; opacity: 0.75; max-width: 46ch; }

main section h2 { font-size: clamp(28px, 3.6vw, 38px); }

/* A sample call. */
.h-call { display: grid; gap: 36px; grid-template-columns: 1fr 1.1fr; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.h-call > div { display: grid; gap: 14px; }
.h-call > div p { font-size: 18px; color: var(--muted); max-width: 46ch; }
.h-transcript { margin: 0; padding: 22px; display: grid; gap: 12px; }
.h-transcript figcaption { font-size: 13px; color: var(--muted); }
.h-transcript .who { padding: 12px 14px; border-radius: 14px; font-size: 16px; max-width: 88%; display: grid; gap: 2px; }
.h-transcript .who b { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.h-transcript .caller { background: var(--surface-2); justify-self: start; border-bottom-left-radius: 4px; }
.h-transcript .usual { background: var(--brand); color: var(--brand-ink); justify-self: end; border-bottom-right-radius: 4px; }

/* What it does. */
.h-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0; }
.h-list { list-style: none; counter-reset: what; margin: 28px 0 0; padding: 0; display: grid; gap: 28px 36px; grid-template-columns: repeat(2, 1fr); }
.h-list li { counter-increment: what; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-content: start; }
.h-list li::before { content: counter(what, decimal-leading-zero); grid-row: span 2; font: 600 22px var(--serif); color: var(--accent); padding-top: 1px; }
.h-list b { font: 600 20px var(--serif); }
.h-list span { color: var(--muted); }

.h-number { padding-top: 64px; display: grid; gap: 12px; }
.h-number p { font-size: 18px; color: var(--muted); max-width: 60ch; }

/* Prices. */
.h-price { padding-top: 56px; padding-bottom: 24px; display: grid; gap: 14px; }
.h-sub { font-size: 18px; color: var(--muted); }
.h-prices { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin: 10px 0 4px; }
.h-price-card { padding: 22px; display: grid; gap: 4px; }
.h-price-card b { font: 600 44px var(--serif); line-height: 1; font-variant-numeric: tabular-nums; }
.h-price-card span { color: var(--muted); }
.h-price .fine { font-size: 15px; max-width: 70ch; }

/* Get started. */
.h-start { padding-top: 48px; padding-bottom: 72px; scroll-margin-top: 12px; }
.h-form-card { padding: clamp(20px, 4vw, 36px); display: grid; gap: 14px; max-width: 760px; }
.h-form-card > p { font-size: 17px; color: var(--muted); }
#lead { display: grid; gap: 14px; margin-top: 6px; }
#lead .btn { justify-self: start; min-height: 52px; padding: 0 28px; }
.h-row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.h-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.h-done { display: grid; gap: 8px; padding: 16px 18px; border-radius: 12px; background: var(--ok-soft); }
.h-done h3 { font-size: 22px; }

.h-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); }
.h-foot a { color: inherit; }

@media (max-width: 820px) {
  .h-call { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 52px; }
  .h-list { grid-template-columns: 1fr; }
  .h-prices { grid-template-columns: 1fr; }
  .h-row2 { grid-template-columns: 1fr; }
  .h-hero-body { padding-top: 24px; padding-bottom: 56px; }
}

@media (prefers-color-scheme: dark) {
  .home { --h-navy: #121a2c; }
  .h-transcript .usual { background: #2c3a5c; color: #eeeae3; }
}
