/* ==========================================================================
   Team Mail Manager marketing site (the `www` scope)
   The only stylesheet the www layout loads: tokens, reset, every component.
   ========================================================================== */

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

:root {
  /* colour, taken from the logo: blue envelope, orange and green people */
  --ink: #070C1D;
  --ink-2: #0E1631;
  --ink-3: #16203F;
  --paper: #F5F7FC;
  --white: #FFFFFF;
  --text: #0F172A;
  --text-2: #3D4660;
  --muted: #6B7590;
  --line: #E3E7F0;
  --line-2: #D2D8E6;

  --blue: #1B6FE3;
  --blue-deep: #0F4FB3;
  --blue-soft: #E8F0FE;
  --sky: #38BDF8;
  --sky-soft: #E3F6FE;
  --orange: #F97316;
  --orange-deep: #C2410C;
  --orange-soft: #FFEEDF;
  --green: #22A55B;
  --green-deep: #15803D;
  --green-soft: #E4F7EC;
  --amber: #F59E0B;
  --amber-soft: #FFF4DB;
  --rose: #E11D48;
  --rose-soft: #FFE7EC;
  --violet: #7C3AED;
  --violet-soft: #F0E9FF;
  --note: #FFF6CF;
  --note-ink: #6B5510;

  --aurora: linear-gradient(120deg, #1B6FE3 0%, #38BDF8 100%);
  --ember: linear-gradient(120deg, #F97316 0%, #FBBF24 100%);

  /* type */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --container: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; padding: 0; margin: 0; }
mark { background: #FFE9A8; color: inherit; border-radius: 3px; padding: 0 2px; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: #C7DBFF; color: var(--ink); }

.www-icon { width: 1em; height: 1em; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(42px, 6vw, 82px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.18; }
h4 { font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; }

.www-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 34em;
}
.www-gradient { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.www-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.www-section { padding: clamp(72px, 9vw, 124px) 0; }
.www-section--tight { padding: clamp(40px, 5vw, 64px) 0; }
main { overflow-x: clip; }
.www-section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.www-section--dark { background: var(--ink); color: #D5DDEE; }
.www-section--dark h2, .www-section--dark h3 { color: var(--white); }
.www-section--dark .www-lead { color: #A6B2CB; }

.www-section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.www-section__head h2 { margin-bottom: 16px; }
.www-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.www-section__head--center .www-lead { margin: 0 auto; }

.www-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--blue); margin-bottom: 14px;
}
.www-kicker .www-icon { font-size: 14px; }
.www-section--dark .www-kicker { color: #8CC1FF; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.www-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
.www-btn .www-icon { font-size: 15px; transition: transform .35s var(--ease-out); }
.www-btn:hover .www-icon { transform: translateX(3px); }
.www-btn--lg { padding: 18px 30px; font-size: 16px; }

.www-btn--primary {
  color: var(--white); background: var(--ink); border-color: var(--ink);
  box-shadow: 0 1px 2px rgba(7,12,29,.2), 0 10px 30px -12px rgba(7,12,29,.5);
}
.www-btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--aurora); opacity: 0; transition: opacity .4s var(--ease-out);
}
.www-btn--primary::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg);
}
.www-btn--primary:hover::before { animation: shine .9s var(--ease-out) forwards; }
@keyframes shine { to { left: 130%; } }
.www-btn--primary:hover { transform: translateY(-2px); border-color: transparent; box-shadow: 0 2px 4px rgba(27,111,227,.2), 0 18px 40px -14px rgba(27,111,227,.65); }
.www-btn--primary:hover::after { opacity: 1; }
.www-nav .www-btn--primary, .www-section--dark .www-btn--primary, .www-page-hero .www-btn--primary, .www-hero .www-btn--primary, .www-cta .www-btn--primary {
  background: var(--white); color: var(--ink); border-color: var(--white);
}
.www-nav .www-btn--primary:hover, .www-section--dark .www-btn--primary:hover, .www-page-hero .www-btn--primary:hover, .www-hero .www-btn--primary:hover, .www-cta .www-btn--primary:hover { color: var(--white); }

.www-btn--ghost { color: var(--text); background: var(--white); border-color: var(--line-2); }
.www-btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); box-shadow: 0 10px 30px -14px rgba(15,23,42,.35); }
.www-page-hero .www-btn--ghost, .www-hero .www-btn--ghost, .www-section--dark .www-btn--ghost, .www-cta .www-btn--ghost {
  color: var(--white); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.2); backdrop-filter: blur(8px);
}
.www-page-hero .www-btn--ghost:hover, .www-hero .www-btn--ghost:hover, .www-section--dark .www-btn--ghost:hover, .www-cta .www-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.45); box-shadow: none; }

.www-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .25s;
}
.www-link:hover { border-color: var(--text); }
.www-link .www-icon { font-size: 14px; transition: transform .3s var(--ease-out); }
.www-link:hover .www-icon { transform: translateX(4px); }
.www-section--dark .www-link { color: var(--white); border-color: rgba(255,255,255,.3); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.www-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; border-bottom: 1px solid transparent;
  transition: padding .35s var(--ease-out), background-color .35s, border-color .35s;
}
.www-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.www-nav.scrolled {
  padding: 10px 0;
  background: rgba(7,12,29,.74);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: rgba(255,255,255,.08);
}
.www-nav__brand {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--white);
}
.www-brand-mark {
  width: 36px; height: 36px; border-radius: 11px; position: relative; overflow: hidden;
  background: var(--aurora); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px -6px rgba(27,111,227,.8);
}
.www-brand-mark .www-icon { font-size: 18px; }
.www-brand-mark::after {
  content: ""; position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 2px rgba(255,255,255,.9);
}
.www-nav__brand small { font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: rgba(255,255,255,.6); margin-left: -4px; }

.www-nav__links { display: flex; align-items: center; gap: 2px; }
.www-nav__links > li { position: relative; }
.www-nav__links a, .www-nav__toggle-label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; text-decoration: none;
  color: rgba(255,255,255,.8); font-size: 14.5px; font-weight: 500;
  transition: color .2s, background-color .2s; cursor: pointer;
}
.www-nav__links a:hover, .www-nav__links a[aria-current="page"], .www-nav__group:hover .www-nav__toggle-label, .www-nav__group:focus-within .www-nav__toggle-label { color: var(--white); background: rgba(255,255,255,.09); }
.www-nav__toggle-label .www-icon { font-size: 12px; transition: transform .25s var(--ease-out); }
.www-nav__group:hover .www-nav__toggle-label .www-icon { transform: rotate(180deg); }

.www-nav__menu {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 660px;
  transform: translate(-50%, 8px) scale(.98); transform-origin: top center;
  opacity: 0; visibility: hidden;
  background: var(--white); border-radius: var(--r-lg); padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  box-shadow: 0 30px 80px -20px rgba(7,12,29,.45), 0 0 0 1px rgba(7,12,29,.06);
  transition: opacity .25s var(--ease-out), transform .3s var(--ease-out), visibility 0s linear .25s;
}
.www-nav__menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.www-nav__group:hover .www-nav__menu, .www-nav__group:focus-within .www-nav__menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1);
  transition: opacity .25s var(--ease-out), transform .3s var(--ease-out), visibility 0s;
}
.www-nav__menu a {
  display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 14px;
  color: var(--text); font-size: 14px; font-weight: 400; background: transparent;
}
.www-nav__menu a:hover { background: var(--paper); color: var(--text); }
.www-nav__menu strong { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.2; margin-bottom: 3px; }
.www-nav__menu-blurb { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.www-nav__menu-all { grid-column: 1 / -1; justify-content: center; font-weight: 600 !important; color: var(--blue) !important; border-top: 1px solid var(--line); border-radius: 0 0 14px 14px !important; margin-top: 4px; }

.www-nav__cta { display: flex; align-items: center; gap: 8px; }
.www-nav__cta .www-btn { padding: 11px 20px; font-size: 14px; }
.www-nav__login { color: rgba(255,255,255,.8); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: background-color .2s, color .2s; }
.www-nav__login:hover { color: var(--white); background: rgba(255,255,255,.09); }
.www-nav__burger { display: none; width: 42px; height: 42px; border-radius: 12px; color: var(--white); background: rgba(255,255,255,.09); font-size: 18px; align-items: center; justify-content: center; }

.www-mobile {
  position: fixed; inset: 0; z-index: 1100; background: var(--ink); color: var(--white);
  padding: 96px 28px 40px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  transform: translateY(-100%); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s;
}
.www-mobile.open { transform: translateY(0); opacity: 1; }
.www-mobile a { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--white); text-decoration: none; padding: 8px 0; }
.www-mobile a.small { font-family: var(--font-body); font-size: 17px; font-weight: 500; color: rgba(255,255,255,.75); padding: 6px 0; letter-spacing: 0; }
.www-mobile hr { border: 0; height: 1px; background: rgba(255,255,255,.12); margin: 18px 0; }
.www-mobile__close { position: absolute; top: 18px; right: 24px; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.09); color: var(--white); font-size: 20px; display: inline-flex; align-items: center; justify-content: center; }
.www-mobile .www-btn { margin-top: 18px; align-self: flex-start; font-size: 15px; }

.www-flash { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 900; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }

/* --------------------------------------------------------------------------
   Dark hero surfaces (home hero, sub-page hero, CTA)
   -------------------------------------------------------------------------- */
.www-glow {
  position: absolute; inset: -20% -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(640px 560px at var(--mx, 72%) var(--my, 28%), rgba(27,111,227,.5), transparent 60%),
    radial-gradient(520px 420px at 12% 92%, rgba(249,115,22,.3), transparent 60%),
    radial-gradient(460px 380px at 92% 96%, rgba(56,189,248,.22), transparent 60%);
  filter: blur(40px);
  animation: glow-drift 18s ease-in-out infinite alternate;
}
@keyframes glow-drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-2%, 3%, 0) scale(1.06); } }
.www-gridlines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%);
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.www-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding: clamp(136px, 15vw, 190px) 0 clamp(72px, 8vw, 110px);
}
.www-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.www-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 7px; border-radius: 999px; margin-bottom: 28px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.88);
}
.www-pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.www-pill .dot .www-icon { stroke-width: 3; }

.www-hero h1 { color: var(--white); margin-bottom: 26px; font-size: clamp(40px, 5.2vw, 72px); }
.www-hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.www-hero h1 .line > span { display: block; }
.www-hero h1 .line em { font-style: normal; color: var(--orange); }
.www-hero .www-lead { color: #B4BFD6; margin-bottom: 36px; }
.www-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.www-hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; color: #8E9AB4; font-size: 14px; }
.www-hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.www-hero__proof .www-icon { color: var(--sky); font-size: 14px; }

/* page-load reveal */
.reveal-lines .line > span, .reveal-up { opacity: 0; }
.reveal-lines .line > span { transform: translateY(110%); animation: rise .9s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
.reveal-up { transform: translateY(18px); animation: rise-soft .9s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
@keyframes rise { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: translateY(0); } }
@keyframes rise-soft { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---- the live inbox scene ------------------------------------------------- */
.www-scene { position: relative; height: 720px; perspective: 1400px; }
.www-scene__stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .6s var(--ease-out); }
.www-scene__stage[data-scene] { display: none; }
.www-scene__stage[data-scene].is-active { display: block; }
.www-scene__bar { position: absolute; left: 0; right: 0; bottom: -46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 7; }
.www-scene__switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.www-scene__switch button { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.6); transition: color .25s, background-color .25s; }
.www-scene__switch button:hover { color: var(--white); }
.www-scene__switch button.active { color: var(--ink); background: var(--white); }
.sc {
  position: absolute; color: var(--white);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12);
  opacity: 0; transform: translateY(30px) scale(.96);
  animation: card-in 1s var(--ease-out) forwards;
}
@keyframes card-in { to { opacity: 1; transform: translateY(0) scale(1); } }
/* the thread and SLA cards land when their connector reaches them */
.www-scene.play .sc--thread { animation: card-land .9s var(--ease-spring) forwards, card-glow 1.4s var(--ease-out); animation-delay: 3.2s, 3.5s; }
.www-scene.play .sc--sla { animation: card-land .9s var(--ease-spring) forwards, card-glow 1.4s var(--ease-out); animation-delay: 7.2s, 7.5s; }
@keyframes card-land {
  0% { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)) scale(.86); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
@keyframes card-glow {
  0%, 100% { box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
  35% { box-shadow: 0 0 0 2px rgba(56,189,248,.55), 0 0 48px rgba(56,189,248,.35), 0 40px 80px -30px rgba(0,0,0,.7); border-color: rgba(56,189,248,.6); }
}
.sc--inbox  { left: 0; top: 0; width: 60%; z-index: 3; padding: 16px 16px 14px; animation-delay: .5s; }
.sc--thread { right: 0; top: 250px; width: 58%; z-index: 4; padding: 16px 18px; animation: none; --dx: -22px; --dy: -22px; }
.sc--sla    { left: 0; top: 560px; width: 42%; z-index: 5; padding: 16px 18px; animation: none; --dx: 22px; --dy: -22px; }

.sc__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sc__title { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 13.5px; }
.sc__title .ico { width: 28px; height: 28px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.sc__sub { font-size: 12px; color: rgba(255,255,255,.55); display: inline-flex; align-items: center; gap: 6px; }
.sc__sub .live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34,165,91,.25); }
.sc__sub .live::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--green); animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

.sc-rows { display: grid; gap: 7px; }
.sc-row {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: 12.5px;
}
.sc-row .av { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--white); background: rgba(255,255,255,.14); }
.sc-row .who { min-width: 0; }
.sc-row .who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-row .who > span { display: block; color: rgba(255,255,255,.5); font-size: 11.5px; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-row .end { display: inline-flex; align-items: center; gap: 6px; }

.sc-row--new { position: relative; overflow: hidden; opacity: 0; transform: translateY(-10px); height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -7px; }
.www-scene.play .sc-row--new { animation: row-arrive .7s var(--ease-out) forwards; animation-delay: 1s; }
@keyframes row-arrive { 0% { opacity: 0; transform: translateY(-10px); height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: -7px; } 40% { height: 48px; padding-top: 9px; padding-bottom: 9px; margin-bottom: 0; } 100% { opacity: 1; transform: translateY(0); height: 48px; padding-top: 9px; padding-bottom: 9px; margin-bottom: 0; } }
.sc-row--new::after { content: ""; position: absolute; inset: 0; border-radius: 12px; border: 1px solid rgba(249,115,22,.7); background: linear-gradient(90deg, rgba(249,115,22,.22), transparent 60%); opacity: 0; }
.www-scene.play .sc-row--new::after { animation: flash 1.6s var(--ease-out) forwards; animation-delay: 1.4s; }
@keyframes flash { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
.sc-row--new .av { background: var(--orange); }

.stamp {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .01em; border: 1px solid transparent; white-space: nowrap;
}
.stamp .www-icon { font-size: 11px; stroke-width: 2.6; }
.stamp--open   { background: rgba(56,189,248,.14); color: #9BDCFA; border-color: rgba(56,189,248,.35); }
.stamp--tag    { background: rgba(27,111,227,.22); color: #A9C8FF; border-color: rgba(27,111,227,.45); }
.stamp--ok     { background: rgba(34,165,91,.18); color: #6EE7A3; border-color: rgba(34,165,91,.4); }
.stamp--warn   { background: rgba(245,158,11,.16); color: #FFD37A; border-color: rgba(245,158,11,.35); }
.stamp--hot    { background: rgba(249,115,22,.18); color: #FFB783; border-color: rgba(249,115,22,.4); }
.stamp--muted  { background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.12); }

/* rule fires: tag + assignee pop in, unassigned -> assigned */
.sc-row--new .pop { opacity: 0; transform: scale(.6); }
.www-scene.play .sc-row--new .pop { animation: pop .5s var(--ease-spring) forwards; }
.www-scene.play .sc-row--new .pop.p1 { animation-delay: 1.9s; }
.www-scene.play .sc-row--new .pop.p2 { animation-delay: 2.1s; }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
.sc-row--new .who > span.swap { display: grid; overflow: visible; }
.sc-row--new .who .a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-row--new .who .b { display: inline-flex; align-items: center; gap: 5px; height: 18px; color: rgba(255,255,255,.75); white-space: nowrap; }
.sc-row--new .who .b .stamp { padding: 0 6px; height: 16px; font-size: 10px; line-height: 1; }
.sc-row--new .who .b .av { width: 16px; height: 16px; font-size: 8px; background: var(--blue); }
.sc-row--new .swap { position: relative; display: inline-grid; }
.sc-row--new .swap > * { grid-area: 1 / 1; }
.sc-row--new .swap .b { opacity: 0; transform: translateY(6px); }
.www-scene.play .sc-row--new .swap .a { animation: fade-out .3s forwards; animation-delay: 6.2s; }
.www-scene.play .sc-row--new .swap .b { animation: rise-soft .45s var(--ease-out) forwards; animation-delay: 6.3s; }
.www-scene.play .sc-row--new .who .swap .a { animation-delay: 2s; }
.www-scene.play .sc-row--new .who .swap .b { animation: pop .5s var(--ease-spring) forwards; animation-delay: 2.1s; }
@keyframes fade-out { to { opacity: 0; } }
.sc-rule { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255,255,255,.55); margin-top: 10px; opacity: 0; }
.sc-rule .www-icon { color: var(--orange); }
.www-scene.play .sc-rule { animation: rise-soft .5s var(--ease-out) forwards; animation-delay: 2s; }

/* thread card */
.sc-msgs { display: grid; gap: 8px; padding-bottom: 6px; }
.msg { max-width: 92%; padding: 9px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; position: relative; }
.msg small { display: block; font-size: 10.5px; opacity: .65; margin-bottom: 2px; }
.msg--in { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-bottom-left-radius: 4px; }
.msg--note { background: var(--note); color: var(--note-ink); border-bottom-left-radius: 4px; margin-left: 12px; }
.msg--note b { color: var(--blue-deep); font-weight: 700; }
.msg--out { background: var(--blue); color: var(--white); justify-self: end; border-bottom-right-radius: 4px; }
.msg--out .sent { display: flex; width: max-content; margin: 8px 0 0 auto; }
.msg.later { opacity: 0; transform: translateY(8px) scale(.98); }
.www-scene.play .msg.later { animation: rise-soft .55s var(--ease-out) forwards; }
.www-scene.play .msg.n1 { animation-delay: 4.1s; }
.www-scene.play .msg.n2 { animation-delay: 4.9s; }
.www-scene.play .msg.o1 { animation-delay: 5.7s; }
.sc-typing { display: inline-flex; gap: 4px; align-items: center; height: 10px; }
.sc-typing i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .4; animation: blink 1.2s infinite; }
.sc-typing i:nth-child(2) { animation-delay: .2s; } .sc-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: 1; } }

/* SLA card */
.sc-meter { display: grid; gap: 10px; }
.sc-meter__row { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; font-size: 12px; color: rgba(255,255,255,.7); }
.sc-meter__track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
.sc-meter__fill { height: 100%; width: 0; border-radius: 99px; background: var(--aurora); }
.sc-meter__fill.ok { background: linear-gradient(90deg, #22A55B, #6EE7A3); }
.www-scene.play .sc-meter__fill { animation: fill 1.1s var(--ease-out) forwards; animation-delay: calc(7.8s + var(--i, 0) * 160ms); }
@keyframes fill { to { width: var(--w, 60%); } }
.sc-meter__val { font-variant-numeric: tabular-nums; color: var(--white); font-weight: 600; opacity: 0; }
.www-scene.play .sc-meter__val { animation: rise-soft .5s var(--ease-out) forwards; animation-delay: calc(8.3s + var(--i, 0) * 160ms); }
.sc-sla__verdict { opacity: 0; transform: scale(1.6) rotate(-8deg); }
.www-scene.play .sc-sla__verdict { animation: stamp-in .55s var(--ease-spring) forwards; animation-delay: 8.9s; }
@keyframes stamp-in { to { opacity: 1; transform: scale(1) rotate(0); } }

/* connectors */
.www-scene__link { position: absolute; inset: 0; z-index: 6; pointer-events: none; overflow: visible; }
.www-scene__link path { fill: none; stroke: url(#wwwLinkGrad); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; opacity: 0; }
.www-scene.play .www-scene__link path.l1 { animation: draw 1s var(--ease-out) forwards; animation-delay: 2.4s; }
.www-scene.play .www-scene__link path.l2 { animation: draw 1s var(--ease-out) forwards; animation-delay: 6.4s; }
.www-scene__link .ripple { fill: none; stroke: #fff; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.www-scene.play .www-scene__link .r1 { animation: ripple .9s var(--ease-out) forwards; animation-delay: 3.2s; }
.www-scene.play .www-scene__link .r2 { animation: ripple .9s var(--ease-out) forwards; animation-delay: 7.2s; }
@keyframes ripple { 0% { opacity: 1; transform: scale(.2); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes draw { 0% { opacity: 1; stroke-dashoffset: 600; } 100% { opacity: 1; stroke-dashoffset: 0; } }
.www-scene__link circle { fill: #fff; opacity: 0; filter: drop-shadow(0 0 8px rgba(255,255,255,.9)); }
.www-scene.play .www-scene__link circle.p1 { animation: pulse-travel 1s var(--ease-out) forwards; animation-delay: 2.4s; offset-path: path("M 322 82 C 420 82, 430 160, 430 250"); }
.www-scene.play .www-scene__link circle.p2 { animation: pulse-travel 1s var(--ease-out) forwards; animation-delay: 6.4s; offset-path: path("M 235 470 C 160 470, 120 490, 120 560"); }
@keyframes pulse-travel { 0% { opacity: 0; offset-distance: 0%; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; offset-distance: 100%; } }

.www-scene__replay { position: static; right: 0; bottom: -10px; z-index: 7; font-size: 12.5px; color: rgba(255,255,255,.55); display: inline-flex; gap: 7px; align-items: center; padding: 6px 10px; border-radius: 999px; transition: color .2s, background-color .2s; }
.www-scene__replay:hover { color: var(--white); background: rgba(255,255,255,.08); }

/* --------------------------------------------------------------------------
   Mailbox strip (marquee)
   -------------------------------------------------------------------------- */
.www-strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; }
.www-strip__inner { display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: 28px; }
.www-strip__label { font-weight: 600; font-size: 15px; color: var(--text); }
.www-strip__label small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.www-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.www-marquee__track { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.www-marquee:hover .www-marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.www-chip-addr {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); white-space: nowrap;
  font-variant-ligatures: none;
}
.www-chip-addr .www-icon { font-size: 14px; color: var(--blue); }
.www-chip-addr b { font-weight: 600; color: var(--text); }

/* --------------------------------------------------------------------------
   Bento (home features)
   -------------------------------------------------------------------------- */
.www-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.www-tile {
  position: relative; grid-column: span 2; display: flex; flex-direction: column; min-height: 300px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  text-decoration: none; color: var(--text);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.www-tile--wide { grid-column: span 3; }
.www-bento--plain .www-tile { min-height: 0; }
.www-tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(15,23,42,.35); border-color: var(--line-2); }
.www-tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(27,111,227,.1), transparent 45%); opacity: 0; transition: opacity .4s; }
.www-tile:hover::before { opacity: 1; }
.www-tile__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.www-tile h3 { font-size: 20px; }
.www-tile p { color: var(--text-2); font-size: 15px; line-height: 1.55; max-width: 34em; }
.www-tile__visual { margin-top: auto; padding-top: 22px; }
.www-tile__go { position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text); transform: translate(6px, -6px); opacity: 0; transition: transform .4s var(--ease-out), opacity .3s; }
.www-tile:hover .www-tile__go { transform: translate(0,0); opacity: 1; }

.www-ico { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 auto; }
.www-ico--sm { width: 30px; height: 30px; border-radius: 9px; font-size: 14px; }
.t-blue   { background: var(--blue-soft);   color: var(--blue); }
.t-orange { background: var(--orange-soft); color: var(--orange-deep); }
.t-green  { background: var(--green-soft);  color: var(--green-deep); }
.t-sky    { background: var(--sky-soft);    color: #0E7490; }
.t-violet { background: var(--violet-soft); color: var(--violet); }
.t-amber  { background: var(--amber-soft);  color: #B45309; }
.t-rose   { background: var(--rose-soft);   color: var(--rose); }
.www-section--dark .t-blue, .www-hero .t-blue, .sc .t-blue { background: rgba(27,111,227,.25); color: #A9C8FF; }
.www-section--dark .t-orange, .www-hero .t-orange, .sc .t-orange { background: rgba(249,115,22,.22); color: #FFB783; }
.www-section--dark .t-green, .www-hero .t-green, .sc .t-green { background: rgba(34,165,91,.22); color: #6EE7A3; }
.www-section--dark .t-violet, .www-hero .t-violet, .sc .t-violet { background: rgba(124,58,237,.25); color: #C4B5FD; }
.www-section--dark .t-sky, .www-hero .t-sky, .sc .t-sky { background: rgba(56,189,248,.2); color: #9BDCFA; }
.www-section--dark .t-amber, .www-hero .t-amber, .sc .t-amber { background: rgba(245,158,11,.2); color: #FFD37A; }
.www-section--dark .t-rose, .www-hero .t-rose, .sc .t-rose { background: rgba(225,29,72,.22); color: #FDA4B5; }

/* mini visuals inside tiles */
.mini { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.mini-rows { display: grid; gap: 6px; }
.mini-row { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-size: 12px; color: var(--text-2); transition: transform .4s var(--ease-out), border-color .3s; }
.mini-row b { color: var(--text); font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row .av { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--white); background: var(--blue); }
.mini-row .av.q { background: var(--line-2); color: var(--muted); }
.mini-row.hit { border-color: #B7D3FF; background: var(--blue-soft); }
.www-tile:hover .mini-row.hit { transform: translateX(3px); }

.www-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap; border: 1px solid transparent;
  background: var(--paper); color: var(--text-2); border-color: var(--line-2);
}
.www-chip .www-icon { font-size: 11px; stroke-width: 2.5; }
.www-chip--info   { background: var(--blue-soft);   color: var(--blue-deep);  border-color: #C3D8FB; }
.www-chip--ok     { background: var(--green-soft);  color: var(--green-deep); border-color: #B5E8C8; }
.www-chip--warn   { background: var(--amber-soft);  color: #B45309;           border-color: #F7DFA6; }
.www-chip--danger { background: var(--rose-soft);   color: #BE123C;           border-color: #F9C1CC; }
.www-chip--hot    { background: var(--orange-soft); color: var(--orange-deep);border-color: #FBD0B0; }
.www-chip--ink    { background: var(--ink); color: var(--white); border-color: var(--ink); }
.www-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.mini-thread { display: grid; gap: 7px; }
.mini-thread .msg { font-size: 12px; padding: 8px 11px; }
.mini-thread .msg--in { background: var(--white); border-color: var(--line); color: var(--text-2); }
.mini-thread .msg--out { background: var(--blue); }
.mini-thread .msg--note b { transition: transform .4s var(--ease-spring); display: inline-block; }
.www-tile:hover .mini-thread .msg--note b { transform: scale(1.08); }

.mini-rule { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mini-rule .www-icon { color: var(--muted); font-size: 13px; }
.mini-rule .www-chip { transition: transform .4s var(--ease-out); }
.www-tile:hover .mini-rule .www-chip:nth-child(3) { transform: translateY(-2px); transition-delay: .1s; }
.www-tile:hover .mini-rule .www-chip:nth-child(5) { transform: translateY(-2px); transition-delay: .2s; }

.mini-meters { display: grid; gap: 9px; }
.mini-meters div { display: grid; grid-template-columns: 74px 1fr 38px; align-items: center; gap: 10px; font-size: 12px; color: var(--text-2); }
.mini-meters .track { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.mini-meters .fill { height: 100%; width: var(--w); border-radius: 99px; background: var(--green); transform-origin: left; transition: transform .8s var(--ease-out); }
.mini-meters .fill.warn { background: var(--amber); }
.mini-meters .val { text-align: right; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.www-tile:hover .mini-meters .fill { animation: grow .9s var(--ease-out); }
@keyframes grow { from { transform: scaleX(.2); } to { transform: scaleX(1); } }

.mini-team { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.www-avatars { display: flex; }
.www-avatars span { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--white); margin-left: -8px; transition: transform .4s var(--ease-out); }
.www-avatars span:first-child { margin-left: 0; }
.www-avatars span::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--white); background: var(--green); }
.www-avatars span.away::after { background: var(--amber); }
.www-avatars span.off::after { background: var(--line-2); }
.www-tile:hover .www-avatars span { transform: translateX(calc(var(--i) * 3px)); }
.mini-team .count { font-size: 12px; color: var(--text-2); text-align: right; }
.mini-team .count b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--text); letter-spacing: -0.02em; }

.mini-search { display: grid; gap: 8px; }
.mini-search .q { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 11px; font-size: 12.5px; color: var(--text); }
.mini-search .q .www-icon { color: var(--muted); }
.mini-search .q .caret { width: 1px; height: 14px; background: var(--text); animation: blink 1s steps(2) infinite; }
.mini-search .r { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 12px; color: var(--text-2); }
.mini-search .r b { color: var(--text); display: block; }

.mini-secure { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mini-secure .www-chip { padding: 7px 11px; font-size: 12px; }
.mini-secure .www-chip .www-icon { font-size: 14px; }

/* --------------------------------------------------------------------------
   Handover (dark) section with the transfer animation
   -------------------------------------------------------------------------- */
.www-handover { position: relative; overflow: hidden; }
.www-handover::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 500px at 70% 50%, rgba(27,111,227,.2), transparent 60%), radial-gradient(500px 400px at 10% 100%, rgba(249,115,22,.14), transparent 60%); }
.www-handover__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.www-handover h2 { margin-bottom: 18px; }
.www-chain { display: grid; gap: 14px; margin-top: 36px; }
.www-chain > div {
  display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: background-color .3s, border-color .3s, transform .4s var(--ease-out);
}
.www-chain > div:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); transform: translateX(4px); }
.www-chain .www-ico { width: 42px; height: 42px; }
.www-chain b { display: block; color: var(--white); font-weight: 600; margin-bottom: 3px; }
.www-chain span { color: #A6B2CB; font-size: 14px; }

.hand { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 44px 0 8px; --hop: calc(100% + 56px); }
.hand__acts { position: absolute; top: 0; left: 0; display: inline-grid; }
.hand__acts > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: 12.5px; font-weight: 600; color: var(--white); opacity: 0; }
.hand__acts .www-ico { width: 22px; height: 22px; border-radius: 7px; font-size: 12px; }
.hand.play .hand__acts .act-a { animation: act 16s linear infinite; }
.hand.play .hand__acts .act-b { animation: act 16s linear infinite; animation-delay: 8s; }
@keyframes act { 0%, 2% { opacity: 0; transform: translateY(4px); } 4%, 46% { opacity: 1; transform: none; } 49%, 100% { opacity: 0; } }

.hand__lane { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 14px; min-height: 300px; }
.hand__lane h4 { display: flex; align-items: center; gap: 9px; color: var(--white); font-size: 13.5px; margin-bottom: 10px; }
.hand__lane h4 small { margin-left: auto; font-weight: 500; color: rgba(255,255,255,.5); font-size: 12px; }
.hand__ghost { height: 46px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.12); margin-bottom: 8px; }
.hand__ghost.solid { border-style: solid; background: rgba(255,255,255,.05); }
.hand__slot { height: 66px; margin-bottom: 8px; border-radius: 10px; border: 1px dashed rgba(255,255,255,.18); opacity: 0; }
.hand.play .hand__slot { animation: slot 16s linear infinite; }
@keyframes slot { 0%, 12% { opacity: 0; } 15%, 44% { opacity: 1; } 48%, 100% { opacity: 0; } }
.hand__slot.sales { border-style: solid; border-color: rgba(255,255,255,.08); }
.hand.play .hand__slot.sales { animation: none; opacity: 1; }

.hcard {
  position: absolute; z-index: 5; left: 14px; top: 96px; width: calc(50% - 42px);
  background: var(--white); color: var(--text); border-radius: 10px; padding: 7px 9px;
  display: grid; grid-template-columns: 24px 1fr auto; gap: 6px 8px; align-items: center; font-size: 11.5px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
}
.hcard > span { min-width: 0; }
.hcard .av { width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 700; }
.hcard b { display: block; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard small { display: block; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard .www-chip { font-size: 10px; padding: 2px 6px; }
.hcard .pin { grid-column: 1 / -1; display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; padding: 3px 7px; border-radius: 7px; background: var(--blue-soft); color: var(--blue-deep); font-size: 10px; font-weight: 600; white-space: nowrap; }
.hcard .pin .www-icon { font-size: 11px; }
.hcard--copy { background: rgba(255,255,255,.08); color: var(--white); border: 1px dashed rgba(255,255,255,.3); box-shadow: none; left: auto; right: 14px; opacity: 0; }
.hcard--copy small { color: rgba(255,255,255,.55); }
.hcard--copy .pin { background: rgba(249,115,22,.2); color: #FFB783; }

/* act one: the transfer card hops lanes and the customer's reply follows it */
.hcard--move { opacity: 0; }
.hand.play .hcard--move { animation: hop 16s var(--ease-out) infinite; }
@keyframes hop {
  0% { opacity: 0; transform: translate(0, 6px); }
  3%, 12% { opacity: 1; transform: translate(0, 0); }
  20%, 44% { opacity: 1; transform: translate(var(--hop), 0); }
  48%, 100% { opacity: 0; transform: translate(var(--hop), 0); }
}
.hand__env {
  position: absolute; z-index: 7; right: 20px; top: 44px; opacity: 0;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background: var(--orange); color: var(--white); font-size: 11px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 12px 30px -8px rgba(249,115,22,.8);
}
.hand.play .hand__env { animation: env 16s var(--ease-out) infinite; }
@keyframes env {
  0%, 24% { opacity: 0; transform: translateY(-10px); }
  28% { opacity: 1; transform: translateY(0); }
  33%, 44% { opacity: 1; transform: translateY(126px); }
  48%, 100% { opacity: 0; transform: translateY(126px); }
}

/* act two: the share card stays put, a linked copy appears in Sales */
.hcard--share { opacity: 0; }
.hand.play .hcard--share { animation: stay 16s var(--ease-out) infinite; }
@keyframes stay { 0%, 50% { opacity: 0; transform: translateY(6px); } 54%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
.hcard--share .www-chip { opacity: 0; transform: scale(.6); }
.hand.play .hcard--share .www-chip { animation: chip-pop 16s var(--ease-spring) infinite; }
@keyframes chip-pop { 0%, 60% { opacity: 0; transform: scale(.6); } 63%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
.hand.play .hcard--copy { animation: copy-in 16s var(--ease-out) infinite; }
@keyframes copy-in { 0%, 62% { opacity: 0; transform: translateX(-24px); } 67%, 95% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

.hand__log { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 6px; }
.hand__log div { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: rgba(255,255,255,.55); opacity: 0; transform: translateY(6px); }
.hand__log .www-icon { font-size: 12px; color: var(--green); flex: 0 0 auto; }
.hand.play .hand__log .e1 { animation: logline 16s var(--ease-out) infinite; }
.hand.play .hand__log .e2 { animation: logline 16s var(--ease-out) infinite; animation-delay: 1.4s; }
.hand.play .hand__log .e3 { animation: logline 16s var(--ease-out) infinite; animation-delay: 8s; }
.hand.play .hand__log .e4 { animation: logline 16s var(--ease-out) infinite; animation-delay: 9.6s; }
@keyframes logline { 0%, 20% { opacity: 0; transform: translateY(6px); } 24%, 44% { opacity: 1; transform: none; } 47%, 100% { opacity: 0; } }
.hand__arrow { position: absolute; left: 50%; top: 112px; transform: translateX(-50%); width: 56px; color: rgba(255,255,255,.35); font-size: 20px; display: flex; justify-content: center; }
.hand__arrow .www-icon { grid-area: 1 / 1; }
.hand.play .hand__arrow { animation: arrow-glow 16s ease-in-out infinite; }
@keyframes arrow-glow { 0%, 10% { color: rgba(255,255,255,.35); } 14%, 20% { color: var(--sky); } 26%, 60% { color: rgba(255,255,255,.35); } 64%, 68% { color: var(--orange); } 74%, 100% { color: rgba(255,255,255,.35); } }

/* --------------------------------------------------------------------------
   Reports tabs (home)
   -------------------------------------------------------------------------- */
.www-reports { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.www-tabs { display: inline-grid; grid-auto-flow: column; position: relative; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); margin-top: 28px; }
.www-tabs .ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: var(--w, 25%); border-radius: 999px; background: var(--ink); transform: translateX(var(--x, 0)); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
.www-tabs button { position: relative; z-index: 1; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--text-2); transition: color .3s; white-space: nowrap; }
.www-tabs button.active { color: var(--white); }
.www-tabs button .www-icon { display: none; }
.www-reports__points { display: grid; gap: 12px; margin-top: 28px; }
.www-reports__points li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.www-reports__points .www-icon { margin-top: 4px; color: var(--green); font-size: 16px; flex: 0 0 auto; }

.www-panelwrap { position: relative; }
.www-rpanel { display: none; opacity: 0; transform: translateY(12px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; box-shadow: 0 40px 80px -40px rgba(15,23,42,.3); }
.www-rpanel.active { display: block; animation: panel-in .55s var(--ease-out) forwards; }
@keyframes panel-in { to { opacity: 1; transform: translateY(0); } }
.www-rpanel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.www-rpanel__head h3 { font-size: 20px; }
.www-rpanel__head span { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.www-rpanel__foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

.rp-meters { display: grid; gap: 12px; }
.rp-meters > div { display: grid; grid-template-columns: 90px 1fr 46px; gap: 12px; align-items: center; font-size: 13.5px; color: var(--text-2); }
.rp-meters .track { height: 10px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.rp-meters .fill { height: 100%; width: var(--w); border-radius: 99px; background: var(--green); transform-origin: left; animation: grow 1s var(--ease-out); }
.rp-meters .fill.warn { background: var(--amber); }
.rp-meters .val { text-align: right; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }

.rp-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.rp-bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--blue); height: var(--h); transform-origin: bottom; animation: grow-y .9s var(--ease-out); animation-delay: calc(var(--i) * 40ms); animation-fill-mode: both; opacity: .9; }
.rp-bars span:nth-child(6n), .rp-bars span:nth-child(7n) { background: var(--sky); }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.rp-heat { display: grid; grid-template-columns: 34px repeat(12, 1fr); gap: 4px; margin-top: 16px; font-size: 10.5px; color: var(--muted); }
.rp-heat i { height: 16px; border-radius: 4px; background: rgba(27,111,227, var(--a, .1)); }
.rp-heat i.hot { background: rgba(249,115,22, var(--a, .6)); }
.rp-heat span { line-height: 16px; }

.rp-agents { display: grid; gap: 8px; }
.rp-agents > div { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; }
.rp-agents .av { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--white); }
.rp-agents b { display: block; font-size: 14px; color: var(--text); }
.rp-agents small { color: var(--muted); font-size: 12.5px; }

.rp-stack { display: flex; height: 26px; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.rp-stack span { height: 100%; width: var(--w); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--white); transform-origin: left; animation: grow .9s var(--ease-out); }
.rp-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; font-size: 12.5px; color: var(--text-2); }
.rp-legend div { display: flex; align-items: center; gap: 7px; }
.rp-legend i { width: 10px; height: 10px; border-radius: 3px; }
.rp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.rp-kpis div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: var(--muted); }
.rp-kpis b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--text); letter-spacing: -0.02em; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.www-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.www-step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; counter-increment: step; }
.www-step::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 18px; font-family: var(--font-display); font-weight: 700; font-size: 17px; background: var(--ink); color: var(--white); }
.www-step h3 { font-size: 19px; margin-bottom: 8px; }
.www-step p { color: var(--text-2); font-size: 14.5px; }
.www-step .www-arrow { position: absolute; top: 34px; right: -21px; z-index: 2; color: var(--line-2); font-size: 18px; }
.www-step:last-child .www-arrow { display: none; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.www-price-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.www-bill { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px 28px; box-shadow: 0 40px 80px -40px rgba(15,23,42,.3); position: relative; }
.www-bill::before { content: ""; position: absolute; inset: -40px; z-index: -1; border-radius: 60px; background: radial-gradient(closest-side, rgba(27,111,227,.14), transparent); }
.www-bill__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.www-bill__head h3 { font-size: 18px; }
.www-bill__head span { font-size: 12.5px; color: var(--muted); }
.www-bill__rows { display: grid; gap: 4px; }
.www-bill__rows > div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 14.5px; color: var(--text-2); }
.www-bill__rows b { display: block; color: var(--text); font-weight: 600; }
.www-bill__rows small { font-size: 12.5px; color: var(--muted); }
.www-bill__rows .amt { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text); align-self: center; }
.www-bill__rows .amt.free { color: var(--green-deep); }
.www-bill__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; }
.www-bill__total span { font-weight: 600; }
.www-bill__total b { font-family: var(--font-display); font-size: 36px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.www-bill__vs { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--rose-soft); color: #9F1239; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.www-bill__vs b { font-variant-numeric: tabular-nums; }
.www-bill__vs .www-icon { flex: 0 0 auto; font-size: 16px; }

.www-price-big { font-family: var(--font-display); font-size: clamp(64px, 9vw, 120px); font-weight: 700; letter-spacing: -0.05em; line-height: .95; color: var(--white); display: flex; align-items: baseline; gap: 10px; margin: 8px 0 12px; }
.www-price-big small { font-family: var(--font-body); font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; letter-spacing: 0; color: #A6B2CB; }

.www-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; max-width: 900px; margin: 0 auto; }
.www-plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.www-plan:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(15,23,42,.3); }
.www-plan--featured { background: var(--ink); color: #D5DDEE; border-color: var(--ink); }
.www-plan--featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; background: var(--aurora); filter: blur(24px); opacity: .35; }
.www-plan__tag { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 999px; background: var(--ember); color: var(--white); font-size: 12px; font-weight: 700; }
.www-plan__name { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; color: var(--text); }
.www-plan--featured .www-plan__name { color: var(--white); }
.www-plan__price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; font-family: var(--font-display); font-size: 56px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--text); }
.www-plan--featured .www-plan__price { color: var(--white); }
.www-plan__unit { font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.www-plan--featured .www-plan__unit { color: #8E9AB4; }
.www-plan__meta { font-size: 14px; color: var(--muted); min-height: 44px; margin-bottom: 18px; }
.www-plan--featured .www-plan__meta { color: #A6B2CB; }
.www-plan .www-checks { flex: 1; }
.www-plan__foot { margin-top: 24px; }
.www-plan__foot .www-btn { width: 100%; }
.www-plan--featured .www-btn--primary { background: var(--white); color: var(--ink); border-color: var(--white); }
.www-plan--featured .www-btn--primary:hover { color: var(--white); }
.www-plan--featured .www-checks li { color: #D5DDEE; }

/* --------------------------------------------------------------------------
   Check lists, cards, callouts
   -------------------------------------------------------------------------- */
.www-checks { display: grid; gap: 11px; }
.www-checks li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.www-checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.www-checks li strong { color: var(--text); }
.www-section--dark .www-checks li, .www-plan--featured .www-checks li { color: #D5DDEE; }
.www-section--dark .www-checks li strong, .www-plan--featured .www-checks li strong { color: var(--white); }
.www-section--dark .www-checks li::before, .www-plan--featured .www-checks li::before { background-color: rgba(34,165,91,.25); }

.www-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.www-cards--3 { grid-template-columns: repeat(3, 1fr); }
.www-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.www-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(15,23,42,.3); }
.www-card .www-ico { margin-bottom: 18px; }
.www-card h3 { font-size: 19px; margin-bottom: 8px; }
.www-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.www-card .www-checks { margin-top: 6px; }
.www-card .www-checks li { font-size: 14.5px; }
.www-card .www-link { margin-top: auto; padding-top: 18px; align-self: flex-start; font-size: 14.5px; }
a.www-card { text-decoration: none; color: var(--text); }

.www-callout { margin-top: clamp(28px, 4vw, 44px); padding: 22px 26px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--orange); color: var(--text-2); font-size: 15px; }
.www-callout strong { color: var(--text); }
.www-callout a { color: var(--blue); font-weight: 600; }
.www-callout p { margin: 0; }

/* --------------------------------------------------------------------------
   Trust row
   -------------------------------------------------------------------------- */
.www-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.www-trust > div { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.www-trust b { display: block; font-size: 15px; margin-bottom: 3px; }
.www-trust span { font-size: 13.5px; color: var(--text-2); line-height: 1.45; }

/* --------------------------------------------------------------------------
   Sub-page hero + feature sub-nav
   -------------------------------------------------------------------------- */
.www-page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); padding: clamp(130px, 14vw, 176px) 0 clamp(60px, 7vw, 96px); }
.www-page-hero .www-container { max-width: 960px; }
.www-page-hero h1 { color: var(--white); font-size: clamp(38px, 5.4vw, 70px); margin-bottom: 22px; }
.www-page-hero .www-lead { color: #B4BFD6; max-width: 38em; }
.www-page-hero .www-hero__actions { margin: 34px 0 0; }
.www-page-hero .www-pill { margin-bottom: 22px; }
.www-page-hero .www-pill .www-ico { width: 24px; height: 24px; border-radius: 7px; font-size: 12px; }

.www-subnav { position: sticky; top: 0; z-index: 50; background: rgba(245,247,252,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.www-subnav__row { display: flex; gap: 4px; overflow-x: auto; padding: 10px var(--gutter); scrollbar-width: none; }
.www-subnav__row::-webkit-scrollbar { display: none; }
.www-subnav a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--text-2); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.www-subnav a:hover { background: var(--white); color: var(--text); }
.www-subnav a[aria-current="page"] { background: var(--ink); color: var(--white); }

/* --------------------------------------------------------------------------
   Feature detail splits + panel visuals
   -------------------------------------------------------------------------- */
.www-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.www-split + .www-split { margin-top: clamp(64px, 8vw, 110px); }
.www-split--reverse .www-split__copy { order: 2; }
.www-split__copy h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 18px; }
.www-split__copy > p { color: var(--text-2); font-size: 17px; margin-bottom: 22px; max-width: 36em; }
.www-split__copy .www-checks { margin-top: 4px; }
.www-split__copy .www-link { margin-top: 24px; }
.www-anchor { scroll-margin-top: 140px; }

.www-panel { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 18px; box-shadow: 0 40px 80px -40px rgba(15,23,42,.3); }
.www-panel::before { content: ""; position: absolute; inset: -40px; z-index: -1; border-radius: 60px; background: radial-gradient(closest-side, rgba(27,111,227,.13), transparent); }
.www-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 14px; font-weight: 600; font-size: 14.5px; }
.www-panel__head span:last-child { font-weight: 500; font-size: 12.5px; color: var(--muted); }
.www-panel__body { display: grid; gap: 8px; }
.www-panel__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.www-panel__row:hover { transform: translateX(4px); box-shadow: 0 12px 30px -18px rgba(15,23,42,.35); }
.www-panel__row--active { background: var(--blue-soft); border-color: #C3D8FB; }
.www-panel__grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.www-panel__grow strong { color: var(--text); font-weight: 600; font-size: 14px; }
.www-panel__grow small { font-size: 12.5px; color: var(--muted); }
.www-panel__note { padding: 12px 6px 2px; font-size: 12.5px; color: var(--muted); }
.www-avatar { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--white); background: var(--blue); }
.www-avatar--soft { background: var(--line-2); color: var(--text-2); }
.www-avatar--orange { background: var(--orange); }
.www-avatar--green { background: var(--green); }
.www-meter { display: block; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 8px; }
.www-meter span { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.www-meter--warn span { background: var(--amber); }
.www-meter--blue span { background: var(--blue); }

/* --------------------------------------------------------------------------
   Tables, FAQ
   -------------------------------------------------------------------------- */
.www-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
.www-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.www-table th, .www-table td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.www-table thead th { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text); background: var(--white); }
.www-table tbody th { font-weight: 600; color: var(--text); }
.www-table tbody tr:last-child th, .www-table tbody tr:last-child td { border-bottom: 0; }
.www-table tbody tr:hover td, .www-table tbody tr:hover th { background: #FAFBFE; }
.www-table__mine { background: var(--blue-soft) !important; color: var(--text) !important; }
.www-table thead .www-table__mine { background: #DCE8FD !important; }
.www-table__note { margin-top: 16px; font-size: 13.5px; color: var(--muted); max-width: 70em; }
.www-table__note a { color: var(--blue); font-weight: 600; }
.www-table__note--center { text-align: center; margin: 24px auto 0; }

.www-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.www-faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; transition: border-color .3s; align-self: start; }
.www-faq details[open] { border-color: var(--line-2); }
.www-faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--text); }
.www-faq summary::-webkit-details-marker { display: none; }
.www-faq summary .www-icon { font-size: 16px; color: var(--muted); transition: transform .3s var(--ease-out); flex: 0 0 auto; }
.www-faq details[open] summary .www-icon { transform: rotate(45deg); }
.www-faq details p { padding: 0 0 20px; color: var(--text-2); font-size: 15px; }

/* --------------------------------------------------------------------------
   Compare calculator
   -------------------------------------------------------------------------- */
.www-calc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; margin-top: -90px; position: relative; z-index: 3; }
.www-calc__form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; }
.www-calc__form h2 { font-size: 22px; margin-bottom: 20px; }
.www-field { margin-bottom: 22px; }
.www-field__label { display: block; font-weight: 600; font-size: 14.5px; color: var(--text); margin-bottom: 8px; }
.www-field__row { display: grid; grid-template-columns: 1fr 120px; gap: 14px; align-items: center; }
.www-field__value { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.www-field__value input { width: 100%; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line-2); font: inherit; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; background: var(--paper); }
.www-field__value input:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.www-field__hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.www-field--tiers legend { padding: 0; }
.www-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.www-tier { position: relative; }
.www-tier input { position: absolute; opacity: 0; inset: 0; }
.www-tier span { display: block; text-align: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--text-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.www-tier input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.www-tier input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) 0 var(--p, 50%), var(--line) var(--p, 50%) 100%); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); box-shadow: 0 4px 12px -4px rgba(27,111,227,.7); transition: transform .2s var(--ease-out); }
input[type="range"]::-webkit-slider-thumb:hover, input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); box-shadow: 0 4px 12px -4px rgba(27,111,227,.7); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 99px; background: transparent; }

.www-calc__result { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #D5DDEE; border-radius: var(--r-xl); padding: 28px; }
.www-calc__result::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(500px 360px at 85% 10%, rgba(27,111,227,.45), transparent 60%), radial-gradient(400px 300px at 10% 100%, rgba(249,115,22,.25), transparent 60%); filter: blur(30px); }
.www-calc__headline { margin-bottom: 22px; }
.www-calc__label { display: block; font-size: 13.5px; font-weight: 600; color: #8CC1FF; margin-bottom: 4px; }
.www-calc__price { font-family: var(--font-display); font-size: clamp(48px, 6vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; display: inline-block; }
.www-calc__price.flip { animation: flip .4s var(--ease-out); }
@keyframes flip { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }
.www-calc__per { font-size: 15px; color: #8E9AB4; margin-left: 8px; }
.www-calc__caption { margin-top: 10px; font-size: 14px; color: #A6B2CB; max-width: 40em; }
.www-bars { display: grid; gap: 10px; }
.www-bar { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.www-bar--mine { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.www-bar__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.www-bar__name { font-weight: 600; font-size: 14.5px; color: var(--white); }
.www-bar__name small { font-weight: 500; color: #8E9AB4; font-size: 12.5px; margin-left: 4px; }
.www-bar__price { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.www-bar__price small { font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: #8E9AB4; }
.www-bar__track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.www-bar__fill { display: block; height: 100%; border-radius: 99px; background: rgba(255,255,255,.35); transition: width .6s var(--ease-out); }
.www-bar--mine .www-bar__fill { background: var(--aurora); min-width: 4px; }
.www-bar--over .www-bar__fill { background: linear-gradient(90deg, #E11D48, #FB7185); }
.www-bar__note { margin-top: 6px; font-size: 12.5px; color: #8E9AB4; }
.www-calc__foot { margin-top: 18px; font-size: 12.5px; color: #8E9AB4; }
.www-calc__foot a { color: #C7DBFF; }

/* --------------------------------------------------------------------------
   Contact + prose
   -------------------------------------------------------------------------- */
.www-contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.www-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 16px; }
.www-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.www-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.www-form input, .www-form textarea { font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.www-form input:focus, .www-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27,111,227,.15); background: var(--white); }
.www-form textarea { resize: vertical; }
.www-form__note { font-size: 12.5px; color: var(--muted); }
.www-contact__aside h3 { font-size: 19px; margin-bottom: 12px; }
.www-contact__aside h3 + p, .www-contact__aside p { color: var(--text-2); font-size: 15px; margin-bottom: 12px; }
.www-contact__aside p strong { color: var(--text); }
.www-contact__aside a { color: var(--blue); font-weight: 600; text-decoration: none; }
.www-contact__aside .www-checks { margin-bottom: 30px; }

.www-prose { max-width: 720px; }
.www-prose p { color: var(--text-2); font-size: 17px; line-height: 1.7; margin-bottom: 22px; }
.www-prose p em { font-style: normal; font-weight: 600; color: var(--text); }
.www-prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 48px 0 20px; }

/* --------------------------------------------------------------------------
   CTA card
   -------------------------------------------------------------------------- */
.www-cta { padding: 0 0 clamp(72px, 9vw, 120px); }
.www-cta__card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 96px) clamp(28px, 5vw, 80px); text-align: center; }
.www-cta__card::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(600px 400px at 30% 30%, rgba(27,111,227,.6), transparent 60%), radial-gradient(600px 400px at 75% 80%, rgba(249,115,22,.45), transparent 60%), radial-gradient(400px 300px at 85% 10%, rgba(56,189,248,.4), transparent 60%); filter: blur(40px); animation: glow-drift 14s ease-in-out infinite alternate; }
.www-cta__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 20%, transparent 100%); }
.www-cta__card h2 { color: var(--white); font-size: clamp(32px, 4.5vw, 58px); margin-bottom: 18px; }
.www-cta__card p { color: #C6D0E2; font-size: clamp(16px, 1.4vw, 19px); max-width: 34em; margin: 0 auto 34px; }
.www-cta .www-hero__actions { justify-content: center; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.www-footer { background: var(--white); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.www-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.www-footer__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin-bottom: 14px; text-decoration: none; }
.www-footer__desc { color: var(--muted); font-size: 14.5px; max-width: 30em; line-height: 1.6; }
.www-footer__col h4 { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 16px; font-family: var(--font-body); }
.www-footer__col ul { display: grid; gap: 10px; }
.www-footer__col a { color: var(--text-2); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.www-footer__col a:hover { color: var(--blue); }
.www-footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.www-footer__legal a { color: var(--text-2); text-decoration: none; }
.www-footer__legal a:hover { color: var(--blue); }
.www-footer__legal-links { display: flex; gap: 18px; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="stagger"] { opacity: 1; transform: none; }
[data-reveal="stagger"] > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal="stagger"].in > * { opacity: 1; transform: none; }
[data-reveal="stagger"].in > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal="stagger"].in > *:nth-child(2) { transition-delay: 70ms; }
[data-reveal="stagger"].in > *:nth-child(3) { transition-delay: 140ms; }
[data-reveal="stagger"].in > *:nth-child(4) { transition-delay: 210ms; }
[data-reveal="stagger"].in > *:nth-child(5) { transition-delay: 280ms; }
[data-reveal="stagger"].in > *:nth-child(6) { transition-delay: 350ms; }
[data-reveal="stagger"].in > *:nth-child(7) { transition-delay: 420ms; }
[data-reveal="stagger"].in > *:nth-child(8) { transition-delay: 490ms; }
.www-split[data-reveal] .www-panel { transition: transform .9s var(--ease-out) .1s; transform: translateY(10px) rotate(-.6deg); }
.www-split[data-reveal].in .www-panel { transform: none; }

section[id], div[id] { scroll-margin-top: 90px; }

/* --------------------------------------------------------------------------
   Feature-page hero scenes: small looping stories built from the hero's card
   parts. Every element with .h appears at --d seconds into the loop, .x
   disappears at --d, .swap stacks alternatives in one cell.
   -------------------------------------------------------------------------- */
.www-page-hero--split .www-container { max-width: var(--container); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.www-page-hero--split .www-lead { max-width: 32em; }
.fs { position: relative; width: 100%; max-width: 470px; margin-left: auto; }
.fs .sc { position: relative; opacity: 1; transform: none; animation: none; padding: 16px; }
.fs .sc + .sc { margin-top: 12px; }
.fs .sc-row { grid-template-columns: 28px 1fr auto; }
.fs .sc-row .av { width: 28px; height: 28px; }
.fs .h { opacity: 0; }
.fs.play .h { animation: rise-soft .55s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.fs.play .h.pop { animation-name: pop; animation-timing-function: var(--ease-spring); }
.fs .h.pop { transform: scale(.6); }
.fs.play .x { animation: fade-out .3s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.fs.play .h.x { animation: rise-soft .55s var(--ease-out) forwards, fade-out .3s var(--ease-out) forwards; animation-delay: var(--d, 0s), var(--dx, 5s); }
.fs .swap, .fs .who > .swap { display: inline-grid; align-items: center; justify-items: start; overflow: visible; }
.fs .swap > * { grid-area: 1 / 1; }
.fs .who > .swap > span { white-space: nowrap; }
.fs .sc-rows { gap: 8px; }
.fs .sc-foot { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255,255,255,.55); margin-top: 12px; min-height: 18px; }
.fs .sc-foot .www-icon { color: var(--sky); font-size: 12px; flex: 0 0 auto; }
.fs .sc-foot .swap > span { display: inline-flex; align-items: center; gap: 6px; }
.fs .toast { position: absolute; top: -16px; right: -10px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 12px; background: var(--white); color: var(--text); font-size: 12px; font-weight: 600; box-shadow: 0 20px 40px -16px rgba(0,0,0,.8); }
.fs .toast .www-ico { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
.fs .toast small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.fs .bar { display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; margin-top: 8px; }
.fs .bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--aurora); }
.fs .bar.warm span { background: linear-gradient(90deg, #22A55B 0%, #22A55B 55%, #F59E0B 80%, #F97316 100%); }
.fs.play .bar span { animation: fill var(--t, 1s) var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.fs .msg { max-width: 94%; }
.fs .sc-msgs { padding-bottom: 0; }
.fs .type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 0; }
.fs.play .type { animation: typing 1.3s steps(20, end) forwards; animation-delay: var(--d, 0s); }
@keyframes typing { to { width: var(--tw, 16ch); } }
.fs .q { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13.5px; color: var(--white); margin-bottom: 10px; }
.fs .q .www-icon { color: rgba(255,255,255,.55); }
.fs .q .caret { width: 1px; height: 16px; background: var(--white); animation: blink 1s steps(2) infinite; }
.fs .sc-row mark { background: rgba(249,115,22,.35); color: var(--white); }
.fs .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--sky); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fs .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
.fs .tick .www-icon { stroke-width: 3; }
.fs .dotv { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.fs .dotv.on { background: var(--green); box-shadow: 0 0 0 3px rgba(34,165,91,.25); }
.fs .dotv.away { background: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,11,.25); }
.fs .dotv.off { background: rgba(255,255,255,.25); }
.fs .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fs .then { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.5); }
.fs .then::before, .fs .then::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.12); }
.fs .mini-meter { display: grid; grid-template-columns: 78px 1fr 40px; gap: 10px; align-items: center; font-size: 12px; color: rgba(255,255,255,.7); }
.fs .mini-meter .bar { margin: 0; }
.fs .mini-meter b { text-align: right; color: var(--white); font-variant-numeric: tabular-nums; }
.fs .sc-row.dim { transition: opacity .6s; }
.fs.play .sc-row.dim { animation: dim .6s forwards; animation-delay: var(--d, 0s); }
@keyframes dim { to { opacity: .45; } }
.fs .stamp--tag .www-icon { font-size: 10px; }

/* --------------------------------------------------------------------------
   Choreography inside revealed blocks
   -------------------------------------------------------------------------- */
h2.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
h2.split .w > span { display: inline-block; opacity: 0; transform: translateY(105%); transition: transform .8s var(--ease-out), opacity .5s; transition-delay: calc(var(--i, 0) * 45ms + 80ms); }
.in h2.split .w > span, h2.split.in .w > span { opacity: 1; transform: none; }

.www-bento .mini > * { opacity: 0; transform: translateY(10px); }
.www-bento.in .mini > * { animation: rise-soft .6s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 110ms + 380ms); }
.www-bento .mini > *:nth-child(1) { --k: 0; } .www-bento .mini > *:nth-child(2) { --k: 1; } .www-bento .mini > *:nth-child(3) { --k: 2; }
.www-bento .mini > *:nth-child(4) { --k: 3; } .www-bento .mini > *:nth-child(5) { --k: 4; } .www-bento .mini > *:nth-child(6) { --k: 5; }
.www-bento.in .mini-meters .fill { animation: grow 1.1s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 110ms + 700ms); }
.www-bento .www-avatars span { opacity: 0; }
.www-bento.in .www-avatars span { animation: pop .6s var(--ease-spring) both; animation-delay: calc(var(--i, 0) * 90ms + 600ms); }
.www-bento .mini-rule .www-chip { opacity: 0; }
.www-bento.in .mini-rule .www-chip { animation: pop .5s var(--ease-spring) both; }
.www-bento.in .mini-rule .www-chip:nth-child(1) { animation-delay: .45s; } .www-bento.in .mini-rule .www-chip:nth-child(3) { animation-delay: .75s; } .www-bento.in .mini-rule .www-chip:nth-child(5) { animation-delay: 1.05s; }

[data-reveal] .www-panel__row { opacity: 0; transform: translateX(14px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].in .www-panel__row { opacity: 1; transform: none; }
[data-reveal].in .www-panel__row:nth-child(1) { transition-delay: .25s; } [data-reveal].in .www-panel__row:nth-child(2) { transition-delay: .35s; }
[data-reveal].in .www-panel__row:nth-child(3) { transition-delay: .45s; } [data-reveal].in .www-panel__row:nth-child(4) { transition-delay: .55s; }
[data-reveal].in .www-panel__row:nth-child(5) { transition-delay: .65s; }
[data-reveal] .www-meter span { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out) .7s; }
[data-reveal].in .www-meter span { transform: scaleX(1); }

[data-reveal] .www-bill__rows > div { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.in .www-bill__rows > div { opacity: 1; transform: none; }
.in .www-bill__rows > div:nth-child(1) { transition-delay: .3s; } .in .www-bill__rows > div:nth-child(2) { transition-delay: .55s; } .in .www-bill__rows > div:nth-child(3) { transition-delay: .8s; }
[data-reveal] .www-bill__total, [data-reveal] .www-bill__vs { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.in .www-bill__total { opacity: 1; transform: none; transition-delay: 1.05s; }
.in .www-bill__vs { opacity: 1; transform: none; transition-delay: 1.6s; }

.www-step::after { content: ""; position: absolute; top: -1px; left: 26px; right: 26px; height: 3px; border-radius: 3px; background: var(--aurora); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
.www-steps.in .www-step:nth-child(1)::after { transform: scaleX(1); transition-delay: .3s; }
.www-steps.in .www-step:nth-child(2)::after { transform: scaleX(1); transition-delay: .7s; }
.www-steps.in .www-step:nth-child(3)::after { transform: scaleX(1); transition-delay: 1.1s; }

[data-reveal="stagger"] .www-ico { transform: scale(.6); opacity: 0; transition: transform .6s var(--ease-spring), opacity .4s; }
[data-reveal="stagger"].in .www-ico { transform: none; opacity: 1; transition-delay: .35s; }

.www-bars:not(.live) .www-bar__fill { animation: grow 1s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 90ms + 200ms); }
.www-bars:not(.live) .www-bar:nth-child(2) .www-bar__fill { --k: 1; } .www-bars:not(.live) .www-bar:nth-child(3) .www-bar__fill { --k: 2; }
.www-bars:not(.live) .www-bar:nth-child(4) .www-bar__fill { --k: 3; } .www-bars:not(.live) .www-bar:nth-child(5) .www-bar__fill { --k: 4; }
.www-bars:not(.live) .www-bar:nth-child(6) .www-bar__fill { --k: 5; } .www-bars:not(.live) .www-bar:nth-child(7) .www-bar__fill { --k: 6; }

.www-cta__card[data-reveal] h2 { transform: scale(.96); transition: transform 1s var(--ease-out) .1s; }
.www-cta__card[data-reveal].in h2 { transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .www-bento { grid-template-columns: repeat(2, 1fr); }
  .www-tile, .www-tile--wide { grid-column: span 1; }
  .www-trust, .www-steps { grid-template-columns: repeat(2, 1fr); }
  .www-step .www-arrow { display: none; }
  .www-nav__menu { width: 560px; }
  .www-cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .www-nav__links, .www-nav__login { display: none; }
  .www-nav__burger { display: inline-flex; }
  .www-hero__grid, .www-handover__grid, .www-reports, .www-split, .www-price-hero, .www-calc, .www-contact, .www-page-hero--split .www-container { grid-template-columns: minmax(0, 1fr); }
  .fs { margin-left: 0; }
  .www-panel__row { flex-wrap: wrap; }
  .www-split--reverse .www-split__copy { order: 0; }
  .www-scene { height: 720px; margin-top: 12px; max-width: 560px; }
  .www-strip__inner { grid-template-columns: 1fr; gap: 14px; }
  .www-footer__grid { grid-template-columns: 1fr 1fr; }
  .www-faq, .www-plans { grid-template-columns: 1fr; }
  .www-calc { margin-top: -60px; }
  .www-tabs { display: grid; grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .www-tabs button { padding: 10px 6px; font-size: 13px; }
  .hand { gap: 40px; --hop: calc(100% + 40px); }
  .hcard { width: calc(50% - 34px); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  h1 { font-size: clamp(36px, 10.5vw, 50px); }
  .www-hero { padding-top: 116px; }
  .www-scene { height: auto; perspective: none; }
  .www-scene__stage { position: static; display: grid; gap: 12px; transform: none; }
  .sc, .sc--inbox, .sc--thread, .sc--sla { position: relative; width: 100%; left: auto; right: auto; top: auto; bottom: auto; }
  .www-scene__link { display: none; }
  .www-scene__bar { position: static; margin-top: 12px; flex-wrap: wrap; }
  .sc--thread, .sc--sla { --dx: 0px; --dy: 18px; }
  .www-bento, .www-cards, .www-cards--3, .www-trust, .www-steps, .www-footer__grid, .www-form__row, .www-tiers, .rp-legend, .www-plans, .www-faq { grid-template-columns: minmax(0, 1fr); }
  .www-tile { min-height: 0; }
  .www-footer__grid { gap: 28px; }
  .www-cta__card { border-radius: var(--r-lg); }
  .www-plan__price { font-size: 46px; }
  .www-field__row { grid-template-columns: 1fr 96px; }
  .hand { grid-template-columns: 1fr; gap: 56px; }
  .hand__lane { min-height: 250px; padding-bottom: 60px; }
  .hcard { width: calc(100% - 28px); }
  .hand__arrow { top: 50%; transform: translate(-50%, 0) rotate(90deg); }
  .hand.play .hcard--move { animation-name: hop-down; }
  @keyframes hop-down { 0% { opacity: 0; transform: translate(0, 6px); } 3%, 12% { opacity: 1; transform: translate(0, 0); } 20%, 44% { opacity: 1; transform: translate(0, 306px); } 48%, 100% { opacity: 0; transform: translate(0, 306px); } }
  .hand__env { top: 350px; }
  .rp-heat { grid-template-columns: 30px repeat(12, 1fr); }
  .www-rpanel { padding: 18px; }
  .www-tabs { grid-template-columns: repeat(2, 1fr); border-radius: 18px; }
  .www-tabs .ind { display: none; }
  .www-tabs button.active { background: var(--ink); }
}

/* --------------------------------------------------------------------------
   Reduced motion: everything visible, nothing moving
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal-lines .line > span, .reveal-up, .sc, [data-reveal], [data-reveal="stagger"] > *, .sc-rule, .msg.later, .sc-meter__val, .sc-sla__verdict, .sc-row--new .pop, .hand__log div { opacity: 1 !important; transform: none !important; }
  .sc-row--new { height: auto; padding: 9px 10px; margin-bottom: 0; }
  .sc--thread, .sc--sla { opacity: 1 !important; transform: none !important; }
  h2.split .w > span, .www-bento .mini > *, .www-bento .www-avatars span, .www-bento .mini-rule .www-chip, [data-reveal] .www-panel__row, [data-reveal] .www-bill__rows > div, [data-reveal] .www-bill__total, [data-reveal] .www-bill__vs, [data-reveal="stagger"] .www-ico { opacity: 1 !important; transform: none !important; }
  [data-reveal] .www-meter span, .www-step::after { transform: scaleX(1) !important; }
  .www-scene__link .ripple { display: none; }
  .fs .h, .fs .h.pop { opacity: 1 !important; transform: none !important; }
  .fs .x { display: none; }
  .fs .bar span { width: var(--w, 60%); }
  .fs .type { width: var(--tw, 16ch); }
  .sc-row--new .swap .a { display: none; } .sc-row--new .swap .b { opacity: 1; transform: none; }
  .sc-meter__fill { width: var(--w, 60%); }
  .www-scene__link path { opacity: 1; stroke-dashoffset: 0; }
  .www-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .www-marquee__track .dup { display: none; }
  .www-glow, .www-cta__card::before { animation: none; }
  .hcard--move { opacity: 1; transform: translate(var(--hop), 0) !important; }
  .hcard--share, .hcard--copy, .hcard--share .www-chip, .hand__acts > span { opacity: 1 !important; transform: none !important; }
  .hand__env { display: none; }
  .hand__slot { opacity: 1; }
  .hand__log div { opacity: 1; transform: none; }
}
