/* Clarion landing page. Privacy, Terms and Security keep using site.css. */
:root {
  --paper: #fff;
  --mist: #f4f6fa;
  --ink: #0b1226;
  --ink-2: #444e68;
  --ink-3: #6b7490;
  --line: #e2e7f0;
  --blue: #1e63f5;
  --blue-d: #1550cc;
  --blue-soft: rgba(30, 99, 245, .12);
  --cyan: #12b5e5;
  --night: #070d20;
  --night-2: #0f1833;
  --amber: #9a5a00;
  --amber-bg: #fff1d6;
  --green: #0e7a4b;
  --green-bg: #e3f6ec;
  --red: #b3261e;
  --red-bg: #fdeceb;
  --nav: 52px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.5 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--paper); color: var(--ink); font-weight: 500; font-size: 16px; line-height: 1.2;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.btn:hover { text-decoration: none; border-color: #c4cbdb; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-d); border-color: var(--blue-d); }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.light:hover { background: #eef2fb; border-color: #eef2fb; }
.btn.ghost-light { background: transparent; border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn.ghost-light:hover { border-color: #fff; }
.btn.lg { padding: 15px 28px; font-size: 18px; }
.btn.sm { padding: 7px 16px; font-size: 14px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav);
  background: rgba(255, 255, 255, .96); border-bottom: 1px solid rgba(11, 18, 38, .06);
}
.top .wrap { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.by { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 13px; }
.by img { height: 24px; width: auto; }
.top nav { display: flex; gap: 24px; margin: 0 auto; }
.top nav a { color: var(--ink-2); font-size: 14px; transition: color .2s; }
.top nav a:hover { color: var(--ink); text-decoration: none; }
.signin { color: var(--ink-2); font-size: 14px; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; position: relative; margin-left: auto; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Type */
h1 { font-size: clamp(38px, 6.6vw, 80px); font-weight: 600; letter-spacing: -.042em; line-height: 1.03; max-width: 15ch; margin: 0 auto; text-wrap: balance; }
h2.big { font-size: clamp(34px, 5.6vw, 64px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; text-align: center; max-width: 16ch; margin: 0 auto; text-wrap: balance; }
.lead { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.35; color: var(--ink-2); letter-spacing: -.01em; }
.fine { font-size: 15px; color: var(--ink-2); }
.s { padding: clamp(88px, 13vw, 168px) 0; }
.mist { background: var(--mist); }

/* Shared bits */
.av {
  display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0;
}
.av.alt { background: #dbe5ff; color: #1a3d99; }
.av.sm { width: 22px; height: 22px; font-size: 9px; }
.av.logo { border-radius: 9px; background: none; object-fit: cover; }
.due { display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--amber-bg); color: var(--amber); font-size: 13px; font-weight: 500; }
.chip { display: inline-block; padding: 2px 10px; margin-right: 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-d); font-size: 13px; font-weight: 500; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 36px -22px rgba(18, 40, 110, .3); padding: 24px; }
.c-title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.c-sub { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.c-lead { font-size: 18px; line-height: 1.35; letter-spacing: -.01em; margin-top: 6px; }
.c-foot { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.rows { margin-top: 14px; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.rows li > div { min-width: 0; }
.rows b { display: block; font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.rows span { color: var(--ink-3); font-size: 14px; }
.rows li > div > span { display: flex; align-items: center; gap: 8px; margin-top: 3px; flex-wrap: wrap; }
.rows .av { color: #fff; font-size: 9px; }
.rows .av.alt { color: #1a3d99; }
.rows .due { color: var(--amber); font-size: 13px; }
.send {
  flex: none; padding: 6px 14px; border: 0; border-radius: 999px; background: var(--blue-soft); color: var(--blue-d);
  font-size: 14px; font-weight: 500; transition: background .25s, color .25s, transform .25s var(--ease);
}
button.send:hover { background: rgba(30, 99, 245, .2); }
button.send:active { transform: scale(.96); }
.send.is-sent { background: var(--green-bg); color: var(--green); }
.send.is-sent::before { content: ""; display: inline-block; width: 10px; height: 6px; margin: 0 7px 2px 0; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) scale(.9); }
.flag { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--red-bg); color: var(--red); font-size: 14px; font-weight: 500; }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.wave b { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform: scaleY(.3); }

/* Hero */
.hero {
  padding: calc(var(--nav) + clamp(56px, 9vw, 112px)) 0 clamp(48px, 7vw, 96px); text-align: center; overflow: hidden;
  background: radial-gradient(70% 55% at 50% 0, #e4ecff 0, rgba(228, 236, 255, 0) 100%);
}
.hero .lead { max-width: 46ch; margin: 28px auto 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.45; }
.hero .cta { margin-top: 32px; }
.hero .fine { display: inline-block; margin-top: 22px; padding: 9px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px -16px rgba(18, 40, 110, .35); font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: -.005em; }
.hero .fine a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

.stage {
  position: relative; width: min(780px, 100%); margin: clamp(48px, 7vw, 80px) auto 0; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 22px clamp(18px, 3vw, 28px) 26px;
  box-shadow: 0 30px 60px -30px rgba(18, 40, 110, .35), 0 2px 6px rgba(11, 18, 38, .04);
}
.stage-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.stage-bar b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.stage-bar span { font-size: 13px; color: var(--ink-3); }
.live { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--blue-d); font-weight: 500; white-space: nowrap; }
.beat { padding-top: 22px; }
.line { display: flex; gap: 14px; }
.who { font-size: 14px; font-weight: 600; }
.who time { margin-left: 8px; font: 400 12px "Geist Mono", ui-monospace, monospace; color: var(--ink-3); }
.say { font-size: clamp(19px, 2.7vw, 26px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; margin-top: 2px; }
mark { color: inherit; padding: 0 2px; margin: 0 -2px; border-radius: 4px; background: linear-gradient(var(--blue-soft), var(--blue-soft)) no-repeat 0 100% / 100% 100%; }
.task {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 14px 0 0 50px; padding: 14px 16px;
  border-radius: 18px; background: var(--mist); border: 1px solid var(--line);
}
.t-main b { display: block; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.replay { position: absolute; right: 22px; bottom: -40px; border: 0; background: none; font-size: 14px; color: var(--ink-3); padding: 6px 4px; }
.replay:hover { color: var(--ink); }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes sweep { from { background-size: 0% 100%; } }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes beat { 50% { transform: scaleY(1); } }
.stage.play .b1 .line { animation: rise .7s var(--ease) .4s both; }
.stage.play .b1 mark { animation: sweep .9s var(--ease) 1.5s both; }
.stage.play .b1 .task { animation: drop .7s var(--ease) 2.5s both; }
.stage.play .b2 .line { animation: rise .7s var(--ease) 4s both; }
.stage.play .b2 mark { animation: sweep .9s var(--ease) 5.1s both; }
.stage.play .b2 .task { animation: drop .7s var(--ease) 6.1s both; }
.stage.play .wave b { animation: beat 1.1s ease-in-out 8 both; }
.stage.play .wave b:nth-child(2) { animation-delay: .15s; } .stage.play .wave b:nth-child(3) { animation-delay: .3s; } .stage.play .wave b:nth-child(4) { animation-delay: .45s; }


/* Product showcase */
.tab, .step { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 0; }
.tab { padding: 20px 0; border-top: 1px solid #d8deea; }
.tab:last-child { border-bottom: 1px solid #d8deea; }
.tab b, .step b { display: block; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: var(--ink-3); transition: color .4s var(--ease); }
.tab b { font-size: clamp(24px, 3vw, 32px); }
.tab span { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease), opacity .5s var(--ease); opacity: 0; }
.tab em, .step em { overflow: hidden; font-style: normal; color: var(--ink-2); font-size: 17px; line-height: 1.4; }
.tab[aria-selected="true"] b, .step.on b { color: var(--ink); }
.tab[aria-selected="true"] span { grid-template-rows: 1fr; opacity: 1; }
.step span { display: block; opacity: 0; transition: opacity .4s var(--ease); }
.step.on span { opacity: 1; }
.tab[aria-selected="true"] em { padding-top: 10px; }
.step em { display: block; padding-top: 12px; }
.tab:hover b, .step:hover b { color: var(--ink); }

/* Pinned story */
.story { height: 340vh; position: relative; background: var(--mist); }
.story-stage {
  position: sticky; top: 0; height: 100vh; max-width: 1080px; margin: 0 auto; padding: var(--nav) 24px 0;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center;
}
.steps { position: relative; padding-left: 28px; display: grid; gap: 28px; }
.rail { position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: var(--line); border-radius: 2px; }
.rail i { display: block; width: 100%; height: 100%; background: var(--blue); border-radius: 2px; transform-origin: 0 0; transform: scaleY(var(--p, 0)); }
.step b { font-size: clamp(28px, 4.2vw, 52px); }
.vis {
  position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: calc(100vh - var(--nav) - 48px); margin-left: auto; border-radius: 36px; padding: 6%;
  background: linear-gradient(155deg, #e3ecff 0%, #f3f7ff 55%, #e5f6fc 100%);
}
.scene { position: absolute; inset: 6%; display: grid; align-content: center; opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.scene.on { opacity: 1; transform: none; pointer-events: auto; }
.guests { margin-top: 16px; }
.guests li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 500; }
.guests small { margin-left: auto; color: var(--ink-3); font-size: 13px; font-weight: 400; }
.guests .pill-ok { padding: 2px 10px; border-radius: 999px; background: var(--green-bg); color: var(--green); font-weight: 500; }
.guests .added { opacity: 0; transform: translateY(-8px); transition: opacity .6s var(--ease) .35s, transform .6s var(--ease) .35s; }
.scene.on .added { opacity: 1; transform: none; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { aspect-ratio: 16 / 10; border-radius: 20px; display: grid; place-content: center; justify-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); position: relative; }
.tile .av { width: 44px; height: 44px; font-size: 14px; }
.tile .av.logo { width: 44px; height: 44px; }
.tile small { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.tile.me { outline: 2px solid var(--blue); outline-offset: -2px; }
.tile.me .wave { color: var(--blue); }
.scene.on .wave b { animation: beat 1.1s ease-in-out infinite both; }
.scene.on .wave b:nth-child(2) { animation-delay: .15s; } .scene.on .wave b:nth-child(3) { animation-delay: .3s; } .scene.on .wave b:nth-child(4) { animation-delay: .45s; }
.caps { margin-top: 12px; padding: 16px 18px; border-radius: 20px; display: grid; gap: 10px; box-shadow: none; }
.caps p { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.outcome .rows li { padding: 12px 0; }

/* Use cases */
.tags span { padding: 5px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-2); }

/* Ask Clarion */
.chat { width: min(760px, 100%); margin: clamp(40px, 6vw, 72px) auto 0; background: #fff; border-radius: 30px; border: 1px solid var(--line); overflow: hidden; }
.chat-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.chat-bar b { font-weight: 600; }
.chat-bar span { color: var(--ink-3); font-size: 13px; align-self: center; }
.chat-body { background: var(--mist); padding: 24px; min-height: 440px; display: flex; flex-direction: column; gap: 18px; }
.q { align-self: flex-end; max-width: 80%; padding: 11px 18px; border-radius: 22px 22px 6px 22px; background: var(--blue); color: #fff; font-size: 16px; animation: rise .45s var(--ease) both; }
.a { display: flex; gap: 12px; animation: rise .45s var(--ease) both; }
.a-ico { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--blue); display: grid; place-items: center; color: #fff; }
.a-main { min-width: 0; flex: 1; }
.a-text { padding: 14px 18px; border-radius: 6px 22px 22px 22px; background: #fff; border: 1px solid var(--line); font-size: 16.5px; line-height: 1.5; white-space: pre-line; }
.a-text.dots::after { content: ""; display: inline-block; width: 30px; height: 8px; vertical-align: middle; background: radial-gradient(circle 3px, var(--ink-3) 98%, transparent) 0 50% / 10px 8px repeat-x; animation: dots 1s steps(4) infinite; }
@keyframes dots { 0% { clip-path: inset(0 100% 0 0); } 100% { clip-path: inset(0 0 0 0); } }
.quotes { display: grid; gap: 8px; margin-top: 10px; }
.quote { padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); animation: rise .5s var(--ease) both; }
.quote p { font-size: 15px; line-height: 1.4; }
.quote small { display: flex; gap: 10px; align-items: center; margin-top: 6px; color: var(--ink-3); font-size: 13px; }
.quote time { font: 500 12px "Geist Mono", ui-monospace, monospace; color: var(--blue-d); background: var(--blue-soft); padding: 1px 8px; border-radius: 999px; }
.copy { margin-top: 10px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; animation: rise .45s var(--ease) both; }
.copy:hover { border-color: var(--ink-3); }
.asks { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.asks button { padding: 10px 18px; border-radius: 999px; border: 1.5px solid #d8deea; background: #fff; font-size: 15px; font-weight: 500; transition: all .3s var(--ease); }
.asks button:hover { border-color: var(--blue); color: var(--blue-d); }
.asks button.on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Your data */
.night { background: var(--night); color: #fff; background-image: radial-gradient(60% 40% at 50% 100%, rgba(30, 99, 245, .22), transparent); }
.night h2.big { max-width: 18ch; }
.seg { display: flex; width: max-content; max-width: 100%; margin: clamp(36px, 5vw, 56px) auto 0; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.seg button { padding: 10px 22px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .72); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background .35s var(--ease), color .35s var(--ease); }
.seg button:hover { color: #fff; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); }
.vault {
  position: relative; width: min(720px, 100%); margin: 36px auto 0; padding: 30px; border-radius: 32px;
  border: 1.5px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03);
  transition: border-color .6s var(--ease), box-shadow .6s var(--ease), background .6s var(--ease);
}
.vault[data-mode="own"], .vault[data-mode="servers"] { border-color: var(--cyan); background: rgba(18, 181, 229, .06); box-shadow: 0 0 50px -16px rgba(18, 181, 229, .4); }
.vault-owner { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 18px; color: rgba(255, 255, 255, .75); transition: color .6s; }
.vault[data-mode="own"] .vault-owner, .vault[data-mode="servers"] .vault-owner { color: var(--cyan); }
.vault-items { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.vault-items li { padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); font-weight: 500; font-size: 16px; display: flex; flex-direction: column; transition: background .5s var(--ease); }
.vault-items small { font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, .6); transition: color .5s; }
.vault[data-mode="own"] .ai small, .vault[data-mode="servers"] .ai small { color: var(--cyan); }
.vault[data-mode="own"] .vault-items li, .vault[data-mode="servers"] .vault-items li { background: rgba(18, 181, 229, .12); }
.vault-note { margin-top: 24px; color: rgba(255, 255, 255, .78); font-size: 18px; letter-spacing: -.01em; min-height: 2.8em; }
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 28px; width: min(920px, 100%); margin: 56px auto 0; }
.proof li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.35; }
.proof svg { flex: none; margin-top: 2px; color: var(--cyan); }
.night .cta { margin-top: 56px; }


/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.plan { display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.plan h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.price { margin-top: 10px; font-size: 34px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.price small { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.plan ul { margin: 24px 0 28px; display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.plan .btn { align-self: flex-start; }
.plan.free { background: linear-gradient(160deg, #1e63f5, #1043b8); border-color: transparent; color: #fff; box-shadow: 0 40px 70px -36px rgba(30, 99, 245, .7); }
.plan.free .price small, .plan.free li { color: rgba(255, 255, 255, .86); }
.plan.free li::before { border-color: #fff; }

/* FAQ */
.faq { width: min(760px, 100%); margin: clamp(36px, 5vw, 64px) auto 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 20px; font-weight: 500; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-2px, -2px); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 62ch; animation: rise .5s var(--ease) both; }

/* Final call to action */
.final-wrap { padding: 0 0 clamp(64px, 9vw, 112px); }
.final {
  text-align: center; padding: clamp(64px, 10vw, 128px) 24px; border-radius: clamp(28px, 4vw, 44px); color: #fff;
  background: radial-gradient(80% 120% at 50% 120%, #12b5e5 0, rgba(18, 181, 229, 0) 60%), linear-gradient(160deg, #1e63f5, #0c3aa8);
}
.final h2 { font-size: clamp(36px, 6.4vw, 76px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; max-width: 14ch; margin: 0 auto 36px; text-wrap: balance; }


/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.company { display: flex; align-items: center; gap: 14px; }
.company img { height: 40px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
footer a { color: var(--ink-2); }

/* Tablet and phone */
@media (max-width: 960px) {
  .top nav { position: absolute; top: var(--nav); left: 0; right: 0; margin: 0; padding: 8px 24px 20px; flex-direction: column; gap: 0; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); display: none; }
  .top nav.open { display: flex; }
  .top nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; margin-left: 0; order: 5; }
  .top .wrap { gap: 14px; }
  .by { display: none; }
  .signin { margin-left: auto; }
}
@media (max-width: 560px) {
  .signin { display: none; }
  .top .btn { margin-left: auto; white-space: nowrap; }
  .rows b { font-size: 15px; }
  .send, .flag { padding: 6px 11px; font-size: 13px; }
}
@media (max-width: 820px) {
  .plans { grid-template-columns: 1fr; }
  .story { height: 300vh; }
  .story-stage { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-content: start; gap: 20px; padding-top: calc(var(--nav) + 20px); padding-bottom: 20px; }
  .steps { padding: 0; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
  .rail { position: relative; grid-column: 1 / -1; grid-row: 2; width: auto; height: 2px; inset: auto; }
  .rail i { transform: scaleX(var(--p, 0)); }
  .step b { font-size: 17px; }
  .step span { display: none; }
  .vis { max-height: none; height: 100%; aspect-ratio: auto; border-radius: 28px; padding: 18px; }
  .scene { inset: 18px; }
  .card { padding: 18px; border-radius: 20px; }
  .tile { aspect-ratio: 16 / 9; }
  .task { margin-left: 0; flex-wrap: wrap; }
  .stage-bar .live { font-size: 12px; }
  .vault { padding: 22px; }
  .seg button { padding: 9px 14px; font-size: 14px; }
  .chat-body { min-height: 480px; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* Meeting flow */
.flow-lead { text-align: center; max-width: 40ch; margin: 22px auto 0; }
.flow-grid { display: grid; position: relative; grid-template-columns: minmax(0, 190px) 80px minmax(0, 1fr) 80px minmax(0, 230px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.fhead { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 12px; }
.fnote { font-size: 14px; color: var(--ink-3); line-height: 1.4; margin-top: 12px; }
.fnote.center { text-align: center; margin-top: 28px; }
.srcs { display: grid; gap: 10px; }
.srcs li, .dst span { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.srcs i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); flex: none; }
.dst { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); margin-bottom: 10px; }
.dst p { flex-basis: 100%; font-size: 13px; color: var(--ink-3); }
.dst span { background: var(--mist); padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.link { position: relative; visibility: hidden; height: 2px; background: linear-gradient(90deg, var(--line), #b9c9ee); border-radius: 2px; }
.link i { position: absolute; left: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); opacity: 0; }
@keyframes travel { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(36px); opacity: 0; } }
@keyframes travel-y { 0% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(28px); opacity: 0; } }
.flow.play .link i { animation: travel 1.4s ease-in-out 3; }
.infra { padding: 22px; border-radius: 28px; color: #fff; background: linear-gradient(165deg, #0f1c44, #070d20); border: 1.5px solid rgba(18, 181, 229, .5); box-shadow: 0 24px 50px -30px rgba(18, 181, 229, .5); }
.infra-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.infra-head span { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cyan); }
.infra-head small { font-size: 13px; color: rgba(255, 255, 255, .6); }
.ftiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.ftile { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.ftile b { display: block; margin-top: 12px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.ftile small { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .62); line-height: 1.35; }
.ficon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(145deg, #2f7bff, #1550cc); }
.infra-foot { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); font-size: 13px; color: rgba(255, 255, 255, .72); line-height: 1.4; }
[data-lit] { transition: opacity .6s var(--ease), border-color .6s var(--ease), background .6s var(--ease); }
.flow.armed [data-lit]:not(.lit) { opacity: .3; }
.flow.armed .ftile.lit { border-color: rgba(18, 181, 229, .7); background: rgba(18, 181, 229, .12); }
.fpoints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; text-align: center; max-width: 900px; margin-inline: auto; margin-top: clamp(40px, 6vw, 64px); }
.fpoints b { display: block; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.fpoints span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 960px) {
  .flow-grid { grid-template-columns: 1fr; gap: 0; }
  .link { width: 2px; height: 36px; margin: 6px auto; background: linear-gradient(180deg, var(--line), #b9c9ee); }
  .link i { left: -3px; top: 0; }
  .flow.play .link i { animation-name: travel-y; }
  .srcs { grid-template-columns: repeat(3, 1fr); }
  .srcs li { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .ftiles { grid-template-columns: 1fr 1fr; }
  .srcs { grid-template-columns: 1fr; }
  .srcs li { flex-direction: row; align-items: center; }
  .fpoints { grid-template-columns: 1fr; }
}

/* Merging connectors (desktop): three lines join into one before the infrastructure box, then split to the tools. */
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ln { fill: none; stroke: #9db7ee; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ln.out { stroke: #7dd3ef; }
.dot { fill: var(--blue); }
.flow.armed .ln { stroke-dashoffset: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.flow.play .ln { animation: draw 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.flow.armed .ftile .ficon { transform: scale(.8); }
.flow.armed .ftile.lit .ficon { transform: none; }
.ficon { transition: transform .6s var(--ease); }
.flow.armed .infra:not(.lit) { box-shadow: none; }
@media (max-width: 960px) {
  .flow-lines { display: none; }
  .link { visibility: visible; }
  .fpoints { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 560px) { .fpoints { grid-template-columns: 1fr; } }
.flow.done .ln { animation: none !important; stroke-dashoffset: 0 !important; }

/* Product showcase: the real meeting page, dimmed except the part you pick */
.spots { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: clamp(32px, 5vw, 52px); }
.spots button { padding: 10px 20px; border-radius: 999px; border: 1.5px solid #d3dae8; background: #fff; font-size: 16px; font-weight: 500; color: var(--ink-2); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.spots button:hover { border-color: var(--ink-3); color: var(--ink); }
.spots button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.deck {
  --t: 18.1%; --l: 19.6%; --w: 54.2%; --h: 14.7%;
  position: relative; width: min(100%, 940px); margin: clamp(28px, 4vw, 44px) auto 0; aspect-ratio: 1600 / 1130; overflow: hidden;
  border-radius: 26px; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 60px -34px rgba(18, 40, 110, .45);
}
.deck img { position: absolute; left: 0; top: 0; width: 100%; height: auto; }
.spot {
  position: absolute; top: var(--t); left: var(--l); width: var(--w); height: var(--h); border-radius: 16px;
  box-shadow: 0 0 0 2.5px var(--blue), 0 0 0 100vmax rgba(238, 242, 252, .86);
  transition: top .7s var(--ease), left .7s var(--ease), width .7s var(--ease), height .7s var(--ease);
}
.deck[data-r="1"] { --t: 34.4%; --l: 19.6%; --w: 54.2%; --h: 27.8%; }
.deck[data-r="2"] { --t: 63.6%; --l: 19.6%; --w: 54.2%; --h: 29.6%; }
.deck[data-r="3"] { --t: 18.1%; --l: 75.4%; --w: 22.6%; --h: 29.4%; }
.spot-cap { text-align: center; margin-top: 24px; font-size: clamp(18px, 2.2vw, 22px); letter-spacing: -.015em; color: var(--ink-2); min-height: 1.5em; }
@media (max-width: 560px) { .spots button { padding: 8px 14px; font-size: 14px; } .deck { border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .spot { transition: none; } }

/* Use cases: team cards in a swipeable row */
.teams { overflow: hidden; }
.cases-view { margin-top: clamp(40px, 6vw, 72px); padding: 8px 0 20px; overflow-x: auto; scrollbar-width: none; }
.cases-view::-webkit-scrollbar { display: none; }
.cases { display: flex; width: max-content; padding: 0 24px; }
.cases-view.loop { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cases-view.loop .cases { padding: 0; animation: cases-loop 80s linear infinite; will-change: transform; }
.cases-view.loop:hover .cases, .cases-view.loop:focus-within .cases { animation-play-state: paused; }
@keyframes cases-loop { to { transform: translateX(-50%); } }
.case {
  flex: none; width: min(340px, 78vw); min-height: 460px; display: flex; flex-direction: column; padding: 30px 26px 26px;
  margin-right: 16px; border-radius: 32px; border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.case-team { font-size: 15px; font-weight: 600; opacity: .72; }
.case h3 { margin-top: 10px; font-size: 28px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.case-vis { margin-top: auto; padding: 4px 16px; border-radius: 22px; background: #fff; color: var(--ink); }
.case-vis li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; }
.case-vis li + li { border-top: 1px solid var(--line); }
.case-vis b { display: block; font-weight: 500; font-size: 15px; letter-spacing: -.01em; line-height: 1.3; }
.case-vis li > div > span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.case-vis .send, .case-vis .flag { padding: 4px 10px; font-size: 12.5px; }
.c-night { background: linear-gradient(165deg, #12204a, #070d20); border-color: transparent; color: #fff; }
.c-blue { background: linear-gradient(160deg, #2f7bff, #1043b8); border-color: transparent; color: #fff; }
.c-mist { background: #e4ecfc; border-color: transparent; }
.c-white { background: #fff; }
.c-night .case-vis, .c-blue .case-vis { box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5); }
@media (max-width: 560px) { .case { min-height: 440px; } }

/* Trust strip: where Clarion joins, and where next steps go */
.works { padding: 12px 0 clamp(56px, 8vw, 96px); }
.works .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px 0; max-width: 960px; }
.works-group { text-align: center; padding: 4px 28px; }
.works-group + .works-group { border-left: 1px solid var(--line); }
.works-group p { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; }
.works-group div { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.works-group b { font-weight: 500; font-size: 16px; letter-spacing: -.01em; color: var(--ink-2); }
@media (max-width: 760px) { .works .wrap { grid-template-columns: 1fr; } .works-group + .works-group { border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; } }

.cases-nav { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.cn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink-3); display: grid; place-items: center; transition: color .25s, border-color .25s, background .25s; }
.cn:hover { color: var(--ink); border-color: #c4cbdb; }
.cn:active { background: var(--mist); }

/* Clarion for Mac */
.desk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.desk h2.big { text-align: left; margin: 0; max-width: 12ch; }
.desk .lead { margin-top: 20px; max-width: 34ch; }
.desk-points { margin-top: 24px; display: grid; gap: 12px; }
.desk-points li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.desk-points li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.plats { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.plat { display: grid; gap: 12px; align-content: start; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.plat-name { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.plat small { color: var(--ink-3); font-size: 13px; line-height: 1.45; }
.plat.soon { background: var(--mist); border-style: dashed; }
.soon-pill { display: flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 999px; border: 1px dashed #c4cbdb; color: var(--ink-3); font-weight: 500; font-size: 14px; }
.desk-shot { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -44px rgba(18, 40, 110, .45); }
.desk-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .desk-grid { grid-template-columns: 1fr; } .desk h2.big, .desk .lead { max-width: none; } }
@media (max-width: 520px) { .plats { grid-template-columns: 1fr; } }
