/* Cantik Prime — marketing site
   Warm editorial system: cream ground, ink text, ultramarine accent. */

:root {
  --ground: #FFFBF2;
  --ground-2: #F6F1E6;
  --surface: #FFFFFF;
  --ink: #16181D;
  --ink-2: #4A4F58;
  --ink-3: #7B818C;
  --line: #E7E0D2;
  --line-strong: #CFC6B3;
  --accent: #1F3BD6;
  --accent-ink: #14289A;
  --accent-soft: #E8ECFB;
  --accent-line: #B9C3F2;
  --ok: #0C7F58;
  --ok-soft: #E1F2EB;
  --warn: #B7791F;
  --warn-soft: #FBF0D9;
  --bad: #C13A22;
  --bad-soft: #FBE9E5;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(22, 24, 29, .04), 0 12px 40px -12px rgba(22, 24, 29, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.h-display { font-family: var(--display); font-size: clamp(42px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -.01em; }
.h-section { font-family: var(--display); font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.01em; }
.h-card { font-family: var(--display); font-size: 28px; line-height: 1.15; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
em.tone { font-style: italic; color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-primary .arrow { transition: transform .15s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); }
.btn-text { padding-inline: 6px; color: var(--ink); }
.btn-text:hover { color: var(--accent); }
.btn-lg { padding: 16px 26px; font-size: 16px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; white-space: nowrap; }
.brand .logo-mark { height: 22px; width: auto; fill: var(--accent); flex: none; }
.brand .word { font-family: var(--body); font-weight: 700; font-size: 26px; letter-spacing: -.025em; line-height: 1; color: var(--accent); }
.brand .word .c { font-weight: 400; color: var(--ink); }
.nav-links { display: flex; gap: 20px; margin-left: 10px; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 16px; font-size: 14px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 6px 0; }
@media (max-width: 1300px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 4px; position: absolute; left: 0; right: 0; top: 68px; padding: 12px 20px 20px; background: var(--ground); border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav.open .nav-links a:not(.btn) { padding: 10px 0; }
  .nav.open .nav-links .mobile-cta .btn { padding: 12px 18px; }
  .nav.open .nav-links .mobile-cta { display: flex; gap: 10px; padding-top: 12px; }
}
.mobile-cta { display: none; }

/* ---------- hero ---------- */
.hero { padding: 88px 0 40px; text-align: center; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent-ink); border: 1px solid var(--accent-line);
  border-radius: 999px; padding: 6px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.hero h1 { margin: 22px auto 18px; max-width: 16ch; }
.hero .lede { margin: 0 auto 32px; }
.hero .cta { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero .fine { margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- product frame ---------- */
.frame {
  margin: 56px auto 0; max-width: 1040px;
  background: linear-gradient(160deg, #EEF0FA 0%, #F8EEE0 55%, #E9E4F5 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px;
  box-shadow: var(--shadow);
}
.frame-tabs { display: flex; gap: 6px; justify-content: center; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.frame-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .frame-tabs { justify-content: flex-start; padding-inline: 2px; } }
.frame-tabs button {
  border: 1px solid transparent; background: transparent; border-radius: 999px; padding: 7px 14px;
  font-size: 13px; color: var(--ink-2); cursor: pointer; white-space: nowrap; flex: none;
}
.frame-tabs button[aria-selected="true"] { background: var(--surface); border-color: var(--line); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.screen { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: left; }
.screen.active { display: block; }
.screen-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #FCFBF8; }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.screen-bar .url { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.screen-body { display: grid; grid-template-columns: 200px 1fr; min-height: 380px; }
.side { border-right: 1px solid var(--line); padding: 16px 12px; background: #FCFBF8; font-size: 13px; }
.side .org { font-weight: 600; padding: 4px 8px 12px; }
.side a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); }
.side a.on { background: var(--accent-soft); color: var(--accent-ink); }
.main { padding: 22px 26px; }
.main h4 { font-family: var(--body); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.main .sub { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.mock-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mock-table th { text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mock-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bar { height: 6px; border-radius: 3px; background: var(--ground-2); overflow: hidden; }
.bar b { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; background: var(--ground-2); color: var(--ink-2); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.bad { background: var(--bad-soft); color: var(--bad); }
.tag.acc { background: var(--accent-soft); color: var(--accent-ink); }
.jd-box { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 14px 16px; font-size: 13px; color: var(--ink-2); background: #FCFBF8; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; }
.chips span.must { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-ink); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.score-ring { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--accent) 0 78%, var(--ground-2) 78% 100%); }
.score-ring b { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--surface); font-family: var(--display); font-size: 28px; }
.transcript p { font-size: 13px; padding: 8px 10px; border-radius: 10px; margin-bottom: 6px; max-width: 90%; }
.transcript .ai { background: var(--ground-2); }
.transcript .cand { background: var(--accent-soft); color: var(--accent-ink); margin-left: auto; }
.transcript small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
@media (max-width: 760px) {
  .screen-body { grid-template-columns: 1fr; }
  .side { display: none; }
  .split { grid-template-columns: 1fr; }
  .mock-table .hide-sm { display: none; }
  .main { overflow-x: auto; }
  .mock-table { min-width: 480px; }
}

/* ---------- stats strip ---------- */
.stats { padding: 56px 0 24px; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stats .cell { padding: 26px 24px; border-right: 1px solid var(--line); }
.stats .cell:last-child { border-right: 0; }
.stats .num { font-family: var(--display); font-size: 40px; line-height: 1; }
.stats .lab { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 800px) {
  .stats .grid { grid-template-columns: 1fr 1fr; }
  .stats .cell:nth-child(2n) { border-right: 0; }
  .stats .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- statement ---------- */
.statement { padding: 96px 0 72px; text-align: center; }
.statement .node { width: 44px; height: 44px; margin: 0 auto 8px; border: 1px solid var(--line-strong); border-radius: 9px; display: grid; place-items: center; background: var(--surface); }
.statement .stem { width: 1px; height: 48px; margin: 0 auto 28px; background: linear-gradient(var(--line-strong), transparent); }
.statement h2 { max-width: 20ch; margin: 0 auto; }
.statement p { margin: 22px auto 0; max-width: 56ch; }

/* ---------- section scaffolding ---------- */
.section { padding: 72px 0; }
[id] { scroll-margin-top: 76px; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; max-width: 720px; }
.section-head.center { text-align: center; margin-inline: auto; align-items: center; }

/* ---------- three product pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.pillar .h-card { margin-top: 6px; }
.pillar p { color: var(--ink-2); font-size: 15px; }
.pillar .demo { margin-top: auto; background: var(--ground); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 12.5px; }
.pillar .demo .row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pillar .demo .row:last-child { border-bottom: 0; }
.stage-track { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.stage-track span { padding: 5px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-3); }
.stage-track span.done { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.stage-track span.now { background: var(--accent); color: #fff; border-color: transparent; }
.stage-track i { flex: 1; height: 1px; background: var(--line-strong); }
.wave { display: flex; align-items: flex-end; gap: 3px; height: 34px; }
.wave i { width: 4px; background: var(--accent); border-radius: 2px; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-delay: .2s; }
.wave i:nth-child(3n) { animation-delay: .4s; }
@keyframes wave { 0%,100% { height: 20%; } 50% { height: 100%; } }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--surface); padding: 28px 26px; }
.feature .icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.feature h3 { font-family: var(--body); font-weight: 600; font-size: 16.5px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- two-column feature bands ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px 0; }
.band.flip .band-visual { order: -1; }
.band h2 { margin: 14px 0 16px; }
.band .lede { font-size: 17px; }
.band ul.checks { margin-top: 22px; display: grid; gap: 12px; }
.band ul.checks li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); }
.band ul.checks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230C7F58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; margin-top: 2px; }
.band-visual { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; gap: 28px; } .band.flip .band-visual { order: 0; } }

/* proctoring visual */
.proctor { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.cam { aspect-ratio: 4/3; border-radius: 10px; background: radial-gradient(120px 90px at 50% 40%, #DAD3E9 0%, #BFB7D3 60%, #9F97B8 100%); position: relative; overflow: hidden; }
.cam::after { content: ""; position: absolute; inset: 18% 30% auto 30%; height: 44%; border: 1.5px dashed rgba(255,255,255,.85); border-radius: 12px; }
.cam .rec { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,.55); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; padding: 4px 8px; border-radius: 999px; }
.cam .rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FF4D3D; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.flags { display: grid; gap: 8px; align-content: start; }
.flag { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--ground); }
.flag .t { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); white-space: nowrap; }
.flag b { display: block; font-weight: 600; font-size: 12.5px; }
.flag.warn { border-color: #F0DDB3; background: var(--warn-soft); }
.flag.bad { border-color: #F2C7BD; background: var(--bad-soft); }

/* interview visual */
.call { display: grid; gap: 14px; }
.call-head { display: flex; align-items: center; justify-content: space-between; }
.call-head .who { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; }
.scorecard { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scorecard div { text-align: center; padding: 10px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--ground); }
.scorecard .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.scorecard .v { font-family: var(--display); font-size: 24px; line-height: 1.2; }

/* ---------- enterprise ---------- */
.enterprise { background: var(--ink); color: #F3EFE6; border-radius: 28px; padding: 64px 56px; }
.enterprise .eyebrow { color: #B9B4A8; }
.enterprise .lede { color: #C9C4B8; }
.enterprise .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; margin-top: 44px; }
.enterprise h3 { font-family: var(--display); font-size: 24px; margin-bottom: 8px; }
.enterprise p { color: #B9B4A8; font-size: 14.5px; }
@media (max-width: 900px) { .enterprise { padding: 44px 26px; } .enterprise .grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- use cases ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.case .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.case h3 { font-family: var(--body); font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.case p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cases { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan .name { font-family: var(--display); font-size: 28px; }
.plan .for { font-size: 14px; color: var(--ink-2); min-height: 42px; }
.plan .caps { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.plan .caps li { display: flex; justify-content: space-between; gap: 10px; }
.plan .caps b { font-weight: 600; }
.plan .btn { margin-top: auto; justify-content: center; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--ink-3); font-size: 20px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); font-size: 15.5px; max-width: 66ch; }

/* ---------- final cta ---------- */
.final { text-align: center; padding: 96px 0 88px; }
.final h2 { max-width: 18ch; margin: 0 auto 26px; }
.final .cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 14px; color: var(--ink-2); }
.footer .top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.3fr; gap: 32px; }
.footer .col h5 { margin: 0 0 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.footer .col a { display: block; padding: 4px 0; }
.footer .col a.brand { display: inline-flex; padding: 0; }
.footer .col a:hover { color: var(--accent); }
.footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
@media (max-width: 960px) { .footer .top { grid-template-columns: repeat(3, 1fr) 1.4fr; } .footer .top .col:first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer .top { grid-template-columns: 1fr 1fr; } .footer .top .col.contact { grid-column: 1 / -1; } }

/* ---------- videos ---------- */
.tour { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: center; margin-bottom: 44px; }
.tour .h-card { font-size: 34px; margin: 12px 0 12px; }
.tour p { color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.tour .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
.vcard { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.vcard .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.vcard h3 { font-family: var(--body); font-weight: 600; font-size: 16px; line-height: 1.35; margin-top: 4px; }
.vplayer { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ground-2); border: 1px solid var(--line); }
.tour .vplayer { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.vplayer img, .vplayer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.vplay { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.vplay:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.vplay .vicon { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); box-shadow: 0 8px 24px -8px rgba(20, 40, 154, .6); display: grid; place-items: center; transition: transform .15s ease, background .15s ease; }
.vplay .vicon::before { content: ""; margin-left: 4px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.vplay:hover .vicon { transform: scale(1.06); background: var(--accent-ink); }
.vcard .vplay .vicon { width: 48px; height: 48px; }
.vcard .vplay .vicon::before { border-width: 8px 0 8px 13px; margin-left: 3px; }
.vdur, .vsoon { position: absolute; bottom: 10px; right: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; padding: 4px 8px; border-radius: 999px; background: rgba(22, 24, 29, .72); color: #fff; pointer-events: none; }
.vsoon { display: none; left: 10px; right: auto; text-transform: uppercase; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
/* Until script.js finds a YouTube ID the card is a thumbnail with "Coming soon" — never an embed. */
.vplayer:not(.ready) .vplay { cursor: default; }
.vplayer:not(.ready) .vicon { display: none; }
.vplayer:not(.ready) .vsoon { display: inline-block; }
.vplayer.playing .vplay, .vplayer.playing .vdur, .vplayer.playing img { display: none; }
@media (max-width: 900px) { .tour { grid-template-columns: 1fr; gap: 24px; } .videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .videos { grid-template-columns: 1fr; } .tour .h-card { font-size: 28px; } }

/* "Watch" link inside an existing feature block */
.watch { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.watch::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M7 5.5v7l5.5-3.5z' fill='%231F3BD6'/%3E%3C/svg%3E") center/18px no-repeat; }
.watch:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.pillar .watch { margin-top: 0; }
.enterprise .watch { color: #C9D1FA; }
.enterprise .watch::before { background-color: rgba(255, 255, 255, .12); }

/* ---------- footer contacts ---------- */
.footer .col.contact a { padding: 2px 0 0; overflow-wrap: anywhere; }
.footer .col.contact span { display: block; margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.footer .col.contact span:first-of-type { margin-top: 0; }
.footer .col .dl { margin-top: 14px; padding: 10px 14px; font-size: 13.5px; display: inline-flex; }
.btn .dl-icon { width: 14px; height: 14px; flex: none; }

/* ---------- legal pages ---------- */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-family: var(--display); font-size: clamp(38px, 5vw, 56px); line-height: 1.05; margin: 14px 0 12px; }
.legal .meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.legal .draft { margin: 28px 0 36px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid #F0DDB3; background: var(--warn-soft); color: #6B4A12; font-size: 14.5px; }
.legal .draft b { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--warn); margin-bottom: 4px; }
.legal .toc { margin: 0 0 40px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 14.5px; }
.legal .toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .toc li { padding: 2px 0; break-inside: avoid; }
.legal h2 { font-family: var(--display); font-size: 30px; line-height: 1.15; margin: 44px 0 12px; }
.legal h3 { font-family: var(--body); font-weight: 600; font-size: 16.5px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; }
.legal p + p, .legal .list + p, .legal .table-wrap + p { margin-top: 14px; }
.legal ul.list, .legal ol.list { margin: 10px 0 0; padding-left: 22px; list-style: disc; display: grid; gap: 6px; }
.legal ol.list { list-style: decimal; }
.legal a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .toc a { color: var(--ink-2); text-decoration: none; }
.legal .toc a:hover { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .tbc { background: var(--warn-soft); color: #6B4A12; padding: 0 4px; border-radius: 4px; font-family: var(--mono); font-size: .86em; }
.legal .table-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.legal th { text-align: left; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #FCFBF8; }
.legal td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.legal tr:last-child td { border-bottom: 0; }
.legal .contact-card { margin-top: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 15px; }
.legal .contact-card p { font-size: 15px; }
.legal-nav .wrap { justify-content: space-between; }
.legal-nav .links { display: flex; gap: 22px; font-size: 14.5px; color: var(--ink-2); }
.legal-nav .links a:hover, .legal-nav .links a[aria-current="page"] { color: var(--ink); }
.legal-nav .links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.footer.legal-foot { padding: 28px 0; }
.footer.legal-foot .bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.footer.legal-foot .bottom a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .legal table { min-width: 0; }
  .legal thead { display: none; }
  .legal tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .legal tr:last-child { border-bottom: 0; }
  .legal td { display: block; padding: 0; border: 0; }
  .legal td:first-child { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
  .legal td[data-label] { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
  .legal td[data-label]::before { content: attr(data-label) ": "; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
}
@media (max-width: 640px) { .legal-nav .wrap { height: auto; flex-wrap: wrap; gap: 6px 14px; padding: 14px 0; } .legal { padding-top: 40px; } .legal .toc ol { columns: 1; } .legal-nav .links { gap: 14px; font-size: 13.5px; } .legal-nav .links .hide-sm { display: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .wave i { animation: none; height: 60%; } }

/* Orbit — the logo's three triangles circling their centre; each piece turns back so it stays upright. */
.orbit { overflow: visible; height: 100%; width: auto; }
.orbit polygon { fill: var(--accent); transform-box: fill-box; transform-origin: center; }
.orbit .orb { transform-box: view-box; transform-origin: 122px 85px; animation: orbit-spin 2.4s cubic-bezier(.5,0,.5,1) infinite; }
.orbit .orb polygon { animation: orbit-spin 2.4s cubic-bezier(.5,0,.5,1) infinite reverse; }
@keyframes orbit-spin { to { rotate: 360deg; } }
.statement .node { padding: 10px; }
/* Intro: plays once per visit; fades itself out in CSS so the page never depends on JS to appear. */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--ground, #FBF8F1);
  animation: splash-out .45s ease 1.3s forwards; }
.splash .orbit { height: 56px; }
.splash.seen { display: none; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .splash { display: none; } .orbit .orb, .orbit .orb polygon { animation-duration: 6s; } }

/* ---------- Motion ---------- */
/* Hero entrance: starts once the intro has gone (body.ready) */
.hero .pill, .hero h1, .hero .lede, .hero .cta, .hero .fine, .hero .frame { opacity: 0; transform: translateY(18px); }
body.ready .hero .pill, body.ready .hero h1, body.ready .hero .lede, body.ready .hero .cta, body.ready .hero .fine, body.ready .hero .frame {
  animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
body.ready .hero h1 { animation-delay: .08s; } body.ready .hero .lede { animation-delay: .18s; }
body.ready .hero .cta { animation-delay: .28s; } body.ready .hero .fine { animation-delay: .36s; } body.ready .hero .frame { animation-delay: .46s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Drifting logo triangles behind the hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg .t { position: absolute; fill: var(--accent); opacity: .07; animation: drift 16s ease-in-out infinite; }
.hero-bg .t1 { width: 120px; left: 6%; top: 18%; }
.hero-bg .t2 { width: 160px; right: 7%; top: 8%; animation-duration: 20s; animation-delay: -6s; }
.hero-bg .t3 { width: 80px; right: 18%; top: 52%; animation-duration: 13s; animation-delay: -3s; }
@keyframes drift { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(14px,-22px) rotate(8deg); } }

/* Nav gains a hairline shadow once the page scrolls */
.nav { transition: box-shadow .25s ease; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(0,0,0,.25); }

/* Bars fill; the first row of a table starts a beat before the last */
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.bar b { transform-origin: left; }
.screen.active .bar b, .reveal.in .bar b { animation: bar-grow .9s cubic-bezier(.2,.7,.2,1) both; }
tr:nth-child(2) .bar b { animation-delay: .08s !important; } tr:nth-child(3) .bar b { animation-delay: .16s !important; }
tr:nth-child(4) .bar b { animation-delay: .24s !important; } tr:nth-child(5) .bar b { animation-delay: .32s !important; }

/* Score ring sweeps to its value */
@property --p { syntax: "<number>"; inherits: false; initial-value: 78; }
.screen.active .score-ring { animation: ring 1.2s cubic-bezier(.2,.7,.2,1) both; background: conic-gradient(var(--accent) 0 calc(var(--p) * 1%), var(--ground-2) calc(var(--p) * 1%) 100%); }
@keyframes ring { from { --p: 0; } to { --p: 78; } }

/* Transcript lines and flags arrive one after another */
@keyframes slide-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.screen.active .transcript p, .reveal.in .transcript p, .reveal.in .flags .flag, .reveal.in .call .flags .flag { animation: slide-in .5s ease both; }
.screen.active .transcript p:nth-child(2), .reveal.in .transcript p:nth-child(2), .reveal.in .flags .flag:nth-child(2) { animation-delay: .35s; }
.screen.active .transcript p:nth-child(3), .reveal.in .transcript p:nth-child(3), .reveal.in .flags .flag:nth-child(3) { animation-delay: .7s; }
.reveal.in .flags .flag:nth-child(4) { animation-delay: 1.05s; }
.screen.active .main > *, .screen.active .mock-table tr { animation: slide-in .45s ease both; }
.screen.active .main > *:nth-child(2) { animation-delay: .05s; } .screen.active .main > *:nth-child(3) { animation-delay: .1s; }
.screen.active .main > *:nth-child(4) { animation-delay: .15s; }

/* Hover lift */
.pillar, .case, .plan { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pillar:hover, .case:hover, .plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.feature { transition: background .2s ease; }
.feature:hover { background: var(--accent-soft); }

@media (prefers-reduced-motion: reduce) {
  .hero .pill, .hero h1, .hero .lede, .hero .cta, .hero .fine, .hero .frame { opacity: 1; transform: none; animation: none !important; }
  .hero-bg .t { animation: none; }
  .screen.active *, .reveal.in * { animation: none !important; }
  .pillar:hover, .case:hover, .plan:hover { transform: none; }
}

/* Integrations */
.integs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.integ { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; transition: transform .25s ease, box-shadow .25s ease; }
.integ:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.integ .mono { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.integ .iname { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; font-size: 15.5px; margin-bottom: 6px; }
.integ p { font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .integs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .integs { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .integ:hover { transform: none; } }

/* Nav hover: a line draws in from the left and retracts to the right */
.nav-links > a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav-links > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.nav-links > a:hover::after, .nav-links > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 900px) { .nav-links > a::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .nav-links > a::after { transition: none; } }
