/* PolarBoard -  marketing site */

:root {
    --bg: #eef6fb;
    --sheet: #ffffff;
    --ink: #0f172a;
    --muted: #64748b;
    --faint: #94a3b8;
    --line: #dcebf5;
    --brand: #0ea5e9;
    --brand-dark: #0284c7;
    --brand-2: #38bdf8;
    --brand-soft: #e0f2fe;
    --logo-blue: #4cb3f9;
    --accent: #fbbf24;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

/* ---------- Buttons ---------- */

.mbtn {
    display: inline-block;
    border-radius: 26px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 15.5px;
    text-decoration: none;
    line-height: 1.4;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.mbtn--primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.35);
}

.mbtn--primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.4);
}

.mbtn--ghost { color: var(--ink); }

.mbtn--ghost:hover { color: var(--brand-dark); }

.mbtn--big { padding: 14px 30px; font-size: 17px; }

/* ---------- Nav ---------- */

.mnav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px clamp(18px, 5vw, 48px);
    background: rgba(238, 246, 251, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(220, 235, 245, 0.7);
}

.mnav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-size: 19px;
    letter-spacing: -0.02em;
}

.mnav__brand img { height: 34px; border-radius: 8px; }

.mnav__links {
    display: flex;
    gap: 22px;
    flex: 1;
    justify-content: center;
}

.mnav__links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 15px;
}

.mnav__links a:hover { color: var(--ink); }

.mnav__cta { display: flex; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: clamp(48px, 9vh, 96px) 20px 0;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(52vw 52vw at 18% -8%, rgba(125, 211, 252, 0.4), transparent 62%),
        radial-gradient(46vw 46vw at 86% 4%, rgba(186, 230, 253, 0.55), transparent 60%),
        var(--bg);
}

.hero__inner { max-width: 860px; margin: 0 auto; }

.hero__eyebrow {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 6px 18px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--brand-dark);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    margin-bottom: 26px;
}

.hero h1 {
    font-size: clamp(38px, 6.2vw, 72px);
    font-weight: 900;
    margin-bottom: 22px;
    text-wrap: balance;
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}

.hero__sub {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--muted);
    max-width: 660px;
    margin: 0 auto 32px;
}

.hero__ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: clamp(44px, 7vh, 72px);
}

.hero__shot { max-width: 1080px; margin: 0 auto; padding: 0 8px; }

.browser {
    background: #fff;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.6), 0 24px 80px rgba(2, 132, 199, 0.25);
    border: 1px solid var(--line);
    border-bottom: none;
    overflow: hidden;
}

.browser__bar {
    display: flex;
    gap: 7px;
    padding: 12px 16px;
    background: #f3f9fd;
    border-bottom: 1px solid var(--line);
}

.browser__bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #d7e7f2;
}

.browser__bar span:first-child { background: #fb7185; }
.browser__bar span:nth-child(2) { background: var(--accent); }
.browser__bar span:nth-child(3) { background: #34d399; }

/* ---------- Belt ---------- */

.belt {
    background: var(--ink);
    color: #cbe7fa;
    text-align: center;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 14.5px;
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 11vh, 120px) clamp(18px, 5vw, 48px); max-width: 1180px; margin: 0 auto; }

.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 6vh, 60px); }

.section__head h2, .spotlight h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; margin-bottom: 14px; }

.section__head p { color: var(--muted); font-size: 17.5px; }

/* ---------- Feature grid ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px 26px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.12);
}

.feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 24px;
    background: var(--brand-soft);
    border-radius: 12px;
    margin-bottom: 14px;
}

.feature h3 { font-size: 19px; margin-bottom: 6px; }

.feature p { color: var(--muted); font-size: 15.5px; }

/* ---------- Spotlights ---------- */

.section--spotlight { max-width: 1180px; }

.section--alt { position: relative; }

.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}

.spotlight--flip .spotlight__copy { order: 2; }
.spotlight--flip .spotlight__visual { order: 1; }

.kicker {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: 12px;
}

.spotlight__lead { color: var(--muted); font-size: 17.5px; margin: 16px 0; }

.spotlight__aside {
    color: var(--faint);
    font-size: 15px;
    border-left: 3px solid var(--brand-2);
    padding-left: 14px;
    margin-top: 20px;
}

.steps { list-style: none; counter-reset: step; margin-top: 22px; }

.steps li {
    counter-increment: step;
    position: relative;
    padding: 0 0 18px 52px;
    color: var(--muted);
    font-size: 16px;
}

.steps li strong { color: var(--ink); display: block; margin-bottom: 2px; }

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}

/* ---------- Meeting notes mock ---------- */

.notes-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(2, 132, 199, 0.18);
    overflow: hidden;
    transform: rotate(1.2deg);
}

.notes-card__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 22px;
    background: #f3f9fd;
    border-bottom: 1px solid var(--line);
}

.notes-card__title { font-weight: 800; font-size: 17px; }

.live-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 12px;
    padding: 3px 12px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.notes-card__body { padding: 20px 22px 26px; }

.notes-card__body h4 {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--faint);
    margin: 16px 0 6px;
}

.notes-card__body h4:first-child { margin-top: 0; }

.notes-card__body p, .notes-card__body li { font-size: 15px; color: var(--ink); }

.notes-card__body ul { margin-left: 20px; }

.notes-card__body li { margin: 3px 0; }

.cursor {
    display: inline-block;
    width: 2px;
    height: 15px;
    background: var(--brand);
    margin-left: 3px;
    vertical-align: -2px;
    animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* ---------- Kanban mock ---------- */

.kanban-mock {
    display: flex;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 20px 60px rgba(2, 132, 199, 0.18);
    transform: rotate(-1.2deg);
}

.kcol {
    flex: 1;
    background: #e9f2f9;
    border-radius: 10px;
    padding: 10px;
    min-width: 0;
}

.kcol__name {
    font-weight: 800;
    font-size: 13px;
    padding: 2px 4px 8px;
    display: flex;
    justify-content: space-between;
}

.kcol__name span { color: var(--faint); font-weight: 700; }

.kcard {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 9px 10px 9px;
    margin-bottom: 8px;
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07);
}

.kcard--drag {
    transform: rotate(4deg) translateY(-3px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.2);
    border-color: var(--brand-2);
}

.kavatar {
    position: absolute;
    right: 7px;
    bottom: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #8b5cf6;
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kavatar--b { background: #f97316; }

/* ---------- Trio ---------- */

.trio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.trio__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px 24px;
    text-align: center;
}

.trio__card span { font-size: 32px; display: block; margin-bottom: 10px; }

.trio__card h3 { font-size: 18px; margin-bottom: 6px; }

.trio__card p { color: var(--muted); font-size: 15px; }

/* ---------- Statement ---------- */

.statement {
    background: linear-gradient(160deg, #0f172a, #0c4a6e);
    color: #fff;
    text-align: center;
    padding: clamp(64px, 11vh, 110px) 20px;
}

.statement__inner { max-width: 660px; margin: 0 auto; }

.statement h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; margin-bottom: 16px; }

.statement p { color: #bae6fd; font-size: 18px; }

/* ---------- Final CTA ---------- */

.final-cta {
    text-align: center;
    padding: clamp(70px, 12vh, 130px) 20px;
    background:
        radial-gradient(40vw 40vw at 50% 0%, rgba(186, 230, 253, 0.5), transparent 65%),
        var(--bg);
}

.final-cta__bear {
    height: 96px;
    border-radius: 22px;
    margin: 0 auto 22px;
    box-shadow: 0 12px 32px rgba(76, 179, 249, 0.45);
    transform: rotate(-3deg);
}

.final-cta h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; margin-bottom: 12px; }

.final-cta p { color: var(--muted); font-size: 17.5px; margin-bottom: 28px; }

/* ---------- Footer ---------- */

.mfooter {
    border-top: 1px solid var(--line);
    padding: 28px clamp(18px, 5vw, 48px);
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--faint);
    font-size: 14px;
    background: #fff;
}

.mfooter__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--ink);
}

.mfooter__brand img { height: 24px; border-radius: 6px; }

.mfooter p { flex: 1; text-align: center; }

.mfooter__links { display: flex; gap: 16px; }

.mfooter__links a { color: var(--muted); font-weight: 600; text-decoration: none; }

.mfooter__links a:hover { color: var(--ink); }

/* ---------- Entrance animation ---------- */

.anim { opacity: 0; transform: translateY(14px); animation: rise 0.65s ease forwards; }

.anim--d1 { animation-delay: 0.08s; }
.anim--d2 { animation-delay: 0.16s; }
.anim--d3 { animation-delay: 0.24s; }
.anim--d4 { animation-delay: 0.36s; }

@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .anim { animation: none; opacity: 1; transform: none; }
    .live-dot, .cursor { animation: none; }
    html { scroll-behavior: auto; }
}

.spotlight__aside a { color: var(--brand-dark); font-weight: 700; }

/* ---------- Meetings page mocks ---------- */

.transcript-mock {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(2, 132, 199, 0.18);
    padding: 20px 24px 22px;
    transform: rotate(-1.2deg);
}

.transcript-mock .live-chip { margin-bottom: 12px; }

.tline { padding: 7px 0; }

.tline__head { font-size: 13px; color: var(--faint); }

.tline__head strong { color: var(--ink); font-size: 14px; margin-right: 7px; }

.tline__head time { font-variant-numeric: tabular-nums; font-size: 12px; }

.tline p { font-size: 14.5px; line-height: 1.45; }

.tline--partial p { font-style: italic; color: var(--muted); }

.qa-mock {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(2, 132, 199, 0.18);
    overflow: hidden;
    transform: rotate(1.2deg);
}

.qa-mock__item + .qa-mock__item { border-top: 1px solid var(--line); }

.qa-mock__q {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 14.5px;
}

.qa-mock__q span { color: var(--faint); font-size: 12.5px; font-weight: 400; white-space: nowrap; }

.qa-mock__item--open { background: #f3f9fd; }

.qa-mock__a { padding: 0 20px 16px; }

.qa-mock__a p { font-size: 14px; line-height: 1.55; }

.qa-mock__deep {
    display: inline-block;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 5px 14px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand-dark);
    background: #fff;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
    .mnav__links { display: none; }
    .mnav__cta .mbtn--ghost { display: none; }
    .mnav { gap: 12px; }
    .mnav__brand { flex: 1; }
    .spotlight { grid-template-columns: 1fr; }
    .spotlight--flip .spotlight__copy { order: 1; }
    .spotlight--flip .spotlight__visual { order: 2; }
    .notes-card, .kanban-mock, .transcript-mock, .qa-mock { transform: none; }
    .mfooter { justify-content: center; text-align: center; }
    .mfooter p { flex-basis: 100%; order: 3; }
}
