/* Sixty by DevMate — dark, instrument-like. DevMate red as the one accent, Lexend headings (DevMate's face), dot-matrix numerals for every time/number, hairline grid. */
:root {
  --bg: #0a0a0b;
  --bg-2: #121213;
  --panel: rgba(255, 255, 255, .025);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f2f2f2;
  --muted: #a3a3a3;
  --dim: #6e6e6e;
  --brand: #bd2120;
  --accent: #e5484d;
  --accent-2: #ff8a8c;
  --accent-soft: rgba(229, 72, 77, .14);
  --live: #3ee0a6;
  --hot: #ffb547;

  --f-display: "Lexend", "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-dot: "Doto", "Geist Mono", ui-monospace, monospace;

  --r: 16px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; text-wrap: balance; font-weight: 600; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dot { font-family: var(--f-dot); font-weight: 900; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.center { text-align: center; justify-content: center; }
.sel { user-select: all; color: var(--text); }

/* region switching */
html[data-region="uae"] .r-usa, html[data-region="usa"] .r-uae { display: none !important; }

/* background */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow {
  position: absolute; left: 50%; top: -30vh; width: 120vw; height: 90vh; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(229, 72, 77, .22), transparent 70%);
  filter: blur(20px);
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 10, 11, .62); border-bottom: 1px solid var(--line);
}
.nav-in { max-width: 1200px; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 24px; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.02em; font-size: 1.08rem; }
.mark { width: 26px; height: 26px; color: var(--accent); display: inline-grid; }
.mark svg { width: 100%; height: 100%; animation: spin 6s linear infinite; }
.by { display: inline-flex; align-items: center; gap: 6px; font: 500 .74rem var(--f-mono); color: var(--muted); text-decoration: none; padding-left: 14px; margin-left: -10px; border-left: 1px solid var(--line-2); white-space: nowrap; transition: color .2s; }
.by img { width: 16px; height: 16px; border-radius: 4px; }
.by:hover { color: var(--text); }
.by-foot { border: 0; padding: 0; margin: 16px 0 0; font-size: .82rem; }
.by-foot img { width: 18px; height: 18px; }
.links { display: flex; gap: 26px; margin-left: 12px; }
.links a { text-decoration: none; color: var(--muted); font-size: .92rem; transition: color .2s; }
.links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.region, .seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); }
.region button, .seg button {
  font: 500 .8rem var(--f-mono); color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 6px 12px; border-radius: 999px; transition: background .25s var(--ease), color .25s;
}
.region button[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.seg em { font-style: normal; font-size: .7rem; color: var(--live); margin-left: 4px; }
.seg button[aria-pressed="true"] em { color: #0a7a55; }

/* buttons */
.btn {
  --mx: 50%; --my: 50%;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .98rem;
  background: var(--accent); color: #fff; border: 1px solid transparent; overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 10px 30px -10px rgba(229, 72, 77, .7);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px circle at var(--mx) var(--my), rgba(255, 255, 255, .35), transparent 60%);
  opacity: 0; transition: opacity .25s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14) inset, 0 16px 40px -12px rgba(229, 72, 77, .9); }
.btn:hover::before { opacity: 1; }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.full { width: 100%; }

/* layout */
.sec { padding-block: clamp(64px, 8vw, 112px); }
.hero + .sec { padding-top: clamp(24px, 4vw, 48px); }
.sec-in, .hero-in { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.narrow { max-width: 820px; }
.eyebrow { font: 500 .76rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.center .eyebrow, .eyebrow.center { justify-content: center; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; max-width: 22ch; }
.center h2 { margin-inline: auto; }
.dim { color: var(--dim); }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin-top: 18px; }
.center .sub { margin-inline: auto; }
.source { color: var(--dim); font-size: .8rem; margin-top: 18px; }

/* hero */
.hero { padding-block: clamp(56px, 9vw, 110px) clamp(64px, 9vw, 120px); }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; font: 500 .8rem var(--f-mono); color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px 6px 10px; background: var(--panel); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(62, 224, 166, .6); animation: ping 2s infinite; display: inline-block; flex: none; }
h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); line-height: .98; letter-spacing: -.045em; font-weight: 600; margin-top: 26px; }
h1 .q { display: inline; background: linear-gradient(100deg, var(--text) 10%, var(--accent-2) 45%, var(--text) 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s var(--ease) infinite; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 54ch; margin-top: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--muted); font-size: .88rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23ff8a8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }

/* hero demo */
.hero-demo { position: relative; min-width: 0; width: min(400px, 100%); justify-self: center; }
.dial { position: absolute; right: -28px; top: -78px; width: 156px; height: 156px; z-index: 2; display: grid; place-items: center; }
.dial svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.dial-track { fill: rgba(10, 10, 11, .85); stroke: var(--line-2); stroke-width: 1; }
.dial-ticks { fill: none; stroke: var(--line-2); stroke-width: 6; stroke-dasharray: .6 8.2; }
.dial-prog { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 60; filter: drop-shadow(0 0 6px rgba(229, 72, 77, .8)); }
.dial-read { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.dial-num { font-family: var(--f-dot); font-weight: 900; font-size: 3.1rem; color: var(--text); text-shadow: 0 0 18px rgba(255, 138, 140, .45); font-variant-numeric: tabular-nums; }
.dial-unit { font: 500 .7rem var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.radar { position: absolute; inset: 12px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 300deg, rgba(229, 72, 77, .22) 360deg); animation: spin 4s linear infinite; z-index: -1; mask: radial-gradient(circle, transparent 55%, #000 56%); -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%); }

.phone {
  width: min(400px, 100%); margin-top: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-2); border-radius: 28px; padding: 16px;
  box-shadow: 0 40px 120px -40px rgba(229, 72, 77, .45), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  backdrop-filter: blur(10px);
}
.phone-head { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); }
.phone-head b { display: block; font-weight: 600; font-size: .95rem; }
.phone-head small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .76rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); font-weight: 600; }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 4px 4px; min-height: 430px; }
.m { max-width: 84%; padding: 9px 13px; border-radius: 16px; font-size: .9rem; line-height: 1.45; }
.m.in { align-self: flex-start; background: rgba(255, 255, 255, .06); border-bottom-left-radius: 4px; }
.m.out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.ev { align-self: center; font: 500 .74rem var(--f-mono); color: var(--accent-2); border: 1px dashed rgba(255, 138, 140, .35); border-radius: 999px; padding: 5px 12px; display: flex; gap: 8px; align-items: center; text-align: center; }
.ev span { color: var(--muted); }
.ev.hot { color: var(--hot); border-color: rgba(255, 181, 71, .4); }
.js .chat > li { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.js .chat > li.on { opacity: 1; transform: none; }
.typing { align-self: flex-end; display: flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--accent-soft); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }

/* pain */
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.pcard { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pbubble { max-width: 90%; padding: 10px 13px; border-radius: 14px; font-size: .9rem; position: relative; }
.pbubble time { display: block; font: 500 .68rem var(--f-mono); color: var(--dim); margin-top: 4px; }
.pbubble.in { align-self: flex-start; background: rgba(255, 255, 255, .06); border-bottom-left-radius: 4px; }
.pbubble.out { align-self: flex-end; background: rgba(229, 72, 77, .18); border-bottom-right-radius: 4px; }
.pbubble.out time { text-align: right; }
.pbubble.late { color: var(--hot); }
.pnote { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 16px; }
.stat { background: var(--bg-2); padding: 28px 24px; }
.stat b { display: block; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; color: var(--text); text-shadow: 0 0 22px rgba(255, 138, 140, .3); }
.stat p { color: var(--muted); font-size: .92rem; margin-top: 12px; max-width: 34ch; }

/* 60 seconds track */
.track { margin-top: 64px; position: relative; }
.track-line { position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.track-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent); transition: width .2s linear; }
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; padding-top: 44px; min-width: 0; }
.step::before { content: ""; position: absolute; top: 7px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: border-color .3s, box-shadow .3s, background .3s; }
.step.on::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft), 0 0 16px var(--accent); }
.step .t { font-size: 1.5rem; color: var(--dim); transition: color .3s; }
.step.on .t { color: var(--text); }
.step h3 { font-size: 1.02rem; margin-top: 10px; }
.step p { color: var(--muted); font-size: .88rem; margin-top: 8px; }

/* products */
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.prod { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); padding: 30px; min-width: 0; }
.prod-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { font: 500 .74rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-soft); border-radius: 999px; padding: 5px 12px; }
.tag-alt { color: var(--hot); background: rgba(255, 181, 71, .1); }
.price-hint { font-size: .85rem; color: var(--muted); }
.price-hint b { color: var(--text); font-weight: 600; }
.prod h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; margin: 22px 0 22px; }
.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); font-size: .94rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 4px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23ff8a8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat; }

/* glow cards follow the pointer */
.glow { position: relative; isolation: isolate; }
.glow::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, -20%), rgba(255, 138, 140, .55), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .3s;
}
.glow:hover::after { opacity: 1; }

/* portal mock */
.portal { margin-top: 48px; display: grid; grid-template-columns: 180px minmax(0, 1fr); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; background: var(--bg-2); box-shadow: 0 50px 140px -60px rgba(229, 72, 77, .5); }
.p-side { border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.p-logo { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--accent); margin: 0 8px 14px; }
.p-nav { font-size: .85rem; color: var(--muted); padding: 7px 10px; border-radius: 8px; }
.p-nav.on { background: var(--accent-soft); color: var(--text); }
.p-main { padding: 20px; min-width: 0; }
.p-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.p-kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.p-kpis small { color: var(--muted); font-size: .74rem; display: block; }
.p-kpis b { font-size: 1.7rem; display: block; margin-top: 4px; }
.p-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.p-col { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.p-col h4 { font-size: .8rem; font-weight: 500; color: var(--muted); display: flex; justify-content: space-between; letter-spacing: 0; }
.p-col h4 i { font-style: normal; font-family: var(--f-mono); color: var(--dim); }
.p-card { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; font-size: .8rem; }
.p-card b { display: block; font-weight: 500; }
.p-card span { color: var(--muted); font-size: .74rem; }
.p-card.hot { border-color: rgba(255, 181, 71, .45); box-shadow: 0 0 0 3px rgba(255, 181, 71, .08); }
.p-card.won { border-color: rgba(62, 224, 166, .4); }

/* use cases */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.tabs button { font: 500 .9rem var(--f-body); color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: all .25s var(--ease); }
.tabs button:hover { color: var(--text); border-color: var(--line-2); }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.panels { margin-top: 22px; }
.panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; border: 1px solid var(--line); border-radius: 22px; padding: 34px; background: var(--panel); animation: fadeUp .45s var(--ease); }
.panel[hidden] { display: none; }
.panel > * { min-width: 0; }
.panel h3 { font-size: 1.6rem; }
.ppain { color: var(--hot); margin: 12px 0 22px; font-size: .98rem; }
.mini { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: 20px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }

/* setup */
.setup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 52px; counter-reset: s; }
.setup li { border-top: 1px solid var(--line-2); padding-top: 22px; min-width: 0; }
.setup .n { font-size: 2.4rem; color: var(--accent-2); line-height: 1; }
.setup h3 { font-size: 1.1rem; margin-top: 16px; }
.setup p { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.marquee { margin-top: 56px; overflow: hidden; border-block: 1px solid var(--line); padding-block: 20px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-size: 1.15rem; font-weight: 500; color: var(--muted); white-space: nowrap; letter-spacing: -.01em; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* comparison */
.cmp-wrap { margin-top: 48px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.cmp { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .94rem; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font: 500 .76rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cmp tbody th { font-weight: 500; color: var(--text); }
.cmp td { color: var(--muted); }
.cmp .us { background: var(--accent-soft); color: var(--text); }
.cmp thead .us { color: var(--accent-2); }

/* pricing */
.price-ctrl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.plan h3 { font-size: 1.2rem; }
.plan .for { color: var(--muted); font-size: .9rem; min-height: 2.9em; }
.amt { display: flex; align-items: baseline; gap: 4px; }
.amt b { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.amt span { color: var(--muted); }
.billed { color: var(--dim); font-size: .8rem; min-height: 1.2em; margin-top: -8px; }
.plan .ticks { flex: 1; }
.plan .ticks li { font-size: .88rem; }
.plan.best { border-color: rgba(229, 72, 77, .55); background: linear-gradient(180deg, rgba(229, 72, 77, .14), rgba(229, 72, 77, .02)); box-shadow: 0 30px 80px -40px rgba(229, 72, 77, .7); }
.badge { align-self: flex-start; font: 500 .7rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 999px; }
.badge.alt { background: rgba(255, 181, 71, .14); color: var(--hot); }
.price-notes { margin-top: 26px; display: grid; gap: 8px; color: var(--muted); font-size: .9rem; }
.price-notes b { color: var(--text); font-weight: 500; }
.price-notes s { color: var(--dim); }
.free { color: var(--live); }

/* offer */
.offer-sec { padding-block: 0; }
.offer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; border: 1px solid rgba(229, 72, 77, .4); border-radius: 28px; padding: clamp(28px, 5vw, 56px); background: radial-gradient(600px circle at 0% 0%, rgba(229, 72, 77, .22), transparent 60%), var(--bg-2); }
.offer > * { min-width: 0; }
.offer-list { display: grid; gap: 14px; }
.offer-list li { display: flex; align-items: baseline; gap: 14px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.offer-list .dot { font-size: 2.6rem; color: var(--text); min-width: 2.2ch; line-height: 1; }

/* faq */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 1.06rem; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--muted), var(--muted)) center/12px 1.5px no-repeat, linear-gradient(var(--muted), var(--muted)) center/1.5px 12px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; max-width: 70ch; }

/* final */
.final .sec-in { display: flex; flex-direction: column; align-items: center; }
.final-dial { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); margin-bottom: 30px; position: relative; box-shadow: 0 0 80px -10px rgba(229, 72, 77, .6); }
.final-dial::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: conic-gradient(var(--accent) var(--p, 0%), transparent 0); -webkit-mask: radial-gradient(circle, transparent 62px, #000 63px); mask: radial-gradient(circle, transparent 62px, #000 63px); }
.final-dial .dot { font-size: 3rem; }
.final h2 { max-width: 18ch; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); }
.foot-in { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); display: grid; grid-template-columns: 1fr auto; gap: 28px; }
.foot-in p.muted { margin-top: 10px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; color: var(--muted); font-size: .9rem; }
.foot nav a:hover { color: var(--text); }
.foot .small { grid-column: 1 / -1; color: var(--dim); }

/* reveal on scroll (content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(62, 224, 166, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(62, 224, 166, 0); } }
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* responsive */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .track-line { display: none; }
}
@media (max-width: 900px) {
  .links { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-demo { margin-top: 30px; }
  .hero-demo { justify-self: center; width: min(400px, 100%); }
  .dial { right: -12px; top: -40px; width: 130px; height: 130px; }
  .dial-num { font-size: 2.5rem; }
  .pain-grid, .stats, .prod-grid, .setup { grid-template-columns: 1fr; }
  .setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel, .offer { grid-template-columns: 1fr; }
  .portal { grid-template-columns: 1fr; }
  .p-side { display: none; }
  .p-kpis, .p-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-right .btn-sm { display: none; }
  .nav .by { display: none; }
  .plans, .setup, .steps { grid-template-columns: 1fr; }
  .phone { width: 100%; }
  .dial { right: -6px; top: -36px; width: 112px; height: 112px; }
  .dial-num { font-size: 2.1rem; }
  .dial-unit { font-size: .6rem; }
  .chat { min-height: 400px; }
  .panel { padding: 22px; }
  .cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .chat > li { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* brand word: SIXTY is the name, "by DevMate" sits beside it */
.brand .word { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 1rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); text-decoration: none; min-width: 0; transition: border-color .25s, transform .25s var(--ease); }
.ccard:hover { border-color: var(--accent); transform: translateY(-2px); }
.ccard small, .offices small { font: 500 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.ccard b { font-weight: 500; font-size: 1.05rem; overflow-wrap: anywhere; }
.ccard span { color: var(--muted); font-size: .88rem; }
.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.offices div { border-top: 1px solid var(--line-2); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.offices b { font-weight: 500; }

/* footer columns */
.foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.foot-cols { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr) minmax(0, 1.3fr) minmax(0, .9fr); gap: 24px; }
.foot-cols nav { display: flex; flex-direction: column; gap: 8px; }
.foot-cols h4 { font: 500 .72rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.foot-cols a, .foot-cols span { color: var(--muted); font-size: .88rem; text-decoration: none; overflow-wrap: anywhere; }
.foot-cols a:hover { color: var(--text); }
.foot .small a { color: var(--muted); }

@media (max-width: 900px) {
  .contact-grid, .offices { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* contact form */
.contact-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.contact-side .sub { margin-top: 0; }
.contact-side .offices { grid-template-columns: 1fr; margin-top: 4px; }
.cform { border: 1px solid var(--line-2); border-radius: 22px; background: var(--bg-2); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cform .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.cform label, .cform legend { font-size: .82rem; color: var(--muted); padding: 0; }
.cform label em, .cform legend em { font-style: normal; color: var(--dim); }
.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform select, .cform textarea {
  width: 100%; font: 400 .95rem var(--f-body); color: var(--text); background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.cform select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a3a3a3' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 11px; padding-right: 36px; }
.cform select option { background: var(--bg-2); color: var(--text); }
.cform textarea { resize: vertical; min-height: 84px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.cform .field.err input, .cform .field.err select { border-color: var(--hot); box-shadow: 0 0 0 4px rgba(255, 181, 71, .12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: .88rem; transition: all .2s var(--ease); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform button[disabled] { opacity: .7; cursor: progress; }
.fstatus { font-size: .92rem; min-height: 1.4em; }
.fstatus[data-kind="ok"] { color: var(--live); }
.fstatus[data-kind="error"] { color: var(--hot); }
.fnote { color: var(--dim); font-size: .78rem; margin-top: -8px; }

@media (max-width: 900px) {
  .contact-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .row2 { grid-template-columns: 1fr; }
}

section[id] { scroll-margin-top: 72px; }

/* ---- Floating voice orb: "Talk to Freya" ---- */
.vdemo {
  --lvl: 0;
  position: fixed; z-index: 60;
  right: max(20px, calc(env(safe-area-inset-right, 0px) + 16px));
  bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 16px));
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.orb {
  position: relative; width: 68px; height: 68px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: transparent; display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
}
.orb-core {
  position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .55), transparent 34%),
    radial-gradient(circle at 70% 78%, #7a1214, transparent 60%),
    conic-gradient(from 200deg, #ff8a8c, #e5484d, #bd2120, #ff6b6f, #ff8a8c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 12px 40px -6px rgba(229, 72, 77, .75), 0 0 calc(30px + var(--lvl) * 50px) rgba(229, 72, 77, calc(.35 + var(--lvl) * .5));
  scale: calc(1 + var(--lvl) * .18);
  transition: scale .08s linear, box-shadow .2s;
  animation: orbspin 9s linear infinite;
}
.orb-core > * { animation: orbspin 9s linear infinite reverse; }
.orb:hover .orb-core { box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 16px 50px -6px rgba(229, 72, 77, .95), 0 0 46px rgba(229, 72, 77, .55); }
.orb-mic { width: 26px; height: 26px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.orb-bars { display: none; gap: 3px; align-items: center; height: 26px; }
.orb-bars i { width: 3px; height: 30%; border-radius: 3px; background: #fff; }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(229, 72, 77, .6); animation: orbping 2.6s var(--ease) infinite; }
.orb-ring.r2 { animation-delay: 1.3s; }
.orb:focus-visible { outline: none; }
.orb:focus-visible .orb-core { outline: 2px solid var(--text); outline-offset: 4px; }

.orb-label {
  position: absolute; right: 80px; bottom: 19px; white-space: nowrap;
  font: 500 .86rem var(--f-body); color: var(--text); padding: 7px 14px; border-radius: 999px;
  background: rgba(18, 18, 19, .82); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateX(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none;
}
.orb-label em { font: 500 .66rem var(--f-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); margin-left: 6px; }
.orb-label.show { opacity: 1; transform: none; }
.vdemo.open .orb-label, .vdemo[data-phase="live"] .orb-label, .vdemo[data-phase="connecting"] .orb-label { opacity: 0; }

/* in a call: the mic becomes live bars and the orb breathes with Freya's voice */
.vdemo[data-phase="connecting"] .orb-ring { animation-duration: 1.1s; }
.vdemo[data-phase="live"] .orb-mic { display: none; }
.vdemo[data-phase="live"] .orb-bars { display: flex; }
.vdemo[data-phase="live"] .orb-bars i { height: calc(22% + var(--lvl) * 70%); transition: height .08s linear; }
.vdemo[data-phase="live"] .orb-bars i:nth-child(2) { height: calc(30% + var(--lvl) * 85%); }
.vdemo[data-phase="live"] .orb-bars i:nth-child(3) { height: calc(26% + var(--lvl) * 60%); }
.vdemo[data-phase="live"] .orb-ring { animation-duration: 1.6s; border-color: rgba(255, 138, 140, .7); }

/* panel */
.vpanel {
  width: min(340px, calc(100vw - 32px)); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 14px;
  background: rgba(18, 18, 19, .9); border: 1px solid var(--line-2); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(229, 72, 77, .45);
  transform-origin: bottom right; animation: panelin .35s var(--ease);
}
.vpanel[hidden] { display: none; }
.vp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.vp-kicker { display: flex; align-items: center; gap: 8px; font: 500 .7rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.vp-head h3 { font-size: 1.35rem; margin-top: 6px; }
.vp-x { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.vp-x svg { width: 14px; height: 14px; }
.vp-x:hover { color: var(--text); border-color: var(--text); }
.vp-sub { color: var(--muted); font-size: .9rem; }
.vp-form { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.vp-form label { font-size: .8rem; color: var(--muted); }
.vp-form input { width: 100%; font: 400 .95rem var(--f-body); color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 14px; margin-bottom: 4px; }
.vp-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.vp-form .btn[disabled] { opacity: .7; cursor: progress; }
.vp-live { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0 4px; }
.vp-live[hidden] { display: none; }
.vp-meter { display: flex; align-items: center; gap: 5px; height: 54px; }
.vp-meter i { width: 5px; border-radius: 5px; background: var(--accent); height: calc(10% + var(--lvl) * 90%); transition: height .08s linear; box-shadow: 0 0 12px rgba(229, 72, 77, .6); }
.vp-meter i:nth-child(1), .vp-meter i:nth-child(7) { height: calc(8% + var(--lvl) * 35%); }
.vp-meter i:nth-child(2), .vp-meter i:nth-child(6) { height: calc(12% + var(--lvl) * 60%); }
.vp-meter i:nth-child(4) { height: calc(16% + var(--lvl) * 100%); }
.vdemo[data-phase="connecting"] .vp-meter i { animation: blink 1s infinite; }
.vdemo[data-phase="connecting"] .vp-meter i:nth-child(odd) { animation-delay: .2s; }
.vp-state { color: var(--text); font-size: .95rem; font-weight: 500; }
.vp-timer { font-size: 1.6rem; color: var(--muted); }
.vp-end { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(229, 72, 77, .6); background: rgba(229, 72, 77, .14); color: var(--text); font: 500 .92rem var(--f-body); cursor: pointer; transition: background .2s; }
.vp-end:hover { background: var(--accent); }
.vp-err { font-size: .85rem; color: var(--hot); }
.vp-err:empty { display: none; }
.vp-note { font-size: .74rem; color: var(--dim); }

@keyframes orbping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes orbspin { to { transform: rotate(360deg); } }
@keyframes panelin { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .orb { width: 60px; height: 60px; }
  .orb-label { display: none; }
}
.vp-points { display: grid; gap: 6px; margin-top: 12px; }
.vp-points li { position: relative; padding-left: 22px; font-size: .84rem; color: var(--muted); }
.vp-points li::before { content: ""; position: absolute; left: 0; top: .35em; width: 12px; height: 12px; border-radius: 4px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23ff8a8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/9px no-repeat; }

/* ---- Live demo: WhatsApp phone + interactive CRM ---- */
.live-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 18px; margin-top: 44px; align-items: stretch; }

.wa { display: flex; flex-direction: column; height: 600px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: #0b141a; box-shadow: 0 40px 100px -40px rgba(229, 72, 77, .45); min-width: 0; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #1f2c34; }
.wa-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #fff; background: conic-gradient(from 200deg, #ff8a8c, #e5484d, #bd2120, #ff8a8c); }
.wa-who { flex: 1; min-width: 0; line-height: 1.25; }
.wa-who b { display: block; font-weight: 600; font-size: .95rem; color: #e9edef; }
.wa-who small { font-size: .76rem; color: #8696a0; }
.wa-badge { font: 500 .62rem var(--f-mono); letter-spacing: .1em; color: var(--accent-2); border: 1px solid rgba(255, 138, 140, .4); padding: 2px 7px; border-radius: 999px; }
.wa-log {
  flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 6px; overscroll-behavior: contain;
  background-color: #0b141a;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 18px 18px;
}
.wa-day { align-self: center; font-size: .7rem; color: #8696a0; background: #182229; padding: 4px 10px; border-radius: 8px; margin-bottom: 4px; }
.wam { position: relative; max-width: 82%; padding: 6px 9px 7px 10px; border-radius: 10px; font-size: .88rem; line-height: 1.4; color: #e9edef; white-space: pre-wrap; overflow-wrap: anywhere; animation: fadeUp .25s var(--ease); }
.wam time { float: right; margin: 8px 0 -5px 12px; font-size: .64rem; line-height: 1; color: rgba(233, 237, 239, .55); white-space: nowrap; }
.wam.in { align-self: flex-start; background: #202c33; border-top-left-radius: 2px; }
.wam.out { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
.wam .ticks { color: #53bdeb; }
.wam.typing { display: flex; gap: 4px; padding: 12px 14px; }
.wam.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: blink 1s infinite; }
.wam.typing i:nth-child(2) { animation-delay: .15s; } .wam.typing i:nth-child(3) { animation-delay: .3s; }
.wa-sys { align-self: center; text-align: center; max-width: 90%; font-size: .74rem; color: #ffd279; background: #182229; padding: 5px 10px; border-radius: 8px; }
.wa-chips { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px 0; background: #0b141a; scrollbar-width: none; }
.wa-chips[hidden] { display: none; }
.wa-chips button { flex: none; font: 400 .78rem var(--f-body); color: #e9edef; background: #1f2c34; border: 1px solid #2a3942; border-radius: 999px; padding: 6px 11px; cursor: pointer; }
.wa-chips button:hover { border-color: var(--accent); }
.wa-input { display: flex; gap: 8px; padding: 10px; background: #0b141a; }
.wa-input input { flex: 1; min-width: 0; font: 400 .9rem var(--f-body); color: #e9edef; background: #2a3942; border: 0; border-radius: 999px; padding: 11px 16px; }
.wa-input input:focus { outline: 2px solid rgba(229, 72, 77, .6); }
.wa-input button { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: var(--accent); cursor: pointer; }
.wa-input button svg { width: 20px; height: 20px; }
.wa-input.busy button { opacity: .6; }

.crm { display: grid; grid-template-columns: 170px minmax(0, 1fr); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; background: var(--bg-2); min-width: 0; height: 600px; transition: box-shadow .4s; }
.crm.celebrate { box-shadow: 0 0 0 2px var(--live), 0 0 80px -10px rgba(62, 224, 166, .5); }
.crm-side { border-right: 1px solid var(--line); padding: 18px 10px; display: flex; flex-direction: column; gap: 4px; }
.crm-side .p-logo { margin: 0 8px 14px; }
.crm-side button { position: relative; text-align: left; font: 400 .86rem var(--f-body); color: var(--muted); background: none; border: 0; padding: 8px 10px; border-radius: 8px; cursor: pointer; transition: background .2s, color .2s; }
.crm-side button:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.crm-side button[aria-selected="true"] { background: var(--accent-soft); color: var(--text); }
.crm-dot { position: absolute; right: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--accent); opacity: 0; }
.crm-dot.on { opacity: 1; animation: ping 2s infinite; }
.crm-main { padding: 18px; min-width: 0; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.crm-view { flex: 1; min-height: 0; overflow-y: auto; }
.crm-feed { display: flex; align-items: center; gap: 10px; font: 500 .78rem var(--f-mono); color: var(--accent-2); border: 1px dashed rgba(255, 138, 140, .35); border-radius: 10px; padding: 9px 12px; }
.crm-feed.pulse { animation: feedflash .9s var(--ease); }
@keyframes feedflash { 0% { background: rgba(229, 72, 77, .25); } 100% { background: transparent; } }

.crm .p-col { transition: border-color .2s, background .2s; min-height: 220px; }
.crm .p-col.over { border-color: var(--accent); background: var(--accent-soft); }
.crm .p-card { cursor: grab; transition: transform .2s var(--ease), border-color .2s; }
.crm .p-card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.crm .p-card.drag { opacity: .4; }
.crm .p-card.you { border-color: var(--accent); background: rgba(229, 72, 77, .12); box-shadow: 0 0 0 3px var(--accent-soft); animation: fadeUp .4s var(--ease); cursor: pointer; }
.crm .p-card.you.human { border-color: var(--hot); background: rgba(255, 181, 71, .1); box-shadow: 0 0 0 3px rgba(255, 181, 71, .12); }
.you-tag { display: inline-block; font: 500 .6rem var(--f-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 4px; padding: 1px 6px; border-radius: 999px; border: 1px solid rgba(255, 138, 140, .4); }
.human .you-tag { color: var(--hot); border-color: rgba(255, 181, 71, .5); }
b .you-tag, .tog b .you-tag { margin: 0 0 0 6px; vertical-align: 2px; }

.lead-view { display: flex; flex-direction: column; gap: 14px; }
.lead-top { display: flex; align-items: center; gap: 12px; }
.lead-top > div { flex: 1; min-width: 0; }
.lead-top b { display: block; font-size: 1.1rem; }
.lead-top small { color: var(--muted); font-size: .82rem; }
.lead-av { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--accent-soft); color: var(--accent-2); }
.lead-av.sm { width: 34px; height: 34px; font-size: .85rem; }
.stage-pill { font: 500 .7rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); white-space: nowrap; }
.s-Qualified, .c-warm { background: rgba(255, 181, 71, .12); color: var(--hot); }
.s-Booked, .s-Won, .c-ok { background: rgba(62, 224, 166, .12); color: var(--live); }
.c-cold { background: rgba(255, 255, 255, .06); color: var(--muted); }
.lead-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.lead-fields div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; min-width: 0; transition: border-color .4s, background .4s; }
.lead-fields div.on { border-color: rgba(229, 72, 77, .45); background: rgba(229, 72, 77, .06); }
.lead-fields dt { font-size: .68rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.lead-fields dd { margin: 2px 0 0; font-size: .84rem; color: var(--text); overflow-wrap: anywhere; }
.lead-fields div:not(.on) dd { color: var(--dim); }
.lead-log h4, .an-card h4 { font: 500 .72rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.lead-log ol { display: grid; gap: 6px; }
.lead-log li { display: flex; gap: 10px; font-size: .84rem; color: var(--muted); }
.lead-log time { font-family: var(--f-mono); font-size: .74rem; color: var(--dim); min-width: 62px; }

.inbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; height: 100%; }
.inbox-list { display: grid; gap: 6px; align-content: start; }
.inbox-list button, .calls-view li { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; cursor: pointer; }
.inbox-list button.on, .inbox-list button:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .05); }
.inbox-list button.you { border-color: rgba(229, 72, 77, .5); }
.ib-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ib-txt b { font-weight: 500; font-size: .88rem; }
.ib-txt small { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-list time { font-size: .7rem; color: var(--dim); }
.ib-thread { border: 1px solid var(--line); border-radius: 14px; background: #0b141a; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ib-thread .wam { padding-bottom: 7px; }
.ib-thread small { color: var(--dim); font-size: .74rem; align-self: center; }
.ib-thread.hint { background: var(--panel); color: var(--dim); font-size: .86rem; justify-content: center; text-align: center; }

.agent-view { display: grid; gap: 10px; }
.tog { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.tog input { position: absolute; opacity: 0; }
.sw { position: relative; width: 38px; height: 22px; flex: none; border-radius: 999px; background: rgba(255, 255, 255, .12); transition: background .2s; margin-top: 2px; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.tog input:checked + .sw { background: var(--accent); }
.tog input:checked + .sw::after { transform: translateX(16px); }
.tog input:focus-visible + .sw { outline: 2px solid var(--accent); outline-offset: 2px; }
.tog b { display: block; font-weight: 500; font-size: .9rem; }
.tog small { color: var(--muted); font-size: .8rem; }
.agent-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.agent-row b { font-weight: 500; font-size: .9rem; }
.kw { display: flex; flex-wrap: wrap; gap: 6px; }
.kw span { font: 500 .74rem var(--f-mono); padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); }

.calls-view { display: grid; gap: 12px; align-content: start; }
.calls-view ul { display: grid; gap: 6px; }
.calls-view li { cursor: default; }
.calls-view .btn { justify-self: start; }

.an-view { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.an-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.bar i { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: var(--w); min-width: 6px; transition: width .6s var(--ease); }
.bar i.slow { background: rgba(255, 255, 255, .14); }
.bar b { color: var(--text); font-size: .9rem; }
.an-view .source { grid-column: 1 / -1; margin: 0; }

@media (max-width: 1080px) {
  .live-grid { grid-template-columns: 1fr; }
  .wa { height: 560px; max-width: 440px; width: 100%; justify-self: center; }
}
@media (max-width: 900px) {
  .crm { grid-template-columns: 1fr; height: auto; }
  .crm-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; scrollbar-width: none; }
  .crm-side .p-logo { display: none; }
  .crm-side button { flex: none; }
  .crm-view { max-height: 520px; }
  .lead-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inbox, .an-view { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .crm .p-board { grid-template-columns: repeat(4, minmax(160px, 1fr)); overflow-x: auto; }
  .crm-main { padding: 12px; }
  .bar { grid-template-columns: 96px minmax(0, 1fr) auto; }
}
.vp-caption { min-height: 2.6em; max-width: 100%; text-align: center; font-size: .86rem; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-caption:empty { min-height: 0; }

/* ---- WhatsApp | Call channel toggle + voice call pane ---- */
.channel { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ch-toggle { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; }
.ch-toggle button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 12px; font: 500 .86rem var(--f-body); }
.ch-toggle button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.channel .wa, .callpane { height: 552px; }
.channel [hidden] { display: none !important; }

.callpane { --lvl: 0; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(420px circle at 50% 30%, rgba(229, 72, 77, .16), transparent 65%), #0b141a; box-shadow: 0 40px 100px -40px rgba(229, 72, 77, .45); min-width: 0; }
.cp-stage { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px 10px; }
.cp-orb { position: relative; width: 112px; height: 112px; border: 0; padding: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; margin-bottom: 10px; }
.cp-orb .orb-core { width: 100%; height: 100%; scale: calc(1 + var(--lvl) * .14); }
.cp-orb .orb-mic { width: 38px; height: 38px; }
.cp-orb .orb-bars { height: 40px; gap: 5px; }
.cp-orb .orb-bars i { width: 5px; }
.cp-orb:focus-visible .orb-core { outline: 2px solid var(--text); outline-offset: 5px; }
.callpane[data-phase="connecting"] .orb-ring { animation-duration: 1.1s; }
.callpane[data-phase="live"] .orb-mic { display: none; }
.callpane[data-phase="live"] .orb-bars { display: flex; }
.callpane[data-phase="live"] .orb-bars i { height: calc(22% + var(--lvl) * 70%); transition: height .08s linear; }
.callpane[data-phase="live"] .orb-bars i:nth-child(2) { height: calc(30% + var(--lvl) * 85%); }
.callpane[data-phase="live"] .orb-bars i:nth-child(3) { height: calc(26% + var(--lvl) * 60%); }
.cp-state { font-weight: 500; color: #e9edef; }
.cp-timer { font-size: 1.4rem; color: #8696a0; }
.callpane[data-phase="idle"] .cp-timer { visibility: hidden; }
.cp-log { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 14px; display: flex; flex-direction: column; gap: 6px; overscroll-behavior: contain; }
.cp-log li { max-width: 88%; font-size: .84rem; line-height: 1.4; padding: 6px 10px; border-radius: 10px; animation: fadeUp .25s var(--ease); }
.cp-log .cp-u { align-self: flex-end; background: #005c4b; color: #e9edef; }
.cp-log .cp-a { align-self: flex-start; background: #202c33; color: #e9edef; }
.cp-log .cp-hint { align-self: center; text-align: center; max-width: 100%; color: #8696a0; background: none; font-size: .82rem; }
.cp-actions { padding: 10px 14px 14px; display: grid; gap: 8px; }
.cp-actions .vp-end { justify-content: center; margin: 0; }
.cp-actions .vp-note { text-align: center; }

.live-stats { margin-top: 18px; }

@media (max-width: 1080px) {
  .channel { max-width: 440px; width: 100%; justify-self: center; }
  .channel .wa, .callpane { height: 540px; max-width: none; }
}

/* Inbox rows stay inside their column: a long last message is cut with "…" instead of widening the row */
.inbox > *, .inbox-list, .inbox-list li { min-width: 0; }
.inbox-list button { overflow: hidden; }

/* Customer portal login (registered users) */
.portal-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 500; transition: border-color .2s, background .2s; }
.portal-link:hover { border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 560px) {
  .portal-link { padding: 8px 10px; }
  .portal-link span { display: none; }
}

/* Footer links stay on one line */
.foot-cols a, .foot-cols span { white-space: nowrap; }
.foot-cols { grid-template-columns: repeat(4, max-content); justify-content: end; column-gap: clamp(28px, 5vw, 72px); }
@media (max-width: 900px) { .foot-cols { grid-template-columns: repeat(2, max-content); justify-content: start; } }
