/* AllCall site. Tokens from the AllCall brand spec. */
:root {
  --ac-void: #080A0D;
  --ac-panel: #12171C;
  --ac-raised: #1B2229;
  --ac-border: #626C74;
  --ac-line: #2A323A;
  --ac-text: #F2F5F7;
  --ac-text-muted: #B4BDC4;
  --ac-caption: #F7F9FA;
  --ac-accent: #3E8FA8;
  --ac-accent-bright: #5AA8BF;
  --ac-accent-on-light: #2A6A80;
  --ac-mist: #9BB9C6;
  --ac-on-accent: #080A0D;
  --ac-live: #E6A21A;
  --ac-danger: #E06A66;
  --ac-success: #48B084;

  --ac-font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ac-font-ui: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --ac-font-mono: "Source Code Pro", ui-monospace, monospace;

  --ac-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ac-duration: 160ms;

  --gutter: clamp(16px, 4vw, 40px);
  --wide: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ac-void); color: var(--ac-text);
  font: 400 17px/1.6 var(--ac-font-ui); -webkit-font-smoothing: antialiased;
}
a { color: var(--ac-accent-bright); text-underline-offset: 3px; }
a:hover { color: var(--ac-mist); }
:focus-visible { outline: 2px solid var(--ac-accent-bright); outline-offset: 3px; border-radius: 3px; }
img, svg { display: block; }
code, kbd { font-family: var(--ac-font-mono); }

h1, h2, h3 { font-family: var(--ac-font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 80px); }
h2 { font-size: clamp(32px, 4.4vw, 48px); }
h3 { font-size: 24px; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ac-text-muted); max-width: 40em; margin-top: 18px; text-wrap: pretty; }
.eyebrow { font-family: var(--ac-font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-accent-bright); margin-bottom: 14px; }
.muted { color: var(--ac-text-muted); }

/* wordmark: "All" in text, "Call" in accent bright */
.wm { font-family: var(--ac-font-display); font-weight: 700; letter-spacing: -0.035em; color: var(--ac-text); line-height: 1; }
.wm span { color: var(--ac-accent-bright); }

/* buttons: accent fill with Void text on dark */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px;
  background: var(--ac-accent); color: var(--ac-on-accent); border: 0; border-radius: 8px;
  font: 600 16px var(--ac-font-ui); text-decoration: none; cursor: pointer;
  transition: background var(--ac-duration) var(--ac-ease);
}
.btn:hover { background: var(--ac-accent-bright); color: var(--ac-on-accent); }
.btn.ghost { background: transparent; color: var(--ac-text); box-shadow: inset 0 0 0 1px var(--ac-border); }
.btn.ghost:hover { background: var(--ac-raised); color: var(--ac-text); }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.block { width: 100%; justify-content: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* header and footer */
header.site, footer.site { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
header.site { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup .wm { font-size: 27px; }
header.site nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
header.site nav a:not(.btn) { color: var(--ac-text-muted); text-decoration: none; }
header.site nav a:not(.btn):hover { color: var(--ac-text); }
footer.site { border-top: 1px solid var(--ac-line); margin-top: 96px; padding-top: 32px; padding-bottom: 48px;
  display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: baseline; }
footer.site .wm { font-size: 22px; }
footer.site p { color: var(--ac-text-muted); font-size: 14px; }
footer.site nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 14px; }
footer.site nav a { color: var(--ac-text-muted); }

main { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
main.narrow { max-width: 760px; padding-top: 56px; }
section { padding-top: 112px; }
.sechead { max-width: 720px; margin-bottom: 40px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding-top: 56px; }
.hero .meta { margin-top: 16px; font-size: 14px; color: var(--ac-text-muted); }

/* the console mock in the hero */
.console {
  background: var(--ac-panel); border: 1px solid var(--ac-line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5); font-size: 14px;
}
.console .bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--ac-line); }
.console .dots { display: flex; gap: 6px; }
.console .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ac-raised); }
.console .bar .wm { font-size: 17px; margin-left: 6px; }
.console .live { margin-left: auto; font: 600 11px var(--ac-font-mono); letter-spacing: .08em; background: var(--ac-live);
  color: var(--ac-on-accent); padding: 2px 6px; border-radius: 3px; animation: breathe 2s ease-in-out infinite; }
.console .body { display: grid; grid-template-columns: 170px 1fr; min-height: 340px; }
.console .rail { border-right: 1px solid var(--ac-line); padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.console .ch { display: grid; grid-template-columns: 8px 1fr; gap: 4px 9px; align-items: center; padding: 7px 8px; border-radius: 6px; }
.console .ch:first-child { background: var(--ac-raised); }
.console .ch i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.console .ch b { font-weight: 500; font-size: 13px; }
.console .ch small { grid-column: 2; font: 11px var(--ac-font-mono); color: var(--ac-text-muted); }
.console .meter { grid-column: 2; height: 3px; border-radius: 2px; background: var(--ac-line); overflow: hidden; }
.console .meter span { display: block; height: 100%; width: var(--w); background: var(--c); opacity: .8; }
.console .feed { padding: 14px 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.line { display: grid; grid-template-columns: 3px 1fr; gap: 12px; }
.line::before { content: ""; background: var(--c); border-radius: 2px; }
.line .who { font-size: 12px; color: var(--ac-text-muted); }
.line .who b { color: var(--c); font-weight: 600; margin-right: 8px; }
.line .who time { font-family: var(--ac-font-mono); }
.line p { color: var(--ac-caption); font-size: 15px; line-height: 1.45; }
.line.partial p { font-style: italic; opacity: .8; }
.line mark { background: var(--ac-live); color: var(--ac-on-accent); padding: 0 3px; border-radius: 2px; }
.console .reply { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--ac-line); }
.console .reply span { flex: 1; background: var(--ac-raised); border-radius: 6px; padding: 7px 10px; color: var(--ac-text-muted); font-size: 13px; }
.console .reply em { font: 600 11px var(--ac-font-mono); letter-spacing: .08em; font-style: normal; color: var(--ac-text-muted);
  border: 1px solid var(--ac-border); border-radius: 4px; padding: 6px 8px; }

/* features */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ac-line);
  border: 1px solid var(--ac-line); border-radius: 12px; overflow: hidden; }
.feature { background: var(--ac-void); padding: 28px 26px 30px; }
.feature svg { width: 28px; height: 28px; stroke: var(--ac-accent-bright); stroke-width: 1.75; fill: none;
  stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ac-text-muted); font-size: 16px; }

/* steps */
.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.howto li { counter-increment: step; border-top: 2px solid var(--ac-accent); padding-top: 18px; }
.howto li::before { content: "0" counter(step); display: block; font: 600 13px var(--ac-font-mono); color: var(--ac-accent-bright); margin-bottom: 10px; }
.howto h3 { margin-bottom: 8px; }
.howto p { color: var(--ac-text-muted); font-size: 16px; }

/* pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; align-items: start; }
.card { background: var(--ac-panel); border: 1px solid var(--ac-line); border-radius: 12px; padding: 30px; }
.card .name { font: 600 13px var(--ac-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ac-text-muted); }
.card .price { font-family: var(--ac-font-display); font-weight: 700; font-size: 64px; line-height: 1; margin-top: 14px; letter-spacing: -0.02em; }
.card .per { color: var(--ac-text-muted); margin-top: 6px; }
.card ul { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; font-size: 16px; }
.card li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.card li::before { content: ""; width: 10px; height: 6px; margin-top: 8px; border-left: 2px solid var(--ac-success); border-bottom: 2px solid var(--ac-success); transform: rotate(-45deg); }
.seats { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.seats label { font-size: 15px; color: var(--ac-text-muted); }
.stepper { display: flex; align-items: center; border: 1px solid var(--ac-border); border-radius: 8px; overflow: hidden; }
.stepper button { width: 40px; height: 40px; background: var(--ac-raised); color: var(--ac-text); border: 0; font-size: 20px; cursor: pointer; }
.stepper input { width: 56px; height: 40px; text-align: center; background: var(--ac-void); color: var(--ac-text); border: 0;
  font: 600 17px var(--ac-font-mono); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fine { font-size: 14px; color: var(--ac-text-muted); margin-top: 14px; }
.testnote { font: 600 12px var(--ac-font-mono); letter-spacing: .06em; color: var(--ac-live); margin-bottom: 12px; }

/* requirements and FAQ */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; }
.specs div { border-left: 2px solid var(--ac-line); padding-left: 16px; }
.specs dt { font: 600 12px var(--ac-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ac-text-muted); }
.specs dd { margin: 6px 0 0; font-size: 16px; }
.faq { border-top: 1px solid var(--ac-line); }
.faq details { border-bottom: 1px solid var(--ac-line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--ac-font-mono); color: var(--ac-accent-bright); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ac-text-muted); margin-top: 10px; max-width: 46em; }
.safety { margin-top: 40px; padding: 18px 20px; border-left: 3px solid var(--ac-live); background: var(--ac-panel); border-radius: 0 8px 8px 0; color: var(--ac-text-muted); font-size: 16px; }
.safety b { color: var(--ac-text); }

/* thank-you, manage, download */
.keybox { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; padding: 18px 20px;
  background: var(--ac-panel); border: 1px solid var(--ac-line); border-radius: 10px; }
.keybox code { flex: 1; font-size: clamp(17px, 3vw, 22px); font-weight: 600; letter-spacing: .04em; color: var(--ac-caption); word-break: break-all; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 22px 0 0; }
.facts dt { font: 600 12px var(--ac-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ac-text-muted); }
.facts dd { margin: 4px 0 0; }
main.narrow h2 { font-size: 30px; margin-top: 48px; }
.steps { padding-left: 22px; margin: 16px 0 0; display: grid; gap: 10px; color: var(--ac-text-muted); }
.steps li::marker { font-family: var(--ac-font-mono); color: var(--ac-accent-bright); }
.note { margin-top: 20px; padding: 14px 16px; border-radius: 8px; background: var(--ac-panel); color: var(--ac-text-muted); }
.note.bad { border-left: 3px solid var(--ac-danger); color: var(--ac-text); }
form.inline { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
form.inline input { flex: 1 1 280px; height: 48px; padding: 0 14px; background: var(--ac-raised); color: var(--ac-text);
  border: 1px solid var(--ac-border); border-radius: 8px; font: 500 17px var(--ac-font-mono); letter-spacing: .03em; }
.prose h2 { font-size: 26px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ac-text-muted); }
.prose p + p { margin-top: 12px; }

@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }
@keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.console .line { animation: rise var(--ac-duration) var(--ac-ease) both; }
.console .line:nth-child(2) { animation-delay: 80ms; }
.console .line:nth-child(3) { animation-delay: 160ms; }
.console .line:nth-child(4) { animation-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .console .live, .console .line { animation: none; }
  .btn { transition: none; }
}

@media (max-width: 900px) {
  .hero, .pricing { grid-template-columns: 1fr; gap: 40px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  header.site nav a:not(.btn) { display: none; }
  .grid, .howto { grid-template-columns: 1fr; }
  .console .body { grid-template-columns: 1fr; }
  .console .rail { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--ac-line); }
  .console .ch { flex: none; }
  .console .ch small, .console .meter { display: none; }
  section { padding-top: 80px; }
}
.pricing .specs { grid-template-columns: 1fr 1fr; }

/* beta banner and alpha gate */
.beta-banner {
  padding: 10px var(--gutter); text-align: center; background: var(--ac-live); color: var(--ac-void);
  font: 700 15px/1.3 var(--ac-font-display); letter-spacing: .14em; text-transform: uppercase;
}
.alpha-form { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.alpha-form label { flex-basis: 100%; font-weight: 600; }
.alpha-form input {
  flex: 1 1 240px; min-width: 0; height: 48px; padding: 0 14px; border-radius: 8px;
  background: var(--ac-panel); color: var(--ac-text); border: 1px solid var(--ac-border);
  font: 600 17px var(--ac-font-mono); letter-spacing: .06em; text-transform: uppercase;
}
