/* earlinkcrm.com — shared styles for index.html and calls.html */

  :root {
    --navy: #9E4F26; --navy-deep: #7f3e1c; --ink: #000000;
    --ground: #F3EEE3; --surface: #ffffff; --panel: #e9e4d8;
    --line: #d9d2c3; --line-strong: #c4baa6; --muted: #5A5A5A;
    --blue: #9E4F26; --blue-soft: #f8ede3;
    --won: #0F7545; --won-soft: #dff3e8;
    --amber: #d98c0e; --amber-soft: #fbefd6;
    --live: #9E4F26; --live-soft: #f8ede3;
    --accent: #C1693C; --btn: #9E4F26;
    --screen: #131313; --screen-2: #1f1f1f; --screen-line: rgba(255,255,255,.12); --screen-muted: #CFC8BA;
    --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --radius: 14px; --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px -12px rgba(0,0,0,.18);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--ground); color: var(--ink);
    font-family: var(--body); font-size: 17px; line-height: 1.55;
    text-wrap: pretty; -webkit-font-smoothing: antialiased; }
  h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05;
    letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
  h1 { font-weight: 800; }
  p { margin: 0; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; }
  .wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
  .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
  .num { font-variant-numeric: tabular-nums; }
  .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px;
    letter-spacing: .12em; text-transform: uppercase; color: var(--navy); font-weight: 600; }
  .eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
  .eyebrow.won { color: var(--won); } .eyebrow.blue { color: var(--blue); } .eyebrow.live { color: var(--live); } .eyebrow.amber { color: var(--amber); }
  .lede { font-size: 19px; color: var(--muted); max-width: 58ch; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px;
    border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 16px; line-height: 1;
    border: 1.5px solid var(--btn); background: var(--btn); color: #fff; cursor: pointer;
    transition: background .15s, border-color .15s, transform .08s; }
  .btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
  .btn:active { transform: translateY(1px); }
  .btn.ghost { background: transparent; color: var(--navy); }
  .btn.ghost:hover { background: var(--blue-soft); }
  .btn.light { background: #fff; color: var(--btn); border-color: #fff; }
  .btn.light:hover { background: var(--panel); border-color: var(--panel); }
  :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

  /* language */
  [data-l] { display: none; }
  [data-lang="en"] [data-l="en"], [data-lang="es"] [data-l="es"] { display: revert; }
  .lang { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: 999px; overflow: hidden; background: var(--surface); }
  .lang button { font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; border: 0;
    padding: 8px 12px; background: transparent; color: var(--muted); cursor: pointer; }
  .lang button[aria-pressed="true"] { background: var(--navy); color: #fff; }

  /* header */
  .site-head { display: flex; align-items: center; gap: 18px; padding-block: 18px; flex-wrap: wrap; }
  .brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--navy); }
  .brand img { height: 44px; width: auto; display: block; }
  @media (max-width: 900px) { .brand img { height: 36px; } }
  .nav { display: flex; gap: 22px; margin-left: auto; font-weight: 500; font-size: 15px; color: var(--muted); }
  .nav a:hover { color: var(--navy); }
  .head-right { display: flex; align-items: center; gap: 12px; }

  /* sections */
  section { padding-block: clamp(48px, 7vw, 96px); }
  .section-head { display: grid; gap: 14px; max-width: 64ch; margin-bottom: clamp(28px, 4vw, 48px); }
  .section-head h2 { font-size: clamp(30px, 4.2vw, 48px); }
  .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
  .split.wide-right { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split.wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  @media (max-width: 900px) { .split, .split.wide-right, .split.wide-left { grid-template-columns: 1fr; } }
  .grid { display: grid; gap: 18px; }
  .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 540px) { .cols-3, .cols-4 { grid-template-columns: 1fr; } }
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
  .card h3 { font-size: 20px; margin-bottom: 8px; }
  .card p { color: var(--muted); font-size: 15.5px; }
  .bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
  .bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
  .bullets li::before { content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-top: 9px; border-radius: 999px; background: var(--navy); }
  .bullets.won li::before { background: var(--won); } .bullets.blue li::before { background: var(--blue); } .bullets.amber li::before { background: var(--amber); }
  .tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
    padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); background: var(--surface); }
  .tag.won { color: var(--won); border-color: var(--won); background: var(--won-soft); }
  .tag.live { color: var(--live); border-color: var(--live); background: var(--live-soft); }
  .tag.amber { color: var(--amber); border-color: var(--amber); background: var(--amber-soft); }
  .tag.blue { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }
  .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--live); display: inline-block; }
  .dot.pulse { animation: pulse 1.4s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(217,58,43,.45); } 50% { box-shadow: 0 0 0 6px rgba(217,58,43,0); } }

  /* hero */
  .hero { padding-block: clamp(24px, 4vw, 56px) clamp(48px, 7vw, 88px); }
  .hero h1 { font-size: clamp(42px, 7vw, 84px); margin-top: 18px; }
  .hero h1 .won-word { color: var(--won); }
  .hero .lede { margin-top: 22px; }
  .hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
  .hero .pillars { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 28px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
  .hero .pillars > span { display: inline-flex; align-items: center; gap: 7px; }
  .hero .pillars i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

  /* screen (sales floor) */
  .screen { background: var(--screen); color: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(13,26,43,.6);
    display: grid; gap: 14px; font-size: 13.5px; position: relative; }
  .screen-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--screen-line); }
  .screen-bar .title { font-family: var(--display); font-weight: 700; font-size: 16px; }
  .screen-bar .meta { font-family: var(--mono); font-size: 12px; color: var(--screen-muted); display: inline-flex; gap: 8px; align-items: center; }
  .kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
  .kpi { background: var(--screen-2); border-radius: 10px; padding: 10px 12px; }
  .kpi .label { font-size: 11px; color: var(--screen-muted); letter-spacing: .04em; text-transform: uppercase; font-family: var(--mono); }
  .kpi .value { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.1; margin-top: 4px; }
  .kpi.won .value { color: #5fd69a; }
  .screen-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; }
  @media (max-width: 480px) { .screen-grid { grid-template-columns: 1fr; } .kpis { grid-template-columns: repeat(2, minmax(0,1fr)); } }
  .feed, .livecall, .trend { background: var(--screen-2); border-radius: 10px; padding: 12px; }
  .panel-title { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--screen-muted); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
  .feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
  .feed li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; font-size: 12.5px; line-height: 1.35; }
  .feed time { font-family: var(--mono); color: var(--screen-muted); font-size: 11.5px; padding-top: 1px; }
  .feed b { font-weight: 600; }
  .feed .auto { color: #E6E0D4; }
  .feed .ok { color: #5fd69a; }
  .right-col { display: grid; gap: 10px; }
  .livecall .who { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; }
  .livecall .score { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
  .wave { display: flex; align-items: center; gap: 3px; height: 34px; margin: 10px 0 8px; }
  .wave i { flex: 1; background: #C1693C; border-radius: 2px; height: 30%; display: block; transform-origin: center; }
  .wave i:nth-child(3n) { height: 65%; } .wave i:nth-child(4n) { height: 90%; } .wave i:nth-child(5n) { height: 45%; } .wave i:nth-child(7n) { height: 75%; }
  .wave.play i { animation: wave 1.1s ease-in-out infinite; }
  .wave.play i:nth-child(2n) { animation-delay: -.3s; } .wave.play i:nth-child(3n) { animation-delay: -.6s; } .wave.play i:nth-child(5n) { animation-delay: -.9s; }
  @keyframes wave { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.35); } }
  .livecall .hint { font-size: 12px; color: var(--screen-muted); }
  .trend .bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin-top: 6px; }
  .trend .bars i { flex: 1; display: block; background: rgba(255,255,255,.28); border-radius: 3px 3px 0 0; }
  .trend .bars i:last-child { background: #5fd69a; }
  .trend .axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--screen-muted); margin-top: 6px; }
  .sample { position: absolute; top: -11px; right: 18px; }

  /* automation flow */
  .flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
  .flow li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding-bottom: 22px; position: relative; }
  .flow li::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: -4px; width: 2px; background: var(--line-strong); }
  .flow li:last-child::before { display: none; }
  .flow .node { width: 28px; height: 28px; border-radius: 999px; border: 2px solid var(--blue); background: var(--surface); display: grid; place-items: center; position: relative; z-index: 1; }
  .flow .node::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--blue); }
  .flow .node.human { border-color: var(--navy); } .flow .node.human::after { background: var(--navy); }
  .flow .node.won { border-color: var(--won); } .flow .node.won::after { background: var(--won); }
  .flow .stamp { font-family: var(--mono); font-size: 11.5px; color: var(--muted); display: block; margin-top: 6px; }
  .flow h3 { font-size: 19px; }
  .flow p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }
  .flow .who { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
  .flow .who.human { color: var(--navy); }

  /* pipeline board */
  .board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  @media (max-width: 640px) { .board { grid-template-columns: repeat(5, minmax(96px, 1fr)); overflow-x: auto; padding-bottom: 6px; } }
  .col { background: var(--panel); border-radius: 10px; padding: 10px; display: grid; gap: 6px; align-content: start; }
  .col .col-title { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
  .col .deal { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; font-size: 12px; line-height: 1.3; }
  .col .deal small { display: block; color: var(--muted); font-family: var(--mono); font-size: 10.5px; }
  .col.won { background: var(--won-soft); outline: 2px solid var(--won); outline-offset: -2px; }
  .col.won .col-title { color: var(--won); }
  .col.won .deal { border-color: rgba(21,143,86,.35); }
  .report { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .report .rhead { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 16px; }
  .report table { width: 100%; border-collapse: collapse; font-size: 14px; }
  .report th, .report td { text-align: left; padding: 10px 18px; border-bottom: 1px solid var(--line); }
  .report th { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .report td.n, .report th.n { text-align: right; font-family: var(--mono); }
  .report tr:last-child td { border-bottom: 0; }
  .report td.won { color: var(--won); font-weight: 700; }
  .report .rfoot { padding: 10px 18px; font-size: 12.5px; color: var(--muted); background: var(--panel); }
  .bigstat { display: grid; gap: 4px; }
  .bigstat .v { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 60px); line-height: 1; color: var(--won); letter-spacing: -0.03em; }
  .bigstat .l { color: var(--muted); font-size: 15px; }

  /* dark monitoring section */
  .dark { background: var(--screen); color: #fff; }
  .dark .section-head h2, .dark .lede { color: #fff; }
  .dark .lede { color: var(--screen-muted); }
  .dark .eyebrow.live { color: #C1693C; }
  .monitor { background: var(--screen-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--screen-line); }
  .monitor .mhead { padding: 12px 16px; border-bottom: 1px solid var(--screen-line); display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--screen-muted); }
  .mrow { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--screen-line); font-size: 13.5px; }
  .mrow:last-child { border-bottom: 0; }
  .mrow .name { font-weight: 600; display: flex; align-items: center; gap: 8px; }
  .mrow .sub { font-family: var(--mono); font-size: 11.5px; color: var(--screen-muted); }
  .mrow .live-score { font-family: var(--display); font-weight: 800; font-size: 22px; }
  .mrow .acts { display: flex; gap: 6px; }
  .mrow .acts > span { font-family: var(--mono); font-size: 11px; padding: 4px 8px; border: 1px solid var(--screen-line); border-radius: 6px; color: #E6E0D4; }
  .scorecard { background: var(--surface); color: var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
  .scorecard .shead { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
  .scorecard .shead .t { font-family: var(--display); font-weight: 700; font-size: 18px; }
  .scorecard .shead .m { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 4px; }
  .scorecard .big { font-family: var(--display); font-weight: 800; font-size: 34px; width: 68px; height: 68px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 999px; background: var(--navy); color: #fff; }
  .scorecard .rubric { padding: 18px 22px; display: grid; gap: 14px; }
  .rub p { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
  .rub p span:last-child { font-family: var(--mono); font-weight: 500; }
  .bar { height: 8px; border-radius: 999px; background: var(--panel); overflow: hidden; }
  .bar > span { display: block; height: 100%; background: var(--navy); border-radius: 999px; }
  .bar.warn > span { background: var(--amber); }
  .scorecard .flags { border-top: 1px solid var(--line); background: var(--ground); padding: 16px 22px; display: grid; gap: 10px; }
  .flags p { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
  .flags .ts { font-family: var(--mono); font-size: 11.5px; padding: 3px 7px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line-strong); flex: 0 0 auto; }
  .flags .ts.bad { background: var(--live-soft); border-color: var(--live); color: var(--live); }
  .flags .ts.good { background: var(--won-soft); border-color: var(--won); color: var(--won); }
  .dark .card { background: var(--screen-2); border-color: var(--screen-line); }
  .dark .card h3 { color: #fff; } .dark .card p { color: var(--screen-muted); }

  /* improvement */
  .loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); }
  @media (max-width: 720px) { .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .loop .step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; position: relative; }
  .loop .step::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--line-strong); font-size: 18px; z-index: 1; }
  .loop .step:last-child::after { display: none; }
  @media (max-width: 720px) { .loop .step:nth-child(2)::after { display: none; } }
  .loop .k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
  .loop .step h3 { font-size: 17px; margin-top: 4px; }
  .loop .step p { color: var(--muted); font-size: 14px; margin-top: 4px; }
  .chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
  .chart .ctitle { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: 16px; }
  .chart .ctitle small { font-family: var(--mono); font-weight: 500; font-size: 11.5px; color: var(--muted); }
  .chart .plot { display: grid; grid-template-columns: 30px 1fr; gap: 8px; margin-top: 14px; }
  .chart .y { display: flex; flex-direction: column; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-align: right; height: 140px; }
  .chart .cols { display: flex; align-items: flex-end; gap: 8px; height: 140px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-left: 8px;
    background-image: linear-gradient(to top, transparent 0, transparent calc(25% - 1px), var(--line) calc(25% - 1px), var(--line) 25%, transparent 25%, transparent calc(50% - 1px), var(--line) calc(50% - 1px), var(--line) 50%, transparent 50%, transparent calc(75% - 1px), var(--line) calc(75% - 1px), var(--line) 75%, transparent 75%); }
  .chart .cols i { flex: 1; display: block; background: var(--amber-soft); border: 1px solid var(--amber); border-bottom: 0; border-radius: 4px 4px 0 0; position: relative; }
  .chart .cols i:last-child { background: var(--amber); }
  .chart .cols i b { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-weight: 500; font-size: 10.5px; color: var(--muted); }
  .chart .cols i:last-child b { color: var(--ink); font-weight: 600; }
  .chart .x { display: grid; grid-template-columns: 30px 1fr; gap: 8px; margin-top: 6px; }
  .chart .x div { display: flex; justify-content: space-between; padding-left: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
  .brief { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 12px; font-size: 14.5px; }
  .brief .bh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 16px; }
  .brief .bh small { font-family: var(--mono); font-weight: 500; font-size: 11.5px; color: var(--muted); }
  .brief dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 8px 12px; }
  .brief dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
  .brief dd { margin: 0; }
  .brief dd.bad { color: var(--live); } .brief dd.good { color: var(--won); font-weight: 600; }

  /* how */
  .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
  .steps .n { font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--navy); border: 1.5px solid var(--navy); border-radius: 999px; width: 36px; height: 36px; display: grid; place-items: center; }
  .steps h3 { font-size: 19px; } .steps p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }

  /* proof */
  .quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 14px; }
  .quote p { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.3; }
  .quote figcaption { font-size: 14px; color: var(--muted); }
  .logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-top: 28px; }
  .slot { display: grid; place-items: center; text-align: center; padding: 10px; border: 1.5px dashed var(--line-strong); border-radius: 10px; background: var(--surface);
    font-family: var(--mono); font-size: 11.5px; color: var(--muted); width: 100%; aspect-ratio: 3 / 1; }

  /* demo */
  .demo { background: var(--navy); color: #fff; }
  .demo h2 { font-size: clamp(34px, 5vw, 64px); }
  .demo .lede { color: #CFC8BA; }
  /* GoHighLevel embedded form (fields + SMS consent live in GHL, not here) */
  .formcol { display: grid; gap: 14px; }
  /* Heights here are a fallback only. form_embed.js re-parents each iframe into
     its own .ep-iFrameContainer > .ep-wrapper and sets an exact inline height
     from what the form reports, and that inline style wins over these rules.
     The fallback matters when the script is blocked or never activates.
     Both forms grow as they narrow, and the Spanish copy is noticeably longer,
     so the two need different reserves — measured at the widths this column
     actually takes: EN ~1015px desktop / ~1150px phone, ES ~1222px / ~1390px.
     Erring short would hide the consent checkboxes and the submit button behind
     an iframe scrollbar; erring tall only costs some white space. */
  .ghl-form { display: block; width: 100%; height: 1200px; border: 0;
    border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
  [data-l="es"] .ghl-form { height: 1420px; }

  footer { padding-block: 28px 36px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
  footer a { text-decoration: underline; text-underline-offset: 3px; }
  footer .links { display: flex; gap: 16px; flex-wrap: wrap; }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .wave.play i, .dot.pulse { animation: none; }
  }

  /* ============================================================
     Earlink Calls — product block, screenshots, dedicated page
     ============================================================ */

  /* two-product split ("What you get") */
  .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  @media (max-width: 860px) { .pair { grid-template-columns: 1fr; } }
  .pair .card { padding: 26px 28px; display: grid; gap: 14px; align-content: start; }
  .pair .card .khead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .pair .card h3 { font-size: 24px; margin: 0; }
  .pair .card .role { color: var(--muted); font-size: 15px; }
  .pair .card.own { border-color: var(--navy); box-shadow: var(--shadow); }
  .tag.own { color: var(--navy); border-color: var(--navy); background: var(--blue-soft); }

  /* screenshot frame */
  .shot { display: grid; gap: 10px; margin: 0; }
  .shot .frame { border-radius: 12px; overflow: hidden; background: #0d1117;
    border: 1px solid var(--line-strong); box-shadow: 0 24px 50px -24px rgba(6,12,22,.7); }
  .dark .shot .frame { border-color: rgba(255,255,255,.16); }
  .shot .chrome { display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 30px;
    background: #1c1c1c; border-bottom: 1px solid rgba(255,255,255,.08); }
  .shot .chrome i { width: 9px; height: 9px; border-radius: 999px; background: rgba(255,255,255,.2); display: block; }
  .shot .chrome .url { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: #A8A195; letter-spacing: .02em; }
  .shot img { display: block; width: 100%; height: auto; }
  .shot figcaption { font-size: 14px; color: var(--muted); }
  .dark .shot figcaption { color: var(--screen-muted); }
  .shot figcaption b { color: var(--ink); font-weight: 600; }
  .dark .shot figcaption b { color: #fff; }

  /* alternating splits that keep copy first in the DOM */
  .split.flip > *:first-child { order: 2; }
  .split.flip > *:last-child { order: 1; }
  @media (max-width: 900px) { .split.flip > * { order: 0; } }

  /* module heading inside the Earlink Calls block */
  .mod { display: grid; gap: 12px; align-content: start; }
  .mod .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #C1693C; }
  .mod h3 { font-size: clamp(24px, 2.8vw, 32px); }
  .mod p { color: var(--screen-muted); font-size: 16px; }
  .mod .bullets li { color: #E6E0D4; font-size: 15.5px; }
  .mod .bullets li::before { background: #C1693C; }

  .calls-block { display: grid; gap: clamp(44px, 6vw, 80px); }

  /* capability strip */
  .strip { display: flex; flex-wrap: wrap; gap: 8px 10px; }
  .strip span { font-family: var(--mono); font-size: 12px; padding: 6px 12px; border-radius: 999px;
    border: 1px solid var(--screen-line); color: #CFC8BA; background: rgba(255,255,255,.03); }

  /* footer columns */
  footer.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 28px 24px; align-items: start; }
  @media (max-width: 860px) { footer.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 460px) { footer.cols { grid-template-columns: 1fr; } }
  footer.cols .fcol { display: grid; gap: 8px; align-content: start; }
  footer.cols .fcol strong { font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ink); font-weight: 600; }
  footer.cols .fcol a { text-decoration: none; }
  footer.cols .fcol a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
  footer.cols .fbrand { display: grid; gap: 8px; }

  /* calls.html */
  .page-hero { padding-block: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 64px); }
  .page-hero h1 { font-size: clamp(36px, 6vw, 68px); margin-top: 18px; }
  .page-hero .lede { margin-top: 20px; max-width: 62ch; }
  .page-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
  .plug { list-style: none; margin: 0; padding: 0; display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  @media (max-width: 860px) { .plug { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 460px) { .plug { grid-template-columns: 1fr; } }
  .plug li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 14px 16px; position: relative; }
  .plug li .k { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
  .plug li h3 { font-size: 17px; margin-top: 4px; }
  .plug li p { color: var(--muted); font-size: 14px; margin-top: 4px; }
  .report td.lbl { font-weight: 600; width: 34%; }
  .report td .tag { margin: 2px 4px 2px 0; }

  /* Captures are 790px of real pixels — never upscale them past that. */
  .shot.natural .frame { max-width: 790px; margin-inline: auto; }
  .shot.natural figcaption { max-width: 790px; margin-inline: auto; }
  .shot.narrow .frame, .shot.narrow figcaption { max-width: 450px; margin-inline: auto; }

  /* ---- zoom affordance on every screenshot frame ---------------------- */
  .shot .frame { position: relative; }
  .shot .frame.is-zoomable { cursor: zoom-in; }
  .zoom-btn { position: absolute; right: 10px; bottom: 10px; z-index: 2;
    display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px;
    border: 1px solid rgba(255,255,255,.24); border-radius: 999px;
    background: rgba(9,13,20,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    color: #e8eef7; font-family: var(--mono); font-size: 11px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; line-height: 1; cursor: zoom-in;
    opacity: .78; transition: opacity .15s, background .15s, border-color .15s, transform .08s; }
  .zoom-btn svg { width: 15px; height: 15px; flex: none; }
  .zoom-btn-t { display: none; }
  @media (min-width: 700px) { .zoom-btn-t { display: inline; } }
  .shot .frame:hover .zoom-btn, .zoom-btn:hover,
  .shot .frame:focus-within .zoom-btn { opacity: 1; background: rgba(9,13,20,.92); border-color: rgba(255,255,255,.4); }
  .zoom-btn:active { transform: translateY(1px); }
  @media (hover: none) { .zoom-btn { opacity: 1; } }

  /* ---- lightbox ------------------------------------------------------- */
  html.lb-open { overflow: hidden; }
  .lightbox[hidden] { display: none; }
  .lightbox { position: fixed; inset: 0; z-index: 9999;
    display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
    background: rgba(6,10,17,.97); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
    color: #e8eef7; font-family: var(--body); animation: lb-in .16s ease-out; }
  @keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .lightbox { animation: none; } }

  .lightbox-top { display: flex; align-items: center; gap: 14px;
    padding: 10px clamp(10px, 2vw, 20px); border-bottom: 1px solid rgba(255,255,255,.1); }
  .lightbox-url { font-family: var(--mono); font-size: 12px; color: #93a6c0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lightbox-count { margin-left: auto; font-family: var(--mono); font-size: 12px;
    color: #93a6c0; font-variant-numeric: tabular-nums; flex: none; }
  .lightbox-x { flex: none; width: 36px; height: 36px; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: transparent;
    color: #e8eef7; cursor: pointer; transition: background .15s; }
  .lightbox-x svg { width: 18px; height: 18px; }
  .lightbox-x:hover { background: rgba(255,255,255,.12); }

  .lightbox-stage { min-height: 0; overflow: auto; display: flex;
    padding: clamp(10px, 2vw, 22px); overscroll-behavior: contain; }
  .lightbox-img { margin: auto; display: block; max-width: 100%; max-height: 100%;
    width: auto; height: auto; border-radius: 8px; cursor: zoom-in;
    box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); }
  /* Zoomed: the -full capture at its own 2x pixels, dragged around by hand. */
  .lightbox.is-zoomed .lightbox-img { max-width: none; max-height: none; cursor: grab; }
  .lightbox.is-panning .lightbox-img { cursor: grabbing; }
  .lightbox.is-loading .lightbox-img { filter: saturate(.92); }

  .lightbox-bot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 12px clamp(10px, 2vw, 20px); border-top: 1px solid rgba(255,255,255,.1); }
  .lightbox-cap { flex: 1 1 320px; min-width: 0; font-size: 14px; line-height: 1.45; color: #b6c5da; }
  .lightbox-cap b { color: #fff; font-weight: 600; }
  .lightbox-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
  .lightbox-hint { font-family: var(--mono); font-size: 11px; color: #71839c;
    letter-spacing: .04em; margin-right: 4px; }
  @media (max-width: 700px) {
    .lightbox-hint { display: none; }
    /* Keep the caption from eating the room the screenshot needs on a phone. */
    .lightbox-cap { flex-basis: 100%; font-size: 13px; display: -webkit-box;
      -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .lightbox-bot { gap: 10px; padding-block: 10px; }
  }
  .lightbox-b { height: 36px; min-width: 36px; padding: 0 14px; display: inline-flex;
    align-items: center; justify-content: center; gap: 6px;
    border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: transparent;
    color: #e8eef7; font-family: var(--mono); font-size: 11px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .15s; }
  .lightbox-b:hover { background: rgba(255,255,255,.12); }
  .lightbox-b[hidden] { display: none; }
  .lightbox-nav { padding: 0; }
  .lightbox-nav svg { width: 18px; height: 18px; }

  .lightbox-loading { position: absolute; left: 50%; top: 68px; transform: translateX(-50%);
    margin: 0; padding: 7px 14px; border-radius: 999px; background: rgba(9,13,20,.85);
    border: 1px solid rgba(255,255,255,.16); font-family: var(--mono); font-size: 11px;
    letter-spacing: .06em; color: #cddcef; opacity: 0; transition: opacity .2s .25s; pointer-events: none; }
  .lightbox.is-loading .lightbox-loading { opacity: 1; }

  /* The GoHighLevel chat launcher floats over everything — park it while a
     screenshot is open, without tearing down the widget's own state. */
  html.lb-open chat-widget { visibility: hidden; pointer-events: none; }

/* ---- paired screenshots (calls.html): 2-up cards on desktop, stacked on phones ---- */
.shot-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); align-items: start; }
.shot-pair .shot { width: 100%; align-content: start; }
.shot-pair .shot .frame, .shot-pair .shot figcaption { max-width: none; width: 100%; }
@media (max-width: 760px) { .shot-pair { grid-template-columns: 1fr; } }

.section-head.center { margin-inline: auto; justify-items: center; text-align: center; }

/* frames fill their column before the lazy image arrives (no width jump on load) */
.shot .frame, .shot figcaption { width: 100%; box-sizing: border-box; }

/* 700px captures: never upscale past their real pixels */
.shot.natural.w700 .frame, .shot.natural.w700 figcaption { max-width: 702px; }

/* ---- demo CTA band: Carbon band, terracota accent, GHL form on a Crema card ---- */
.demo { background: #131313; color: #F3EEE3; border-top: 6px solid #C1693C; }
.demo h2 { color: #F3EEE3; }
.demo .eyebrow, .demo .eyebrow.live { color: #C1693C; }
.demo .lede, .demo p { color: #CFC8BA; }
.demo a:not(.btn) { color: #F3EEE3; }
.demo .btn.light { color: #9E4F26; }
.demo .form-container, .demo .formcol { background: #F3EEE3; border-radius: 20px; border-top: 4px solid #C1693C;
    padding: clamp(16px, 3vw, 36px); box-sizing: border-box;
    box-shadow: 0 30px 60px -28px rgba(0,0,0,.8), 0 0 0 1px rgba(193,105,60,.35); }

/* ---- vocabulary (#measured): grouped card grid, 3 / 2 / 1 columns ---- */
#measured .eyebrow { color: #9E4F26; }
.vocab { display: grid; gap: clamp(28px, 4vw, 44px); }
.vocab-group { display: grid; gap: 14px; min-width: 0; }
.vocab-group > h3.eyebrow { margin: 0; font-weight: 500; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
.vocab-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
@media (max-width: 980px) { .vocab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vocab-grid { grid-template-columns: 1fr; } }
.vcard { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid #C1693C; border-radius: var(--radius);
    padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vcard dt { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.2; color: #131313; }
.vcard dd { margin: 0; overflow-wrap: anywhere; }
.vcard .vtag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #9E4F26; }
.vcard .vdesc { font-size: 15.5px; line-height: 1.5; color: #333333; }
/* a lone last card spans the row instead of leaving empty columns */
@media (min-width: 981px) { .vocab-grid > .vcard:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }
@media (min-width: 601px) and (max-width: 980px) { .vocab-grid > .vcard:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---- calls.html module gallery (12 screens): wide shots at full container width,
   tall shots beside their text on desktop; stacked on phones ---- */
.mod5-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px); align-items: start; margin-bottom: clamp(16px, 2vw, 24px); }
.mod5-list { align-self: start; padding-top: 4px; }
.mod .mod5-list { margin-top: 4px; }
.shot.full .frame, .shot.full figcaption { max-width: none; }
.mod5-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--maxw, 760px)); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.mod5-split .shot { width: 100%; }
.mod5-split .shot .frame, .mod5-split .shot figcaption { max-width: var(--maxw, 760px); }
@media (max-width: 900px) {
  .mod5-head { grid-template-columns: 1fr; }
  .mod5-split { grid-template-columns: 1fr; }
  .mod5-split .shot .frame, .mod5-split .shot figcaption { margin-inline: auto; }
}

/* ---- demo booking forms (index + calls): one centered column, same card width on both pages ---- */
.demo .form-container, .demo .formcol { width: 100%; max-width: 820px; margin-inline: auto; }
.demo .form-container iframe, .demo .formcol iframe { width: 100%; }
/* index.html: heading block stacked above the form, sharing its center line */
.demo > .wrap.split { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(24px, 3vw, 36px); }
.demo > .wrap.split > div:first-child { width: 100%; max-width: 820px; text-align: center; }
.demo > .wrap.split > div:first-child .lede { margin-inline: auto; }

/* ---- #try (index.html): teaser for the CRM live demo (simulator.html). Tinted
   band, copy left, one screenshot right; one column under 900px (from .split).
   The margin stands in for the top padding #won drops, since a band now sits
   above it. ---- */
.try { background: var(--panel); border-block: 1px solid var(--line); margin-bottom: clamp(48px, 7vw, 96px); }
.try-copy { display: grid; gap: 20px; justify-items: start; }
.try-copy h2 { font-size: clamp(30px, 4.2vw, 48px); }
.try-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.try-note { font-size: 14.5px; color: var(--muted); }
.try-shot { width: 100%; }
/* demo bands: pointer to the other product's demo under the form */
.demo .demo-alt { text-align: center; margin-top: 22px; }
.demo .demo-alt a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- header v2: built around the two actions. Three links (one per
   product, plus Setup), a quiet login, the language switch, then "Try it
   yourself" (opens the two demo-link choices) and "Book a call". The bar is
   sticky, so both actions stay on screen down the whole page. Same markup on
   index, simulator and calls.
   Full bar needs about 1035px of inner width in English and 1120px in
   Spanish; under that the links, login and language fold into the menu
   button, and under 720px "Try it yourself" folds in too. "Book a call"
   never leaves the bar. ---- */
html { scroll-padding-top: 68px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { left: 16px; }
.site-head { position: sticky; top: 0; z-index: 60; display: block; padding-block: 0;
  background: var(--ground); border-bottom: 1px solid var(--line); }
.site-head-in { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.site-head .brand img { height: 40px; }
.nav { display: flex; gap: 2px; margin-left: 10px; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; }
.nav a:hover { background: var(--panel); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--panel); }
.head-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.login { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 6px;
  font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.login:hover { color: var(--navy-deep); }
/* header + footer buttons use the deep terracotta: white on it is 5.8:1 */
.site-head .btn, .fcta .btn { padding: 12px 20px; font-size: 15px; white-space: nowrap;
  background: var(--navy-deep); border-color: var(--navy-deep); }
.site-head .btn:hover, .fcta .btn:hover { background: #7f3e1c; border-color: #7f3e1c; }
.site-head .btn.ghost, .fcta .btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.site-head .btn.ghost:hover, .fcta .btn.ghost:hover { background: var(--surface); border-color: var(--ink); }
.tryit, .burger { position: relative; }
.tryit > summary, .burger > summary { list-style: none; cursor: pointer; user-select: none; }
.tryit > summary::-webkit-details-marker, .burger > summary::-webkit-details-marker { display: none; }
.tryit > summary::after { content: ""; width: 7px; height: 7px; margin-top: -4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.tryit[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.tryit-menu, .burger-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 70;
  width: 340px; max-width: calc(100vw - 32px); display: grid; gap: 2px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); }
.tryit-menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--radius-sm); }
.tryit-menu a:hover, .burger-menu a:hover { background: var(--ground); }
.tryit-menu b { font-weight: 600; font-size: 15.5px; }
.tryit-menu small { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.burger { display: none; }
.burger > summary { width: 44px; height: 44px; display: grid; place-items: center;
  border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); }
.burger-menu { max-height: calc(100vh - 90px); overflow-y: auto; }
.burger-menu a { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 16px; }
.burger-menu .burger-h { padding: 12px 12px 2px; font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.burger-menu .lang { justify-self: start; margin: 10px 12px 6px; }
.burger-menu .lang button { padding: 12px 16px; }
@media (max-width: 1179px) {
  .nav, .login, .head-right > .lang { display: none; }
  .burger { display: block; }
}
@media (max-width: 1259px) {
  [data-lang="es"] .nav, [data-lang="es"] .login, [data-lang="es"] .head-right > .lang { display: none; }
  [data-lang="es"] .burger { display: block; }
}
@media (max-width: 719px) { .tryit { display: none; } }
@media (max-width: 480px) {
  .site-head-in { gap: 10px; padding-block: 10px; }
  .site-head .brand img { height: 30px; }
  .site-head .btn { padding: 12px 16px; font-size: 14.5px; }
}

/* ---- footer v2: the three actions first, then four short link lists in the
   same order and with the same names as the header. ---- */
footer.cols { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }
footer.cols .fcta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 24px; padding: 20px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
footer.cols .fcta-h { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
footer.cols .fcta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
footer.cols .fcol { gap: 2px; }
footer.cols .fcol strong { margin-bottom: 6px; }
footer.cols .fcol a, footer.cols .fbrand > a:not(.brand) { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; }
footer.cols .fbrand > a:not(.brand):hover { color: var(--navy-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) {
  footer.cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  footer.cols .fbrand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  footer.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer.cols .fcta { padding: 18px 16px; }
  footer.cols .fcta-btns, footer.cols .fcta-btns .btn { width: 100%; }
  footer.cols .fcol a, footer.cols .fbrand > a:not(.brand) { min-height: 44px; }
}
footer.cols .fcta .btn, footer.cols .fbrand > a.brand { text-decoration: none; }

/* ---- contrast: the accent tokens (--navy, --blue, --live) are now the deep
   terracotta #9E4F26, which is 5.0:1 on the cream ground and 5.8:1 under white
   button text. The brand terracotta #C1693C only reaches 3.4:1 on cream, so it
   is kept for dark surfaces (4.7:1 there) and decoration, as --accent. Green
   gets the same split. Filled buttons always use --btn. ---- */
.screen, .dark, .demo, .shot .frame { --navy: #C1693C; --blue: #C1693C; --live: #C1693C; --won: #158f56; }
.demo .form-container, .demo .formcol { --navy: #9E4F26; --blue: #9E4F26; --live: #9E4F26; --won: #0F7545; }
