/* PackWit marketing site. Visual brand guide v2. */
@import url("/brand/brand-tokens.css");
:root {
  --paper: #ffffff;
  --line: var(--pw-line);
  --line-strong: #778297;
  --soft: var(--pw-tint);
  --dark-line: var(--pw-line-dark);
  --dark-muted: #b8c4d9;
  --font: "Public Sans", system-ui, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, monospace;
  --radius-small: 5px;
  --radius-medium: 10px;
  --wrap: 1120px;
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; }
body {
  background: var(--pw-paper);
  color: var(--pw-ink);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--pw-blue); }
p { margin: 0 0 16px; max-width: 62ch; }
h1, h2, h3 { margin: 0 0 16px; font-family: var(--pw-font-heading); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 4vw, 40px); line-height: 1.08; letter-spacing: -0.025em; max-width: 20ch; font-weight: 800; }
h2 { font-size: clamp(26px, 3.2vw, 30px); line-height: 1.2; max-width: 22ch; }
h3 { font-family: var(--font); font-size: 17px; line-height: 1.3; margin-bottom: 8px; }
.muted { color: var(--pw-slate); }
.fine { font-size: 14px; color: var(--pw-slate); max-width: 62ch; }
.num { font-family: var(--font-data); font-weight: 500; font-variant-numeric: tabular-nums; }
.accent { color: var(--pw-blue); }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--pw-blue); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--pw-ink); color: var(--pw-paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Buttons */
.button {
  display: inline-block; min-height: 44px; padding: 10px 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-small);
  background: var(--paper); color: var(--pw-ink);
  font-weight: 600; font-size: 15px; line-height: 22px; text-decoration: none; text-align: center;
}
.button:hover { background: var(--soft); }
/* Primary actions use white text on brand blue. */
.button.primary { background: var(--pw-blue); border-color: var(--pw-blue); color: var(--pw-paper); }
.button.primary:hover { background: var(--pw-blue-deep); border-color: var(--pw-blue-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.actions + .fine { margin-top: 16px; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--line); background: var(--pw-paper); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
/* The SVG canvas includes the guide's clear space. Keep its proportions and clear space. */
.logo img { display: block; width: 168px; height: auto; margin-left: -7px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a:not(.button) { text-decoration: none; padding: 8px 0; }
.nav a:not(.button):hover { text-decoration: underline; text-decoration-color: var(--pw-blue); text-underline-offset: 5px; }
@media (max-width: 720px) {
  .nav a:not(.button) { display: none; }
}

/* Hero */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.kicker { margin: 0 0 16px; font-family: var(--font); font-size: 13px; font-weight: 700; color: var(--pw-blue); }
.lede { font-size: 16px; color: var(--pw-slate); line-height: 1.5; max-width: 52ch; }
.lede + .lede { margin-top: -4px; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
}

/* Product snapshot: navy panel with data figures. */
.ledger { margin: 0; background: var(--pw-ink); color: var(--pw-paper); border-radius: var(--radius-medium); padding: 24px 24px 8px; }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--dark-line); font-size: 14px; color: var(--dark-muted); }
.ledger-note { font-family: var(--font); font-size: 12px; }
.ledger-rows { margin: 0; }
.ledger-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--dark-line); }
.ledger-row:last-child { border-bottom: 0; }
.ledger-row dt { margin: 0; font-size: 15px; color: var(--dark-muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ledger-row dd { margin: 0; font-size: 18px; white-space: nowrap; }
.ledger-row .of { font-family: var(--font); font-size: 14px; color: var(--dark-muted); }
.ledger-row.total dt { color: var(--pw-paper); font-weight: 500; }
.ledger-row.total dd { font-size: 26px; }
.tag { font-family: var(--font); font-size: 11px; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 3px; border: 1px solid var(--dark-line); color: var(--dark-muted); }
.tag.flag { color: var(--pw-paper); background: var(--pw-blue); border-color: var(--pw-blue); }

/* Bands and the split layout: heading on the left, content on the right. */
.band { padding: 64px 0; border-top: 1px solid var(--line); }
.band.dark { background: var(--pw-ink); color: var(--pw-paper); border-top: 0; }
.band.dark .muted, .band.dark .fine { color: var(--dark-muted); }
.band.dark + .band { border-top: 0; }
.split { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) {
  .band { padding: 96px 0; }
  .split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .split-head { position: sticky; top: 32px; align-self: start; }
  .split.stack { grid-template-columns: 1fr; gap: 40px; }
  .split.stack .split-head { position: static; }
}

/* Facts */
.facts { list-style: none; margin: 32px 0 16px; padding: 0; display: grid; gap: 24px; }
.facts li { display: grid; gap: 4px; padding-left: 20px; border-left: 3px solid var(--pw-blue); }
.fact-num { font-size: 34px; line-height: 1.1; }
.fact-num small { font-size: 18px; color: var(--pw-slate); margin-left: 2px; }
.fact-text { color: var(--pw-slate); max-width: 48ch; }

/* Steps: numbered because the loop runs in this order. */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); grid-row: 1 / span 2; font-family: var(--font-data); font-size: 15px; color: var(--pw-blue); padding-top: 4px; }
.steps h3 { grid-column: 2; margin-bottom: 6px; }
.steps p { grid-column: 2; margin: 0; color: var(--pw-slate); }

/* Ownership pair */
.pair { display: grid; gap: 32px; }
.pair p { color: var(--dark-muted); }
@media (min-width: 720px) { .pair { grid-template-columns: 1fr 1fr; } }

/* Benchmark stat card */
.stat-card { display: grid; gap: 4px; max-width: 360px; margin: 24px 0 12px; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-medium); }
.stat-num { font-size: 44px; line-height: 1.1; }
.stat-label { font-size: 15px; color: var(--pw-slate); }

/* Item card */
.item-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-medium); padding: 20px 24px 8px; margin-bottom: 24px; }
.item-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.item-head .muted { font-weight: 400; }
.item-rows { margin: 0; }
.item-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.item-rows > div:last-child { border-bottom: 0; }
.item-rows dt { margin: 0; color: var(--pw-slate); }
.item-rows dd { margin: 0; white-space: nowrap; }
.item-rows .total dt { color: var(--pw-ink); font-weight: 500; }
.item-rows .total dd { font-size: 22px; }

/* Estimator */
.estimate { display: grid; gap: 32px; }
@media (min-width: 900px) { .estimate { grid-template-columns: 1fr 1fr; } }
.estimate-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.estimate-form input {
  display: block; width: 100%; margin-top: 8px; padding: 10px 12px; min-height: 44px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-small);
  background: var(--paper); color: var(--pw-ink); font: 400 16px/1.4 var(--font-data);
}
.estimate-form input::placeholder { color: var(--pw-slate); opacity: 1; }
.estimate-form input:focus { border-color: var(--pw-ink); }
.estimate-out { background: var(--pw-ink); color: var(--pw-paper); border-radius: var(--radius-medium); padding: 24px; align-self: start; }
.estimate-empty { color: var(--dark-muted); margin: 0; }
.estimate-rows { margin: 0 0 24px; }
.estimate-rows > div { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--dark-line); }
.estimate-rows dt { margin: 0; color: var(--dark-muted); font-size: 14px; }
.estimate-rows dd { margin: 0; font-size: 22px; }
.estimate-rows dd.accent { color: var(--pw-blue); }
.estimate-rows dd.pending { font-family: var(--font); font-size: 15px; color: var(--dark-muted); }
.estimate-result { display: grid; gap: 4px; padding: 0 0 20px; margin-bottom: 16px; border-bottom: 1px solid var(--dark-line); }
.estimate-result p { margin: 0; max-width: none; }
.estimate-result-label { font-size: 15px; color: var(--dark-muted); }
.estimate-result-value { font-size: 34px; line-height: 1.1; }
.estimate-result-rate { font-family: var(--font); font-size: 14px; color: var(--dark-muted); }
.estimate-out .fine { margin: 0; }

/* Confirmed / Market estimate pills under the ledger */
.hero-side { display: grid; gap: 20px; }
.pills { display: grid; gap: 12px; }
.pill-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.pill-row p { margin: 0; font-size: 15px; color: var(--pw-slate); }
.pill { display: inline-block; font-family: var(--font); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; line-height: 20px; padding: 2px 10px; border-radius: 4px; border: 1px solid var(--line-strong); color: var(--pw-slate); background: var(--paper); white-space: nowrap; margin-top: 2px; }
.pill.confirmed { color: var(--pw-blue-deep); background: var(--pw-blue-dim); border-color: transparent; }
.pill.market-estimate { color: var(--pw-kraft); background: var(--pw-kraft-dim); border-color: transparent; }
.pills .fine { margin: 0; }

/* Pillar heading that links to the signals section */
.step-link { text-decoration: none; }
.step-link:hover { text-decoration: underline; text-decoration-color: var(--pw-blue); text-underline-offset: 5px; }

/* Roles: part of every account */
.roles { margin-top: 40px; }
.roles h3 { margin-bottom: 12px; }
.roles-list { margin: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .roles-list { grid-template-columns: repeat(3, 1fr); } }
.roles-list > div { padding: 16px 0 0; border-top: 1px solid var(--line); }
.roles-list dt { margin: 0 0 6px; font-family: var(--font); font-size: 13px; font-weight: 700; color: var(--pw-blue); }
.roles-list dd { margin: 0; font-size: 15px; color: var(--pw-slate); }

/* Cards: signals on the home page, intake paths on Integrations */
.cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards.four { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-medium); padding: 24px; }
.card p { font-size: 15px; color: var(--pw-slate); margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card .fine { padding-top: 12px; border-top: 1px solid var(--line); }

/* Tonnage rollup: two numbers side by side, no sample figure */
.two-numbers { display: grid; gap: 16px; }
@media (min-width: 720px) { .two-numbers { grid-template-columns: 1fr 1fr; } }
.number-card { display: grid; gap: 8px; padding: 24px 0 0; border-top: 3px solid var(--pw-blue); }
.number-name { font-size: 26px; line-height: 1.1; }
.number-card p { margin: 0; font-size: 15px; color: var(--pw-slate); }

/* Secondary pages */
.page-hero { padding-bottom: 32px; }
.page-hero h1 { max-width: 20ch; }
@media (min-width: 900px) { .page-hero { padding: 72px 0 40px; } }
.legal { max-width: 720px; }
.legal h2 { font-size: 22px; margin-top: 40px; max-width: none; }
.legal h2:first-child { margin-top: 0; }
.legal p { max-width: none; }

/* Contact */
.plain { margin: 0 0 8px; padding-left: 20px; max-width: 56ch; }
.plain li { margin-bottom: 8px; }
.band.dark .button:not(.primary) { background: transparent; color: var(--pw-paper); border-color: var(--dark-muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-logo { width: 140px; margin-left: -6px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { text-decoration: underline; text-decoration-color: var(--pw-blue); text-underline-offset: 5px; }
.footer .fine { width: 100%; margin: 8px 0 0; }

/* Distinct layouts for signals, intake paths, data, and actions. */
.button:not(.primary) { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding-inline: 4px; background: transparent; }
.button.primary { font-weight: 700; }
.button.primary:active { background: var(--pw-blue-deep); }
.nav a[aria-current="page"] { color: var(--pw-blue-deep); border-bottom: 2px solid var(--pw-blue); }
.band.tint { background: var(--pw-tint); }
.ledger .accent, .estimate-out .accent { color: var(--pw-paper); }
.ledger-head { flex-wrap: wrap; }
.ledger-title { display: flex; align-items: center; gap: 12px; }
.window-dots { display: inline-flex; gap: 5px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #E4594F; }
.window-dots i:nth-child(2) { background: #E8B23D; }
.window-dots i:nth-child(3) { background: #3FB56B; }
.ledger-row.total { margin-inline: -24px; padding-inline: 24px; background: var(--pw-ink-soft); }
.ledger { overflow: hidden; padding-bottom: 0; }
.stat-card { background: transparent; border: 0; border-left: 3px solid var(--pw-blue); border-radius: 0; }
.cards, .cards.four { grid-template-columns: 1fr; gap: 0; }
.card { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 24px 0; }
.signals .card { position: relative; padding-left: 28px; }
.signals .card::before { content: ""; position: absolute; left: 0; top: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--pw-blue); }
.signals .card.board::before { background: var(--pw-kraft); }
.number-name { font-family: var(--pw-font-heading); font-weight: 700; }
.number-card.board { border-color: var(--pw-kraft); }
.estimate-form input[type=email] { font-family: var(--font); }
.estimate-out .fine { color: var(--dark-muted); }
.footer { background: var(--pw-ink); color: var(--pw-paper); border-color: var(--pw-line-dark); }
.footer a, .band.dark a:not(.button) { color: var(--pw-paper); }
.footer .fine { color: var(--dark-muted); }
@media (min-width: 720px) {
  .cards.four .card { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
}
@media (max-width: 480px) {
  .logo img { width: 140px; }
  .nav .button { padding-inline: 12px; font-size: 13px; }
  .ledger { padding-inline: 16px; }
  .ledger-row { flex-wrap: wrap; gap: 8px; }
  .ledger-row.total { margin-inline: -16px; padding-inline: 16px; }
  .pill-row { grid-template-columns: 1fr; gap: 6px; justify-items: start; }
  .item-card { padding-inline: 16px; }
  .item-rows > div { flex-wrap: wrap; gap: 4px; }
}
