/* InsuransKu landing page
   Palette: blue (primary), lilac (sky gradients), one warm orange accent.
   Fixed light theme: the brand's identity is a daylight sky, there is no dark variant to keep. */

:root {
  --ink: #0e1020;
  --text: #3b4054;
  --muted: #4a5063;
  --line: #e6e8ee;
  --surface: #f4f5f8;
  --white: #fff;

  --blue: #2f6bf0;
  --blue-deep: #2459d6;
  --blue-text: #1f4fc4;
  --blue-50: #eef3fe;
  --lilac: #c9b6f5;
  --lilac-50: #f3eefd;
  --orange: #ee8a3a;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --gutter: 24px;
  --max: 1200px;
  --header-h: 80px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 16px; }

/* Focus: dark ring on light surfaces, white ring on the blue hero and header */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .hero :focus-visible { outline-color: #fff; }
.site-header .main-nav.open :focus-visible { outline-color: var(--ink); }

/* ---------- Type ---------- */

h1, .h2, h2, h3 { color: var(--ink); font-weight: 500; }

.h2 {
  font-size: clamp(2rem, 1.25rem + 2.3vw, 2.875rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-text);
  margin-bottom: 14px;
}

.lead { font-size: 1.0625rem; color: var(--text); max-width: 600px; text-wrap: pretty; }

.placeholder-note {
  margin-top: 14px;
  font-size: .8125rem;
  color: var(--muted);
  font-style: italic;
}
.placeholder-note.small { font-size: .75rem; text-align: center; margin-top: 12px; }

.sample-note { font-size: .8125rem; color: var(--muted); text-align: center; }

.br-lg { display: none; }
@media (min-width: 760px) { .br-lg { display: inline; } }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262a40; }

.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .75); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }

.btn-outline { background: #fff; color: var(--ink); border-color: #cfd3dd; }
.btn-outline:hover { border-color: var(--ink); }

.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { background: var(--blue-50); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  height: var(--header-h);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.wordmark {
  color: #fff; text-decoration: none;
  font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em;
  padding: 8px 0;
}
.wordmark-dark { color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: 40px; flex: 1; justify-content: flex-end; }
.main-nav ul { display: flex; gap: 32px; margin-right: auto; margin-left: auto; }
.main-nav a {
  color: #fff; text-decoration: none; font-size: .875rem; font-weight: 500;
  padding: 8px 0; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }
.nav-cta { min-height: 40px; padding: 8px 16px; font-size: .875rem; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .6); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute; top: calc(var(--header-h) - 8px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 8px;
    background: #fff; border-radius: var(--radius-lg); padding: 12px;
    box-shadow: 0 18px 40px -12px rgba(14, 16, 32, .35);
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; margin: 0; }
  .main-nav a { color: var(--ink); display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 8px; font-size: 1rem; }
  .main-nav a:hover { background: var(--surface); }
  .main-nav a::after { display: none; }
  .nav-cta { color: #fff; background: var(--ink); border-color: var(--ink); min-height: 48px; }
  .nav-cta:hover { background: #262a40; }
}

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

/* The blue stays at full strength behind all hero text (white text ≥ 4.8:1),
   then opens into lighter sky under the product so the clouds read as daylight. */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px));
  background:
    linear-gradient(180deg, #2a62ee 0%, #2e66ef 38%, #4a80f2 52%, #86abf7 66%, #c9dbfc 80%, #fff 96%);
  text-align: center;
  isolation: isolate;
}
/* On phones the copy takes a larger share of the hero, so the full-strength blue runs further down */
@media (max-width: 700px) {
  .hero { background: linear-gradient(180deg, #2a62ee 0%, #2e66ef 56%, #5d8ff4 66%, #a9c6fa 78%, #e3edfe 90%, #fff 98%); }
}

.hero-copy { display: flex; flex-direction: column; align-items: center; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.375rem, 1.1rem + 4.4vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-sub {
  color: #fff;
  max-width: 540px;
  margin-top: 20px;
  font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
  line-height: 1.6;
}

.hero .btn-dark { margin-top: 32px; }

.hero-stage {
  position: relative;
  margin-top: clamp(40px, 6vw, 64px);
  padding-inline: var(--gutter);
}

/* One frosted frame around the product: the only glass surface besides the dialog backdrop. */
.mockup-frame {
  position: relative; z-index: 1;
  width: 100%; max-width: 1060px; margin-inline: auto;
  padding: 9px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px -30px rgba(18, 44, 120, .55);
}

.mockup-scale { --s: 1; width: 100%; overflow: hidden; border-radius: 12px; }
@media (max-width: 1120px) { .mockup-scale { --s: .86; } }
@media (max-width: 900px) { .mockup-scale { --s: .68; } }
@media (max-width: 700px) { .mockup-scale { --s: .5; } }
@media (max-width: 520px) { .mockup-scale { --s: .34; } }

.app-window {
  width: 1040px;
  zoom: var(--s);
  background: #fff;
  color: #1b1f2e;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.clouds {
  position: absolute; inset: auto 0 0 0; pointer-events: none;
  background: url("assets/clouds.svg") center bottom / cover no-repeat;
}
/* The bank runs past the bottom of the frame so it also swallows the frame's drop shadow */
.clouds-hero { z-index: 2; height: calc(52% + 120px); min-height: 200px; bottom: -120px; }

.hero .sample-note { position: relative; z-index: 3; margin-top: 16px; padding-bottom: 8px; }
@media (min-width: 900px) { .hero .sample-note { margin-top: -40px; } }

/* ---------- Product mockup internals (drawn at 1040px, then zoomed) ---------- */

.app-inner svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.browser-bar {
  height: 36px; display: flex; align-items: center; gap: 14px;
  padding: 0 14px; background: #f3f4f7; border-bottom: 1px solid var(--line); color: #6b7080;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff6058; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #29c840; }
.browser-nav, .browser-tools { display: flex; gap: 6px; }
.browser-nav svg, .browser-tools svg { width: 15px; height: 15px; }
.url {
  flex: 1; max-width: 380px; margin-inline: auto; height: 22px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px;
}

.app-header {
  height: 52px; display: flex; align-items: center; gap: 28px;
  padding: 0 22px; border-bottom: 1px solid #eef0f4;
}
.app-brand { color: var(--blue); font-weight: 600; font-size: 14px; }
.app-tabs { display: flex; gap: 4px; color: var(--muted); }
.app-tabs span { padding: 6px 12px; border-radius: 6px; }
.app-tabs .on { background: var(--blue-50); color: var(--blue-deep); font-weight: 600; }
.app-user { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.app-user svg { width: 17px; height: 17px; }
.avatar-sm {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lilac-50); color: #5b34b3; font-size: 10px; font-weight: 600;
}
.user-meta { display: grid; line-height: 1.2; }
.user-meta b { color: #1b1f2e; font-size: 11.5px; font-weight: 600; }
.user-meta small { font-size: 10px; }

.app-body { padding: 18px 22px 26px; }
.app-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-h { font-size: 20px; font-weight: 600; }
.app-btn {
  display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 500; padding: 7px 12px; border-radius: 6px;
}
.app-btn svg { width: 13px; height: 13px; }

.app-grid { display: grid; grid-template-columns: 1fr 296px; gap: 14px; }
.app-main { display: grid; gap: 14px; align-content: start; }

.folders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.folder { border: 1px solid #eceef3; border-radius: 10px; padding: 12px; display: grid; gap: 3px; }
.folder-top { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 18px; }
.folder-top svg { width: 18px; height: 18px; }
.folder-top i { font-style: normal; }
.folder b { font-size: 12px; font-weight: 600; }
.folder small { font-size: 10.5px; color: #6b7080; }

.panel { border: 1px solid #eceef3; border-radius: 10px; padding: 14px; }
.panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.panel-head b { font-size: 13px; font-weight: 600; }
.panel-head > i { margin-left: auto; font-style: normal; color: #6b7080; }

.seg { display: inline-flex; background: #f3f4f7; border-radius: 7px; padding: 2px; font-size: 10.5px; }
.seg span { padding: 4px 10px; border-radius: 5px; color: var(--muted); }
.seg .on { background: var(--blue); color: #fff; }
.search {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; width: 150px;
  border: 1px solid #eceef3; border-radius: 6px; padding: 4px 8px; color: #6b7080; font-size: 10.5px;
}
.search svg { width: 12px; height: 12px; }

.table { font-size: 11px; }
.tr {
  display: grid; grid-template-columns: .9fr .7fr 1fr .6fr 1.1fr .7fr; align-items: center;
  gap: 8px; padding: 9px 4px; border-top: 1px solid #f0f1f5;
}
.th { color: #6b7080; font-size: 10.5px; border-top: 0; padding-top: 0; }
.tr > span:nth-child(3) { display: flex; align-items: center; gap: 6px; }
.dot-av {
  width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: #e6edfd; color: var(--blue-deep); font-size: 7.5px; font-weight: 600; font-style: normal;
}
.dot-av.b { background: #efe7fd; color: #5b34b3; }
.dot-av.c { background: #fdeee2; color: #a4521b; }
.st { justify-self: start; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 500; }
.st-exp { background: #fdebe1; color: #b54a12; }
.st-rev { background: #fff4d6; color: #7d5a00; }

.app-side { display: grid; gap: 14px; align-content: start; }

/* Status colours (expired / incomplete / invalid) appear only inside product previews,
   where they encode document state. */
.bars-label { display: flex; font-size: 10.5px; color: #6b7080; margin-bottom: 4px; }
.bars { display: flex; gap: 3px; height: 6px; }
.bars i { border-radius: 3px; }
.b1, .k1 { background: #f08a3c; }
.b2, .k2 { background: #f2c14b; }
.b3, .k3 { background: #2db3ae; }
.counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.counts span { border: 1px solid #eceef3; border-radius: 8px; padding: 6px 8px; font-size: 10px; color: #6b7080; display: grid; }
.counts b { display: flex; align-items: center; gap: 5px; color: #1b1f2e; font-size: 12px; font-weight: 600; }
.counts b i { width: 6px; height: 6px; border-radius: 50%; }
.totals { display: flex; gap: 18px; margin-top: 12px; font-size: 10.5px; color: #6b7080; }
.totals b { color: #1b1f2e; font-size: 18px; font-weight: 600; margin-right: 3px; }
.warn {
  display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 8px 10px;
  background: #fff4ec; color: #8f4510; border-radius: 8px; font-size: 10px; line-height: 1.4;
}
.warn svg { width: 14px; height: 14px; flex: none; }

.storage { background: linear-gradient(160deg, #6f9bf6, #3368ee); color: #fff; border: 0; }
.gauge-row { display: flex; align-items: center; gap: 16px; }
.gauge {
  --p: 25;
  width: 84px; height: 84px; border-radius: 50%; flex: none;
  display: grid; place-content: center; text-align: center; line-height: 1;
  background:
    radial-gradient(closest-side, var(--gauge-hole, #4a7ff2) 76%, transparent 77%),
    conic-gradient(#fff calc(var(--p) * 1%), rgba(255, 255, 255, .28) 0);
}
.gauge b { font-size: 18px; font-weight: 600; }
.gauge small { font-size: 9.5px; opacity: .9; }
.gauge-row ul { display: grid; gap: 6px; font-size: 10.5px; }
.gauge-row li { display: flex; align-items: center; gap: 6px; }
.gauge-row li i { width: 7px; height: 7px; border-radius: 2px; background: #fff; }
.gauge-row li:nth-child(2) i { opacity: .7; }
.gauge-row li:nth-child(3) i { opacity: .4; }

/* ---------- Logo strip ---------- */

.logos { position: relative; z-index: 1; padding: 36px 0 clamp(64px, 8vw, 104px); text-align: center; }
.logos .eyebrow { margin-bottom: 22px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.logo-row li {
  display: grid; place-items: center;
  min-width: 128px; height: 48px; padding: 0 16px;
  border: 1px dashed #b9bfcc; border-radius: var(--radius);
  color: var(--muted); font-size: .8125rem;
}
@media (max-width: 520px) {
  .logo-row { display: grid; grid-template-columns: 1fr 1fr; }
  .logo-row li { min-width: 0; }
  .logo-row li:last-child { grid-column: 1 / -1; }
}

/* ---------- Solution ---------- */

.solution { padding-bottom: clamp(72px, 9vw, 128px); }
.solution-head { text-align: center; display: grid; justify-items: center; }
.solution-head .lead { margin-top: 18px; }

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: clamp(48px, 6vw, 72px); text-align: center;
}
.pillar h3 { font-size: 1.0625rem; font-weight: 600; margin-top: 28px; }
.pillar p { margin: 10px auto 0; font-size: .9375rem; max-width: 300px; color: var(--muted); }

.illo { position: relative; height: 150px; width: 220px; margin-inline: auto; }
.illo svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Policy lifecycle: one bar in the series is the renewal point */
.illo-bars { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding-bottom: 6px; }
.illo-bars i {
  width: 22px; height: 54px; border-radius: 12px; border: 1px solid #dfe2ea; background: #fff;
}
.illo-bars i:nth-of-type(1) { height: 46px; }
.illo-bars i:nth-of-type(2) { height: 64px; }
.illo-bars i:nth-of-type(4) { height: 70px; }
.illo-bars i:nth-of-type(5) { height: 50px; }
.illo-bars i:nth-of-type(6) { height: 40px; }
.illo-bars i.hi {
  height: 98px; border-color: #cdb8f6;
  background: linear-gradient(180deg, #b994f3 0%, #dccbfa 55%, rgba(243, 238, 253, .4) 100%);
}
.illo-bars .guide { position: absolute; left: 6px; right: 6px; top: 46px; border-top: 1px dashed #c2c7d3; }
.illo-bars .tip {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .75rem; font-weight: 500;
  padding: 5px 10px; border-radius: 999px; white-space: nowrap;
}
.illo-bars .tip::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 7px; height: 7px; margin-left: -3.5px;
  border-radius: 50%; background: var(--blue); border: 2px solid #fff;
}

/* Document tracking: files of one policy orbit the checked document */
.illo-orbit .ring {
  position: absolute; left: 50%; top: 50%; width: 128px; height: 128px; margin: -64px 0 0 -64px;
  border: 1.5px dashed #c9cfdb; border-radius: 50%;
}
.illo-orbit .core {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #6f9bf6, var(--blue-deep));
  box-shadow: 0 8px 20px -6px rgba(36, 89, 214, .6);
}
.illo-orbit .core svg { width: 24px; height: 24px; }
.illo-orbit .sat {
  position: absolute; width: 26px; height: 26px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: #8f72d6;
}
.illo-orbit .sat svg { width: 15px; height: 15px; }
.illo-orbit .s1 { left: 50%; top: 11px; margin-left: -13px; }
.illo-orbit .s2 { left: 50%; bottom: 11px; margin-left: -13px; }
.illo-orbit .s3 { top: 50%; left: 33px; margin-top: -13px; }
.illo-orbit .s4 { top: 50%; right: 33px; margin-top: -13px; }

/* Alerts: a policy window with a flagged item */
.illo-alert .cross { position: absolute; border-color: #d3d8e2; border-style: dashed; border-width: 0; }
.illo-alert .cross.h { left: 0; right: 0; top: 50%; border-top-width: 1px; }
.illo-alert .cross.v { top: 0; bottom: 0; left: 50%; border-left-width: 1px; }
.mini-window {
  position: absolute; left: 50%; top: 50%; width: 120px; height: 92px; margin: -46px 0 0 -70px;
  background: #fff; border: 1px solid #e3e6ee; border-radius: 8px; overflow: hidden;
  box-shadow: 0 6px 18px -10px rgba(14, 16, 32, .25);
}
.mw-dots { display: flex; gap: 3px; padding: 6px 7px; }
.mw-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
.mw-dots i:nth-child(2) { background: #f2c14b; }
.mw-dots i:nth-child(3) { background: #2db3ae; }
.mw-bar { position: absolute; left: 0; top: 18px; bottom: 0; width: 18px; background: linear-gradient(180deg, #b994f3, #d9c8fa); }
.mw-lines { position: absolute; left: 26px; right: 10px; top: 24px; display: grid; gap: 7px; }
.mw-lines i { height: 4px; border-radius: 2px; background: #eceef3; }
.mw-lines i:nth-child(2) { width: 70%; }
.mw-lines i:nth-child(4) { width: 55%; }
.alert-badge {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 14px;
  border-radius: 50%; display: grid; place-items: center; color: #fff; border: 4px solid #fff;
  background: radial-gradient(circle at 30% 25%, #6f9bf6, var(--blue-deep));
  box-shadow: 0 8px 20px -6px rgba(36, 89, 214, .6);
}
.alert-badge svg { width: 22px; height: 22px; }

@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; gap: 56px; }
}

/* ---------- Key features ---------- */

.features { padding-bottom: clamp(72px, 9vw, 128px); }
.section-head { text-align: center; display: grid; justify-items: center; margin-bottom: clamp(36px, 5vw, 56px); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 340px; padding: 28px; border-radius: var(--radius-xl);
}
/* Each card gets its own tint so the four features read as four distinct jobs */
.f-lilac { background: linear-gradient(150deg, #efe6fd 0%, #f7f3fe 70%); }
.f-sky { background: linear-gradient(150deg, #e3ecfd 0%, #d6e3fb 100%); }
.f-peach { background: linear-gradient(150deg, #fde9da 0%, #fdf4ec 75%); }
.f-mist { background: linear-gradient(150deg, #e7effb 0%, #eef2fb 50%, #f1ecfd 100%); }

.f-visual { align-self: flex-end; width: min(310px, 100%); }
.f-copy { max-width: 340px; }
.f-num { display: block; font-size: .8125rem; font-weight: 600; color: var(--blue-text); margin-bottom: 8px; }
.feature h3 { font-size: 1.1875rem; font-weight: 600; }
.feature p { margin-top: 8px; font-size: .9375rem; color: var(--muted); }

.mini-card {
  background: #fff; border-radius: 12px; padding: 14px;
  font-size: 12px; line-height: 1.4; color: #1b1f2e;
  box-shadow: 0 10px 30px -18px rgba(30, 40, 90, .35);
}
.mini-card svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mc-head b { font-size: 12.5px; font-weight: 600; }
.mc-head i { font-style: normal; color: #6b7080; }

.storage-mini { background: linear-gradient(160deg, #6f9bf6, #3368ee); color: #fff; }
.storage-mini .mc-head i { color: #fff; }

.notify-mini { width: 200px; margin-left: auto; }
.notify-mini .ok { width: 26px; height: 26px; border-radius: 7px; background: #e5f6ec; color: #1d7a45; display: grid; place-items: center; }
.notify-mini .ok svg { width: 15px; height: 15px; }
.notify-mini .arrow-box { width: 26px; height: 26px; border-radius: 7px; border: 1px solid #eceef3; display: grid; place-items: center; color: #6b7080; }
.notify-mini .arrow-box svg { width: 13px; height: 13px; }
.nm-title { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; }
.nm-num { display: block; font-size: 26px; font-weight: 600; line-height: 1.2; }
.notify-mini small { color: #6b7080; font-size: 10.5px; }

.rv-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #f0f1f5; }
.rv-row:first-of-type { border-top: 0; }
.rv-row .dot-av { width: 26px; height: 26px; font-size: 9px; }
.rv-row > span:nth-child(2) { display: grid; line-height: 1.25; }
.rv-row b { font-size: 11.5px; font-weight: 600; }
.rv-row small { font-size: 10px; color: #6b7080; }
.rv-tag { margin-left: auto; font-size: 10px; padding: 2px 8px; border-radius: 999px; background: #fdebe1; color: #b54a12; }
.rv-tag.ok-tag { background: #e5f6ec; color: #1d7a45; }
.rv-role { font-size: 10px; color: #6b7080; border: 1px solid #eceef3; padding: 2px 6px; border-radius: 5px; }

.features .sample-note { margin-top: 18px; }

@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
}
@media (max-width: 520px) {
  .feature { padding: 20px; }
  .f-visual { align-self: stretch; width: 100%; }
  .notify-mini { width: 100%; }
}

/* ---------- Testimonials ---------- */

.testimonials { padding-bottom: clamp(72px, 9vw, 128px); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.quote {
  background: var(--surface); border-radius: var(--radius-lg); padding: 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.qmark svg { width: 30px; height: 22px; }
.q-orange { color: var(--orange); }
.q-blue { color: var(--blue); }
.q-lilac { color: #a27ff0; }
.qmark path { fill: currentColor; }
.quote blockquote { font-size: .9375rem; color: var(--text); line-height: 1.6; flex: 1; }
.who { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid #e3e6ec; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: #e3e6ee; color: var(--muted); font-size: .75rem; font-weight: 600;
}
.who b { display: block; color: var(--ink); font-size: .875rem; font-weight: 600; }
.who small { color: var(--muted); font-size: .8125rem; }

/* ---------- Pricing ---------- */

.pricing, .closing {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(165deg, #f1d8f6 0%, #e3d5fa 28%, #cfdcfb 58%, #c3e2fb 100%);
}
.clouds-sky {
  z-index: -1; inset: 0;
  background: url("assets/clouds-sky.svg") center / cover no-repeat;
  opacity: .95;
}
.pricing { padding: clamp(72px, 9vw, 120px) 0; }
.pricing .section-head { margin-bottom: 28px; }

.billing {
  display: flex; width: max-content; margin: 0 auto 40px; padding: 4px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); border-radius: 10px;
}
.billing-opt {
  min-width: 96px; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 7px;
  background: transparent; color: var(--muted); font-size: .875rem; font-weight: 500; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.billing-opt[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -2px rgba(14, 16, 32, .18); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: center; max-width: 1040px; margin-inline: auto; }
.plan {
  background: rgba(255, 255, 255, .88); border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-xl); padding: 28px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.plan h3 { font-size: 1.125rem; font-weight: 500; }
.price { margin-top: 10px; color: var(--ink); display: flex; align-items: baseline; gap: 2px; }
.price .amount { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; transition: opacity .2s; }
.price .per { font-size: .9375rem; color: var(--muted); }
.price.swap .amount { opacity: 0; }
.plan-desc { margin-top: 8px; font-size: .875rem; color: var(--muted); max-width: 240px; }
.incl {
  width: 100%; margin-top: 20px; padding-top: 18px; border-top: 1px solid #e3e6ec;
  font-size: .8125rem; font-weight: 600; color: var(--ink);
}
.ticks { margin-top: 12px; display: grid; gap: 8px; font-size: .875rem; color: var(--text); }
.ticks li::before { content: "\2022"; margin-right: 8px; color: var(--blue); }
.plan .btn { margin-top: 26px; width: 100%; }

/* The featured plan is the one to steer teams toward: it carries the brand blue and the only lift.
   Gradient stays dark enough for white body text (≥ 4.8:1). */
.plan-featured {
  background: linear-gradient(180deg, #3369ee 0%, #2457da 100%);
  border-color: transparent; color: #fff;
  padding-block: 40px;
  box-shadow: 0 30px 60px -28px rgba(36, 70, 190, .7);
}
.plan-featured h3, .plan-featured .price, .plan-featured .incl { color: #fff; }
.plan-featured .price .per, .plan-featured .plan-desc, .plan-featured .ticks { color: #fff; }
.plan-featured .incl { border-color: rgba(255, 255, 255, .3); }
.plan-featured .ticks li::before { color: #fff; }

.billing-note { text-align: center; margin-top: 28px; font-size: .875rem; color: var(--muted); }

@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 440px; }
  .plan-featured { padding-block: 32px; }
}

/* ---------- FAQ ---------- */

.faq { padding: clamp(72px, 9vw, 128px) 0; }
.faq-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 32px; }

.faq-list { display: grid; gap: 8px; }
.qa { border-radius: 14px; transition: background-color .25s var(--ease); }
.qa[open] { background: var(--surface); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 60px; padding: 16px 20px; cursor: pointer; list-style: none;
  color: var(--ink); font-size: 1.0625rem; font-weight: 500; border-radius: 14px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa:not([open]) summary:hover { background: var(--surface); }
.qa-icon {
  position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--blue);
}
.qa-icon::before, .qa-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px;
  background: var(--blue); transition: transform .25s var(--ease);
}
.qa-icon::after { transform: rotate(90deg); }
.qa[open] .qa-icon::after { transform: rotate(0deg); }
.qa-body { padding: 0 20px 20px; }
.qa-body p { color: var(--text); font-size: .9375rem; max-width: 560px; }

/* Open/close height animation where the browser supports it */
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .3s var(--ease), content-visibility .3s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

@media (max-width: 960px) {
  .faq-inner { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; text-align: center; }
}

/* ---------- Closing CTA ---------- */

.closing { padding: clamp(80px, 10vw, 136px) 0; text-align: center; }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing .lead { margin-top: 18px; }
.closing .btn { margin-top: 30px; }

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

.site-footer { padding: 32px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .875rem; color: var(--text); }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.copyright { font-size: .8125rem; color: var(--muted); }
@media (max-width: 760px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Demo dialog ---------- */

.demo-dialog {
  width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: var(--radius-xl);
  background: #fff; color: var(--text);
  box-shadow: 0 40px 90px -30px rgba(14, 16, 32, .55);
}
.demo-dialog::backdrop { background: rgba(14, 16, 32, .5); }
.dialog-inner { position: relative; padding: 32px 28px 28px; }
.dialog-close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 10px;
  border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink);
}
.dialog-close:hover { background: var(--surface); }
.dialog-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.demo-dialog h2 { font-size: 1.625rem; letter-spacing: -0.01em; padding-right: 40px; }
.dialog-sub { margin-top: 8px; font-size: .9375rem; color: var(--muted); }
.demo-form { margin-top: 22px; display: grid; gap: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 500; color: var(--ink); }
.field input, .field select {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid #8a90a0; border-radius: 8px; background: #fff; font-size: 1rem; color: var(--ink);
}
.field input::placeholder { color: #6b7080; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: #c0352b; }
.field-error { min-height: 0; margin-top: 4px; font-size: .8125rem; color: #b3261e; }
.field-error:empty { display: none; }
.form-error { padding: 10px 12px; border-radius: 8px; background: #fdeceb; color: #9b2017; font-size: .875rem; }

.demo-form .btn { position: relative; margin-top: 6px; min-height: 48px; }
.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
.demo-form.loading .spinner { display: inline-block; }
.demo-form.loading .btn-label::after { content: "..."; }
@keyframes spin { to { transform: rotate(360deg); } }

.dialog-view[data-view="done"] { text-align: center; }
.dialog-view[data-view="done"]:focus { outline: none; }
.done-icon {
  width: 52px; height: 52px; margin: 4px auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: #e5f6ec; color: #1d7a45;
}
.done-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dialog-view[data-view="done"] h2 { padding-right: 0; }
.dialog-view[data-view="done"] .btn { margin-top: 22px; }
.dialog-view code { font-size: .875em; background: var(--surface); padding: 1px 5px; border-radius: 4px; }

/* ---------- Scroll reveal ----------
   Sections ease in as they reach the viewport so the eye lands on each heading in reading order.
   Content stays visible when JavaScript is off or motion is reduced. */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-rise { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease) .15s, transform 1.1s var(--ease) .15s; }
.js .reveal-rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-rise { opacity: 1; transform: none; transition: none; }
  .spinner { animation-duration: 1.6s; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Small screens ---------- */

@media (max-width: 520px) {
  :root { --gutter: 16px; --header-h: 72px; }
  .hero-stage { padding-inline: 12px; }
  .mockup-frame { padding: 5px; border-radius: 12px; }
  .mockup-scale { border-radius: 8px; }
  .quote { padding: 22px; }
  .plan { padding: 24px 20px; }
  .qa summary { padding: 14px 16px; font-size: 1rem; }
  .qa-body { padding: 0 16px 18px; }
}
