/* EasyDex — Direction B "Bright & bold". Shared by /, /groups/ and /business/. */
:root {
  --ink: #111111;
  --ink-2: #333333;
  --muted: #555555;
  --paper: #ffffff;
  --line: #dddddd;
  --coral: #ff5a36;
  --coral-soft: #ffe3da;
  --coral-on-ink: #ff8a70;
  --blue: #2f4be0;
  --blue-soft: #dce4ff;
  --blue-wash: #f2f4ff;
  --radius: 20px;
  --shadow: 6px 6px 0 var(--ink);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* ---- Type ---- */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; margin: 0; line-height: 1.02; }
h1 { font-size: clamp(48px, 8.4vw, 104px); letter-spacing: -0.05em; line-height: 1; }
h2 { font-size: clamp(34px, 4.6vw, 52px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); max-width: 600px; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
/* Painted inside the glyph band so it never covers the descenders of the line above. */
.hl { background: linear-gradient(transparent 0.2em, var(--coral) 0.2em, var(--coral) calc(100% - 0.06em), transparent calc(100% - 0.06em)); padding: 0 0.12em; border-radius: 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.muted { color: var(--muted); }

/* ---- Nav ---- */
.nav { border-bottom: 2px solid var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.03em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--coral); }
.logo .tag { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav ul a { text-decoration: none; font-weight: 600; font-size: 15px; }
.nav ul a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--coral); }
@media (max-width: 860px) {
  .nav ul { gap: 16px; }
  .nav .hide-sm { display: none; }
}

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid var(--ink); cursor: pointer; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--blue); border-color: var(--blue); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--blue-wash); color: var(--ink); }
.btn-coral { background: var(--coral); color: var(--ink); }
.btn-coral:hover { background: var(--coral-on-ink); color: var(--ink); }
.btn-lg { min-height: 60px; padding: 18px 32px; font-size: 18px; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---- Sections ---- */
section { padding: 88px 0; }
.band { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.band-wash { background: var(--blue-wash); }
.band-blue { background: var(--blue); color: var(--paper); }
.band-blue a:not(.btn) { color: var(--paper); }
.band-ink { background: var(--ink); color: var(--paper); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 760px; }

.hero { padding: 72px 0 64px; }
.hero .stack { display: flex; flex-direction: column; gap: 32px; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } section { padding: 64px 0; } }

/* ---- Cards ---- */
.card { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.card.blue { background: var(--blue-soft); }
.card.coral { background: var(--coral-soft); }
.card .step { font-family: var(--display); font-weight: 700; font-size: 15px; }
.card .num { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--blue); line-height: 1; }
.card p { color: var(--ink-2); font-size: 16px; }
.panel { border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.panel.ink { background: var(--ink); color: var(--paper); }
.panel.ink a:not(.btn) { color: var(--coral-on-ink); }
.panel.blue { background: var(--blue); color: var(--paper); }
.panel.blue a:not(.btn) { color: var(--paper); }
.panel.coral { background: var(--coral); color: var(--ink); border: 2px solid var(--ink); }
.panel h2, .panel h3 { color: inherit; }
.panel p { font-size: 17px; }

/* ---- Mini UI mockups ---- */
.mock { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.mock strong { font-size: 16px; }
.mock .pill-btn { display: block; text-align: center; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 11px; font-weight: 700; font-size: 14px; }
.mock .pill-btn.ghost { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); }
.old { text-decoration: line-through; color: #767676; }
.new { font-family: var(--display); font-weight: 700; font-size: 26px; }
.check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 500; }
.check li { display: flex; align-items: center; gap: 10px; }
.check .box { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); flex: none; }
.check .done .box { background: var(--ink); }
.check .done span:last-child { text-decoration: line-through; }
.check .auto { margin-left: auto; font-size: 12px; font-weight: 700; background: var(--blue); color: var(--paper); border-radius: 999px; padding: 3px 9px; }
.roster { display: flex; flex-direction: column; font-size: 15px; }
.roster div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.roster .chg { background: var(--blue-wash); }
.badge { font-size: 12px; font-weight: 700; background: var(--blue); color: var(--paper); border-radius: 999px; padding: 3px 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chip { border: 2px solid var(--ink); border-radius: 999px; padding: 9px 18px; font-weight: 600; }

/* ---- Lists ---- */
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); }
.rules { display: grid; gap: 24px; }
.rule { border-top: 4px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.rule p { color: var(--ink-2); font-size: 16px; }

/* ---- FAQ ---- */
.faq { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-2); max-width: 760px; }

/* ---- Price ---- */
.price { font-family: var(--display); font-weight: 700; font-size: clamp(52px, 7vw, 76px); letter-spacing: -0.04em; line-height: 1; }

/* ---- Footer ---- */
footer { border-top: 2px solid var(--ink); padding: 40px 0; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer ul { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin: 0; padding: 0; }
footer a { text-decoration: none; font-weight: 600; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.roster.phones div > :last-child { white-space: nowrap; text-align: right; }

/* ---- One-pagers (/business/pilot/, /business/security/) ---- */
.doc { max-width: 880px; margin: 0 auto; padding: 56px 24px 72px; display: flex; flex-direction: column; gap: 36px; }
.doc h1 { font-size: clamp(40px, 5.4vw, 60px); line-height: 1; }
.doc h2 { font-size: 28px; letter-spacing: -0.025em; }
.doc section { padding: 0; display: flex; flex-direction: column; gap: 14px; }
.doc p, .doc li { color: var(--ink-2); }
.doc .meta { display: flex; gap: 10px; flex-wrap: wrap; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 2px solid var(--ink); }
.table th { font-family: var(--display); font-size: 15px; letter-spacing: -0.01em; width: 26%; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; border-top: 2px solid var(--ink); padding-top: 12px; }
.timeline strong { font-family: var(--display); color: var(--ink); }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }
.honest, .doc section.honest { border: 2px dashed var(--ink); border-radius: 16px; padding: 18px 20px; background: var(--coral-soft); }
.honest strong { color: var(--ink); }
.print-only { display: none; }

@media print {
  @page { margin: 9mm 11mm; }
  body { font-size: 9pt; line-height: 1.3; }
  .lede { font-size: 10pt; }
  .doc h2 { break-after: avoid; }
  .doc .grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .doc .card { padding: 10px 12px; gap: 4px; border-radius: 10px; }
  .doc .card h3 { font-size: 11.5pt; }
  .doc .card p, .doc p, .doc li, .table { font-size: 9pt; }
  .doc .price { font-size: 22pt !important; }
  .table th, .table td { padding: 3px 8px; }
  .table th { width: 18%; }
  .timeline { gap: 4px; }
  .timeline li { grid-template-columns: 70pt 1fr; gap: 8px; padding-top: 2px; }
  .doc .price { line-height: 1; }
  .ticks { gap: 3px; }
  .ticks li { padding-left: 16px; }
  .ticks li::before { width: 8px; height: 8px; }
  .doc section { gap: 6px; }
  .honest, .doc section.honest { padding: 8px 12px; }
  .nav, footer, .no-print { display: none !important; }
  .print-only { display: block; }
  .doc { padding: 0; gap: 6px; max-width: none; }
  .doc h1 { font-size: 22pt; }
  .doc h2 { font-size: 12pt; }
  .card, .panel, .honest { box-shadow: none !important; break-inside: avoid; }
  .table tr, .timeline li, .rule { break-inside: avoid; }
  a { color: var(--ink); text-decoration: none; }
}

/* ---- Developer docs (/business/docs/) ---- */
.doc pre { margin: 0; background: var(--ink); color: #f3f3f3; border-radius: 14px; padding: 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.5; }
.doc code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.92em; }
.doc :not(pre) > code { background: var(--blue-wash); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.doc pre code { color: inherit; font-size: inherit; }
.doc .toc { display: flex; flex-wrap: wrap; gap: 8px 14px; font-weight: 600; font-size: 15px; }
.doc h3 { margin-top: 6px; }
.endpoint { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; font-size: 15px; }
.endpoint .m { background: var(--coral); color: var(--ink); border-radius: 6px; padding: 1px 7px; margin-right: 6px; }
