/* PowerVFD marketing site — layout and components on the PowerTally token set. */

/* Header: the 32px parent strip scrolls away, the main bar stays (top: -32px) */
.site-header {
  position: sticky; top: -32px; z-index: 50;
  background: var(--tray);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: color .15s ease;
}
.site-nav a:not(.btn):hover { color: var(--red); }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: var(--heading); position: relative; content: "";
  transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 108px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-card);
    padding: 8px var(--gutter) 20px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-cta { margin-top: 16px; }
}

/* Hero ------------------------------------------------------------------ */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; background: var(--tray); border-bottom: 1px solid var(--line); }
.hero-grid-bg, .cta-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, #7a12200f 1px, #0000 1px), linear-gradient(#7a12200f 1px, #0000 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, #0000 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, #0000 75%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.75rem); line-height: 1.08; letter-spacing: -0.025em;
  margin: 24px 0 24px; max-width: 16ch;
}
.hero h1 .accent { color: var(--red); }
.lede { font-size: 18px; line-height: 1.625; color: var(--muted); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin: 48px 0 0; border-top: 1px solid var(--line);
}
.hero-facts div { padding: 16px 16px 0 0; }
.hero-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-facts dt {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint);
}
.hero-facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--heading); }

/* Printer + receipt */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.printer {
  position: relative; z-index: 2; width: min(340px, 100%); height: 34px;
  background: var(--heading); border-radius: 12px 12px 4px 4px;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card);
}
.printer-slot { width: 300px; max-width: calc(100% - 40px); height: 4px; border-radius: 2px; background: #000; margin-top: 18px; }
.printer-led {
  position: absolute; right: 14px; top: 9px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
}
.receipt-clip { width: 296px; max-width: calc(100% - 44px); overflow: hidden; margin-top: -12px; padding-bottom: 14px; }

.receipt {
  background: #fff;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11.25px; line-height: 1.5;
  padding: 26px 18px 30px;
  box-shadow: var(--shadow-lift);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 7px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 7px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 7px repeat-x;
  animation: feed 3.2s steps(48, end) .3s both;
}
@keyframes feed { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.receipt hr { border: 0; border-top: 1px dashed var(--faint); margin: 8px 0; }
.r-center { text-align: center; }
.r-strong { font-weight: 600; }
.r-small { font-size: 10px; color: var(--muted); }
.r-code { font-size: 13px; letter-spacing: .08em; }
.r-rows { margin: 0; }
.r-rows div { display: flex; justify-content: space-between; gap: 12px; }
.r-rows dt, .r-rows dd { margin: 0; }
.r-rows dd { text-align: right; }
.r-items { width: 100%; border-collapse: collapse; font: inherit; }
.r-items th { font-weight: 600; text-align: left; padding: 0 0 2px; }
.r-items td { padding: 1px 0; vertical-align: top; }
.r-items th:nth-child(2), .r-items td:nth-child(2) { text-align: center; padding: 0 6px; }
.r-items th:last-child, .r-items td:last-child { text-align: right; white-space: nowrap; }
.qr { width: 88px; height: 88px; margin: 10px auto; shape-rendering: crispEdges; }
.qr rect { fill: var(--ink); }

/* Floating status card, like PowerTally's "Sent to TRA via Power VFD" chip */
.hero-badge {
  position: absolute; left: max(0px, calc(50% - 250px)); bottom: 128px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
  box-shadow: var(--shadow-lift);
  animation: badgeIn .5s ease-out 3.4s both;
}
.hero-badge strong { display: block; font-size: 12px; font-weight: 600; color: var(--heading); }
.hero-badge span:not(.hero-badge-dot) { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.hero-badge-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px #ecfdf5; flex: none; }
@keyframes badgeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero-caption { margin-top: 12px; font-size: 13px; color: var(--muted); }

@media (max-width: 960px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 560px) {
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts div, .hero-facts div + div { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .lede { font-size: 17px; }
  .hero-badge { display: none; }
}

/* Sections -------------------------------------------------------------- */
.section { padding: 80px 0; border-bottom: 1px solid var(--line); background: #fff; }
@media (min-width: 640px) { .section { padding: 112px 0; } }
.section-tray { background: var(--tray); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.875rem, 3.4vw, 2.25rem); line-height: 1.2; margin: 14px 0 16px; }
.section-head p:not(.label) { font-size: 18px; line-height: 1.625; color: var(--muted); }
.section-head-left { margin-bottom: 32px; }

/* How it works: four step cards */
.flow {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.flow li {
  padding: 28px 24px; display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
}
.flow-num { font-family: var(--font-mono); font-size: 14px; font-weight: 500; color: var(--red); letter-spacing: .08em; }
.flow h3 { font-size: 20px; }
.flow p { color: var(--muted); font-size: 15.5px; flex: 1; }
.flow-sample {
  display: block; font-size: 12px; background: var(--tray); color: var(--ink-2);
  padding: 8px 10px; border-radius: var(--radius); border: 1px solid var(--line); overflow-wrap: anywhere;
}
.flow-note {
  margin-top: 24px; padding: 16px 20px; border: 1px solid var(--line); border-left: 3px solid var(--red);
  background: var(--tray); font-size: 15.5px; color: var(--ink-2); border-radius: var(--radius);
}
.flow-note strong { color: var(--heading); }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .flow { grid-template-columns: minmax(0, 1fr); } }

/* Tabs */
.tab-list {
  display: inline-flex; gap: 4px; padding: 4px; max-width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  overflow-x: auto; scrollbar-width: none; box-shadow: var(--shadow-card);
}
.tab-list::-webkit-scrollbar { display: none; }
.tab-list [role="tab"] {
  flex: none; background: none; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer;
  font: 500 15px/1.2 var(--font-sans); color: var(--ink-2); transition: background-color .15s ease, color .15s ease;
}
.tab-list [role="tab"]:hover { color: var(--red); }
.tab-list [role="tab"][aria-selected="true"] { background: var(--red); color: #fff; font-weight: 600; }
.tab-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px; align-items: center; padding-top: 48px;
}
.tab-panel[hidden] { display: none; }
.panel-copy h3 { font-size: 26px; margin-bottom: 14px; }
.panel-copy > p { color: var(--muted); font-size: 17px; line-height: 1.625; }
.panel-copy > p + .ticks { margin-top: 20px; }
.panel-copy code { font-size: .88em; background: #fff; border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; }
.panel-aside { margin-top: 20px; font-size: 15px !important; padding-top: 16px; border-top: 1px solid var(--line); }
.text-link { display: inline-block; margin-top: 20px; font-weight: 600; text-decoration: none; }
@media (max-width: 860px) { .tab-panel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; } }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6303f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ticks-light li { color: rgba(255,255,255,.85); }
.ticks-light li::before {
  background: rgba(255,255,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dd8a2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.pair {
  border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px;
  background: #fff; display: grid; gap: 10px; box-shadow: var(--shadow-lift);
}
.pair-row {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--tray); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: 14px;
}
.pair-row span { color: var(--muted); }
.pair-row code { font-size: 13px; font-weight: 500; color: var(--heading); }
.pair-row-strong { border-color: var(--red); background: #fff; }
.pair-row-strong code { color: var(--red); }
.pair-arrow { text-align: center; color: var(--red); font-weight: 600; }

.code-card {
  margin: 0; background: var(--heading); color: #fff;
  border-radius: var(--radius-card); padding: 24px; overflow-x: auto;
  font-size: 13px; line-height: 1.65; box-shadow: var(--shadow-lift);
}
.c-k { color: #ff9aa2; }
.c-s { color: #ffffff; }
.c-n { color: #f2b56b; }

.phone {
  width: 250px; margin: 0 auto; border: 10px solid var(--heading); border-radius: 32px;
  background: var(--heading); box-shadow: var(--shadow-lift);
}
.phone-screen { background: #fff; border-radius: 22px; padding: 22px 16px 18px; min-height: 420px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.phone-title { font-weight: 700; font-size: 17px; margin-bottom: 6px; color: var(--heading); }
.phone-line, .phone-total { display: flex; justify-content: space-between; gap: 8px; }
.phone-line { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.phone-line span:last-child, .phone-total span:last-child { font-family: var(--font-mono); }
.phone-total { font-weight: 600; padding: 8px 0; margin-top: auto; color: var(--heading); }
.phone-pay { display: flex; gap: 6px; }
.phone-pay span { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 999px; padding: 6px 0; font-size: 12px; }
.phone-pay span:first-child { border-color: var(--red); color: var(--red); font-weight: 600; }
.phone-btn { background: var(--red); color: #fff; text-align: center; border-radius: 999px; padding: 11px; font-weight: 600; }

.screen { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: #fff; box-shadow: var(--shadow-lift); }
.screen-bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--tray); border-bottom: 1px solid var(--line); }
.screen-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.screen-body { padding: 16px; font-size: 13.5px; }
.screen-row { display: grid; grid-template-columns: 1fr 48px 110px; gap: 8px; padding: 10px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.screen-row span:nth-child(n+2) { text-align: right; font-family: var(--font-mono); font-size: 12.5px; }
.screen-head { color: var(--faint); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.screen-head span:nth-child(n+2) { font-size: 11px; }
.screen-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px 4px; gap: 12px; flex-wrap: wrap; }
.screen-pill { font-size: 12px; font-weight: 600; color: var(--amber-600); background: var(--amber-50); border: 1px solid #fbebd6; padding: 4px 10px; border-radius: 999px; }
.screen-total { font-family: var(--font-mono); font-weight: 600; font-size: 16px; color: var(--heading); }

/* Fuel (crimson) */
.section-night { background: var(--night); color: var(--night-text); border-bottom: 0; }
.section-night .label { color: var(--amber); }
.fuel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.fuel-copy h2 { font-size: clamp(1.875rem, 3.4vw, 2.25rem); margin: 14px 0 16px; color: #fff; }
.fuel-copy > p { font-size: 17px; line-height: 1.625; color: var(--night-muted); margin-bottom: 24px; }

.pump-display {
  background: rgba(0,0,0,.28); border: 1px solid var(--night-line); border-radius: var(--radius-card); padding: 20px 22px;
  font-family: var(--font-mono);
}
.pump-head { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .14em; color: var(--night-muted); margin-bottom: 12px; flex-wrap: wrap; }
.pump-readout { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--night-line); padding: 8px 0; gap: 12px; }
.pump-key { font-size: 12px; color: var(--night-muted); letter-spacing: .14em; }
.pump-val { font-size: clamp(30px, 4vw, 44px); font-weight: 500; color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.pump-readout-sm .pump-val { font-size: 22px; color: #fff; }

.pump-log { list-style: none; margin: 16px 0 0; padding: 0; font-family: var(--font-mono); font-size: 12.5px; }
.pump-log li {
  display: grid; grid-template-columns: 64px 1fr auto auto; gap: 14px;
  padding: 10px 2px; border-top: 1px solid var(--night-line); color: #fff;
}
.pump-log li span:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; }
.pump-log .ok { color: #34d399; }
.pump-log li.is-new { animation: logIn .45s ease-out both; }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.fuel-caption { margin-top: 10px; font-size: 12.5px; color: var(--night-muted); }
@media (max-width: 900px) { .fuel-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 480px) {
  .pump-log li { grid-template-columns: 1fr auto; row-gap: 2px; }
  .pump-log li span:nth-child(1) { color: var(--night-muted); }
}

/* Automation */
.auto-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.auto-grid .section-head { position: sticky; top: 108px; }
.duties { list-style: none; margin: 0; padding: 0; }
.duties li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.duties li:last-child { border-bottom: 1px solid var(--line); }
.duty-when { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); padding-top: 5px; }
.duties h3 { font-size: 20px; margin-bottom: 6px; }
.duties p { color: var(--muted); }
@media (max-width: 900px) {
  .auto-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .auto-grid .section-head { position: static; }
}
@media (max-width: 560px) { .duties li { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* Control + spec receipt */
.control-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 64px; align-items: start; }
.features { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.features > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px 22px 24px; box-shadow: var(--shadow-card); }
.features dt { font-weight: 600; font-size: 17px; margin-bottom: 6px; color: var(--heading); }
.features dd { margin: 0; color: var(--muted); font-size: 15px; }

.spec {
  background: #fff; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.5;
  padding: 30px 22px; color: var(--ink); filter: drop-shadow(0 8px 16px #7a12201f);
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 14px 7px repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - 14px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 7px repeat-x;
          mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 14px 7px repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - 14px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 14px 7px repeat-x;
}
.spec-title { font-weight: 600; letter-spacing: .14em; margin-bottom: 14px; color: var(--heading); }
.spec dl { margin: 0; display: grid; gap: 6px; }
.spec dl div { display: flex; align-items: baseline; }
.spec dt { order: 0; flex: none; }
.spec dl div::before { content: ""; order: 1; flex: 1 1 16px; min-width: 16px; border-bottom: 1px dotted var(--faint); margin: 0 6px; transform: translateY(-3px); }
.spec dd { order: 2; margin: 0; text-align: right; max-width: 62%; }
.spec-foot { margin-top: 14px; color: var(--faint); letter-spacing: .1em; }
@media (max-width: 1000px) { .control-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .spec { max-width: 420px; } }
@media (max-width: 640px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* Paper sizes */
.print-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.papers { margin: 0; }
.papers svg { width: 100%; height: auto; }
.paper rect:first-child, .paper path { fill: #fff; stroke: var(--line-strong); stroke-width: 1.2; }
.paper-lines rect { fill: var(--line); stroke: none; }
.paper-labels text { font-family: var(--font-mono); font-size: 13px; font-weight: 500; fill: var(--red); text-anchor: middle; letter-spacing: .08em; }
.papers figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; }
@media (max-width: 900px) { .print-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Powercomputers */
.pc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.pc-logo { height: 36px; width: auto; margin-bottom: 24px; }
.pc-grid h2 { font-size: clamp(1.875rem, 3.4vw, 2.25rem); line-height: 1.2; margin-bottom: 16px; }
.pc-lede { font-size: 18px; line-height: 1.625; color: var(--muted); max-width: 34rem; }
.pc-actions { margin-top: 28px; }
.pc-stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pc-stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px 22px; box-shadow: var(--shadow-card); }
.pc-stats dt { font-size: 36px; font-weight: 700; line-height: 1; color: var(--red); letter-spacing: -0.025em; }
.pc-stats dd { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.pc-offices-title { margin: 28px 0 12px; }
.pc-offices { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pc-offices li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--ink-2); }
.pc-offices li span { color: var(--faint); font-size: 12px; margin-left: 4px; }
@media (max-width: 900px) { .pc-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 420px) { .pc-stats { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-size: 17px; font-weight: 600; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--red-wash); color: var(--red);
  display: grid; place-items: center; font-size: 20px; font-weight: 400; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 62ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* CTA (crimson) */
.cta { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: 88px 0; }
.cta-grid-bg {
  background-image: linear-gradient(90deg, #ffffff0d 1px, #0000 1px), linear-gradient(#ffffff0d 1px, #0000 1px);
}
.cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta .label { color: var(--amber); }
.cta h2 { font-size: clamp(1.875rem, 3.4vw, 2.25rem); color: #fff; margin: 14px 0 12px; max-width: 48rem; }
.cta p:not(.label) { color: var(--night-muted); max-width: 36rem; font-size: 17px; line-height: 1.625; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 480px) { .cta-actions .btn { width: 100%; } }

/* Footer (crimson) */
.site-footer { background: var(--night); color: #fff; padding: 64px 0 28px; border-top: 1px solid var(--night-line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 48px 24px; }
.footer-brand-row { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-divider { display: none; }
.footer-parent { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; color: rgba(255,255,255,.6); text-decoration: none; }
.footer-parent:hover { color: #fff; }
.footer-parent img { height: 20px; width: auto; }
.footer-brand > p { margin: 20px 0 24px; max-width: 20rem; font-size: 14px; line-height: 1.625; color: rgba(255,255,255,.6); }
.footer-social { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.footer-social a, .site-footer nav a, .footer-contact a { color: rgba(255,255,255,.6); text-decoration: none; font-size: 14px; }
.footer-social a:hover, .site-footer nav a:hover, .footer-contact a:hover { color: #fff; }
.site-footer nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-heading { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.footer-contact address { font-style: normal; font-size: 14px; line-height: 1.625; color: rgba(255,255,255,.6); }
.footer-contact a { overflow-wrap: anywhere; }
.footer-base {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-line);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.5);
}
@media (max-width: 1060px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-column: 1 / -1; }
}
