/* ==========================================================
   Sellsmark - switchboard theme
   Colours sampled from the logo: red #981A11, walnut #291309, brass #81562A
   ========================================================== */
:root {
  --ink: #291309;
  --ink-2: #4A2A1A;
  --ink-soft: #6E4A35;
  --red: #981A11;
  --red-hot: #C8322B;
  --red-soft: #FFD9D2;
  --brass: #81562A;
  --brass-2: #C49A5A;
  --brass-3: #EBCB92;
  --brass-4: #F7E3BC;
  --cream: #FFF8EE;
  --paper: #FFFDF8;
  --green: #4E9A4E;
  --green-soft: #D6F0CF;
  --lav: #E6DAF7;
  --lav-2: #CDB8F0;
  --peach: #FFE1CE;
  --peach-2: #FFC7A8;
  --mint: #D8F2E2;
  --butter: #FFF0B8;

  --r: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --bd: 3px solid var(--ink);
  --sh: 4px 4px 0 var(--ink);
  --sh-lg: 8px 8px 0 var(--ink);

  --f-head: 'Bricolage Grotesque', 'Libre Franklin', system-ui, sans-serif;
  --f-body: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-type: 'Courier Prime', 'Courier New', monospace;

  --wrap: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(165deg, #FFE6D6 0%, #FCE3DF 30%, #F2E0F0 62%, #E5DCF8 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
  padding: .9em 1.5em; border-radius: 999px; border: var(--bd);
  background: var(--paper); color: var(--ink); text-decoration: none; cursor: pointer;
  box-shadow: var(--sh); transition: transform .15s ease, box-shadow .15s ease, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #B0231A; }
.btn-ghost { background: var(--paper); }
.btn-butter { background: var(--butter); }
.btn-sm { font-size: .95rem; padding: .6em 1.15em; }
.btn-lg { font-size: 1.15rem; padding: 1em 1.8em; }
.btn .ic { width: 1.1em; height: 1.1em; }

/* ---------- navigation ---------- */
.nav-wrap { position: sticky; top: 14px; z-index: 60; padding: 0 20px; }
.nav {
  width: min(var(--wrap), 100%); margin: 14px auto 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  background: var(--cream); border: var(--bd); border-radius: 999px; box-shadow: var(--sh);
  padding: 9px 10px 9px 26px;
}
.nav-logo { display: inline-flex; justify-self: start; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; justify-self: center; }
.nav-links > li { position: relative; }
.nav-btn, .nav-a {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem; padding: 10px 16px; border-radius: 999px;
  text-decoration: none; color: var(--ink); transition: background .15s;
}
.nav-btn .ic { width: 16px; height: 16px; transition: transform .2s; }
.nav-btn:hover, .nav-a:hover, .has-drop.open > .nav-btn { background: var(--brass-4); }
.has-drop.open > .nav-btn .ic { transform: rotate(180deg); }
.is-current > .nav-btn, .nav-a.is-current { background: var(--peach); }
.drop {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: 380px; padding: 10px; background: var(--paper); border: var(--bd); border-radius: 26px; box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-drop.open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; text-decoration: none; }
.drop-item:hover { background: var(--cream); }
.drop-item strong { display: block; font-family: var(--f-head); font-size: 1.02rem; line-height: 1.2; }
.drop-item small { display: block; color: var(--ink-soft); font-size: .86rem; line-height: 1.35; margin-top: 2px; }
.drop-ic { width: 44px; height: 44px; border-radius: 14px; border: 2.5px solid var(--ink); display: grid; place-items: center; flex: none; }
.drop-ic .ic { width: 20px; height: 20px; }
.tint-0 { background: var(--peach); } .tint-1 { background: var(--lav); } .tint-2 { background: var(--mint); } .tint-3 { background: var(--butter); }
.nav-actions { display: flex; gap: 10px; align-items: center; justify-self: end; }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: var(--bd); background: var(--butter); cursor: pointer; place-items: center; box-shadow: 2px 2px 0 var(--ink); }
.nav-burger .ic { width: 20px; height: 20px; }
.mobile-menu {
  width: min(var(--wrap), 100%); margin: 10px auto 0; background: var(--paper); border: var(--bd); border-radius: 28px;
  box-shadow: var(--sh-lg); padding: 14px; max-height: calc(100vh - 120px); overflow: auto;
}
.mobile-menu a:not(.btn) { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; text-decoration: none; font-family: var(--f-head); font-weight: 600; }
.mobile-menu a:not(.btn):hover { background: var(--cream); }
.mm-label { font-family: var(--f-type); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--brass); margin: 10px 14px 4px; }
.mm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 4px 4px; }

@media (max-width: 1060px) {
  .nav { grid-template-columns: auto 1fr; padding-left: 20px; }
  .nav-links { display: none; }
  .nav-burger { display: grid; }
}
@media (max-width: 560px) {
  .nav-talk { display: none; }
  .nav-logo img { height: 28px; }
  .nav-wrap { padding: 0 12px; top: 10px; }
}

/* ---------- shared type pieces ---------- */
.ticket-label, .line-tag {
  font-family: var(--f-type); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem;
}
.line-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px;
  background: linear-gradient(180deg, var(--brass-3), var(--brass-2)); border: 2.5px solid var(--ink); color: var(--ink);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.55), 2px 2px 0 var(--ink); margin-bottom: 22px;
}
.line-tag b { background: var(--ink); color: var(--brass-3); border-radius: 999px; padding: 2px 9px; font-weight: 700; }
.sec { padding: 110px 0 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.sec-title em { font-style: normal; color: var(--red); }
.sec-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 640px; }
.sec-head.center .sec-lead { margin-inline: auto; }
.mark { background: linear-gradient(180deg, transparent 58%, var(--peach-2) 58%, var(--peach-2) 92%, transparent 92%); padding: 0 .1em; }

.card {
  background: var(--paper); border: var(--bd); border-radius: var(--r); box-shadow: var(--sh-lg); padding: 34px;
}

/* typed call ticket */
.ticket {
  position: relative; background: var(--paper); border: var(--bd); border-radius: 18px; box-shadow: var(--sh);
  font-family: var(--f-type); font-size: .95rem; line-height: 1.5; padding: 18px 20px 18px 24px; color: var(--ink);
  background-image: repeating-linear-gradient(180deg, transparent 0 25px, rgba(129,86,42,.13) 25px 27px);
  background-position: 0 14px;
}
.ticket::before {
  content: ""; position: absolute; left: -3px; top: 18px; bottom: 18px; width: 9px;
  background: radial-gradient(circle at 0 50%, transparent 4px, var(--ink) 4px 5.5px, transparent 5.5px) 0 0 / 9px 16px repeat-y;
}
.ticket-top { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; color: var(--brass); }
.ticket-q { margin: 8px 0; color: var(--ink-2); font-style: italic; }
.ticket-line { display: flex; gap: 8px; align-items: flex-start; }
.ticket-line .ic { margin-top: 3px; width: 16px; height: 16px; }
.ticket-ok { color: var(--green); font-weight: 700; }
.ticket-no { color: var(--red); font-weight: 700; }
.stamp {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-type); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem;
  padding: 4px 10px; border: 2.5px solid currentColor; border-radius: 10px; transform: rotate(-3deg);
}
.stamp.green { color: var(--green); } .stamp.red { color: var(--red); } .stamp.brass { color: var(--brass); }

/* chips */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 2.5px solid var(--ink);
  background: var(--paper); font-family: var(--f-head); font-weight: 600; font-size: .92rem; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap;
}
.chip .ic { width: 17px; height: 17px; }
.chip.peach { background: var(--peach); } .chip.lav { background: var(--lav); } .chip.mint { background: var(--mint); } .chip.butter { background: var(--butter); }
.dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); background: var(--green); flex: none; }
.dot.red { background: var(--red-hot); }

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding: 84px 0 40px; position: relative; }
.hero-top { text-align: center; max-width: 980px; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 6.1rem); line-height: .95; letter-spacing: -0.045em; margin-bottom: 26px; }
.hero h1 .h-red { color: var(--red); display: inline-block; position: relative; }
.hero h1 .h-red::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -.08em; height: .16em; border-radius: 99px;
  background: var(--peach-2); z-index: -1; transform: rotate(-1.2deg);
}
.hero-sub { font-size: clamp(1.08rem, 1.6vw, 1.26rem); color: var(--ink-2); max-width: 720px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero-proof { display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; font-size: .93rem; color: var(--ink-soft); font-weight: 600; }
.hero-proof span { display: inline-flex; gap: 7px; align-items: center; }
.hero-proof .ic { color: var(--green); width: 18px; height: 18px; }

.hero-stage { position: relative; margin-top: 70px; padding: 0 0 20px; }
.blob { position: absolute; border-radius: 50%; border: var(--bd); box-shadow: var(--sh); z-index: 0; animation: bob 7s ease-in-out infinite; }
.blob.b1 { width: 150px; height: 150px; left: -54px; top: 60px; background: radial-gradient(circle at 32% 28%, #fff 0 8%, var(--peach-2) 30%, #F59C78 100%); }
.blob.b2 { width: 96px; height: 96px; right: -30px; top: -34px; background: radial-gradient(circle at 32% 28%, #fff 0 8%, var(--lav-2) 34%, #A68AE0 100%); animation-delay: -2s; }
.blob.b3 { width: 120px; height: 120px; right: -46px; bottom: 90px; border-radius: 38px; transform: rotate(18deg); background: radial-gradient(circle at 30% 26%, #fff 0 8%, var(--butter) 36%, #F2C94C 100%); animation-delay: -4s; }
.blob.b4 { width: 70px; height: 70px; left: 8%; bottom: -20px; background: radial-gradient(circle at 32% 28%, #fff 0 8%, var(--mint) 34%, #7FC99A 100%); animation-delay: -1s; }
.float-chip { position: absolute; z-index: 4; animation: bob 6s ease-in-out infinite; }
.float-chip.c1 { left: -26px; top: -22px; }
.float-chip.c2 { right: 18%; top: -26px; animation-delay: -1.5s; }
.float-chip.c3 { left: -34px; bottom: 120px; animation-delay: -3s; }
.float-chip.c4 { right: -30px; bottom: 26px; animation-delay: -4.5s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- switchboard ---------- */
.board {
  position: relative; z-index: 2; border: var(--bd); border-radius: 40px; box-shadow: 10px 10px 0 var(--ink);
  background: linear-gradient(180deg, #F4D9A8 0%, #EAC48A 100%); padding: 18px;
}
.board::after { /* wood grain hint */
  content: ""; position: absolute; inset: 0; border-radius: 37px; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(97deg, transparent 0 22px, rgba(129,86,42,.18) 22px 24px, transparent 24px 61px);
}
.board-plate {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--cream); border: var(--bd); border-radius: 24px; padding: 14px 22px;
  box-shadow: inset 0 -4px 0 var(--brass-3);
}
.board-plate .bp-logo img { height: 30px; width: auto; }
.bp-title { font-family: var(--f-type); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--brass); }
.bp-status { display: inline-flex; gap: 8px; align-items: center; font-family: var(--f-head); font-weight: 700; font-size: .92rem; background: var(--green-soft); border: 2.5px solid var(--ink); border-radius: 999px; padding: 5px 14px; }
.bp-status .dot { animation: ring 1.1s steps(2, jump-none) infinite; }

.board-body { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.board-left { position: relative; background: #F9E6C4; border: var(--bd); border-radius: 28px; padding: 22px 22px 18px; }
.jacks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.jack {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px;
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: 20px; text-align: center; transition: background .3s;
}
.jack .lamp {
  width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--ink); background: #8C7A6B;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); transition: background .25s, box-shadow .25s;
}
.jack .hole {
  width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle, var(--ink) 0 38%, var(--brass-2) 40% 62%, var(--brass) 64%);
  border: 2.5px solid var(--ink);
}
.jack .jl { font-family: var(--f-type); font-weight: 700; font-size: .74rem; letter-spacing: .08em; color: var(--brass); line-height: 1; }
.jack .jn { font-family: var(--f-type); font-size: .84rem; line-height: 1.15; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.jack.new .lamp, .jack.ringing .lamp { background: var(--red-hot); box-shadow: 0 0 0 5px rgba(200,50,43,.22), inset 0 -3px 0 rgba(0,0,0,.2); }
.jack.ringing .lamp { animation: ring 1.1s steps(2, jump-none) infinite; }
.jack.lit .lamp { background: #6BC46B; box-shadow: 0 0 0 5px rgba(78,154,78,.22), inset 0 -3px 0 rgba(0,0,0,.15); }
.jack.lit { background: #F2FBEF; }
.jack.dark { background: #EFE7DA; }
.jack.dark .lamp { background: #3A2A20; }
.jack.dark .jn { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-soft); }
.jack.focus { background: #FFEDE6; }
@keyframes ring { 0% { opacity: 1; } 100% { opacity: .2; } }

.ops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 46px; position: relative; }
.ops::before {
  content: "Operator positions"; position: absolute; top: -32px; left: 0; font-family: var(--f-type); font-weight: 700; font-size: .74rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brass);
}
.op {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; border: 2.5px solid var(--ink);
  background: var(--lav); transition: background .3s, transform .3s;
}
.op:nth-child(2) { background: var(--mint); }
.op:nth-child(3) { background: var(--butter); }
.op .hole { width: 30px; height: 30px; border-radius: 50%; flex: none; border: 2.5px solid var(--ink); background: radial-gradient(circle, var(--ink) 0 38%, var(--brass-2) 40% 62%, var(--brass) 64%); }
.op strong { display: block; font-family: var(--f-head); font-size: 1rem; line-height: 1.1; }
.op small { display: block; font-size: .78rem; color: var(--ink-soft); line-height: 1.25; }
.op.busy { transform: translateY(-3px); box-shadow: 3px 3px 0 var(--ink); }

.cords { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; overflow: visible; }
.cords path { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.cords path.red { stroke: var(--red); }
.cords circle { fill: var(--ink); }
.cords path.drawing { transition: stroke-dashoffset 1s cubic-bezier(.5,0,.3,1); }

.board-slot {
  position: relative; display: flex; flex-direction: column; background: #FBEBD0; border: var(--bd); border-radius: 28px; padding: 16px; min-height: 420px; overflow: hidden;
}
.slot-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.slot-head .ticket-label { color: var(--brass); font-size: .74rem; }
.slot-mouth { height: 12px; border-radius: 99px; background: var(--ink); margin: 0 4px 14px; box-shadow: inset 0 3px 0 rgba(255,255,255,.12); }
.slot-feed { position: relative; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.slot-alert {
  display: flex; gap: 10px; align-items: center; font-family: var(--f-type); font-size: .86rem; font-weight: 700;
  background: var(--red-soft); border: 2.5px solid var(--ink); border-radius: 14px; padding: 9px 12px; color: var(--red);
}
.slot-feed .ticket { font-size: .86rem; padding: 14px 14px 14px 22px; box-shadow: 3px 3px 0 var(--ink); }
.slot-feed .ticket p { margin: 0 0 4px; }
.slot-feed .ticket .ticket-top { font-size: .74rem; }
.slide-in { animation: slideTicket .6s cubic-bezier(.2,.8,.2,1) both; transform-origin: top center; }
@keyframes slideTicket { from { clip-path: inset(0 0 100% 0); transform: translateY(-14px); } to { clip-path: inset(0 0 0 0); transform: none; } }
.typed-line { opacity: 0; transition: opacity .25s; }
.typed-line.on { opacity: 1; }
.slot-idle { margin: auto; text-align: center; color: var(--ink-soft); font-family: var(--f-type); font-size: .9rem; }
.board-replay { position: absolute; right: 14px; bottom: 14px; z-index: 5; }
.board-replay .btn { font-size: .85rem; padding: .45em 1em; box-shadow: 2px 2px 0 var(--ink); }

.board-foot { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.bf { background: var(--cream); border: 2.5px solid var(--ink); border-radius: 18px; padding: 10px 14px; }
.bf small { display: block; font-family: var(--f-type); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brass); font-weight: 700; }
.bf strong { font-family: var(--f-head); font-size: 1.35rem; line-height: 1.1; }

@media (max-width: 980px) {
  .board-body { grid-template-columns: 1fr; }
  .board-slot { min-height: 380px; }
  .float-chip.c1, .float-chip.c3 { left: -8px; }
  .float-chip.c4 { right: -8px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .board { padding: 10px; border-radius: 28px; box-shadow: 6px 6px 0 var(--ink); }
  .board-left { padding: 14px 12px; border-radius: 22px; }
  .jacks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .jack { padding: 10px 4px; border-radius: 16px; }
  .jack .jn { font-size: .74rem; }
  .ops { gap: 8px; }
  .op { flex-direction: column; text-align: center; padding: 10px 6px; gap: 6px; }
  .op small { display: none; }
  .board-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-title { display: none; }
  .float-chip, .blob.b1, .blob.b3 { display: none; }
  .board-plate { padding: 10px 14px; }
}

/* ==========================================================
   HOME LINES
   ========================================================== */
/* Line 2 - speed to lead */
.speed { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 34px; align-items: stretch; }
.speed .ticket.big { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; padding: 34px 34px 34px 44px; border-radius: var(--r); box-shadow: var(--sh-lg); background-position: 0 30px; background-image: repeating-linear-gradient(180deg, transparent 0 40px, rgba(129,86,42,.13) 40px 42px); }
.speed .ticket.big .ticket-top { font-size: .85rem; margin-bottom: 14px; }
.speed .ticket.big p { margin-bottom: 18px; }
.lamps-compare { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.lc { display: flex; gap: 22px; align-items: center; padding: 24px 26px; border: var(--bd); border-radius: var(--r); box-shadow: var(--sh); }
.lc.fast { background: var(--green-soft); }
.lc.slow { background: #EEE4D8; }
.lc-lamp { width: 74px; height: 74px; border-radius: 50%; border: var(--bd); flex: none; box-shadow: inset 0 -6px 0 rgba(0,0,0,.18); }
.lc.fast .lc-lamp { background: radial-gradient(circle at 35% 30%, #CFF5C9, #5DB85D 60%); box-shadow: 0 0 0 10px rgba(78,154,78,.2), inset 0 -6px 0 rgba(0,0,0,.15); }
.lc.slow .lc-lamp { background: radial-gradient(circle at 35% 30%, #6D5A4C, #2E1E15 70%); }
.lc h3 { font-size: 1.4rem; margin: 0 0 4px; }
.lc p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.lc .ticket-label { font-size: .72rem; color: var(--brass); display: block; margin-bottom: 6px; }

/* product screen frame */
.screen { background: var(--paper); border: var(--bd); border-radius: var(--r); box-shadow: var(--sh-lg); overflow: hidden; }
.screen-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; background: var(--brass-4); border-bottom: var(--bd); }
.screen-bar .sb-path { font-family: var(--f-type); font-weight: 700; font-size: .84rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.screen-bar .sb-path .ic { width: 16px; height: 16px; }
.screen-body { padding: 26px; }

/* Line 3 - CRM record */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 54px; align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split.rev > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks li .ic { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--green-soft); border: 2.5px solid var(--ink); color: var(--ink); margin-top: 0; }
.crm-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.avatar { width: 56px; height: 56px; border-radius: 18px; border: var(--bd); background: var(--peach); display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; flex: none; }
.crm-head h3 { font-size: 1.45rem; margin: 0; }
.crm-head p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.crm-head .stamp { margin-left: auto; }
.crm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.field { background: var(--cream); border: 2.5px solid var(--ink); border-radius: 16px; padding: 10px 14px; min-width: 0; }
.field small { display: block; font-family: var(--f-type); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.field span { display: block; font-weight: 600; font-size: .95rem; line-height: 1.35; overflow-wrap: anywhere; }
.field.wide { grid-column: span 3; }
.field.span2 { grid-column: span 2; }
.field.auto { position: relative; }
.field.auto::after { content: "auto"; position: absolute; top: 8px; right: 10px; font-family: var(--f-type); font-size: .66rem; font-weight: 700; color: var(--green); text-transform: uppercase; }
.stage-bar { display: flex; gap: 6px; margin: 18px 0 0; flex-wrap: wrap; }
.stage-bar span { flex: 1 1 0; min-width: 88px; text-align: center; font-family: var(--f-head); font-weight: 600; font-size: .84rem; padding: 8px 6px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--cream); }
.stage-bar span.done { background: var(--green-soft); }
.stage-bar span.now { background: var(--red); color: #fff; }

/* Line 4 - calendar */
.cal { display: grid; grid-template-columns: 110px repeat(3, minmax(0, 1fr)); gap: 0; border: var(--bd); border-radius: 24px; overflow: hidden; background: var(--paper); }
.cal > div { border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); padding: 10px; min-height: 64px; min-width: 0; }
.cal > div:nth-child(4n) { border-right: 0; }
.cal > div.last { border-bottom: 0; }
.cal .ch { background: var(--brass-4); font-family: var(--f-head); font-weight: 700; display: flex; align-items: center; gap: 10px; min-height: 0; }
.cal .ch .avatar { width: 34px; height: 34px; border-radius: 11px; font-size: .9rem; border-width: 2.5px; }
.cal .ch small { display: block; font-family: var(--f-body); font-weight: 500; font-size: .76rem; color: var(--ink-soft); }
.cal .t { font-family: var(--f-type); font-weight: 700; font-size: .84rem; color: var(--brass); background: var(--cream); }
.slotx { height: 100%; border-radius: 12px; border: 2.5px dashed rgba(41,19,9,.25); }
.mtg { border-radius: 12px; border: 2.5px solid var(--ink); padding: 6px 10px; font-size: .82rem; line-height: 1.3; height: 100%; box-shadow: 2px 2px 0 var(--ink); }
.mtg strong { display: block; font-family: var(--f-head); font-size: .9rem; }
.mtg.peach { background: var(--peach); } .mtg.lav { background: var(--lav); } .mtg.mint { background: var(--mint); } .mtg.butter { background: var(--butter); }
.mtg.new { background: var(--green-soft); animation: pop .6s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.rules-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* Line 5 - brass plaque */
.plaque-rules {
  position: relative; border: var(--bd); border-radius: 36px; padding: 50px clamp(22px, 5vw, 64px);
  background: linear-gradient(160deg, #F6DCA8 0%, #E4BB78 55%, #D9AC66 100%); box-shadow: var(--sh-lg), inset 0 3px 0 rgba(255,255,255,.6), inset 0 -5px 0 rgba(129,86,42,.35);
}
.plaque-rules .screw, .plaque .screw { position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--ink); background: radial-gradient(circle at 35% 30%, #fff8e6, var(--brass-2)); }
.plaque-rules .screw::after, .plaque .screw::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2.5px; margin-top: -1.25px; background: var(--ink); transform: rotate(-35deg); border-radius: 2px; }
.s1 { top: 18px; left: 18px; } .s2 { top: 18px; right: 18px; } .s3 { bottom: 18px; left: 18px; } .s4 { bottom: 18px; right: 18px; }
.rules-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; counter-reset: r; }
.rules-list li {
  counter-increment: r; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
  font-family: var(--f-type); font-size: 1.04rem; line-height: 1.5; color: var(--ink);
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}
.rules-list li::before {
  content: counter(r, decimal-leading-zero); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 2.5px solid var(--ink); background: var(--cream); font-weight: 700; font-size: 1rem; text-shadow: none;
  box-shadow: inset 0 -3px 0 var(--brass-3);
}
.rules-list li strong { display: block; font-size: 1.08rem; }
.plaque-head { text-align: center; margin-bottom: 36px; }
.plaque-head .ticket-label { color: var(--brass); }
.plaque-head h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 0; }

/* Line 6 - sample call */
.call-player { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0; padding: 0; overflow: hidden; }
.cp-side { background: var(--lav); padding: 34px; border-right: var(--bd); display: flex; flex-direction: column; gap: 18px; }
.cp-side h3 { font-size: 1.6rem; margin: 0; }
.cp-meta { display: grid; gap: 8px; font-family: var(--f-type); font-size: .92rem; }
.cp-meta div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 2.5px dotted rgba(41,19,9,.3); padding-bottom: 6px; }
.cp-meta b { font-weight: 700; }
.cp-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.play-btn { width: 72px; height: 72px; border-radius: 50%; border: var(--bd); background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh); transition: transform .15s, box-shadow .15s; flex: none; }
.play-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.play-btn .ic { width: 28px; height: 28px; }
.play-btn .ic-pause { display: none; }
.play-btn.is-playing .ic-play { display: none; }
.play-btn.is-playing .ic-pause { display: block; }
.mute-btn { display: inline-flex; gap: 8px; align-items: center; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper); padding: 8px 14px; cursor: pointer; font-weight: 600; font-size: .9rem; }
.mute-btn .ic { width: 18px; height: 18px; }
.mute-btn .ic-on { display: none; }
.mute-btn[aria-pressed="false"] .ic-on { display: block; }
.mute-btn[aria-pressed="false"] .ic-off { display: none; }
.wave { display: flex; gap: 4px; align-items: center; height: 42px; }
.wave i { width: 6px; border-radius: 4px; background: var(--ink); height: 30%; opacity: .35; transition: height .2s; }
.is-live .wave i { opacity: 1; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(5n) { animation-delay: -.15s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 95%; } }
.transcript { padding: 30px 34px; display: flex; flex-direction: column; gap: 12px; max-height: 560px; overflow: auto; background: var(--paper); }
.tl { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: start; transition: opacity .3s; }
.tl .who { font-family: var(--f-type); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 0; text-align: center; border-radius: 10px; border: 2.5px solid var(--ink); }
.tl.ai .who { background: var(--peach); }
.tl.lead .who { background: var(--mint); }
.tl.sys .who { background: var(--butter); }
.tl p { margin: 0; padding: 4px 0 0; }
.tl.sys p { font-family: var(--f-type); font-size: .92rem; color: var(--ink-2); }
.transcript.playing .tl { opacity: .35; }
.transcript.playing .tl.said { opacity: 1; }
.transcript.playing .tl.now p { background: var(--butter); border-radius: 8px; box-shadow: 0 0 0 4px var(--butter); }

/* Line 7 - industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ind {
  position: relative; display: flex; flex-direction: column; gap: 14px; text-decoration: none; padding: 30px; border: var(--bd); border-radius: var(--r); box-shadow: var(--sh-lg);
  transition: transform .18s, box-shadow .18s;
}
.ind:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.ind:nth-child(1) { background: var(--peach); } .ind:nth-child(2) { background: var(--lav); } .ind:nth-child(3) { background: var(--mint); }
.ind-top { display: flex; justify-content: space-between; align-items: center; }
.ind .jack-big { width: 62px; height: 62px; border-radius: 50%; border: var(--bd); background: radial-gradient(circle, var(--ink) 0 30%, var(--brass-2) 32% 60%, var(--brass) 62%); }
.ind .ind-ic { width: 54px; height: 54px; border-radius: 18px; border: var(--bd); background: var(--paper); display: grid; place-items: center; }
.ind .ind-ic .ic { width: 26px; height: 26px; }
.ind h3 { font-size: 1.7rem; margin: 6px 0 0; }
.ind p { margin: 0; color: var(--ink-2); }
.ind .ticket { font-size: .84rem; padding: 12px 14px 12px 22px; box-shadow: 2px 2px 0 var(--ink); }
.ind .go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; margin-top: auto; }
.ind .go .ic { transition: transform .2s; }
.ind:hover .go .ic { transform: translateX(4px); }

/* ==========================================================
   PATCH CTA (pre-footer)
   ========================================================== */
.patch { padding: 130px 0 0; }
.patch-board {
  position: relative; border: var(--bd); border-radius: 44px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden;
  background: radial-gradient(circle at 15% 0%, #FFF2D9 0, transparent 40%), linear-gradient(180deg, #F4D9A8, #E8C186);
  padding: clamp(36px, 6vw, 70px) clamp(20px, 5vw, 60px) clamp(30px, 5vw, 54px); text-align: center;
}
.patch-head .ticket-label { color: var(--brass); }
.patch-title { font-size: clamp(2.6rem, 8vw, 6.4rem); line-height: .92; letter-spacing: -0.05em; margin: 14px 0 18px; }
.patch-title span { color: var(--red); }
.patch-sub { font-size: 1.15rem; max-width: 560px; margin: 0 auto 38px; color: var(--ink-2); }
.patch-jacks { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.pjack {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 16px 14px; min-width: 132px;
  background: var(--cream); border: var(--bd); border-radius: 24px; cursor: pointer; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s, background .2s;
}
.pjack:hover { transform: translateY(-3px); }
.pjack-lamp { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--ink); background: #8C7A6B; transition: background .2s, box-shadow .2s; }
.pjack-hole { width: 40px; height: 40px; border-radius: 50%; border: var(--bd); background: radial-gradient(circle, var(--ink) 0 36%, var(--brass-2) 38% 62%, var(--brass) 64%); }
.pjack-name { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 700; font-size: .95rem; }
.pjack-name .ic { width: 17px; height: 17px; }
.pjack.is-on { background: var(--green-soft); }
.pjack.is-on .pjack-lamp { background: #6BC46B; box-shadow: 0 0 0 5px rgba(78,154,78,.25); }
.patch-board.all-lit .pjack-lamp { background: #6BC46B; box-shadow: 0 0 0 5px rgba(78,154,78,.25); transition-delay: calc(var(--d, 0) * 90ms); }
.patch-pull { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 18px; }
.patch-cord { width: min(560px, 90%); height: 90px; overflow: visible; }
.patch-cord path { fill: none; stroke: var(--red); stroke-width: 8; stroke-linecap: round; }
.plug {
  position: relative; display: inline-flex; align-items: center; text-decoration: none; margin-top: -40px;
  transition: transform .2s cubic-bezier(.3,1.5,.5,1);
}
.plug-tip { width: 34px; height: 22px; background: linear-gradient(180deg, #F3D9A6, var(--brass-2)); border: var(--bd); border-right: 0; border-radius: 12px 0 0 12px; }
.plug-body {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 18px 34px 18px 28px; background: var(--red); color: #fff;
  border: var(--bd); border-radius: 26px; box-shadow: var(--sh-lg); text-align: left;
}
.plug-label { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.05; }
.plug-meta { font-family: var(--f-type); font-size: .85rem; opacity: .92; }
.plug-tail { width: 44px; height: 30px; background: var(--ink); border-radius: 0 14px 14px 0; border: var(--bd); border-left: 0; }
.plug:hover { transform: translateX(-10px); }
.plug.pulled { transform: translateX(-40px) scale(.97); }
.patch-alt { display: inline-flex; gap: 8px; align-items: center; font-family: var(--f-head); font-weight: 700; text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.patch-alt:hover { background: var(--cream); }

/* ==========================================================
   FOOTER
   ========================================================== */
.foot { padding: 90px 0 120px; }
.plaque {
  position: relative; text-align: center; border: var(--bd); border-radius: 36px; padding: 56px 34px 46px;
  background: linear-gradient(180deg, var(--cream), #FBEFD9); box-shadow: var(--sh-lg);
}
.plaque-logo { display: inline-block; margin-bottom: 30px; }
.plaque-logo img { height: 52px; width: auto; }
.plaque-links, .plaque-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; }
.plaque-links a, .plaque-legal a { font-family: var(--f-type); font-weight: 700; font-size: .95rem; text-decoration: none; padding: 6px 12px; border-radius: 10px; }
.plaque-links a:hover, .plaque-legal a:hover { background: var(--brass-4); }
.plaque-legal { margin-top: 18px; padding-top: 18px; border-top: 2.5px dashed rgba(129,86,42,.45); }
.plaque-legal a { color: var(--brass); font-size: .88rem; }
.foot-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 8px 0; }
.foot-bar p { margin: 0; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.foot-brand img { height: 30px; width: auto; }
@media (max-width: 640px) {
  .foot-bar { justify-content: center; text-align: center; flex-direction: column-reverse; }
  .plaque { padding: 50px 18px 36px; }
}

/* ==========================================================
   ROTARY DIAL
   ========================================================== */
.dial { position: fixed; right: 22px; bottom: 22px; z-index: 80; }
.dial-toggle {
  width: 78px; height: 78px; border-radius: 50%; border: var(--bd); cursor: pointer; padding: 0;
  background: radial-gradient(circle at 35% 30%, #FFF4DC, var(--brass-2) 70%, var(--brass) 100%); box-shadow: var(--sh);
  transition: transform .2s;
}
.dial-toggle:hover { transform: rotate(-20deg); }
.dial-mini { position: relative; display: block; width: 100%; height: 100%; }
.dial-mini i {
  position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 2px solid var(--ink);
  left: 50%; top: 50%; margin: -5.5px; transform: rotate(calc(var(--i) * 28deg - 60deg)) translate(26px);
}
.dial-mini b {
  position: absolute; inset: 22px; border-radius: 50%; background: var(--red); color: #fff; border: 2.5px solid var(--ink);
  display: grid; place-items: center; font-family: var(--f-type); font-weight: 700; font-size: .62rem; letter-spacing: .06em;
}
.dial-panel {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: end; padding: 22px;
  background: rgba(255, 236, 222, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.dial-panel[hidden] { display: none; }
.dial-face {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 260px); gap: 28px; align-items: center;
  background: var(--paper); border: var(--bd); border-radius: 40px; box-shadow: 10px 10px 0 var(--ink); padding: 30px;
  animation: dialIn .35s cubic-bezier(.2,1.3,.4,1) both; transform-origin: bottom right; max-height: calc(100vh - 44px); overflow: auto;
}
@keyframes dialIn { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.dial-ring {
  --size: 340px; position: relative; width: var(--size); height: var(--size); border-radius: 50%; border: var(--bd); flex: none;
  background: radial-gradient(circle at 35% 30%, #FFF4DC, var(--brass-3) 45%, var(--brass-2) 80%, var(--brass) 100%);
  box-shadow: inset 0 -8px 0 rgba(129,86,42,.35), 4px 4px 0 var(--ink);
}
.dial-rotor { position: absolute; inset: 0; border-radius: 50%; transition: transform .25s cubic-bezier(.4,0,.6,1); }
.dial-rotor.spring { transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.dial-hole {
  --r: calc(var(--size) * .37); --hole: calc(var(--size) * .16);
  position: absolute; left: 50%; top: 50%; width: var(--hole); height: var(--hole); margin: calc(var(--hole) / -2);
  border-radius: 50%; background: var(--cream); border: var(--bd); text-decoration: none; display: grid; place-items: center;
  transform: rotate(calc(-40deg - var(--i) * 29deg)) translate(var(--r)) rotate(calc(40deg + var(--i) * 29deg));
  box-shadow: inset 0 4px 0 rgba(41,19,9,.15); transition: background .15s;
}
.dial-hole:hover, .dial-hole:focus-visible { background: var(--peach); }
.dial-hole.is-current { background: var(--red); color: #fff; }
.dh-n { font-family: var(--f-head); font-weight: 800; font-size: 1.4rem; }
.dial-stop { position: absolute; width: 50px; height: 15px; background: var(--ink); border-radius: 8px; right: -4%; top: 58%; transform: rotate(20deg); z-index: 2; }
.dial-center {
  position: absolute; inset: 31%; border-radius: 50%; background: var(--cream); border: var(--bd); display: grid; place-content: center; justify-items: center; text-align: center;
  gap: 2px;
}
.dial-center img { width: 30px; height: 30px; }
.dial-center strong { font-family: var(--f-type); font-size: 1.4rem; line-height: 1; }
.dial-center small { font-family: var(--f-type); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brass); }
.dial-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dial-legend a { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; text-decoration: none; padding: 7px 10px; border-radius: 14px; align-items: center; }
.dial-legend a:hover, .dial-legend a[aria-current] { background: var(--cream); }
.dial-legend span { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--ink); display: grid; place-items: center; font-family: var(--f-type); font-weight: 700; font-size: .9rem; background: var(--brass-4); }
.dial-legend a[aria-current] span { background: var(--red); color: #fff; }
.dial-legend strong { font-family: var(--f-head); font-size: .98rem; line-height: 1.15; }
.dial-legend small { font-family: var(--f-type); font-size: .76rem; color: var(--ink-soft); line-height: 1.2; }
.dial-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--butter); cursor: pointer; display: grid; place-items: center; }
.dial-close .ic { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .dial { right: 14px; bottom: 14px; }
  .dial-toggle { width: 66px; height: 66px; }
  .dial-mini i { transform: rotate(calc(var(--i) * 28deg - 60deg)) translate(21px); width: 9px; height: 9px; margin: -4.5px; }
  .dial-mini b { inset: 19px; font-size: .55rem; }
  .dial-panel { padding: 0; place-items: stretch; }
  .dial-face { grid-template-columns: 1fr; justify-items: center; border-radius: 0; border: 0; box-shadow: none; max-height: 100vh; height: 100%; padding: 64px 18px 24px; align-content: start; }
  .dial-ring { --size: min(84vw, 330px); }
  .dial-legend { grid-template-columns: 1fr 1fr; width: 100%; max-width: 420px; }
}

/* ==========================================================
   INNER PAGES
   ========================================================== */
.ihero { padding: 80px 0 10px; }
.ihero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; align-items: center; }
.ihero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: .98; letter-spacing: -0.04em; }
.ihero h1 em { font-style: normal; color: var(--red); }
.ihero .sec-lead { margin-bottom: 30px; }
.ihero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.ihero.center { text-align: center; }
.ihero.center .sec-lead { margin-inline: auto; }
.ihero.center .ihero-cta { justify-content: center; }
.ihero .line-tag { margin-bottom: 26px; }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feat-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat { background: var(--paper); border: var(--bd); border-radius: 28px; box-shadow: var(--sh); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.feat .fi { width: 52px; height: 52px; border-radius: 17px; border: var(--bd); display: grid; place-items: center; margin-bottom: 6px; }
.feat .fi .ic { width: 24px; height: 24px; }
.feat h3 { font-size: 1.32rem; margin: 0; }
.feat p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.feat:nth-child(4n+1) .fi { background: var(--peach); } .feat:nth-child(4n+2) .fi { background: var(--lav); }
.feat:nth-child(4n+3) .fi { background: var(--mint); } .feat:nth-child(4n+4) .fi { background: var(--butter); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 26px 22px; border: var(--bd); border-radius: 28px; background: var(--cream); box-shadow: var(--sh); counter-increment: s; }
.step::before { content: "Line " counter(s); display: inline-block; font-family: var(--f-type); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: var(--brass-3); padding: 3px 10px; border-radius: 99px; margin-bottom: 14px; }
.step h3 { font-size: 1.2rem; margin: 0 0 6px; }
.step p { margin: 0; font-size: .95rem; color: var(--ink-2); }

.ticket-stack { display: grid; gap: 16px; }
.ticket-stack .ticket:nth-child(2) { margin-left: 26px; }
.ticket-stack .ticket:nth-child(3) { margin-left: 52px; }

.script { display: grid; gap: 10px; }
.q-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; background: var(--cream); border: 2.5px solid var(--ink); border-radius: 16px; padding: 10px 14px; }
.q-row .qn { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid var(--ink); display: grid; place-items: center; font-family: var(--f-type); font-weight: 700; background: var(--brass-4); }
.q-row p { margin: 0; font-weight: 600; font-size: .95rem; }
.q-row small { font-family: var(--f-type); font-size: .76rem; color: var(--brass); font-weight: 700; text-transform: uppercase; }

.lang-row { display: flex; flex-wrap: wrap; gap: 10px; }

.pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.pipe-col { background: var(--cream); border: 2.5px solid var(--ink); border-radius: 20px; padding: 12px; min-width: 0; }
.pipe-col h4 { font-size: .95rem; margin: 0 0 10px; display: flex; justify-content: space-between; gap: 6px; }
.pipe-col h4 span { font-family: var(--f-type); font-size: .8rem; background: var(--ink); color: var(--cream); border-radius: 99px; padding: 0 8px; }
.pcard { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 12px; padding: 8px 10px; margin-bottom: 8px; font-size: .82rem; line-height: 1.35; }
.pcard strong { display: block; font-family: var(--f-head); font-size: .9rem; }
.pcard small { color: var(--ink-soft); }

.src-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.src { position: relative; background: var(--paper); border: var(--bd); border-radius: 28px; box-shadow: var(--sh); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.src-top { display: flex; align-items: center; justify-content: space-between; }
.src-top .lamp { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--ink); background: #6BC46B; box-shadow: 0 0 0 4px rgba(78,154,78,.2); }
.src h3 { font-size: 1.3rem; margin: 4px 0 0; }
.src p { margin: 0; font-size: .96rem; color: var(--ink-2); }
.src ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-family: var(--f-type); font-size: .86rem; }
.src ul li { display: flex; gap: 8px; align-items: center; }
.src ul .ic { width: 15px; height: 15px; color: var(--green); }

.code-card { background: var(--ink); color: var(--brass-3); border: var(--bd); border-radius: 24px; padding: 22px 24px; font-family: var(--f-type); font-size: .88rem; line-height: 1.6; overflow: auto; box-shadow: var(--sh-lg); white-space: pre; }
.code-card .k { color: #FFB49E; } .code-card .s { color: #BFE8B5; }

.faq { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.faq details { background: var(--paper); border: var(--bd); border-radius: 22px; box-shadow: var(--sh); padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-family: var(--f-head); font-weight: 700; font-size: 1.12rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--ink-2); }

/* pricing tariff */
.tariff { background: var(--paper); border: var(--bd); border-radius: 36px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.tariff-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 30px; background: linear-gradient(180deg, var(--brass-3), var(--brass-2)); border-bottom: var(--bd); }
.tariff-head h2 { font-size: 1.6rem; margin: 0; }
.bill-toggle { display: inline-flex; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--cream); padding: 4px; }
.bill-toggle button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-family: var(--f-head); font-weight: 700; cursor: pointer; font-size: .92rem; }
.bill-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.tariff-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan { padding: 34px 30px; display: flex; flex-direction: column; gap: 16px; border-right: var(--bd); position: relative; }
.plan:last-child { border-right: 0; }
.plan.hot { background: #FFF1E6; }
.plan-badge { position: absolute; top: 18px; right: 18px; }
.plan .ticket-label { color: var(--brass); }
.plan h3 { font-size: 2rem; margin: 0; }
.plan .tag { color: var(--ink-2); margin: 0; font-size: .98rem; min-height: 3.2em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price strong { font-family: var(--f-head); font-size: 3.2rem; line-height: 1; letter-spacing: -0.04em; }
.price span { color: var(--ink-soft); font-weight: 600; }
.rate { font-family: var(--f-type); font-weight: 700; background: var(--butter); border: 2.5px solid var(--ink); border-radius: 12px; padding: 8px 12px; font-size: .9rem; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.plan li .ic { width: 20px; height: 20px; color: var(--green); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.tariff-note { padding: 20px 30px; border-top: var(--bd); background: var(--cream); font-family: var(--f-type); font-size: .95rem; display: flex; gap: 10px; align-items: center; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.calc label { font-family: var(--f-head); font-weight: 700; display: block; margin-bottom: 10px; }
.calc input[type=range] { width: 100%; accent-color: var(--red); height: 28px; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: var(--bd); border-radius: 26px; overflow: hidden; box-shadow: var(--sh); }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 2.5px solid rgba(41,19,9,.14); font-size: .96rem; }
.compare thead th { background: var(--brass-4); font-family: var(--f-head); font-size: 1.05rem; border-bottom: var(--bd); }
.compare tr:last-child td { border-bottom: 0; }
.compare td .ic { width: 20px; height: 20px; color: var(--green); }
.compare td .ic.no { color: var(--ink-soft); opacity: .45; }
.table-scroll { overflow-x: auto; padding: 0 10px 12px 0; }
.table-scroll .compare { min-width: 680px; }

/* ==========================================================
   FORMS
   ========================================================== */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.fld label { display: block; font-family: var(--f-head); font-weight: 700; font-size: .98rem; margin-bottom: 7px; }
.fld label .req { color: var(--red); }
.fld input, .fld select, .fld textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: var(--bd); border-radius: 16px; padding: 13px 16px;
  box-shadow: inset 3px 3px 0 rgba(41,19,9,.06); transition: box-shadow .15s, background .15s;
}
.fld select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23291309' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.fld select option { background: #FFFDF8; color: var(--ink); }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; background: #FFFFFF; box-shadow: 4px 4px 0 var(--red); }
.fld .hint { display: block; font-size: .84rem; color: var(--ink-soft); margin-top: 6px; }
.captcha { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; background: var(--butter); border: var(--bd); border-radius: 18px; padding: 12px 16px; }
.captcha .cq { font-family: var(--f-type); font-weight: 700; font-size: 1.15rem; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 12px; padding: 6px 14px; letter-spacing: .06em; }
.captcha label { margin: 0; font-family: var(--f-head); font-weight: 700; }
.captcha input { width: 110px; padding: 10px 14px; border-radius: 12px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 14px; align-items: flex-start; border: var(--bd); border-radius: 22px; padding: 18px 20px; margin-bottom: 24px; box-shadow: var(--sh); }
.alert .ic { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.alert strong { display: block; font-family: var(--f-head); font-size: 1.1rem; }
.alert p { margin: 4px 0 0; }
.alert.ok { background: var(--green-soft); }
.alert.err { background: var(--red-soft); }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { margin: 0; }
.radio-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-row span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper); cursor: pointer; font-weight: 600; font-size: .94rem; font-family: var(--f-body); }
.radio-row input:checked + span { background: var(--ink); color: var(--cream); }
.radio-row input:focus-visible + span { outline: 3px solid var(--red-hot); outline-offset: 2px; }

/* signup - application card with perforated stub */
.signup-shell { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; border: var(--bd); border-radius: 40px; overflow: hidden; box-shadow: 10px 10px 0 var(--ink); background: var(--paper); }
.signup-stub { position: relative; background: linear-gradient(170deg, var(--peach) 0%, var(--lav) 100%); padding: 44px 40px; border-right: 3px dashed var(--ink); display: flex; flex-direction: column; gap: 22px; }
.signup-stub h1 { font-size: clamp(2.2rem, 4vw, 3.3rem); margin: 0; }
.signup-stub .meter { background: var(--paper); border: var(--bd); border-radius: 24px; padding: 20px; box-shadow: var(--sh); }
.meter-dial { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-type); }
.meter-dial strong { font-family: var(--f-head); font-size: 3.6rem; line-height: 1; letter-spacing: -0.04em; color: var(--red); }
.meter-bar { height: 16px; border: 2.5px solid var(--ink); border-radius: 99px; background: var(--cream); overflow: hidden; margin-top: 10px; }
.meter-bar i { display: block; height: 100%; width: 100%; background: repeating-linear-gradient(90deg, var(--green) 0 14px, #6BC46B 14px 28px); }
.signup-form { padding: 44px 40px; }
.signup-form h2 { font-size: 1.9rem; }
.progress-tabs { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.progress-tabs span { font-family: var(--f-type); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; border: 2.5px solid var(--ink); background: var(--cream); }
.progress-tabs span.on { background: var(--red); color: #fff; }
.done-card { text-align: center; padding: 60px 30px; }
.done-card .big-lamp { width: 110px; height: 110px; margin: 0 auto 26px; border-radius: 50%; border: var(--bd); background: radial-gradient(circle at 35% 30%, #D9F7D2, #5DB85D 65%); box-shadow: 0 0 0 16px rgba(78,154,78,.2), var(--sh); display: grid; place-items: center; color: var(--ink); }
.done-card .big-lamp .ic { width: 48px; height: 48px; }
.done-card h1, .done-card h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* contact - operator request ticket */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 34px; align-items: start; }
.op-ticket { position: relative; background: var(--paper); border: var(--bd); border-radius: 30px; box-shadow: 10px 10px 0 var(--ink); padding: 0; overflow: hidden; }
.op-ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 30px; background: var(--butter); border-bottom: 3px dashed var(--ink); font-family: var(--f-type); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; }
.op-ticket-body { padding: 32px 30px; background-image: repeating-linear-gradient(180deg, transparent 0 34px, rgba(129,86,42,.08) 34px 36px); }
.op-ticket .fld input, .op-ticket .fld select, .op-ticket .fld textarea { font-family: var(--f-type); }
.side-stack { display: grid; gap: 22px; }
.addr-card { background: linear-gradient(160deg, #F6DCA8, #E1B571); border: var(--bd); border-radius: 30px; padding: 30px; position: relative; box-shadow: var(--sh-lg); }
.addr-card .ticket-label { color: var(--ink-2); }
.addr-card h3 { font-size: 1.35rem; margin: 10px 0 8px; }
.addr-card address { font-style: normal; font-family: var(--f-type); font-size: 1.02rem; line-height: 1.6; }

/* legal */
.legal { max-width: 860px; margin: 0 auto; }
.legal-card { background: var(--paper); border: var(--bd); border-radius: 34px; box-shadow: var(--sh-lg); padding: clamp(26px, 5vw, 56px); }
.legal-card h2 { font-size: 1.55rem; margin: 36px 0 12px; display: flex; gap: 12px; align-items: center; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h2 span { font-family: var(--f-type); font-size: .9rem; background: var(--brass-4); border: 2.5px solid var(--ink); border-radius: 10px; padding: 2px 9px; }
.legal-card p, .legal-card li { color: var(--ink-2); }
.legal-card ul { padding-left: 1.2em; }
.legal-card li { margin-bottom: 6px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.legal-toc a { font-family: var(--f-type); font-weight: 700; font-size: .84rem; padding: 6px 12px; border: 2.5px solid var(--ink); border-radius: 99px; text-decoration: none; background: var(--cream); }
.legal-toc a:hover { background: var(--peach); }

/* ==========================================================
   RESPONSIVE (home + inner)
   ========================================================== */
@media (max-width: 1060px) {
  .feat-grid.four, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .speed, .split, .split.rev, .ihero-grid, .call-player, .calc, .signup-shell, .contact-wrap { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .cp-side { border-right: 0; border-bottom: var(--bd); }
  .ind-grid, .feat-grid, .src-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tariff-cols { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: var(--bd); }
  .plan:last-child { border-bottom: 0; }
  .plan .tag { min-height: 0; }
  .rules-list { grid-template-columns: 1fr; }
  .signup-stub { border-right: 0; border-bottom: 3px dashed var(--ink); }
  .sec { padding-top: 90px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .ind-grid, .feat-grid, .feat-grid.two, .feat-grid.four, .src-grid, .steps, .form-grid { grid-template-columns: 1fr; }
  .crm-grid { grid-template-columns: 1fr 1fr; }
  .field.wide, .field.span2 { grid-column: span 2; }
  .crm-head .stamp { margin-left: 0; }
  .pipe { grid-template-columns: 1fr 1fr; }
  .cal { grid-template-columns: 64px repeat(3, minmax(0, 1fr)); font-size: .8rem; }
  .cal > div { padding: 6px; }
  .cal .ch { flex-direction: column; align-items: flex-start; gap: 4px; font-size: .82rem; }
  .cal .ch small { display: none; }
  .mtg { padding: 4px 6px; font-size: .72rem; }
  .mtg strong { font-size: .76rem; }
  .card, .screen-body { padding: 20px; }
  .transcript, .cp-side { padding: 22px; }
  .tl { grid-template-columns: 1fr; gap: 6px; }
  .tl .who { justify-self: start; padding: 3px 10px; }
  .ticket-stack .ticket:nth-child(n) { margin-left: 0; }
  .signup-stub, .signup-form { padding: 30px 22px; }
  .op-ticket-body { padding: 24px 18px; }
  .op-ticket-head { padding: 16px 18px; }
  .plaque-rules { padding: 50px 20px 40px; }
  .rules-list li { grid-template-columns: 42px 1fr; gap: 12px; font-size: .96rem; }
  .rules-list li::before { width: 42px; height: 42px; font-size: .86rem; }
  .q-row { grid-template-columns: 32px 1fr; }
  .q-row small { grid-column: 2; }
  .plug-body { padding: 14px 20px; }
  .plug-tip { width: 22px; }
  .plug-tail { width: 26px; }
  .pjack { min-width: 0; flex: 1 1 40%; }
  .sec { padding-top: 76px; }
  .patch { padding-top: 90px; }
  .calc-out { grid-template-columns: 1fr; }
}

/* ==========================================================
   REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .blob, .float-chip { animation: none !important; }
  .dial-rotor { transition: none !important; }
}
