/* SwoopByte — "Electric" design system
   White paper, black ink, Inter. Accents: indigo #3a0ca3, blue #4361ee,
   pink #f72585, cyan #4cc9f0, purple #7209b7. Color is contrast, not wallpaper. */

:root {
  --paper: #ffffff;
  --ink: #0b0b10;
  --ink-soft: #3c3c46;
  --muted: #71717e;
  --line: #e8e8ee;
  --line-strong: #d6d6e0;
  --indigo: #3a0ca3;
  --blue: #4361ee;
  --pink: #f72585;
  --cyan: #4cc9f0;
  --purple: #7209b7;
  --amber: #ff9f1c;
  --dark: #0d0d14;
  --dark-2: #12121b;
  --wrap: 1180px;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  --z-nav: 40;
  --z-skip: 100;
  --shadow-ink: 0 24px 60px rgba(20, 20, 60, .12);
  --shadow-soft: 0 12px 34px rgba(20, 20, 60, .08);
  --ease: cubic-bezier(.19, .8, .22, 1);
  --spring: cubic-bezier(.34, 1.4, .44, 1);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
}

@property --sweep {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Native cross-page view transitions (Chromium/Safari support only —
   no-op elsewhere). Kept short and behind reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: .25s;
    animation-timing-function: cubic-bezier(.19, 1, .22, 1);
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

p, h1, h2, h3 {
  margin: 0;
}

p {
  text-wrap: pretty;
}

h1, h2, h3 {
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 6.8vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -.045em;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  font-weight: 780;
  letter-spacing: -.035em;
}

h3 {
  font-size: 1.18rem;
  font-weight: 680;
  letter-spacing: -.015em;
}

.accent { color: var(--blue); }
.accent-pink { color: var(--pink); }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: var(--z-skip);
  transform: translateY(-140%);
  background: var(--ink);
  color: white;
  padding: .7rem 1rem;
  border-radius: 10px;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---- Navigation ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -.02em;
  color: var(--ink);
}

.brand span:not(.brand-mark) {
  color: var(--blue);
}

/* falcon mark: inline SVG inherits color via currentColor, so the
   host controls fill — blue in the header, white on dark footers/CTAs */
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--blue);
  flex: none;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* on dark surfaces (footer stays light, but CTA panels/dark bands may
   host a brand lockup later) keep the mark legible */
.cta-panel .brand-mark,
.glass-band .brand-mark {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 560;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--blue);
  transition: right .3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  right: 0;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 680;
}

/* ---- Buttons & links ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 46px;
  padding: .8rem 1.35rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-size: .95rem;
  font-weight: 640;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--spring), box-shadow .25s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(.98);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 28px rgba(67, 97, 238, .35);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(67, 97, 238, .45);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 26px rgba(11, 11, 16, .22);
}

.btn-dark:hover {
  box-shadow: 0 16px 36px rgba(11, 11, 16, .3);
}

.btn-secondary {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--paper);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  color: var(--blue);
  font-weight: 680;
}

.text-link span {
  transition: transform .25s var(--spring);
}

.text-link:hover span {
  transform: translateX(4px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(67, 97, 238, .4);
  outline-offset: 3px;
}

.eyebrow {
  color: var(--blue);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .45rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper);
}

.pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
}

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

.hero {
  padding: clamp(56px, 8vw, 104px) 0 44px;
}

.hero-center {
  text-align: center;
  padding-bottom: 0;
}

.hero-center h1 {
  max-width: 17ch;
  margin: 26px auto 0;
  font-size: clamp(3.2rem, 7.4vw, 6.2rem);
}

.hero-center .hero-lede {
  margin: 24px auto 0;
}

.hero-center .hero-actions {
  justify-content: center;
}

.hero-note {
  margin-top: 14px;
  font-size: .85rem;
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
}

.hero-grid h1 {
  font-size: clamp(2.7rem, 5.2vw, 4.4rem);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy > * + * {
  margin-top: 22px;
}

.hero-lede {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 680px;
}

.trust-pill {
  min-height: 78px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.trust-pill b {
  display: block;
  font-size: 1.14rem;
  font-weight: 780;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.trust-pill span {
  display: block;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.35;
}

/* ---- Product mockup: dark window, glass chips ---- */

.stage {
  position: relative;
  max-width: 880px;
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 0 20px;
}

.stage::before {
  content: "";
  position: absolute;
  inset: auto 8% -40px 8%;
  height: 120px;
  background: radial-gradient(closest-side, rgba(67, 97, 238, .22), transparent);
  filter: blur(30px);
}

.device {
  position: relative;
}

.device-window,
.window {
  position: relative;
  border-radius: 22px;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 40px 90px rgba(20, 20, 60, .35), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  padding: 20px;
  text-align: left;
  overflow: hidden;
}

.window-dots,
.dots {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.window-dots span,
.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.gauge-card {
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
}

.gauge-top,
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: .42rem .75rem;
  background: rgba(76, 201, 240, .14);
  color: var(--cyan);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

@media (prefers-reduced-motion: no-preference) {
  .status::before {
    animation: pulse 2.6s ease-in-out infinite;
  }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76, 201, 240, .3); }
  50% { box-shadow: 0 0 0 6px rgba(76, 201, 240, 0); }
}

.status.soon {
  background: rgba(11, 11, 16, .05);
  color: var(--muted);
}

.status.soon::before {
  background: var(--muted);
  animation: none;
}

.status.watch {
  background: rgba(255, 159, 28, .14);
  color: #b96f0a;
}

.status.watch::before {
  background: var(--amber);
}

/* on white cards the live status reads better in blue */
.product-card .status,
.answer-card .status {
  background: rgba(67, 97, 238, .1);
  color: var(--blue);
}

.product-card .status::before,
.answer-card .status::before {
  background: var(--blue);
}

.product-card .status.soon,
.answer-card .status.soon {
  background: rgba(11, 11, 16, .05);
  color: var(--muted);
}

.product-card .status.soon::before,
.answer-card .status.soon::before {
  background: var(--muted);
}

.gauge {
  --sweep: 311deg;
  width: 178px;
  aspect-ratio: 1;
  margin: 28px auto 16px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, var(--dark) 54%, transparent 55%),
    conic-gradient(from -35deg, var(--blue) 0 calc(var(--sweep) * .7), var(--cyan) var(--sweep), rgba(255, 255, 255, .1) 0);
  box-shadow: 0 0 55px rgba(76, 201, 240, .22);
}

.gauge::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, .09);
}

@media (prefers-reduced-motion: no-preference) {
  html.js .gauge {
    --sweep: 0deg;
    transition: --sweep 1.6s var(--ease) .3s;
  }

  html.js .in .gauge,
  html.js .gauge.in {
    --sweep: 311deg;
  }
}

.gauge-value {
  position: relative;
  z-index: 1;
  text-align: center;
}

.gauge-value b {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.gauge-value span {
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.readout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-radius: 12px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .07);
}

.readout b {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

.readout span {
  color: rgba(255, 255, 255, .55);
  font-size: .82rem;
}

.verdict-line {
  margin-top: 16px;
  color: rgba(255, 255, 255, .6);
  font-size: .93rem;
}

.floating-mini,
.chip {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: min(250px, 56%);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .9);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 20px 50px rgba(20, 20, 60, .18);
  font-size: .85rem;
}

.floating-mini b,
.chip b {
  display: block;
  font-weight: 700;
  letter-spacing: -.01em;
}

.floating-mini span,
.chip span {
  color: var(--muted);
  font-size: .82rem;
}

.chip {
  width: auto;
}

.chip-l {
  left: -26px;
  right: auto;
  top: 38%;
  bottom: auto;
}

.chip-r {
  right: -24px;
  bottom: -26px;
}

@media (prefers-reduced-motion: no-preference) {
  .floating-mini,
  .chip-l {
    animation: floaty 8s ease-in-out infinite;
  }

  .chip-r {
    animation: floaty 9.5s ease-in-out infinite reverse;
  }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* trend line draws itself on reveal */
.trend-path {
  stroke-dasharray: 560;
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html.js .device .trend-path {
    stroke-dashoffset: 560;
    transition: stroke-dashoffset 1.7s var(--ease) .3s;
  }

  html.js .device.in .trend-path,
  html.js .in .trend-path {
    stroke-dashoffset: 0;
  }

  html.js .device .trend-fill {
    opacity: 0;
    transition: opacity .9s ease 1.4s;
  }

  html.js .device.in .trend-fill,
  html.js .in .trend-fill {
    opacity: 1;
  }
}

/* ---- Ticker ---- */

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  margin-top: clamp(56px, 7vw, 90px);
}

.ticker-track {
  display: inline-flex;
  gap: 44px;
  padding-right: 44px;
  font-weight: 640;
  letter-spacing: -.01em;
  color: var(--ink-soft);
}

.ticker-track i {
  font-style: normal;
  color: var(--pink);
}

.ticker-track span:nth-child(4n+2) i { color: var(--blue); }
.ticker-track span:nth-child(4n+3) i { color: var(--cyan); }
.ticker-track span:nth-child(4n) i { color: var(--purple); }

@media (prefers-reduced-motion: no-preference) {
  .ticker-track {
    animation: ticker-scroll 26s linear infinite;
  }
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* ---- Sections ---- */

.section {
  padding: clamp(70px, 9vw, 120px) 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: clamp(30px, 4.5vw, 54px);
}

.section-head > * + * {
  margin-top: 14px;
}

.section-head p:not(.eyebrow) {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.06rem;
}

/* ---- Card system: white, hairline, accent top-line, cursor spotlight ---- */

.product-card,
.answer-card,
.article-card,
.principle {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow: hidden;
  transition: transform .3s var(--spring), box-shadow .3s ease, border-color .3s ease;
}

.product-card:hover,
.answer-card:hover,
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-ink);
}

/* accent line that draws across the top on hover */
.product-card::before,
.article-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--c, var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
  z-index: 1;
}

.product-card:hover::before,
.article-card:hover::before {
  transform: scaleX(1);
}

/* cursor-tracking spotlight (JS feeds --mx / --my) */
.product-card::after,
.answer-card::after,
.article-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(67, 97, 238, .08), rgba(76, 201, 240, .05) 46%, transparent 68%);
}

.product-card:hover::after,
.answer-card:hover::after,
.article-card:hover::after {
  opacity: 1;
}

.suite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-wall {
  display: contents;
}

.product-card {
  min-height: 280px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.product-card.featured {
  border-color: rgba(67, 97, 238, .35);
  box-shadow: 0 18px 44px rgba(67, 97, 238, .12);
}

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--c, var(--ink));
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  transition: transform .3s var(--spring);
}

.product-card:hover .product-icon {
  transform: rotate(-5deg) scale(1.08);
}

.product-icon.battery { background: var(--blue); box-shadow: 0 10px 24px rgba(67, 97, 238, .4); color: #fff; }
.product-icon.uninstaller { background: var(--pink); box-shadow: 0 10px 24px rgba(247, 37, 133, .38); }
.product-icon.disk { background: var(--cyan); box-shadow: 0 10px 24px rgba(76, 201, 240, .4); color: #07202b; }
.product-icon.bar { background: var(--ink); }
.product-icon.clipboard { background: var(--purple); box-shadow: 0 10px 24px rgba(114, 9, 183, .35); }
.product-icon.cleaner { background: var(--indigo); box-shadow: 0 10px 24px rgba(58, 12, 163, .35); }

.product-card p {
  color: var(--muted);
  font-size: .96rem;
}

.product-card .problem {
  color: var(--ink-soft);
  font-weight: 620;
}

.product-card .spacer,
.article-card .spacer {
  flex: 1;
}

/* ---- Indigo band (legacy .glass-band) ---- */

.glass-band {
  position: relative;
  background: var(--indigo);
  color: #fff;
  overflow: hidden;
}

.glass-band::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  right: -160px;
  top: -220px;
  background: radial-gradient(closest-side, rgba(76, 201, 240, .35), transparent);
}

.glass-band::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  left: -180px;
  bottom: -260px;
  background: radial-gradient(closest-side, rgba(247, 37, 133, .32), transparent);
}

.glass-band > * {
  position: relative;
  z-index: 1;
}

.glass-band .eyebrow {
  color: var(--cyan);
}

.glass-band .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, .66);
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.principle {
  min-height: 210px;
  padding: 24px;
  border-radius: var(--r);
}

.glass-band .principle {
  background: rgba(255, 255, 255, .09);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}

.glass-band .principle:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}

.principle .num {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
  border-radius: 9px;
  background: rgba(67, 97, 238, .1);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.glass-band .principle .num {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.glass-band .principle h3 {
  color: #fff;
}

.glass-band .principle p,
.glass-band .principle .muted {
  margin-top: 10px;
  color: rgba(255, 255, 255, .62);
  font-size: .94rem;
}

/* ---- Answers ---- */

.answer-section {
  padding-top: 0;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.answer-card {
  min-height: 240px;
  padding: 24px;
}

.answer-card h3 {
  font-size: 1.1rem;
}

.answer-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: .96rem;
}

/* ---- Spotlight rows / features ---- */

.spotlight {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 0;
  margin-top: 26px;
}

.feature-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.feature-row b {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.01em;
}

.feature-row p {
  color: var(--muted);
}

/* ---- Real app screenshots ---- */

.app-shot {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(11, 11, 16, .35));
}

/* For shots cropped mid-window: fade the cut edge instead of a hard line */
.app-shot-cropped {
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, #000 86%, transparent);
}

/* ---- Free vs Pro comparison table ---- */

.compare-wrap {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow-x: auto;
  background: #fff;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
  min-width: 560px;
}

.compare th,
.compare td {
  padding: 15px 20px;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.compare thead th {
  border-top: 0;
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: #f7f8fc;
}

.compare th[scope="row"] {
  font-weight: 650;
  color: var(--ink);
  width: 46%;
}

.compare td {
  color: var(--muted);
}

.compare .col-free,
.compare .col-pro {
  width: 27%;
}

.compare .yes {
  color: var(--ink);
  font-weight: 650;
}

.compare .yes::before {
  content: "✓";
  margin-right: 8px;
  color: var(--blue);
  font-weight: 800;
}

.compare .pro-col .yes::before {
  color: var(--purple);
}

.compare .no {
  color: var(--ink-soft);
  opacity: .55;
}

.compare tfoot td {
  background: #f7f8fc;
  color: var(--ink-soft);
  font-size: .88rem;
}

.compare-note {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: .9rem;
}

/* ---- Blog / article cards with illustration covers ---- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  min-height: 280px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.article-card .cover {
  margin: -24px -24px 8px;
  aspect-ratio: 16 / 8.5;
  background: #f4f5fa;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.article-card .cover svg,
.article-card .cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.article-card:hover .cover svg,
.article-card:hover .cover img {
  transform: scale(1.04);
}

.article-card .meta {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-card h3 {
  font-size: 1.12rem;
}

.article-card p {
  color: var(--muted);
  font-size: .96rem;
}

/* ---- Photo mosaic ---- */

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, 240px);
  gap: 14px;
}

.mosaic .photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.mosaic .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}

.mosaic .photo:hover img {
  transform: scale(1.05);
}

.mosaic .photo.tall {
  grid-row: span 2;
}

.mosaic .photo .cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: .5rem .85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .9);
  font-size: .82rem;
  font-weight: 650;
  color: var(--ink);
}

.mosaic .tile {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--dark);
  color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.mosaic .tile::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  right: -100px;
  top: -140px;
  background: radial-gradient(closest-side, rgba(67, 97, 238, .5), transparent);
}

.mosaic .tile b {
  position: relative;
  font-size: 1.5rem;
  font-weight: 780;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.mosaic .tile span {
  position: relative;
  color: rgba(255, 255, 255, .6);
  font-size: .92rem;
}

/* ---- CTA panel: rich dark ---- */

.cta-panel {
  position: relative;
  border-radius: 28px;
  padding: clamp(30px, 6vw, 64px);
  background: var(--dark);
  color: white;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-ink);
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  right: -140px;
  top: -220px;
  background: radial-gradient(closest-side, rgba(67, 97, 238, .38), transparent);
}

.cta-panel::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  left: -160px;
  bottom: -220px;
  background: radial-gradient(closest-side, rgba(247, 37, 133, .28), transparent);
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel .eyebrow {
  color: var(--cyan);
}

.cta-panel p {
  color: rgba(255, 255, 255, .68);
  max-width: 58ch;
}

.form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.form-row input {
  flex: 1;
  min-width: 220px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 0 18px;
  font: inherit;
  transition: border-color .25s ease;
}

.form-row input:hover,
.form-row input:focus {
  border-color: rgba(255, 255, 255, .38);
}

.form-row input::placeholder {
  color: rgba(255, 255, 255, .45);
}

.fine {
  margin-top: 12px;
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
}

.form-ok {
  color: var(--cyan);
  font-weight: 700;
}

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

.site-footer {
  padding: 52px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(130px, .4fr));
  gap: 34px;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: .95rem;
}

.footer-grid a:hover {
  color: var(--ink);
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col b {
  margin-bottom: 4px;
  color: var(--ink);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: .88rem;
}

/* ---- Article pages ---- */

.crumbs {
  padding-top: 22px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 550;
}

.crumbs a:hover {
  color: var(--ink);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.article-body {
  font-size: 1.08rem;
}

.article-body > * + * {
  margin-top: 1.1rem;
}

.article-body h2 {
  margin-top: 2.3rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.article-body h3 {
  margin-top: 1.7rem;
}

.article-body ul,
.article-body ol {
  padding-left: 1.2rem;
}

.article-body li + li {
  margin-top: .55rem;
}

.side-note {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.side-note p {
  color: var(--muted);
  font-size: .94rem;
}

/* ---- Motion ---- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: reveal .8s var(--ease) forwards;
  }

  .reveal.d1 { animation-delay: .08s; }
  .reveal.d2 { animation-delay: .16s; }
  .reveal.d3 { animation-delay: .24s; }

  /* scroll reveals: JS assigns .js-reveal, then .in when visible */
  html.js .js-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity .8s var(--ease) var(--rd, 0s),
      transform .8s var(--ease) var(--rd, 0s);
  }

  html.js .js-reveal.in {
    opacity: 1;
    transform: none;
  }
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Responsive ---- */

@media (max-width: 980px) {
  .hero-grid,
  .spotlight,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .suite-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principles,
  .answer-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 240px 240px;
  }

  .side-note {
    position: static;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 28px, var(--wrap));
  }

  .nav {
    min-height: 62px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  h1,
  .hero-center h1 {
    font-size: clamp(2.4rem, 13vw, 3.8rem);
  }

  .trust-row,
  .suite-grid,
  .principles,
  .answer-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .floating-mini,
  .chip {
    position: static;
    width: auto;
    margin-top: 14px;
    display: inline-block;
  }

  .stage {
    padding: 0;
  }
}
