/* Moody Digital Group — site styles */
:root {
  --ink: #1c2a33;        /* workwear navy */
  --steel: #55646c;      /* secondary text */
  --ground: #f1f3ef;     /* cool site-office white */
  --paper: #ffffff;
  --line: #cfd6d1;
  --skip: #f2c230;       /* skip-bin yellow, used sparingly */
  --skip-deep: #d9a90f;
  --measure: 38rem;
  --wide: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-variation-settings: "wdth" 100;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--skip-deep); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; background: var(--ink); color: var(--paper);
  padding: 0.5rem 0.9rem; z-index: 10;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--ground); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem; flex-wrap: wrap; }
.wordmark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.wordmark svg { width: 2.1rem; height: 2.1rem; }
.wordmark span { font-variation-settings: "wdth" 112; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.1; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-size: 0.95rem; color: var(--steel); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); text-decoration: underline; }

/* Hero */
.hero { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: end; }
.hero h1 {
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
}
.hero .lede { font-size: 1.2rem; line-height: 1.55; max-width: 34rem; margin: 0 0 2rem; color: var(--ink); }

.button {
  display: inline-block; background: var(--skip); color: var(--ink); font-weight: 700;
  text-decoration: none; padding: 0.95rem 1.5rem; border: 2px solid var(--ink); border-radius: 3px;
  font-size: 1.02rem;
}
.button:hover { background: var(--skip-deep); text-decoration: none; }
.hero .aside-link { margin-left: 1.25rem; color: var(--steel); }

/* Caller chart */
.callers {
  background: var(--paper); border: 2px solid var(--ink); border-radius: 3px;
  padding: 1.5rem 1.5rem 1.25rem;
}
.callers h2 { font-size: 1rem; font-weight: 700; margin: 0 0 0.2rem; letter-spacing: 0; }
.callers .sub { font-size: 0.9rem; color: var(--steel); margin: 0 0 1.25rem; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.bars li { display: grid; grid-template-columns: 2.4rem 1fr 2rem; align-items: center; gap: 0.75rem; font-size: 0.92rem; }
.bars .m { color: var(--steel); }
.bars .track { display: block; height: 1.35rem; background: var(--ground); border-radius: 2px; overflow: hidden; }
.bars .fill { display: block; height: 100%; background: var(--ink); width: var(--w); transform-origin: left; }
.bars .n { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.callers .total { display: flex; gap: 1.75rem; flex-wrap: wrap; margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.callers .total div { margin: 0; }
.callers .total dt { font-size: 0.85rem; color: var(--steel); }
.callers .total dd { margin: 0; font-variation-settings: "wdth" 118; font-weight: 800; font-size: 1.9rem; line-height: 1.1; }
.callers .note { font-size: 0.82rem; color: var(--steel); margin: 0.9rem 0 0; line-height: 1.45; }

@media (prefers-reduced-motion: no-preference) {
  .bars .fill { animation: grow 900ms cubic-bezier(.2,.7,.2,1) both; }
  .bars li:nth-child(2) .fill { animation-delay: 70ms; }
  .bars li:nth-child(3) .fill { animation-delay: 140ms; }
  .bars li:nth-child(4) .fill { animation-delay: 210ms; }
  .bars li:nth-child(5) .fill { animation-delay: 280ms; }
  .bars li:nth-child(6) .fill { animation-delay: 350ms; }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Sections */
.band { padding-block: clamp(3.5rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.band.paper { background: var(--paper); }
.band h2 {
  font-variation-settings: "wdth" 112; font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 1rem; max-width: 22ch;
}
.band .intro { max-width: var(--measure); margin: 0 0 2.5rem; color: var(--steel); font-size: 1.1rem; }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 1.25rem 1.5rem 0 0; }
.steps li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; font-variation-settings: "wdth" 118; font-weight: 800; font-size: 2.2rem; line-height: 1; margin-bottom: 0.9rem; color: var(--ink); }
.steps h3 { font-size: 1.08rem; margin: 0 0 0.4rem; line-height: 1.3; }
.steps p { margin: 0; color: var(--steel); font-size: 0.98rem; }

/* Terms */
.terms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.terms dl { margin: 0; border-top: 2px solid var(--ink); }
.terms dl div { display: grid; grid-template-columns: minmax(9rem, 0.8fr) minmax(0, 1.6fr); gap: 1.5rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.terms dt { font-weight: 700; }
.terms dd { margin: 0; color: var(--steel); }

/* Trades */
.trades { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.trades p { max-width: var(--measure); }
.trade-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.trade-list li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; border-bottom: 1px solid var(--line); font-weight: 600; }
.trade-list .state { font-weight: 400; color: var(--steel); }
.trade-list .live .state { color: var(--ink); font-weight: 700; }
.trade-list .live .state::before { content: ""; display: inline-block; width: 0.6rem; height: 0.6rem; background: var(--skip); border: 1.5px solid var(--ink); border-radius: 50%; margin-right: 0.5rem; vertical-align: 0.05em; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); }
.about .body p { max-width: var(--measure); margin: 0 0 1rem; }

/* Contact */
.contact { background: var(--ink); color: var(--paper); border-top: 0; }
.contact h2 { color: var(--paper); }
.contact .intro { color: #c3ccd1; }
.contact .email {
  display: inline-block; font-variation-settings: "wdth" 112; font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 2.4rem); letter-spacing: -0.015em; color: var(--paper);
  text-decoration: none; border-bottom: 4px solid var(--skip); padding-bottom: 0.15rem; word-break: break-word;
}
.contact .email:hover { color: var(--skip); }
.contact ul { margin: 2rem 0 0; padding-left: 1.2rem; color: #c3ccd1; max-width: var(--measure); }
.contact :focus-visible { outline-color: var(--skip); }

/* Footer */
.site-footer { background: var(--ink); color: #aab5bb; border-top: 1px solid #33444f; font-size: 0.88rem; }
.site-footer .wrap { padding-block: 2rem 2.5rem; display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-footer p { margin: 0; max-width: 46rem; }
.site-footer a { color: #e3e8eb; }

/* Privacy page */
.doc { padding-block: clamp(3rem, 6vw, 5rem); }
.doc h1 { font-variation-settings: "wdth" 118; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
.doc .updated { color: var(--steel); margin: 0 0 2.5rem; }
.doc h2 { font-size: 1.25rem; margin: 2.25rem 0 0.5rem; }
.doc p, .doc li { max-width: var(--measure); }
.doc ul { padding-left: 1.2rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .terms, .trades, .about { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { padding-top: 1.75rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .site-nav ul { gap: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding-left: 0; border-left: 0; padding-top: 1.4rem; }
  .terms dl div { grid-template-columns: 1fr; gap: 0.25rem; }
  .hero .aside-link { display: block; margin: 1.1rem 0 0; }
}
