/* kulip.io (kulip#3469 step 4). Brand tokens from the Kulip design system. */
@font-face { font-family: "Geist"; src: url("assets/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #020F46; --sky: #56CCFE; --azure: #2E95FE; --blue: #2A55FD; --violet: #7D62FB; --lilac: #B976FB;
  --ground: #F4F6FB; --card: #FFFFFF; --line: rgba(2, 15, 70, .1); --ink: #020F46; --ink-2: rgba(2, 15, 70, .68); --ink-3: rgba(2, 15, 70, .62);
  --grad: linear-gradient(100deg, var(--sky), var(--azure) 35%, var(--violet) 70%, var(--lilac));
  /* The action pair: the one hero button, and any word painted in the gradient (design system --grad-action, --grad-text). */
  --grad-action: linear-gradient(90deg, #0074DA 0%, #765AF2 100%);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --r: 28px; --pad: clamp(20px, 5vw, 56px);
  --font: "Geist", "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 400; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 88px); }
h2 { font-size: clamp(34px, 4.6vw, 62px); }
h3 { font-size: 21px; font-weight: 560; letter-spacing: -.01em; }
em { font-style: normal; background: var(--grad-action); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--ink-3); }
kbd { font: inherit; padding: 1px 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--ground); }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--pad); }

#tulip { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .9s var(--ease); }
#tulip.is-ready { opacity: 1; }
main, .foot { position: relative; z-index: 1; }
.solid { background: var(--ground); position: relative; }

/* Nav */
.nav { position: fixed; z-index: 20; top: 14px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 8px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 40px rgba(2, 15, 70, .08); max-width: calc(100vw - 24px); }
.nav-logo { display: flex; align-items: center; padding: 0 6px 0 2px; flex: none; }
.nav-logo img { height: 56px; width: 135px; max-width: none; margin: -8px -10px -8px -12px; }
.nav-links { display: flex; gap: 2px; background: var(--ground); border-radius: 999px; padding: 4px; }
.nav-links a { text-decoration: none; font-size: 14.5px; padding: 8px 14px; border-radius: 999px; color: var(--ink-2); transition: background .2s var(--ease), color .2s var(--ease); white-space: nowrap; }
.nav-links a:hover { background: #fff; color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 520; font-size: 16px; padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-grad { background: var(--grad-action); color: #fff; box-shadow: 0 8px 24px rgba(74, 80, 240, .3); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.nav-cta { padding: 11px 18px; font-size: 15px; }

/* Hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 64px; position: relative; }
.hero-video { display: none; }
.hero[data-video]:not([data-video=""]) .hero-video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-inner > * { max-width: 640px; }
.hero-poster { position: absolute; right: max(4vw, calc(50vw - 640px)); top: 50%; height: min(66vh, 620px); width: auto; transform: translateY(-48%); z-index: -1; transition: opacity .7s var(--ease); pointer-events: none; }
.live .hero-poster, .hero[data-video]:not([data-video=""]) .hero-poster { opacity: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes lift { from { transform: translateY(22px); } }
.hero-inner > * { animation: rise .8s var(--ease) both; }
.hero-inner > h1 { animation-name: lift; }
.hero-inner > :nth-child(3) { animation-delay: .08s; } .hero-inner > :nth-child(4) { animation-delay: .14s; } .hero-inner > :nth-child(5) { animation-delay: .2s; } .hero-inner > :nth-child(6) { animation-delay: .26s; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .01em; color: var(--ink-2); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
.lede { font-size: clamp(21px, 2.3vw, 28px); letter-spacing: -.015em; margin-top: 26px; }
.sub { color: var(--ink-2); margin-top: 12px; max-width: 520px; font-size: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 30px; font-size: 14px; color: var(--ink-3); }

/* Sections */
section.solid { padding: clamp(84px, 11vw, 150px) 0; }
.problem { border-radius: 40px 40px 0 0; box-shadow: 0 -30px 60px rgba(2, 15, 70, .05); }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.counter { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px 28px; }
.counter b { display: block; font-size: clamp(54px, 7vw, 96px); font-weight: 380; letter-spacing: -.05em; line-height: 1; background: var(--grad-action); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.counter span { display: block; margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.source { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }
.told { margin-top: 84px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 420; letter-spacing: -.02em; }
.flips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; perspective: 1400px; }
.flip { position: relative; height: 190px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transform-style: preserve-3d; transition: transform .6s var(--ease); border-radius: var(--r); }
.flip:hover, .flip[aria-pressed="true"] { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 26px; border-radius: var(--r); backface-visibility: hidden; -webkit-backface-visibility: hidden; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.face i { font-style: normal; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; opacity: .6; margin-bottom: auto; }
.front { background: var(--card); border: 1px solid var(--line); }
.back { background: var(--grad-action); color: #fff; transform: rotateY(180deg); }
.hint { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }

/* Story (pinned, the tulip lives here) */
.story { height: 380vh; position: relative; }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.story-inner { position: relative; }
.beats { position: relative; max-width: 500px; min-height: 340px; }
.beats::before { content: ""; position: absolute; inset: -70px -90px; background: radial-gradient(closest-side, rgba(244, 246, 251, .94) 62%, rgba(244, 246, 251, 0)); z-index: -1; pointer-events: none; }
.beat { position: absolute; inset: 0 auto auto 0; width: 100%; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.beat.is-on { opacity: 1; transform: none; pointer-events: auto; }
.beat p:not(.eyebrow) { margin-top: 22px; color: var(--ink-2); font-size: 19px; }
.story-dots { list-style: none; display: flex; gap: 8px; padding: 0; margin: 28px 0 0; }
.story-dots li { width: 28px; height: 4px; border-radius: 4px; background: var(--line); transition: background .4s var(--ease), width .4s var(--ease); }
.story-dots li.is-on { background: var(--violet); width: 48px; }

/* Three things */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 44px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.tab { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 15.5px; color: var(--ink-2); background: none; border: 0; border-radius: 999px; padding: 11px 18px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.orb { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.o1 { background: radial-gradient(circle at 30% 30%, #A1E3FD, #2E95FE); } .o2 { background: radial-gradient(circle at 30% 30%, #8C9DFC, #2A55FD); } .o3 { background: radial-gradient(circle at 30% 30%, #E8BBFC, #7D62FB); }
.panels { margin-top: 22px; }
.panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 36px; overflow: hidden; min-height: 420px; }
.panel[hidden] { display: none; }
.panel-copy { padding: clamp(28px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.panel-copy h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 420; letter-spacing: -.025em; }
.panel-copy p { color: var(--ink-2); font-size: 18px; }
.tagline { font-size: 15.5px !important; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-right: 6px; vertical-align: 1px; }
.tag.next { background: #EEE9FF; color: #4B36C4; } .tag.live { background: #DCF7E9; color: #0B6B3A; }
.mock { margin: clamp(18px, 3vw, 34px); border-radius: 26px; padding: 26px; background: linear-gradient(160deg, #E6F5FF, #E9E7FF 55%, #F4E6FF); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.mock-head { display: flex; align-items: center; gap: 10px; }
.mock-head small { color: var(--ink-3); margin-left: auto; font-size: 13px; }
.av { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-weight: 600; font-size: 14px; flex: none; }
.a-edith { background: linear-gradient(135deg, #56CCFE, #2A55FD); } .a-x { background: linear-gradient(135deg, #7D62FB, #B976FB); }
.av.big { width: 64px; height: 64px; font-size: 20px; }
.mock-list, .mock-rows, .mock-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mock-list li, .mock-rows li, .mock-opts li { background: rgba(255, 255, 255, .86); border-radius: 14px; padding: 12px 14px; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.ck { width: 18px; height: 18px; border-radius: 50%; background: #18A95B; flex: none; position: relative; }
.ck::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mock-btn { align-self: flex-start; background: var(--navy); color: #fff; border-radius: 999px; padding: 11px 18px; font-size: 15px; font-weight: 520; }
.mock-rows li { display: grid; grid-template-columns: 1fr auto; row-gap: 8px; }
.mock-rows em { background: none; color: var(--ink-3); font-size: 13px; -webkit-text-fill-color: currentColor; }
.mock-rows i { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: var(--grad); width: var(--w); }
.mock-opts li { flex-direction: column; align-items: flex-start; gap: 2px; }
.mock-opts small { color: var(--ink-2); font-size: 13.5px; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 54px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; min-height: 250px; }
.step > b { font-weight: 400; font-size: 14px; color: var(--ink-3); margin-top: 26px; font-variant-numeric: tabular-nums; }
.step p { color: var(--ink-2); font-size: 15.5px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--ground); color: var(--ink-2); transition: background .4s var(--ease), color .4s var(--ease); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); transition: background .4s var(--ease); }
.pill em { background: none; color: inherit; -webkit-text-fill-color: currentColor; }
.step.is-working .pill { background: #E8F0FF; color: #1B4FD6; } .step.is-working .pill i { background: var(--azure); animation: pulse 1s var(--ease) infinite; }
.step.is-done .pill { background: #DCF7E9; color: #0B6B3A; } .step.is-done .pill i { background: #18A95B; }
@keyframes pulse { 50% { opacity: .3; } }
.example { margin-top: 26px; background: #fff; border: 1px dashed rgba(2, 15, 70, .22); border-radius: 20px; padding: 18px 22px; font-size: 16.5px; color: var(--ink-2); }
.example b { color: var(--ink); }

/* Receipt */
.receipt-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.big { font-size: clamp(19px, 1.9vw, 23px); margin-top: 26px; letter-spacing: -.01em; }
.pricing { margin-top: 20px; color: var(--ink-2); }
.pricing small { display: block; margin-top: 8px; color: var(--ink-3); font-size: 13.5px; }
.receipt { background: #fff; border-radius: 22px 22px 0 0; padding: 28px 28px 34px; position: relative; box-shadow: 0 30px 80px rgba(42, 85, 253, .16), 0 2px 0 rgba(2, 15, 70, .04); font-size: 15.5px; transform: rotate(1.6deg); }
.r-head img { height: 40px; width: auto; margin: -8px 0 -8px -10px; }
.r-head { display: flex; align-items: center; gap: 4px; padding-bottom: 16px; border-bottom: 1px dashed rgba(2, 15, 70, .22); }
.r-head small { margin-left: auto; color: var(--ink-3); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.receipt dl { margin: 0; }
.r-line { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px dashed rgba(2, 15, 70, .14); }
.r-line dt { color: var(--ink-3); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding-top: 2px; }
.r-line dd { margin: 0; }
.r-verdict { border-bottom: 0; align-items: center; }
.stamp { display: inline-block; border: 2px solid #18A95B; color: #0B6B3A; font-weight: 600; border-radius: 10px; padding: 5px 12px; transform: rotate(-4deg); }
.r-tear { position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: linear-gradient(-45deg, transparent 8px, #fff 0) 0 0 / 16px 12px repeat-x, linear-gradient(45deg, transparent 8px, #fff 0) 0 0 / 16px 12px repeat-x; }

/* Who / why */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); }
.two h2 { font-size: clamp(26px, 2.9vw, 40px); line-height: 1.12; }
.two p:not(.eyebrow) { margin-top: 20px; color: var(--ink-2); }

/* Roadmap */
.road-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 44px; }
.road-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.road-col ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.road-col li { padding-left: 26px; position: relative; color: var(--ink-2); }
.road-col li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }

/* Team */
.team { padding-top: 0 !important; }
.people { display: flex; flex-wrap: wrap; gap: 18px; }
.person { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 26px 20px 20px; }
.person small { display: block; color: var(--ink-2); font-size: 14.5px; }

/* Close */
.close { position: relative; z-index: 1; background: radial-gradient(120% 140% at 15% 0%, #1B3FD0 0%, #020F46 55%), var(--navy); color: #fff; text-align: center; padding: clamp(90px, 12vw, 170px) 0; border-radius: 40px 40px 0 0; }
.close img { margin: 0 auto 18px; height: 96px; width: auto; }
.close p { margin: 22px 0 34px; color: rgba(255, 255, 255, .78); font-size: 19px; }
.foot { background: var(--navy); color: rgba(255, 255, 255, .6); font-size: 14px; padding: 26px 0 34px; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot img { height: 40px; width: auto; margin: -6px 0 -6px -10px; }

/* Reveal (only when JS has confirmed motion is welcome) */
.anim .reveal { opacity: 0; transform: translateY(26px); }

/* Talk page */
.talk { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 110px 0 60px; background: radial-gradient(90% 70% at 85% 0%, #E3EEFF 0%, transparent 60%), radial-gradient(70% 60% at 0% 100%, #F1E6FF 0%, transparent 60%), var(--ground); }
.talk-card { width: min(560px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 5vw, 44px); box-shadow: 0 30px 80px rgba(2, 15, 70, .08); }
.talk-card h1 { font-size: clamp(34px, 6vw, 48px); }
.talk-card > p { color: var(--ink-2); margin-top: 12px; }
form { display: grid; gap: 14px; margin-top: 26px; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
input, textarea { font: inherit; font-size: 17px; color: var(--ink); padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(2, 15, 70, .2); background: var(--ground); width: 100%; }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13.5px; color: var(--ink-3); }
.form-ok { display: none; background: #DCF7E9; color: #0B6B3A; border-radius: 14px; padding: 14px 16px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { gap: 10px; padding-right: 6px; }
  .hero { align-items: flex-start; padding-top: 104px; }
  .hero .sub, .hero .hero-note { display: none; }
  .hero-poster { right: auto; left: 50%; top: auto; bottom: 3svh; height: 36svh; transform: translateX(-50%); }
  .hero .lede { margin-top: 18px; }
  .hero .cta-row { margin-top: 22px; }
  .counters, .flips { grid-template-columns: 1fr; }
  .flip { height: 150px; }
  .story-pin { align-items: flex-end; padding-bottom: 6vh; }
  .beats { min-height: 300px; }
  .beat p:not(.eyebrow) { font-size: 17px; margin-top: 14px; }
  .panel { grid-template-columns: 1fr; }
  .tabs { border-radius: 24px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { min-height: 200px; }
  .receipt-grid, .two, .road-grid { grid-template-columns: 1fr; }
  .receipt { transform: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .tab { padding: 10px 14px; font-size: 14.5px; }
  .btn { padding: 13px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .story { height: auto; padding: 84px 0; background: var(--ground); }
  .story-pin { position: static; height: auto; }
  .beats { min-height: 0; display: grid; gap: 54px; max-width: 640px; }
  .beat { position: static; opacity: 1; transform: none; }
  .story-dots { display: none; }
}
