/* HundredClouds landing page styles — uses the global tokens
   from /colors_and_type.css. This file holds layout-only and
   component-level concerns. */

/* Page layout */
.hc-shell { background: var(--hc-bg); color: var(--hc-ink); min-height: 100vh; }

.hc-section { padding-block: var(--section-y); }
.hc-section-tight { padding-block: clamp(4rem, 7vw, 5.5rem); }

.hc-prose  { max-width: var(--content-prose); margin-inline: auto; padding-inline: 1.5rem; }
.hc-wide   { max-width: var(--content-wide);  margin-inline: auto; padding-inline: 1.5rem; }

/* Sticky header */
.hc-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--hc-bg);
  border-bottom: 1px solid var(--hc-rule);
}
.hc-header-inner {
  max-width: var(--content-wide); margin-inline: auto;
  padding: 18px 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.hc-logotype {
  font-family: var(--font-serif); font-weight: 600;
  font-size: 1.25rem; letter-spacing: -0.01em;
  color: var(--hc-ink); text-decoration: none;
}
.hc-header-link {
  font-family: var(--font-sans); font-weight: 500; font-size: 0.95rem;
  color: var(--hc-ink); text-decoration: none;
  transition: color 140ms ease;
}
.hc-header-link:hover { color: var(--hc-clay); }

/* Buttons */
.hc-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans); font-weight: 600;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.hc-btn-lg { font-size: 1rem; padding: 14px 22px; }
.hc-btn-md { font-size: 0.95rem; padding: 11px 18px; }

.hc-btn-primary { background: var(--hc-ink); color: var(--hc-bg); }
.hc-btn-primary:hover { background: #2A2D34; }
.hc-btn-primary:active { background: #0E1015; }

.hc-btn-accent { background: var(--hc-clay); color: var(--hc-bg); }
.hc-btn-accent:hover { background: #B84826; }
.hc-btn-accent:active { background: #A03E20; }

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

/* Eyebrow */
.hc-eyebrow {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--hc-ink-2);
}
.hc-eyebrow-accent { color: var(--hc-clay); }

/* Hero */
.hc-hero { padding-block: clamp(5rem, 9vw, 8rem) clamp(4rem, 7vw, 6rem); }
.hc-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .hc-hero-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; }
}
.hc-hero-headline {
  margin: 1rem 0 1.25rem;
}
.hc-hero-sub { color: var(--hc-ink-2); max-width: 38ch; }
.hc-hero-cta-row { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.75rem; }
.hc-hero-reassurance { color: var(--hc-ink-2); max-width: 50ch; }

.hc-portrait {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.hc-portrait-frame {
  width: 140px; height: 140px; border-radius: 999px;
  background: var(--hc-warm-tint);
  border: 1px solid var(--hc-rule);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 2.5rem; color: var(--hc-ink-2); font-weight: 500;
  overflow: hidden;
}
.hc-portrait-caption {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em;
  color: var(--hc-ink-2); text-align: center; max-width: 18ch;
}

/* StatCallout */
.hc-stat {
  font-family: var(--font-mono); font-weight: 500;
  color: var(--hc-clay); letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

/* Citation */
.hc-cite {
  font-family: var(--font-mono); font-size: 0.7em;
  vertical-align: super; line-height: 0;
  color: var(--hc-ink-2); text-decoration: none;
  border-bottom: 1px dotted transparent;
  margin-left: 0.15em;
  transition: color 120ms ease, border-color 120ms ease;
}
.hc-cite:hover { color: var(--hc-clay); border-bottom-color: var(--hc-clay); }

/* Body lists with subtle markers */
.hc-list { list-style: none; padding: 0; margin: 1rem 0; }
.hc-list li {
  position: relative; padding-left: 1.25rem;
  font: var(--type-body); line-height: 1.7;
}
.hc-list li + li { margin-top: 0.5rem; }
.hc-list li::before {
  content: "—"; position: absolute; left: 0; top: 0;
  color: var(--hc-ink-2); font-family: var(--font-mono);
}

/* Section heading block */
.hc-sec-head { margin-bottom: 2.5rem; }
.hc-sec-head .hc-eyebrow { display: block; margin-bottom: 0.75rem; }
.hc-sec-head h2 { margin: 0; }
.hc-sec-lede { color: var(--hc-ink-2); margin-top: 1rem; max-width: 55ch; }

/* ProofPoint */
.hc-proof-stack > * + * {
  border-top: 1px solid var(--hc-rule);
  margin-top: 2rem; padding-top: 2rem;
}
.hc-proof .hc-eyebrow { display: block; margin-bottom: 0.5rem; }
.hc-proof h3 { margin: 0 0 0.75rem; font: var(--type-h3); color: var(--hc-ink); }
.hc-proof p  { margin: 0; font: var(--type-body); line-height: 1.7; color: var(--hc-ink); }

/* Tier cards */
.hc-tier-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 800px) {
  .hc-tier-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.hc-tier {
  background: var(--hc-card);
  border: 1px solid var(--hc-rule);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.hc-tier .hc-eyebrow { color: var(--hc-clay); }
.hc-tier-title { font: var(--type-h2); letter-spacing: -0.015em; margin: 0.25rem 0 0; }
.hc-tier-desc  { font: var(--type-body); color: var(--hc-ink); margin: 0; }
.hc-tier-list-label { font: 500 0.85rem/1.4 var(--font-sans); color: var(--hc-ink-2); margin: 0 0 0.5rem; }
.hc-chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hc-chip {
  font: 500 0.8rem/1 var(--font-sans);
  padding: 6px 10px; border-radius: 6px;
  background: var(--hc-warm-tint); color: var(--hc-ink);
  border: 1px solid var(--hc-rule);
}
.hc-tier-cta { margin-top: auto; }

/* Methodology */
.hc-shifts > * + * {
  border-top: 1px solid var(--hc-rule);
  margin-top: 2rem; padding-top: 2rem;
}
.hc-shift {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.hc-shift-num {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 2.5rem; line-height: 1;
  color: var(--hc-clay); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hc-shift-title { margin: 0 0 0.5rem; font: var(--type-h3); }
.hc-shift-body  { margin: 0; font: var(--type-body); line-height: 1.7; }

/* FAQ */
.hc-faq { border-top: 1px solid var(--hc-rule); }
.hc-faq-item { border-bottom: 1px solid var(--hc-rule); }
.hc-faq-q {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; text-align: left;
  font: var(--type-h3); font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  color: var(--hc-ink);
}
.hc-faq-q:hover { color: var(--hc-clay); }
.hc-faq-icon {
  font-family: var(--font-mono); font-size: 1.1rem; color: var(--hc-ink-2);
  transition: transform 180ms ease, color 180ms ease;
  flex-shrink: 0;
}
.hc-faq-q[aria-expanded="true"] .hc-faq-icon { transform: rotate(45deg); color: var(--hc-clay); }
.hc-faq-a {
  overflow: hidden; max-height: 0;
  transition: max-height 220ms ease;
}
.hc-faq-a-inner { padding: 0 0 1.5rem; }
.hc-faq-a-inner p { margin: 0; font: var(--type-body); line-height: 1.75; max-width: 62ch; }

/* Closing CTA */
.hc-closing {
  background: var(--hc-card);
  border-top: 1px solid var(--hc-rule);
  border-bottom: 1px solid var(--hc-rule);
}
.hc-closing-inner {
  max-width: 48rem; margin-inline: auto; padding: clamp(5rem, 9vw, 7rem) 1.5rem;
  text-align: center;
}
.hc-closing-headline {
  font: 500 clamp(2rem, 3.6vw, 2.75rem)/1.15 var(--font-serif);
  letter-spacing: -0.015em; text-wrap: balance; margin: 1rem 0 1.25rem;
}
.hc-closing-body { color: var(--hc-ink-2); margin: 0 0 2rem; }
.hc-closing-fineprint { color: var(--hc-ink-2); margin: 1.5rem 0 0; }

/* Footer */
.hc-footer {
  border-top: 1px solid var(--hc-rule);
  padding-block: 3rem;
}
.hc-footer-grid { display: grid; gap: 2rem; max-width: var(--content-wide); margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 800px) {
  .hc-footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.hc-footer p { font: var(--type-small); color: var(--hc-ink-2); margin: 0.5rem 0 0; max-width: 50ch; line-height: 1.6; }
.hc-footer-meta { font: var(--type-small); color: var(--hc-ink-2); margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hc-rule); max-width: var(--content-wide); margin-inline: auto; padding-inline: 1.5rem; }
.hc-footer-meta-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.hc-footer a { color: var(--hc-ink); text-decoration: none; border-bottom: 1px solid var(--hc-rule); transition: border-color 140ms ease, color 140ms ease; }
.hc-footer a:hover { color: var(--hc-clay); border-bottom-color: var(--hc-clay); }
