/* Kliksy marketing homepage. Self-hosted fonts and no inline scripts, so it runs under the strict CSP in public/_headers. Geist fonts: SIL OFL 1.1, see fonts/OFL.txt. */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/home/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/home/fonts/geist-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/home/fonts/geist-mono-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/home/fonts/geist-mono-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout: inset rounded hero panel over a lavender ground, then centered sections on a 1240px column. Single deliberate light look. */
:root {
  color-scheme: light;
  --ground: #f3f0f9;
  --card: #ffffff;
  --sunken: #f7f4fc;
  --ink: #16121f;
  --ink-2: #352e48;
  --muted: #5d5570;
  --line: #e3dcef;
  --violet: #6d28d9;
  --violet-hover: #5b21b6;
  --violet-deep: #2e1a63;
  --lilac: #bd99ff;
  --lilac-soft: #ece4fb;
  --good: #16a34a;
  --good-soft: #e7f6ec;
  --good-ink: #166534;
  --night: #17112a;

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --fs-hero: clamp(44px, 6.3vw, 100px);
  --fs-h2: clamp(36px, 4.5vw, 64px);
  --fs-h3: clamp(21px, 1.75vw, 25px);
  --fs-body: 17px;

  --gutter: max(16px, min(1.6vw, 24px));
  --r-panel: 28px;
  --r-card: 24px;
  --ease: cubic-bezier(0.2, 0.75, 0.1, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--fs-body)/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 8px;
}

.shell {
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.wrap {
  max-width: 1240px;
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background-color 0.2s,
    box-shadow 0.25s,
    border-color 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}
/* Primary button on the dark hero and closing panel: light, so it stands out from the veil. */
.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 32px -14px rgba(17, 9, 44, 0.75);
}
.btn-light:hover {
  background: #efe9fb;
}
.btn-glass {
  background: rgba(36, 18, 84, 0.3);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn-glass:hover {
  background: rgba(36, 18, 84, 0.34);
}
.btn-violet {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(109, 40, 217, 0.8);
}
.btn-violet:hover {
  background: var(--violet-hover);
}
.btn-line {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}
.btn-line:hover {
  border-color: #cbbfe3;
}

/* ---------- Hero ---------- */
.hero-shell {
  padding-top: max(var(--gutter), env(safe-area-inset-top, 0px));
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-panel);
  height: clamp(640px, calc(100svh - 96px), 860px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 368px);
  grid-template-rows: auto 1fr auto;
  column-gap: 40px;
  padding: 26px 30px 30px 40px;
  color: #fff;
  background:
    radial-gradient(60% 45% at 56% 55%, #fbe8f3 0%, rgba(251, 232, 243, 0) 70%),
    linear-gradient(180deg, #8a77d6 0%, #c5b2f0 42%, #f3d8ec 58%, #a597e2 61%, #5f53b8 100%);
}
.hero-scene,
.hero-sparks,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-scene {
  z-index: -3;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-scene.on {
  opacity: 1;
}
.hero-sparks {
  z-index: -2;
}
/* Dark veil behind the copy column so white text stays readable over the bright sky. */
.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(17, 9, 44, 0.74) 0%,
      rgba(17, 9, 44, 0.62) 24%,
      rgba(17, 9, 44, 0.46) 42%,
      rgba(17, 9, 44, 0.2) 58%,
      rgba(17, 9, 44, 0) 70%
    ),
    linear-gradient(to bottom, rgba(17, 9, 44, 0.42) 0%, rgba(17, 9, 44, 0) 20%),
    linear-gradient(to top, rgba(17, 9, 44, 0.5) 0%, rgba(17, 9, 44, 0) 32%);
}

.topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.brand svg {
  width: 32px;
  height: 32px;
  flex: none;
  filter: drop-shadow(0 6px 14px rgba(60, 20, 140, 0.35));
}
.navpill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 13px;
  background: rgba(17, 9, 44, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}
.navpill a {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.94);
  transition: background-color 0.2s;
}
.navpill a:hover {
  background: rgba(255, 255, 255, 0.18);
}
.navpill a.nav-cta {
  background: #fff;
  color: var(--ink);
  padding-inline: 18px;
  margin-left: 4px;
}
.navpill a.nav-cta:hover {
  background: #efe9fb;
}

.hero-copy {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  padding-top: clamp(18px, 4vh, 48px);
}
.hero-title {
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.048em;
  text-shadow:
    0 1px 2px rgba(17, 9, 44, 0.25),
    0 4px 40px rgba(17, 9, 44, 0.35);
}
.hero-title .ln {
  display: block;
}
.hero-title .ln > span {
  display: inline-block;
}

.hero-foot {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  display: grid;
  gap: 22px;
  max-width: 600px;
}
.hero-sub {
  max-width: 500px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  text-wrap: pretty;
  text-shadow: 0 1px 18px rgba(30, 14, 70, 0.45);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Chat */
.chat {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: end;
  display: grid;
  gap: 10px;
  justify-items: stretch;
}
.chat-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 10.5px;
}
.chat-meta .lbl,
.chat-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(36, 18, 84, 0.26);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dffb0;
  box-shadow: 0 0 0 0 rgba(125, 255, 176, 0.7);
  animation: ping 2.2s infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(125, 255, 176, 0.6);
  }
  80%,
  100% {
    box-shadow: 0 0 0 9px rgba(125, 255, 176, 0);
  }
}

.chat-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  transition: background-color 0.3s;
}
.chat-state[data-s='online'] i {
  background: #7dffb0;
}
.chat-state[data-s='work'] i {
  background: #ffd27d;
  animation: blink 1s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

.chat-card {
  position: relative;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 30px 70px -30px rgba(40, 18, 100, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  color: var(--ink);
  padding: 14px 14px 12px;
  display: grid;
  gap: 10px;
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 10px;
  border-bottom: 1px solid #efe9f7;
}
.chat-head .who {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
}
.chat-head .ava {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--lilac-soft);
  color: var(--violet);
}
.chat-head .ava svg {
  width: 15px;
  height: 15px;
}
.chat-head .mcp {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--sunken);
}

.msgs {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 292px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 38px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 38px);
}
.msgs > li {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.msgs > li > div {
  min-height: 0;
  overflow: hidden;
}
.msgs > li.hide {
  grid-template-rows: 0fr;
}
.row {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
}
.row.me {
  align-items: flex-end;
}
.row.ai {
  align-items: flex-start;
}
.bubble {
  max-width: 84%;
  padding: 9px 13px;
  font-size: 13.5px;
  line-height: 1.42;
  border-radius: 14px;
  transition:
    opacity 0.45s ease,
    transform 0.55s var(--ease),
    filter 0.5s ease;
}
.row.me .bubble {
  background: linear-gradient(160deg, #8b5cf6, #6d28d9);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.row.ai .bubble {
  background: #f1edf8;
  color: var(--ink);
  border-bottom-left-radius: 5px;
}
.msgs > li.hide .bubble {
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  filter: blur(4px);
}
.bubble strong {
  font-weight: 600;
}
.stamp {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #8a829c;
  margin-top: 4px;
  padding-inline: 4px;
}
.typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
}
.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9d93b3;
  animation: dots 1.1s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes dots {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.tool {
  margin-top: 8px;
  display: grid;
  gap: 7px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e7e0f2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.tool-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.tool-top b {
  font-weight: 500;
  color: var(--violet);
}
.tool .track {
  height: 4px;
  border-radius: 4px;
  background: #efe9f8;
  overflow: hidden;
}
.tool .fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #bd99ff, #7130e5);
}
.tool.run .fill {
  animation: fill 1.6s var(--ease) forwards;
}
.tool.done .fill {
  width: 100%;
}
.tool .ok {
  display: none;
  color: var(--good-ink);
}
.tool.done .ok {
  display: inline;
}
.tool.done .wip {
  display: none;
}
@keyframes fill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.chat-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sunken);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition:
    background-color 0.4s,
    color 0.4s;
}
.chat-action .url {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 11.5px;
}
.chat-action.live,
.chat-action.order {
  background: var(--good-soft);
  color: var(--good-ink);
}
.chat-action.order .a-r {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}
.chat-action.pop {
  animation: pop 0.55s var(--ease);
}
@keyframes pop {
  from {
    transform: scale(0.96);
    opacity: 0.5;
  }
}
.chat-foot {
  display: flex;
  justify-content: flex-end;
}
.motion-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background-color 0.2s;
}
.motion-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
}
.motion-toggle svg {
  width: 16px;
  height: 16px;
}
.motion-toggle .i-play {
  display: none;
}
.paused .motion-toggle .i-play {
  display: block;
}
.paused .motion-toggle .i-pause {
  display: none;
}

/* Intro choreography (only with JS + motion allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .ln > span {
    animation: lineIn 1.25s var(--ease) both;
    animation-delay: calc(0.35s + var(--i, 0) * 0.13s);
  }
  .js .hero-badge {
    animation: rise 0.9s var(--ease) both 0.2s;
  }
  .js .hero-lede {
    animation: rise 1s var(--ease) both 0.75s;
  }
  .js .hero-foot > * {
    animation: rise 1s var(--ease) both;
    animation-delay: calc(0.95s + var(--i, 0) * 0.12s);
  }
  .js .topbar {
    animation: rise 0.9s var(--ease) both 0.15s;
  }
  .js .chat {
    animation: cardIn 1.2s var(--ease) both 1.05s;
  }
}
@keyframes lineIn {
  from {
    opacity: 0;
    transform: translateY(0.32em);
    filter: blur(16px);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }
}
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
    filter: blur(10px);
  }
}

/* ---------- Agents strip ---------- */
.strip {
  padding-block: 34px 8px;
}
.strip .label {
  text-align: center;
  color: var(--muted);
  font-size: 11.5px;
}
.strip-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.strip-row li {
  list-style: none;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.025em;
  color: #3d3552;
}
.strip-row li small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: #7a7290;
  text-transform: uppercase;
}
.strip-row {
  padding: 0;
  margin-bottom: 0;
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(84px, 10vw, 148px) 0;
}
.section-head {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}
.eyebrow {
  color: var(--violet);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
  text-wrap: balance;
}

/* ---------- Bento ---------- */
.bento {
  margin-top: clamp(44px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  min-height: 380px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tile h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.tile p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}

/* Tile A: versions */
.t-versions {
  color: #fff;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255, 210, 238, 0.45) 0%, rgba(255, 210, 238, 0) 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(76, 29, 149, 0.55) 0%, rgba(76, 29, 149, 0) 60%),
    linear-gradient(165deg, #b393ff 0%, #8452f0 45%, #6327d4 100%);
}
.t-versions h3 {
  max-width: 13ch;
}
.vlist {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.vlist > li {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.vlist > li > div {
  min-height: 0;
  overflow: hidden;
}
.vlist > li.enter {
  grid-template-rows: 0fr;
}
.vrow {
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 24px -16px rgba(40, 10, 100, 0.6);
  transition:
    opacity 0.6s ease,
    transform 0.6s var(--ease),
    background-color 0.5s;
}
.vlist > li.enter .vrow {
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
}
.vnum {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--lilac-soft);
  color: var(--violet);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
}
.vtxt {
  min-width: 0;
}
.vtxt small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #81799a;
}
.vtxt span {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.badge.on {
  background: var(--good-soft);
  color: var(--good-ink);
}
.badge.on::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
}
.badge.back {
  color: var(--violet);
  border: 1px solid #ddd0f6;
}

/* Tile B: secure marquee */
.t-secure {
  background: linear-gradient(180deg, #ebe4fa 0%, #e3daf7 100%);
  justify-content: space-between;
  padding-inline: 0;
}
.marquee {
  display: grid;
  gap: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.mq-row {
  display: flex;
  width: max-content;
  animation: mq 34s linear infinite;
}
.mq-row:nth-child(2) {
  animation-duration: 42s;
  animation-direction: reverse;
}
.mq-row:nth-child(3) {
  animation-duration: 38s;
}
.mq-row span {
  margin-right: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(109, 40, 217, 0.1);
  font-size: 14.5px;
  color: #4b4263;
  white-space: nowrap;
}
@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}
.t-secure .big {
  padding-inline: 26px;
  font-size: clamp(36px, 3.3vw, 46px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.045em;
  color: var(--violet-deep);
}
.t-secure .big small {
  display: block;
  margin-top: 12px;
  font-size: 15.5px;
  letter-spacing: 0;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 400;
  max-width: 30ch;
}

/* Tile C: domain + payments */
.t-domain {
  padding: 18px;
  background:
    radial-gradient(60% 45% at 56% 55%, #fbe8f3 0%, rgba(251, 232, 243, 0) 70%),
    linear-gradient(180deg, #8a77d6 0%, #c5b2f0 42%, #f3d8ec 58%, #a597e2 61%, #5f53b8 100%);
  background-size: cover;
  background-position: 52% 50%;
}
.t-domain.has-snap {
  background-size: cover;
}
.mini {
  width: min(78%, 290px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 50px -24px rgba(30, 10, 80, 0.55);
  padding: 10px;
  display: grid;
  gap: 10px;
}
.addr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--sunken);
  font-size: 13px;
  color: var(--ink-2);
}
.addr svg {
  width: 13px;
  height: 13px;
  color: var(--good);
  flex: none;
}
.addr .live {
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
}
.preview {
  border-radius: 12px;
  padding: 14px 14px 12px;
  background: linear-gradient(160deg, #f6efff, #ecdfff);
  display: grid;
  gap: 4px;
}
.preview b {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--violet-deep);
}
.preview span {
  font-size: 12.5px;
  color: var(--muted);
}
.preview i {
  margin-top: 8px;
  justify-self: start;
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
}
.t-domain .mini-cap {
  padding: 4px 6px;
  display: grid;
  gap: 4px;
}
.t-domain .mini-cap p {
  font-size: 13.5px;
  line-height: 1.4;
}
.toasts {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  height: 120px;
  pointer-events: none;
}
.toast {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px -18px rgba(30, 10, 80, 0.6);
  font-size: 13px;
  color: var(--ink);
  opacity: 0;
  animation: toast 8s var(--ease) infinite;
}
.toast:nth-child(2) {
  animation-delay: 4s;
}
.toast .ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
}
.toast .ic svg {
  width: 15px;
  height: 15px;
}
.toast .ic.g {
  background: var(--good-soft);
  color: var(--good);
}
.toast .ic.v {
  background: var(--lilac-soft);
  color: var(--violet);
}
.toast b {
  font-weight: 600;
}
.toast small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}
@keyframes toast {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    filter: blur(4px);
  }
  7%,
  42% {
    opacity: 1;
    transform: none;
    filter: none;
  }
  50%,
  100% {
    opacity: 0;
    transform: translateY(-34px) scale(0.98);
    filter: blur(3px);
  }
}

/* Tile E: agents diagram */
.t-agents {
  background:
    radial-gradient(80% 60% at 85% 70%, rgba(124, 58, 237, 0.45) 0%, rgba(124, 58, 237, 0) 70%),
    var(--night);
  color: #fff;
  justify-content: space-between;
  gap: 22px;
  min-height: 340px;
}
.t-agents p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 10px;
}
.diagram {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin-inline: auto;
  overflow: visible;
}
.diagram .base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.5;
}
.diagram .pulse {
  fill: none;
  stroke: #cdb3ff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 18 320;
  stroke-dashoffset: 338;
  animation: travel 2.6s linear infinite;
  filter: drop-shadow(0 0 6px rgba(190, 150, 255, 0.9));
}
.diagram .pulse.p2 {
  animation-delay: 0.85s;
}
.diagram .pulse.p3 {
  animation-delay: 1.7s;
}
@keyframes travel {
  to {
    stroke-dashoffset: 0;
  }
}
.diagram .pill {
  fill: rgba(255, 255, 255, 0.07);
  stroke: rgba(255, 255, 255, 0.18);
}
.diagram text {
  fill: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.diagram .halo {
  animation: halo 2.6s ease-in-out infinite;
  transform-origin: 306px 88px;
}
@keyframes halo {
  50% {
    opacity: 0.55;
    transform: scale(1.12);
  }
}

/* ---------- Steps ---------- */
.how {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.how .section-head,
.faq .section-head {
  position: sticky;
  top: 40px;
}
.how .section-head {
  justify-items: start;
  text-align: left;
  margin: 0;
}
.how .h2 {
  max-width: 14ch;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
  counter-reset: s;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 24px 24px 20px;
  border-radius: var(--r-card);
  background: var(--card);
  border: 1px solid var(--line);
}
.step .num {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--violet);
  background: var(--lilac-soft);
}
.step:last-child .num {
  background: linear-gradient(160deg, #bd99ff, #7130e5);
  color: #fff;
}
.step h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.step p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
}
.step .agents {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prompt {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 8px 8px 16px;
  border-radius: 14px;
  background: var(--night);
  color: #fff;
}
.prompt q {
  quotes: '„' '“';
  flex: 1 1 220px;
  min-width: 0;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.01em;
}
.prompt q::after {
  content: close-quote;
}
.copy {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s;
}
.copy:hover {
  background: rgba(255, 255, 255, 0.2);
}
.copy svg {
  width: 14px;
  height: 14px;
}
.copy.ok {
  background: #2c7a4b;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  justify-items: center;
}
.plan {
  margin-top: clamp(40px, 5vw, 56px);
  width: min(100%, 980px);
  border-radius: var(--r-panel);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -50px rgba(70, 30, 160, 0.45);
  padding: clamp(22px, 3vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.plan-l {
  display: grid;
  gap: 22px;
}
.plan-r {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 8px 0 8px clamp(24px, 3.5vw, 44px);
  border-left: 1px solid #efe9f7;
}
.plan-lbl {
  color: var(--muted);
  font-size: 11.5px;
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 13px;
  background: var(--sunken);
  border: 1px solid #ece6f6;
}
.seg button {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition:
    background-color 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.seg button[aria-pressed='true'] {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 4px 14px -6px rgba(60, 30, 120, 0.35);
}
.seg .save {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--lilac-soft);
  color: var(--violet);
}
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.price .amt {
  font-size: clamp(64px, 8vw, 92px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.price .per {
  font-size: 18px;
  color: var(--muted);
}
.price .note {
  flex-basis: 100%;
  font-size: 14.5px;
  color: var(--muted);
}
.amt.swap {
  animation: swap 0.5s var(--ease);
}
@keyframes swap {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(6px);
  }
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 13px;
}
.checks li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 16px;
}
.checks svg {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 7px;
  background: var(--lilac-soft);
  color: var(--violet);
}
.plan .btn {
  width: 100%;
  min-height: 56px;
  font-size: 13px;
}
.fine {
  display: grid;
  gap: 6px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.fine a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.faq .section-head {
  justify-items: start;
  text-align: left;
  margin: 0;
}
.qa {
  display: grid;
  gap: 10px;
}
.qa details {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}
.qa details[open] {
  border-color: #d6c8f1;
}
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 18px 14px 22px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary .pm {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--sunken);
  color: var(--violet);
  transition: background-color 0.2s;
}
.qa summary .pm svg {
  width: 14px;
  height: 14px;
}
.qa summary .pm svg {
  transition: transform 0.35s var(--ease);
}
.qa details[open] .pm {
  background: var(--lilac-soft);
}
.qa details[open] .pm svg {
  transform: rotate(45deg);
}
.qa details p {
  padding: 0 22px 20px;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- Final CTA ---------- */
.final {
  padding-block: clamp(84px, 10vw, 148px) 0;
}
.final-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-panel);
  min-height: 500px;
  display: grid;
  align-items: end;
  justify-items: start;
  text-align: left;
  padding: clamp(28px, 4vw, 56px);
  color: #fff;
  background:
    radial-gradient(60% 45% at 56% 55%, #fbe8f3 0%, rgba(251, 232, 243, 0) 70%),
    linear-gradient(180deg, #8a77d6 0%, #c5b2f0 42%, #f3d8ec 58%, #a597e2 61%, #5f53b8 100%);
  background-size: cover;
  background-position: 55% 60%;
}
.final-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(17, 9, 44, 0.74) 0%,
      rgba(17, 9, 44, 0.62) 28%,
      rgba(17, 9, 44, 0.42) 48%,
      rgba(17, 9, 44, 0.14) 64%,
      rgba(17, 9, 44, 0) 76%
    ),
    linear-gradient(to top, rgba(17, 9, 44, 0.45) 0%, rgba(17, 9, 44, 0) 45%);
}
.final-panel > div {
  display: grid;
  gap: 28px;
  justify-items: start;
  max-width: 720px;
}
.final-panel h2 {
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.96;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(40, 16, 100, 0.35);
}
.final-panel .row-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Footer ---------- */
.foot {
  padding-block: 56px max(40px, env(safe-area-inset-bottom, 0px));
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.foot .brand {
  color: var(--ink);
  font-size: 19px;
}
.foot .brand svg {
  width: 28px;
  height: 28px;
  filter: none;
}
.foot .tag {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  align-items: center;
}
.foot nav a {
  font-size: 15px;
  color: var(--ink-2);
  padding-block: 10px;
}
.foot nav a:hover {
  color: var(--violet);
}
.foot .legal {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13.5px;
}
.foot .legal span.mail {
  user-select: all;
  color: var(--ink-2);
}

/* ---------- Hero additions ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 13px 7px 11px;
  border-radius: 999px;
  background: rgba(17, 9, 44, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.hero-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd27d;
  box-shadow: 0 0 0 3px rgba(255, 210, 125, 0.25);
}
.hero-lede {
  margin-top: 22px;
  max-width: 26ch;
  font-size: clamp(21px, 1.9vw, 28px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(17, 9, 44, 0.3),
    0 2px 24px rgba(17, 9, 44, 0.45);
  text-wrap: balance;
}
.trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 6px;
  border-radius: 8px;
  background: rgba(17, 9, 44, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.trust svg {
  width: 17px;
  height: 17px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(125, 255, 176, 0.22);
  color: #a6ffca;
  flex: none;
}

/* ---------- Integration logos (optional files) ---------- */
.strip-row .logo {
  display: none;
  height: 26px;
  width: auto;
  max-width: 72%;
  object-fit: contain;
}
.strip-row li.has-logo .logo {
  display: block;
}
.strip-row li.has-logo .wm {
  display: none;
}

/* ---------- Replaces row ---------- */
.replaces {
  list-style: none;
  margin: 30px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 900px;
}
.replaces li {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.replaces .tool {
  position: relative;
  padding: 0 16px;
  border-radius: 11px;
  background: var(--card);
  border: 1px solid var(--line);
  color: #857d99;
  font-size: 15px;
}
.replaces .tool::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  top: 50%;
  height: 1.5px;
  border-radius: 2px;
  background: var(--violet);
  transform-origin: left center;
  transition: transform 0.7s var(--ease);
  transition-delay: calc(0.45s + var(--i) * 0.2s);
}
.replaces.pre .tool::after {
  transform: scaleX(0);
}
.replaces .arrow {
  color: var(--violet);
  padding-inline: 4px;
}
.replaces .arrow svg {
  width: 22px;
  height: 22px;
}
.replaces .rep-k {
  gap: 9px;
  padding: 0 16px 0 8px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  box-shadow: 0 14px 30px -16px rgba(60, 20, 140, 0.7);
}
.replaces .rep-k svg {
  width: 28px;
  height: 28px;
}

/* ---------- Chips ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--sunken);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- Tiles: templates, mail, easy ---------- */
.span2 {
  grid-column: span 2;
}
.t-templates {
  background: var(--card);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: stretch;
}
.tt-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tt-copy .chip-row {
  margin-top: auto;
  max-width: 270px;
}
.thumbs {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 14px;
  padding-top: 30px;
}
.thumb {
  margin: 0;
  flex: 0 1 31%;
  max-width: 168px;
  display: grid;
  gap: 10px;
  justify-items: center;
  position: relative;
  animation: pick 7.5s var(--ease) infinite;
  animation-delay: calc(var(--i) * 2.5s);
}
.thumb.th2 {
  flex-basis: 36%;
  max-width: 196px;
}
.thumb::before {
  content: 'Vybraná';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  z-index: 1;
  margin: 0 auto;
  width: max-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  animation: pickb 7.5s var(--ease) infinite;
  animation-delay: calc(var(--i) * 2.5s);
}
.tp {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid #e7e0f2;
  box-shadow: 0 18px 40px -26px rgba(60, 20, 140, 0.55);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
}
.tp-bar {
  display: block;
  height: 6px;
  width: 38%;
  border-radius: 3px;
  background: #ebe5f6;
}
.tp-h {
  display: block;
  height: 11px;
  width: 86%;
  border-radius: 4px;
  background: #2e2742;
}
.tp-l {
  display: block;
  height: 6px;
  width: 72%;
  border-radius: 3px;
  background: #e6dff2;
}
.tp-l.s {
  width: 52%;
}
.tp-img {
  display: block;
  flex: 1;
  min-height: 40px;
  border-radius: 9px;
}
.th1 .tp-img {
  background: linear-gradient(160deg, #ffd6ea, #d6c3ff);
}
.th2 .tp-img {
  background: linear-gradient(160deg, #c9b6ff, #7c4dff);
}
.th3 .tp-img {
  background: linear-gradient(160deg, #ffe3cf, #ffbfd8);
}
.tp-btn {
  display: block;
  height: 18px;
  width: 62%;
  border-radius: 6px;
  background: var(--violet);
  align-self: center;
}
.thumb figcaption {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes pick {
  0%,
  36%,
  100% {
    transform: translateY(0);
  }
  6%,
  30% {
    transform: translateY(-14px);
  }
}
@keyframes pickb {
  0%,
  36%,
  100% {
    opacity: 0;
    transform: translateY(4px);
  }
  6%,
  30% {
    opacity: 1;
    transform: none;
  }
}

.t-mail {
  background: var(--card);
  border: 1px solid var(--line);
  justify-content: space-between;
  gap: 20px;
}
.t-mail p {
  margin-top: 10px;
}
.seq {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.seq li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'when stt' 'subj stt';
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 13px;
  background: var(--sunken);
  border: 1px solid #ece6f6;
}
.seq .when {
  grid-area: when;
  font-size: 10px;
  color: #756d8c;
}
.seq .subj {
  grid-area: subj;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seq .stt {
  grid-area: stt;
  display: grid;
  justify-items: end;
}
.seq .stt b {
  grid-area: 1 / 1;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 7px;
  white-space: nowrap;
}
.seq .s1 {
  background: var(--lilac-soft);
  color: var(--violet);
  animation: s1 9s infinite;
  animation-delay: calc(var(--i) * 1.4s);
}
.seq .s2 {
  background: var(--good-soft);
  color: var(--good-ink);
  opacity: 0;
  animation: s2 9s infinite;
  animation-delay: calc(var(--i) * 1.4s);
}
@keyframes s1 {
  0%,
  10% {
    opacity: 1;
  }
  14%,
  86% {
    opacity: 0;
  }
  92%,
  100% {
    opacity: 1;
  }
}
@keyframes s2 {
  0%,
  10% {
    opacity: 0;
    transform: scale(0.9);
  }
  14%,
  86% {
    opacity: 1;
    transform: none;
  }
  92%,
  100% {
    opacity: 0;
  }
}

.t-easy {
  background: linear-gradient(180deg, #f2ecfd 0%, #e8defa 100%);
  justify-content: space-between;
  gap: 22px;
}
.t-easy h3 {
  font-size: clamp(34px, 3.1vw, 44px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--violet-deep);
}
.t-easy .sub {
  margin-top: 10px;
  font-size: 18px;
  color: var(--ink-2);
}
.tb-wrap {
  display: grid;
  gap: 10px;
}
.t-easy .tb-me {
  justify-self: end;
  max-width: 86%;
  padding: 8px 12px;
  border-radius: 12px 12px 4px 12px;
  background: linear-gradient(160deg, #8b5cf6, #6d28d9);
  color: #fff;
  font-size: 13.5px;
  line-height: 1.35;
}
.t-easy .tb-reply {
  justify-self: start;
  max-width: 92%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--card);
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--ink);
  box-shadow: 0 10px 24px -18px rgba(60, 20, 140, 0.6);
  transition: color 0.3s;
}
.t-easy .tb-reply.wait {
  color: var(--muted);
}
.t-easy .tb-reply.wait svg {
  opacity: 0.35;
}
.t-easy .pop {
  animation: pop 0.5s var(--ease);
}
#typer:empty::before {
  content: attr(data-ph);
  color: #8c84a0;
}
.tb-reply svg {
  width: 17px;
  height: 17px;
  padding: 3px;
  border-radius: 50%;
  background: var(--good-soft);
  color: var(--good);
  flex: none;
}
.type-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid #e0d5f5;
  box-shadow: 0 20px 40px -28px rgba(60, 20, 140, 0.55);
}
.t-easy .tb-text {
  min-height: 44px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 2px;
  background: var(--violet);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.tb-send {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--violet);
  color: #fff;
}
.tb-send svg {
  width: 18px;
  height: 18px;
}

.t-versions p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 30ch;
}
.t-versions .vlist {
  flex: none;
  height: 236px;
  overflow: hidden;
}
.t-secure.span2 .big small {
  max-width: 58ch;
}

/* ---------- Comparison ---------- */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.cmp-wrap {
  margin-top: clamp(40px, 5vw, 56px);
  overflow-x: auto;
  border-radius: var(--r-card);
  background: var(--card);
  border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}
.cmp {
  width: 100%;
  min-width: 660px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15.5px;
}
.cmp th,
.cmp td {
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid #efe9f7;
}
.cmp tbody tr:last-child > * {
  border-bottom: 0;
}
.cmp thead th {
  position: relative;
  padding-top: 34px;
  padding-bottom: 20px;
  vertical-align: bottom;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cmp thead small {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7d7594;
}
.cmp tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--ink);
}
.cmp thead th:first-child {
  width: 31%;
}
.cmp thead th:not(:first-child) {
  width: 23%;
}
.cmp td {
  color: var(--muted);
}
.cmp tbody th,
.cmp thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--card);
}
.cmp .win {
  background: #f4effd;
  box-shadow:
    inset 1px 0 0 #e3d6fa,
    inset -1px 0 0 #e3d6fa;
}
.cmp td.win b {
  color: var(--violet);
  font-weight: 600;
}
.win-badge {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cmp-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}
.cmp-brand svg {
  width: 26px;
  height: 26px;
}
.ic-yes {
  width: 26px;
  height: 26px;
  padding: 6px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  vertical-align: middle;
}
.ic-yes.n {
  background: #ebe7f2;
  color: #5d5570;
}
.ic-no {
  width: 20px;
  height: 20px;
  color: #9c94b0;
  vertical-align: middle;
}

/* ---------- Reveal ---------- */
.rv {
  transition:
    opacity 1s var(--ease),
    transform 1.1s var(--ease),
    filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.rv.pre {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
}

/* ---------- Paused state ---------- */
.paused *,
.paused *::before,
.paused *::after {
  animation-play-state: paused !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .t-secure.span2 {
    grid-column: auto;
  }
}
@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    padding: 18px 18px 20px;
    row-gap: 0;
  }
  .navpill a:not(.nav-cta) {
    display: none;
  }
  .navpill a.nav-cta {
    margin-left: 0;
  }
  .hero-copy {
    grid-row: 2;
    padding-top: 48px;
  }
  .hero-foot {
    grid-row: 3;
    margin-top: 26px;
    max-width: 560px;
  }
  .chat {
    grid-column: 1;
    grid-row: 4;
    margin-top: 48px;
    max-width: 420px;
    width: 100%;
    justify-self: start;
  }
  .hero-scrim {
    background:
      linear-gradient(
        to bottom,
        rgba(17, 9, 44, 0.66) 0%,
        rgba(17, 9, 44, 0.56) 32%,
        rgba(17, 9, 44, 0.42) 50%,
        rgba(17, 9, 44, 0) 64%
      ),
      linear-gradient(to top, rgba(17, 9, 44, 0.45) 0%, rgba(17, 9, 44, 0) 40%);
  }
  .how,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .how .section-head,
  .faq .section-head {
    position: static;
  }
  .plan {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan-r {
    border-left: 0;
    border-top: 1px solid #efe9f7;
    padding: 22px 0 0;
  }
  .hero-copy {
    padding-top: 48px;
  }
  .how .h2 {
    max-width: none;
  }
}
@media (max-width: 720px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .t-templates {
    grid-template-columns: minmax(0, 1fr);
  }
  .span2 {
    grid-column: auto;
  }
  .strip-row {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .strip-row li {
    grid-column: span 2;
  }
  .strip-row li:nth-child(n + 4) {
    grid-column: span 3;
  }
  .tile {
    min-height: 360px;
    padding: 22px;
  }
  .t-secure {
    padding-inline: 0;
  }
  .t-domain {
    padding: 16px;
    min-height: 400px;
  }
  .hero-sub {
    font-size: 17px;
  }
  .step {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 22px;
  }
  .qa summary {
    font-size: 17px;
  }
  .cmp {
    min-width: 560px;
    font-size: 14px;
  }
  .cmp th,
  .cmp td {
    padding: 14px 12px;
  }
  .cmp thead th {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .hero-ctas .btn {
    flex: 1 1 100%;
  }
  .final-panel {
    align-items: start;
  }
  .final-panel::before {
    background: linear-gradient(
      to bottom,
      rgba(17, 9, 44, 0.68) 0%,
      rgba(17, 9, 44, 0.56) 32%,
      rgba(17, 9, 44, 0.3) 52%,
      rgba(17, 9, 44, 0) 66%
    );
  }
  .strip-row li {
    font-size: 16px;
    height: 58px;
  }
  .final-panel {
    min-height: 560px;
  }
  .final-panel .row-btns .btn {
    flex: 1 1 100%;
  }
  .final-panel .row-btns {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .rv.pre {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .mq-row {
    animation: none !important;
  }
  .toast {
    opacity: 1;
    animation: none !important;
  }
  .toast:nth-child(2) {
    display: none;
  }
  .diagram .pulse {
    display: none;
  }
}

/* ---------- Footer legal links ---------- */
.foot .legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.foot .legal nav a {
  font-size: 13.5px;
  color: var(--muted);
  padding-block: 8px;
}
.foot .legal nav a:hover {
  color: var(--violet);
}
