/* Socivana — public homepage */
:root {
    color-scheme: light;
    --ink: #101a46;
    --ink-2: #3b4566;
    --muted: #66708e;
    --soft: #98a0b5;
    --line: #e8ecf5;
    --paper: #ffffff;
    --wash: #f6f8fd;
    --violet: #7048e8;
    --blue: #168ff4;
    --cyan: #17c4e8;
    --grad: linear-gradient(105deg, #7a3cf0 0%, #4f5ff2 55%, #1a9bf0 100%);
    --radius: 20px;
    --shadow-sm: 0 6px 18px rgba(25, 36, 84, .06);
    --shadow: 0 24px 60px rgba(25, 36, 84, .11);
    --head: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.6 "DM Sans", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: #e9e1ff; color: #30205f; }
:focus-visible { outline: 3px solid rgba(112, 72, 232, .35); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.i { width: 18px; height: 18px; flex-shrink: 0; }
.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 13px;
    font: 700 15px/1 "DM Sans", sans-serif;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn .i { width: 17px; height: 17px; transition: transform .18s ease; }
.btn:hover .i { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 15px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(92, 72, 236, .26); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(92, 72, 236, .33); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #d6cdfb; transform: translateY(-2px); }
.btn-white { background: #fff; color: #4b39cf; box-shadow: 0 12px 28px rgba(20, 16, 90, .22); }
.btn-white:hover { transform: translateY(-2px); }
.btn-outline-white { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* Header */
.hd {
    position: sticky;
    top: 0;
    z-index: 30;
    transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
    border-bottom: 1px solid transparent;
}
.hd.is-scrolled, .hd.menu-open { background: rgba(255, 255, 255, .88); border-color: rgba(232, 236, 245, .9); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
.hd-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { position: relative; width: 38px; height: 38px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.brand-mark img { position: absolute; width: 88px; max-width: none; left: -25px; top: -13px; }
.brand-word { font: 800 22px/1 var(--head); letter-spacing: -.04em; }
.hd-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hd-nav > a { white-space: nowrap; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 15px; font-weight: 600; transition: color .15s ease, background-color .15s ease; }
.hd-nav > a:hover { color: var(--violet); background: #f4f1ff; }
.hd-nav-mobile { display: none; }
.hd-actions { display: flex; align-items: center; gap: 18px; }
.hd-login { font-size: 15px; font-weight: 700; }
.hd-login:hover { color: var(--violet); }
.hd-burger { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }
.hd-burger .i { width: 21px; height: 21px; grid-area: 1 / 1; }
.hd-burger .i:last-child, .menu-open .hd-burger .i:first-child { display: none; }
.menu-open .hd-burger .i:last-child { display: block; }

/* Hero */
.hero { position: relative; margin-top: -77px; padding: 150px 0 96px; overflow: hidden; }
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 55% at 85% 20%, rgba(112, 72, 232, .13), transparent 70%),
        radial-gradient(45% 50% at 70% 85%, rgba(23, 196, 232, .12), transparent 70%),
        radial-gradient(40% 40% at 5% 10%, rgba(22, 143, 244, .07), transparent 70%),
        linear-gradient(#fbfbff, #fff);
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(16, 26, 70, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 26, 70, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000, transparent 75%);
    mask-image: radial-gradient(70% 60% at 50% 35%, #000, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 56px; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border: 1px solid #e5defe; border-radius: 99px; background: rgba(255, 255, 255, .8); color: #5b3fd6; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-sm); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(112, 72, 232, .12); }
h1 { margin: 22px 0 20px; font: 800 clamp(40px, 5.3vw, 66px)/1.04 var(--head); letter-spacing: -.045em; text-wrap: balance; }
.lead { max-width: 540px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.hero-checks li { display: inline-flex; align-items: center; gap: 7px; }
.hero-checks .i { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #e7f8f1; color: #0f9f74; stroke-width: 2.6; }

.hero-visual { position: relative; padding: 18px 24px 46px 0; }
.mock-window { border: 1px solid rgba(220, 226, 240, .95); border-radius: 18px; background: #fff; box-shadow: 0 40px 90px rgba(31, 41, 96, .17), 0 2px 6px rgba(31, 41, 96, .05); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid #f0f2f8; background: #fcfcfe; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e3e6ef; }
.mock-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 7px; background: #f2f4f9; color: var(--soft); font-size: 11px; font-weight: 500; transform: translateX(-20px); }
.mock-app { display: grid; grid-template-columns: 158px 1fr; min-height: 380px; }
.mock-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; border-right: 1px solid #f0f2f8; background: #fbfcff; }
.mock-brand { display: flex; align-items: center; gap: 7px; margin: 0 0 14px 6px; font: 800 12.5px var(--head); }
.mock-brand span { width: 18px; height: 18px; border-radius: 6px; background: var(--grad); }
.mock-link { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: #78819b; font-size: 11.5px; font-weight: 600; }
.mock-link .i { width: 14px; height: 14px; }
.mock-link.on { background: #f0ecff; color: #5a3fdb; }
.mock-link b { margin-left: auto; min-width: 16px; padding: 1px 5px; border-radius: 99px; background: #ef4444; color: #fff; font-size: 9px; text-align: center; }
.mock-main { padding: 20px 20px 18px; min-width: 0; }
.mock-hello { font: 800 18px var(--head); letter-spacing: -.02em; }
.mock-sub { margin-top: 2px; color: var(--soft); font-size: 11.5px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 18px; }
.mock-stats div { display: flex; flex-direction: column; padding: 11px 12px; border: 1px solid #eef0f6; border-radius: 12px; }
.mock-stats span { color: var(--soft); font-size: 10.5px; font-weight: 600; }
.mock-stats strong { margin: 5px 0 1px; font: 800 20px/1.1 var(--head); }
.mock-stats em { color: var(--soft); font-size: 10px; font-style: normal; }
.mock-stats em.up { color: #0f9f74; font-weight: 600; }
.mock-h { margin-bottom: 6px; color: var(--soft); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mock-todo { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid #eef0f6; border-radius: 12px; margin-top: 6px; }
.mock-todo strong { display: block; font-size: 12px; }
.mock-todo em { display: block; color: var(--soft); font-size: 10.5px; font-style: normal; }
.mock-todo .ti { width: 30px; height: 30px; border-radius: 9px; }
.mock-todo .ti .i { width: 15px; height: 15px; }

/* Coloured icon tiles */
.ti { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: #f0ecff; color: #6741e6; }
.ti .i { width: 22px; height: 22px; }
.ti.blue { background: #e8f4ff; color: #1680dc; }
.ti.cyan { background: #e4f9fd; color: #0c97b6; }
.ti.green { background: #e6f8f1; color: #0f9f74; }
.ti.orange { background: #fff3e2; color: #d97706; }
.ti.pink { background: #fdeef7; color: #d0418f; }

/* Floating cards around the hero mock */
.float { position: absolute; border: 1px solid #eceff7; border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 20px 44px rgba(31, 41, 96, .16); backdrop-filter: blur(8px); }
.float-score { right: 0; bottom: 0; width: 236px; padding: 14px 16px; animation: bob 6s ease-in-out infinite; }
.fs-head { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--soft); font-size: 11px; font-weight: 600; }
.fs-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; font-weight: 700; }
.fs-row strong { margin-left: auto; font: 800 20px/1 var(--head); font-variant-numeric: tabular-nums; }
.dot { width: 10px; height: 10px; border-radius: 4px; background: var(--c); }
.fs-bar { height: 5px; margin-top: 10px; border-radius: 9px; background: #eef0f6; overflow: hidden; }
.fs-bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width 1.1s linear; }
.live { display: inline-flex; align-items: center; gap: 6px; color: #e11d48; font-size: 11px; font-weight: 700; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-out infinite; }
.float-shift { left: -26px; top: 46%; display: flex; align-items: center; gap: 11px; padding: 12px 16px 12px 12px; animation: bob 7s ease-in-out -2s infinite; }
.float-shift .ti { width: 36px; height: 36px; border-radius: 11px; }
.float-shift .ti .i { width: 18px; height: 18px; stroke-width: 2.4; }
.float-shift strong { display: block; font-size: 13.5px; }
.float-shift em { display: block; color: var(--soft); font-size: 11.5px; font-style: normal; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, .45); } 100% { box-shadow: 0 0 0 7px rgba(225, 29, 72, 0); } }

/* Audiences marquee */
.aud { padding: 30px 0 34px; border-block: 1px solid var(--line); background: #fff; }
.aud-title { margin-bottom: 16px; color: var(--soft); font-size: 13.5px; font-weight: 600; text-align: center; }
.aud-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.aud-row { display: flex; gap: 12px; width: max-content; animation: marquee 42s linear infinite; }
.aud-track:hover .aud-row { animation-play-state: paused; }
.aud-chip { padding: 10px 18px; border: 1px solid var(--line); border-radius: 99px; background: var(--wash); color: var(--ink-2); font-size: 15px; font-weight: 600; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* Sections */
.sec { padding: 112px 0; }
.sec-tight { padding: 40px 0 112px; }
.sec-wash { background: var(--wash); }
.sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.sec-head > p:last-child { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.sec-head-left { margin: 0; text-align: left; }
.sec-head a { color: var(--violet); font-weight: 600; }
.kicker { margin-bottom: 14px; color: var(--violet); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h2 { font: 800 clamp(30px, 3.8vw, 46px)/1.12 var(--head); letter-spacing: -.035em; text-wrap: balance; }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.feat:hover { transform: translateY(-4px); border-color: #ddd5fd; box-shadow: var(--shadow); }
.feat h3 { margin: 20px 0 8px; font: 700 18px/1.3 var(--head); letter-spacing: -.02em; }
.feat p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* Showcase */
.tabs { display: flex; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 28px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font: 700 15px "DM Sans", sans-serif; white-space: nowrap; cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs .i { width: 17px; height: 17px; }
.panels { border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 460px; }
.panel[hidden] { display: none; }
.panel:not([hidden]) .panel-visual > * { animation: rise .45s ease both; }
.panel:not([hidden]) .panel-visual > *:nth-child(2) { animation-delay: .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.panel-text { display: flex; flex-direction: column; justify-content: center; padding: 52px 48px; }
.panel-text h3 { font: 800 28px/1.2 var(--head); letter-spacing: -.03em; }
.panel-text > p { margin: 14px 0 24px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 11px; color: var(--ink-2); font-size: 15px; font-weight: 500; line-height: 1.5; }
.ticks .i { width: 22px; height: 22px; padding: 4px; margin-top: 0; border-radius: 50%; background: #efeaff; color: var(--violet); stroke-width: 2.6; }
.panel-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 44px 40px;
    background:
        radial-gradient(60% 60% at 70% 30%, rgba(112, 72, 232, .12), transparent 70%),
        radial-gradient(50% 50% at 20% 90%, rgba(23, 196, 232, .12), transparent 70%),
        #f7f8fd;
}
.vcard { width: 100%; max-width: 440px; padding: 18px 20px; border: 1px solid #eceff7; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(31, 41, 96, .1); }
.vcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 13px; }
.vcard-head strong { font: 800 15px var(--head); }
.vcard-head > span:not(.live) { color: var(--soft); font-weight: 600; }

/* Bracket */
.br { display: grid; grid-template-columns: 1.1fr 1fr 44px; align-items: center; gap: 22px; }
.br-col { display: grid; gap: 12px; }
.br-col p { color: var(--soft); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.br-m { position: relative; display: grid; border: 1px solid #e8ebf4; border-radius: 11px; background: #fff; overflow: visible; }
.br-m span { display: flex; justify-content: space-between; padding: 7px 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
.br-m span + span { border-top: 1px solid #f0f2f7; }
.br-m span.w { color: var(--ink); font-weight: 800; }
.br-m b { font-variant-numeric: tabular-nums; }
.br-col:first-child .br-m::after { content: ""; position: absolute; right: -12px; top: 50%; width: 12px; border-top: 2px solid #dcd3fb; }
.br-final { position: relative; }
.br-final::before { content: ""; position: absolute; left: -11px; top: 40%; bottom: 10%; border-left: 2px solid #dcd3fb; display: none; }
.br-m.now { border-color: #c9bbfb; box-shadow: 0 0 0 4px #f1edff; }
.br-m.now span { color: var(--ink); font-weight: 700; }
.br-m em { display: flex; align-items: center; gap: 5px; padding: 6px 10px; border-top: 1px solid #f0f2f7; color: #e11d48; font-size: 11px; font-style: normal; font-weight: 700; }
.br-m em .i { width: 13px; height: 13px; }
.cup { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #fff6d8, #ffe9a8); font-size: 22px; box-shadow: 0 8px 18px rgba(217, 119, 6, .2); }
.standings { max-width: 340px; align-self: flex-end; }
.st { display: flex; align-items: center; gap: 10px; padding: 7px 2px; border-top: 1px solid #f1f3f8; font-size: 13.5px; font-weight: 600; }
.st b { width: 18px; color: var(--soft); font-size: 12px; }
.st i { width: 10px; height: 10px; border-radius: 4px; background: var(--c); }
.st span { margin-left: auto; font-weight: 800; }
.st.out { color: var(--soft); }

/* Room */
.room-floor { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; padding: 18px 8px 6px; border-radius: 14px; background: repeating-linear-gradient(45deg, #fafbfe 0 10px, #f6f7fc 10px 20px); }
.rt { position: relative; justify-self: center; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #fff; border: 2px solid #e4e7f1; font: 800 15px var(--head); color: var(--muted); }
.seat { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 2px 5px rgba(31, 41, 96, .18); transform: rotate(var(--a)) translateY(-60px); }
.lt { grid-column: 1 / -1; display: grid; justify-items: center; gap: 4px; padding-bottom: 8px; }
.lt > span { order: -1; margin-bottom: 4px; color: var(--soft); font-size: 11px; font-weight: 700; }
.lt-row { display: flex; gap: 12px; }
.lt-row i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 2px 5px rgba(31, 41, 96, .18); }
.lt-board { width: 210px; height: 30px; border-radius: 8px; background: #fff; border: 2px solid #e4e7f1; }
.tent { position: relative; max-width: 250px; align-self: flex-end; margin-top: -30px; padding: 24px 18px 18px; text-align: center; background: linear-gradient(160deg, #fff 0%, #fbf7ff 100%); transform: rotate(-3deg); }
.tent::before { content: ""; position: absolute; inset: 7px; border: 1px solid #e7defd; border-radius: 12px; pointer-events: none; }
.tent-top { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 99px; background: #f1ecff; color: var(--violet); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tent strong { display: block; font: 800 22px/1.2 var(--head); letter-spacing: -.02em; }
.tent em { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-style: normal; }

/* Shifts */
.sh { display: grid; grid-template-columns: 120px 1fr 40px; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid #f1f3f8; }
.sh strong { display: block; font-size: 14px; }
.sh em { display: block; color: var(--soft); font-size: 12px; font-style: normal; }
.sh-bar { height: 8px; border-radius: 9px; background: #eef0f6; overflow: hidden; }
.sh-bar i { display: block; height: 100%; border-radius: inherit; }
.sh-bar.green i { background: #10b981; }
.sh-bar.orange i { background: #f59e0b; }
.sh-bar.red i { background: #f43f5e; }
.sh-n { font-size: 13px; font-weight: 800; text-align: right; }
.sh-n.green { color: #0f9f74; }
.sh-n.orange { color: #d97706; }
.sh-n.red { color: #e11d48; }

/* Attendance */
.poll { display: flex; gap: 16px; }
.poll-date { display: grid; place-content: center; width: 58px; height: 64px; flex-shrink: 0; border-radius: 14px; background: var(--grad); color: #fff; text-align: center; }
.poll-date strong { font: 800 24px/1 var(--head); }
.poll-date span { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.poll-body { flex: 1; min-width: 0; }
.poll-body > strong { font: 800 17px var(--head); }
.poll-body > em { display: flex; align-items: center; gap: 5px; margin-top: 2px; color: var(--soft); font-size: 12.5px; font-style: normal; }
.poll-body > em .i { width: 14px; height: 14px; }
.poll-bar { display: flex; height: 9px; margin: 14px 0 8px; border-radius: 9px; background: #eef0f6; overflow: hidden; }
.poll-bar .p { background: #10b981; }
.poll-bar .a { background: #f59e0b; }
.poll-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--soft); font-size: 12px; font-weight: 600; }
.poll-legend .p { color: #0f9f74; }
.poll-legend .a { color: #d97706; }
.poll-btns { display: flex; gap: 8px; margin-top: 14px; }
.poll-btns span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.poll-btns .yes { border-color: #10b981; background: #e9f9f2; color: #0b7f5d; }
.poll-btns .i { width: 15px; height: 15px; stroke-width: 2.6; }
.excuse { display: flex; align-items: center; gap: 12px; max-width: 360px; align-self: flex-end; }
.excuse .ti { width: 38px; height: 38px; border-radius: 12px; }
.excuse .ti .i { width: 19px; height: 19px; }
.excuse strong { display: block; font-size: 14px; }
.excuse em { display: block; color: var(--muted); font-size: 12.5px; }
.excuse .ok { display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border-radius: 50%; background: #10b981; color: #fff; }
.excuse .ok .i { width: 16px; height: 16px; stroke-width: 2.8; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.step { position: relative; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -21px; width: 22px; border-top: 2px dashed #d8d0fb; }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; font: 800 19px var(--head); box-shadow: 0 10px 22px rgba(92, 72, 236, .25); }
.step h3 { margin: 22px 0 8px; font: 700 19px/1.3 var(--head); letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* Roles + phone */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { padding: 44px 40px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, #fff, #fbfbff); overflow: hidden; }
.duo-card h2 { font-size: clamp(26px, 2.8vw, 34px); }
.duo-card > p, .duo-phone > div > p { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.roles { display: grid; gap: 8px; margin-top: 28px; }
.role { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #eef0f6; border-radius: 13px; background: #fff; }
.role-name { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.role-name i { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--violet); }
.role-name i.green { background: #10b981; }
.role-name i.pink { background: #ec4899; }
.role-name i.blue { background: var(--blue); }
.sw { position: relative; justify-self: center; width: 32px; height: 19px; border-radius: 99px; background: #e5e8f1; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); transition: transform .2s ease; }
.sw.on { background: var(--violet); }
.sw.on::after { transform: translateX(13px); }
.role-legend { padding-block: 2px; border: 0; background: none; }
.role-legend span { color: var(--soft); font-size: 11.5px; font-weight: 700; text-align: center; }
.duo-phone { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
.duo-phone .ticks { margin-top: 22px; }
.phone { position: relative; width: 196px; height: 380px; padding: 10px; border-radius: 36px; background: #141a36; box-shadow: 0 30px 60px rgba(20, 26, 54, .28), inset 0 0 0 2px #2a3157; transform: rotate(3deg); margin-right: -6px; }
.phone-notch { position: absolute; left: 50%; top: 16px; z-index: 1; width: 64px; height: 18px; margin-left: -32px; border-radius: 99px; background: #141a36; }
.phone-screen { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 48px 16px 18px; border-radius: 28px; background: linear-gradient(180deg, #f7f5ff, #fff 40%); text-align: center; }
.ph-title { color: var(--soft); font-size: 11px; font-weight: 700; }
.ph-team { display: flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 13.5px; font-weight: 800; }
.ph-team span { width: 10px; height: 10px; border-radius: 4px; background: var(--c); }
.ph-score { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.ph-score b { display: grid; place-items: center; width: 52px; height: 58px; border: 1px solid #e6e1fb; border-radius: 14px; background: #fff; font: 800 30px var(--head); box-shadow: var(--shadow-sm); }
.ph-score i { color: var(--soft); font-weight: 800; font-style: normal; }
.ph-timer { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; padding: 4px 10px; border-radius: 99px; background: #fff0f3; color: #e11d48; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ph-timer .i { width: 13px; height: 13px; }
.ph-btn { margin-top: auto; width: 100%; padding: 11px 0; border-radius: 12px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 800; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .2s ease, border-color .2s ease; }
.faq details[open] { border-color: #ddd5fd; box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; font: 700 16.5px/1.4 var(--head); letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 30px; height: 30px; padding: 7px; border-radius: 10px; background: var(--wash); color: var(--violet); transition: transform .2s ease, background-color .2s ease; }
.faq details[open] summary .i { transform: rotate(45deg); background: #efeaff; }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* Final CTA */
.sec-cta { padding: 0 0 112px; background: var(--wash); }
.cta { position: relative; padding: 72px 48px; border-radius: 32px; background: linear-gradient(115deg, #6a35ea 0%, #4c55ef 50%, #1491ec 100%); color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.cta-rings { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .18), transparent 32%),
    radial-gradient(circle at 92% 110%, rgba(23, 196, 232, .45), transparent 40%); }
.cta-rings::before, .cta-rings::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; }
.cta-rings::before { width: 520px; height: 520px; right: -160px; top: -300px; box-shadow: 0 0 0 50px rgba(255, 255, 255, .03), 0 0 0 100px rgba(255, 255, 255, .02); }
.cta-rings::after { width: 300px; height: 300px; left: -120px; bottom: -200px; }
.cta h2 { max-width: 760px; margin: 0 auto; font-size: clamp(30px, 3.8vw, 46px); }
.cta p { max-width: 560px; margin: 16px auto 0; color: rgba(255, 255, 255, .85); font-size: 17px; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Footer */
.ft { padding: 64px 0 28px; border-top: 1px solid var(--line); background: #fff; }
.ft-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.ft-brand p { max-width: 280px; margin-top: 14px; color: var(--muted); font-size: 15px; }
.ft-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ft-col p { margin-bottom: 4px; color: var(--soft); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ft-col a { color: var(--ink-2); font-weight: 500; overflow-wrap: anywhere; }
.ft-col a:hover { color: var(--violet); }
.ft-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--soft); font-size: 13.5px; }

/* Reveal on scroll (only when JS is on and motion is allowed) */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
    .hd-nav > a { padding: 8px 9px; font-size: 14.5px; }
    .hd-actions { gap: 14px; }
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
    .hero-text { max-width: 720px; text-align: center; margin-inline: auto; }
    .lead { margin-inline: auto; }
    .hero-cta, .hero-checks { justify-content: center; }
    .hero-visual { max-width: 720px; width: 100%; margin-inline: auto; }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .panel { grid-template-columns: 1fr; }
    .panel-text { padding: 40px 36px 32px; }
    .duo { grid-template-columns: 1fr; }
    .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 1000px) {
    .hd-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px 16px 18px;
        border-bottom: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 18px 30px rgba(25, 36, 84, .08);
    }
    .menu-open .hd-nav { display: flex; }
    .hd-nav > a { padding: 13px 12px; font-size: 16px; }
    .hd-nav-mobile { display: grid; gap: 10px; margin-top: 10px; }
    .hd-actions { margin-left: auto; }
    .hd-login { display: none; }
    .hd-burger { display: grid; }
    .steps { grid-template-columns: 1fr; gap: 14px; }
    .step { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 24px; }
    .step-n { grid-row: span 2; }
    .step h3 { margin: 2px 0 6px; }
    .step:not(:last-child)::after { top: auto; bottom: -15px; right: auto; left: 46px; width: 0; height: 16px; border-top: 0; border-left: 2px dashed #d8d0fb; }
}
@media (max-width: 640px) {
    .wrap { width: calc(100% - 32px); }
    .hd-in { min-height: 66px; gap: 12px; }
    .hd-actions .btn { display: none; }
    .brand-word { font-size: 20px; }
    .hero { margin-top: -67px; padding: 112px 0 64px; }
    h1 { font-size: clamp(36px, 10.5vw, 46px); }
    .lead { font-size: 16.5px; }
    .hero-cta .btn { flex: 1 1 100%; }
    .hero-checks { gap: 8px 16px; font-size: 13.5px; }
    .hero-visual { padding: 10px 0 70px; }
    .mock-app { grid-template-columns: 1fr; min-height: 0; }
    .mock-side { display: none; }
    .mock-main { padding: 16px 14px; }
    .mock-stats { gap: 6px; }
    .mock-stats div { padding: 9px 8px; }
    .mock-stats strong { font-size: 17px; }
    .float-score { width: 210px; right: -4px; }
    .float-shift { display: none; }
    .float-score { bottom: 0; }
    .aud-chip { font-size: 14px; padding: 9px 15px; }
    .sec { padding: 80px 0; }
    .sec-tight { padding: 20px 0 80px; }
    .sec-head { margin-bottom: 40px; }
    .sec-head > p:last-child { font-size: 16px; }
    .feat-grid { grid-template-columns: 1fr; gap: 12px; }
    .feat { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
    .feat .ti { grid-row: span 2; width: 44px; height: 44px; }
    .feat h3 { margin: 0 0 4px; font-size: 17px; }
    .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-bottom: 18px; }
    .tabs button { justify-content: center; }
    .tabs button { padding: 10px 14px; font-size: 14px; }
    .panels { border-radius: 22px; }
    .panel-text { padding: 28px 22px 26px; }
    .panel-text h3 { font-size: 23px; }
    .panel-visual { padding: 26px 16px; }
    .vcard { padding: 16px; }
    .br { grid-template-columns: 1fr 1fr; gap: 16px; }
    .br-cup { display: none; }
    .rt { width: 76px; height: 76px; }
    .seat { width: 15px; height: 15px; margin: -7.5px; transform: rotate(var(--a)) translateY(-50px); }
    .lt-board { width: 170px; }
    .lt-row { gap: 9px; }
    .sh { grid-template-columns: 96px 1fr 34px; gap: 10px; }
    .poll { flex-direction: column; gap: 12px; }
    .duo-card { padding: 30px 22px; border-radius: 22px; }
    .duo-phone { grid-template-columns: 1fr; justify-items: center; }
    .duo-phone > div { justify-self: stretch; }
    .role { grid-template-columns: minmax(0, 1fr) repeat(4, 34px); padding: 9px 10px; gap: 4px; }
    .role-name { font-size: 13px; }
    .sw { width: 28px; height: 17px; }
    .sw::after { width: 11px; height: 11px; }
    .sw.on::after { transform: translateX(11px); }
    .role-legend span { font-size: 10px; }
    .faq summary { padding: 17px 18px; font-size: 15.5px; }
    .faq details p { padding: 0 18px 18px; font-size: 15px; }
    .sec-cta { padding-bottom: 80px; }
    .cta { padding: 52px 22px; border-radius: 24px; }
    .cta-btns .btn { flex: 1 1 100%; }
    .ft { padding-top: 48px; }
    .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .ft-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
