:root {
  color-scheme: dark;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background: #050607;
  color: #f5f6f8;
  -webkit-font-smoothing: antialiased;
  --gutter: clamp(20px, 4.45vw, 64px);
  --section-space: clamp(72px, 8vw, 112px);
  --muted: #a4adbb;
  --surface-border: rgba(200, 216, 239, .17);
  --surface-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 12px 32px -16px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; }

html { scroll-padding-top: 32px; }

button, a, summary { -webkit-tap-highlight-color: transparent; }

body {
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
}

button, input { font: inherit; }

:focus-visible {
  outline: 2px solid #b6d8ff;
  outline-offset: 5px;
}

.hero {
  --art-width: clamp(920px, 100vw, 1600px);
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(62px, 13vh, 134px) 76px;
}

.intro {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

h1 {
  max-width: 1320px;
  margin: 0 auto;
  font-size: clamp(42px, 5.17vw, 91px);
  font-weight: 650;
  letter-spacing: -.06em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 span {
  display: block;
  color: #ccd0d7;
}

.hero-subtitle {
  margin: 24px auto 0;
  color: #b4bac4;
  font-size: clamp(15px, 1.48vw, 19px);
  line-height: 1.5;
  letter-spacing: -.018em;
}

.scan-area {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 3px;
  /* The image is 16:9. Leave its first 40% and an aura gap above the form. */
  padding-top: calc(var(--art-width) * .225 + 18px);
  padding-inline: var(--gutter);
}

.scene {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 0;
  pointer-events: none;
}

.scene img {
  position: absolute;
  left: 50%;
  width: var(--art-width);
  height: auto;
  max-width: none;
  transform: translateX(-50%);
  filter: brightness(1.44);
  mask-image: linear-gradient(180deg, transparent, black 7%, black 49%, transparent 76%);
}

@media (min-width: 1600px) {
  .scene img {
    mask-image: linear-gradient(180deg, transparent, black 7%, black 49%, transparent 76%),
      linear-gradient(90deg, transparent, black 8% 92%, transparent);
    mask-composite: intersect;
  }
}

.scanner {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
}

.glass {
  --aura-x: 50%;
  --aura-y: 50%;
  --aura-dx: 0px;
  --aura-dy: 0px;
  --aura-angle: 0deg;
  --aura-strength: 0;
  position: relative;
  border-radius: 999px;
}

.glass-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.glass-aura::before, .glass-aura::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  transition: transform 240ms ease-out, opacity 240ms ease-out;
}

.glass-aura::before {
  inset: -4px -6px;
  background:
    radial-gradient(ellipse 36% 100% at 7% 22%, rgba(72, 137, 255, .67), transparent 73%),
    radial-gradient(ellipse 37% 100% at 94% 80%, rgba(244, 74, 108, .68), transparent 73%);
  filter: blur(14px);
  opacity: calc(.58 + var(--aura-strength) * .28);
  transform: translate(var(--aura-dx), var(--aura-dy)) rotate(var(--aura-angle))
    scale(calc(1 + var(--aura-strength) * .025), calc(1 + var(--aura-strength) * .1));
}

.glass-aura::after {
  inset: -2px -3px;
  background:
    radial-gradient(ellipse 21% 100% at var(--aura-x) var(--aura-y), rgba(210, 231, 255, .35), transparent 77%),
    conic-gradient(from 32deg, transparent 0% 20%, #ff687d 31%, transparent 46% 67%, #75acff 80%, transparent 97%);
  filter: blur(3px);
  opacity: calc(.26 + var(--aura-strength) * .19);
  transform: translate(var(--aura-dx), var(--aura-dy)) rotate(var(--aura-angle));
}

.scan-form {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 70px;
  padding: 7px 8px 7px 23px;
  border-radius: inherit;
  border: 1px solid rgba(220, 234, 255, .35);
  background:
    linear-gradient(157deg, rgba(214, 232, 255, .17), rgba(10, 12, 17, .18) 45%, rgba(241, 174, 193, .13)),
    rgba(9, 13, 19, .48);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .25),
    inset 0 -1px 0 rgba(255, 255, 255, .10),
    0 11px 34px rgba(0, 0, 0, .48);
  -webkit-backdrop-filter: blur(15px) saturate(1.25);
  backdrop-filter: blur(15px) saturate(1.25);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .scan-form { background-color: rgba(12, 16, 24, .88); }
}

.scan-form:focus-within {
  border-color: #accbfa;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .26), 0 0 0 2px rgba(160, 200, 255, .18), 0 11px 34px rgba(0, 0, 0, .48);
}

.globe { color: #b9c8db; }

.scan-form input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  letter-spacing: -.015em;
}

.scan-form input::placeholder { color: #bfc6d1; opacity: 1; }

.scan-form button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .66), transparent) #dbe2ed;
  color: #131923;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .25);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .scan-form button:hover {
    background-color: #f2f5fc;
    box-shadow: 0 2px 12px rgba(202, 220, 248, .2);
  }
}

.scan-form button:active { background-color: #c2cede; }
.scan-form button:focus-visible { outline-offset: 2px; }

.scan-feedback {
  position: absolute;
  top: 100%;
  width: 100%;
  margin: 13px 0 0;
  padding-inline: 8px;
  color: #c9d5e5;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.scan-feedback[data-state="error"] { color: #ffc0c9; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .hero {
    --art-width: clamp(540px, 155vw, 960px);
    min-height: auto;
    padding-block: clamp(60px, 12vh, 110px) 112px;
  }
  h1 { font-size: clamp(39px, 7.65vw, 58px); line-height: 1.055; }
  .hero-subtitle { margin-top: 21px; }
  .scan-area { padding-top: calc(var(--art-width) * .225 + 13px); }
}

@media (max-width: 455px) {
  .scan-form { gap: 7px; min-height: 60px; padding: 6px 6px 6px 12px; }
  .globe { width: 17px; height: 17px; }
  .scan-form button { min-height: 46px; gap: 5px; padding-inline: 11px; font-size: 12px; }
  .scan-form button svg { width: 15px; height: 15px; }
  .scan-form input { font-size: 16px; letter-spacing: -.035em; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  h1 { font-size: clamp(32px, 10.2vw, 38px); }
  .scan-form { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
  .globe { display: none; }
  .scan-form button svg { display: none; }
}

@media (max-height: 760px) and (min-width: 761px) {
  .hero {
    --art-width: clamp(850px, 87vw, 1350px);
    padding-block: clamp(47px, 9vh, 69px) 64px;
  }
  .scene img {
    mask-image: linear-gradient(180deg, transparent, black 7%, black 49%, transparent 76%),
      linear-gradient(90deg, transparent, black 7% 93%, transparent);
    mask-composite: intersect;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass-aura::before, .glass-aura::after, .scan-form button { transition: none; }
}

/* Opaque, textured surfaces keep light inside each component. No shared
   gradient or backdrop filter can bleed through the gaps between cards. */
.pricing, .editorial {
  width: min(100%, 1408px);
  margin-inline: auto;
  padding: var(--section-space) var(--gutter);
}

.section-heading { margin-bottom: clamp(32px, 4vw, 52px); }

.pricing h2, .editorial h2 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1.08;
  text-align: center;
  text-wrap: balance;
}

.pricing-subtitle, .section-subtitle {
  margin: 18px auto 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  text-align: center;
}

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

.pricing-card, .blog-tile { position: relative; }

.pricing-card, .faq-item, .blog-tile, .pricing-dialog {
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background:
    url("./assets/surface-grain.png"),
    radial-gradient(ellipse at 10% 0%, rgba(204, 226, 255, .17), transparent 57%),
    linear-gradient(152deg, rgba(179, 205, 248, .09), transparent 47%, rgba(229, 153, 182, .10)),
    #090d13;
  box-shadow: var(--surface-shadow);
}

.pricing-card { padding: 28px 24px 24px; }

/* Subgrid aligns each comparison row, including the taller AI prompts row. */
@supports (grid-template-rows: subgrid) {
  .pricing-card, .pricing-features {
    display: grid;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  .pricing-card { grid-row: span 11; }
  .pricing-features { grid-row: span 10; }
}

.pricing-card--deep-red {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 127, 150, .64);
  background:
    radial-gradient(ellipse at 88% 0%, rgba(251, 81, 116, .23), transparent 64%),
    linear-gradient(147deg, rgba(222, 227, 255, .11), transparent 45%, rgba(243, 79, 115, .14)),
    rgba(15, 10, 16, .78);
  box-shadow:
    inset 0 1px 1px rgba(255, 202, 215, .42),
    inset 0 -1px 1px rgba(255, 140, 161, .25),
    inset 0 0 20px rgba(233, 62, 96, .15),
    0 0 7px rgba(255, 97, 128, .42),
    0 0 25px rgba(244, 61, 96, .28),
    0 12px 28px rgba(0, 0, 0, .38);
}

.pricing-card-header { display: flex; flex-direction: column; }

.pricing-card-heading {
  display: flex;
  min-height: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pricing-badge {
  padding: 4px 8px;
  border: 1px solid rgba(255, 181, 192, .62);
  border-radius: 999px;
  background: linear-gradient(180deg, #a72d46, #742032);
  box-shadow: inset 0 1px 0 rgba(255, 223, 228, .22), 0 0 10px rgba(244, 61, 96, .26);
  color: #fff4f6;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .065em;
  line-height: 1.2;
  white-space: nowrap;
}

.pricing-card h3, .pricing-infinite-name {
  margin: 0;
  color: #dfe4ed;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.35;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 24px 0 10px;
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pricing-currency { margin-right: 2px; font-size: .55em; font-weight: 450; color: #b4bdca; }
.pricing-payment { margin: 0 0 24px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.pricing-features {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(220, 234, 255, .1);
  list-style: none;
}

.pricing-feature {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-content: center;
  align-items: start;
  gap: 8px;
  padding: 9px 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

.pricing-feature-mark {
  display: grid;
  width: 16px;
  height: 1.5em;
  place-items: center;
  color: #8ce5b7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.pricing-feature--excluded { color: #89929f; }
.pricing-feature--excluded .pricing-feature-mark { color: #616d7d; }

.pricing-feature--prompts {
  margin: 2px -7px;
  padding: 9px 7px;
  border: 1px solid rgba(163, 204, 255, .45);
  border-radius: 12px;
  background: linear-gradient(133deg, rgba(111, 171, 250, .22), rgba(191, 212, 255, .07) 72%);
  box-shadow: inset 0 1px 0 rgba(216, 235, 255, .18), 0 0 13px rgba(120, 175, 255, .14);
}

.pricing-feature--prompts .pricing-feature-mark {
  border-radius: 5px;
  background: rgba(154, 229, 191, .13);
}

.pricing-feature--prompts .pricing-feature-label { color: #e5f1ff; font-weight: 650; }
.pricing-feature-badge-group { white-space: nowrap; }

.pricing-feature-badge {
  display: inline-block;
  margin-inline-start: 3px;
  padding: 1px 5px;
  border: 1px solid rgba(174, 209, 255, .52);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(120, 176, 255, .33), rgba(165, 127, 255, .22));
  box-shadow: 0 0 9px rgba(132, 182, 255, .24);
  color: #e5f1ff;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .07em;
  line-height: 1.35;
  vertical-align: .13em;
}

.pricing-feature--prompts small {
  display: block;
  margin-top: 3px;
  color: #c6d4eb;
  font-size: 12px;
  line-height: 1.35;
}

/* Keep the gradient layer constant across states; only interpolate colors
   and shadows. The hit area never moves on hover or pointer movement. */
.pricing-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .88), transparent) #dbe2ed;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 3px 6px rgba(0, 0, 0, .16);
  color: #131923;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pricing-plan-cta { width: 100%; margin-bottom: 24px; cursor: pointer; }



.pricing-infinite-shell {
  position: relative;
  isolation: isolate;
  margin-top: 36px;
  border-radius: 24px;
}

.infinite-aura-filter {
  position: absolute;
  pointer-events: none;
}

.infinite-aura {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: calc(.8 + var(--aura-strength, 0) * .2);
  transform: translate(calc(var(--aura-dx, 0px) * 1.8), calc(var(--aura-dy, 0px) * 1.8))
    rotate(calc(var(--aura-angle, 0deg) * .32))
    scale(calc(1 + var(--aura-strength, 0) * .015), calc(1 + var(--aura-strength, 0) * .12));
}

.infinite-aura::before, .infinite-aura::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(112deg, #ffe15c 3%, #eac342 17%, #2b85ff 42%, #566bff 62%, #b44bff 87%, #d88dff);
  background-size: 124% 145%;
}

.infinite-aura::before {
  background-position: 25% 50%;
  filter: blur(18px);
}

.infinite-aura::after {
  inset: 1px;
  opacity: .85;
  filter: url("#infinite-ripple") blur(4px);
}

@media (prefers-reduced-motion: no-preference) {
  .infinite-aura { transition: transform 260ms ease-out, opacity 260ms ease-out; }
  .infinite-aura::before { animation: infinite-glow 8s ease-in-out infinite alternate; }
  .infinite-aura::after { animation: infinite-ripple 6s ease-in-out infinite; }
}

@keyframes infinite-glow {
  from { background-position: 8% 25%; transform: scale(1.01, .96); }
  to { background-position: 86% 83%; transform: scale(.99, 1.12); }
}

@keyframes infinite-ripple {
  0%, 100% { background-position: 16% 50%; transform: translate(-3px, -2px); }
  32% { background-position: 58% 24%; transform: translate(4px, 2px) scale(.993, 1.06); }
  70% { background-position: 76% 86%; transform: translate(2px, -3px) scale(1.008, .98); }
}

.pricing-infinite {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
  padding: clamp(17px, 2.2vw, 30px);
  border: 1px solid transparent;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 38% 115% at var(--aura-x, 50%) var(--aura-y, 50%), rgba(213, 230, 255, calc(var(--aura-strength, 0) * .26)), transparent 70%) padding-box,
    radial-gradient(ellipse at 2% 5%, rgba(255, 212, 51, .41), transparent 42%) padding-box,
    radial-gradient(ellipse at 44% 125%, rgba(34, 126, 255, .57), transparent 63%) padding-box,
    radial-gradient(ellipse at 99% -5%, rgba(154, 72, 255, .58), transparent 56%) padding-box,
    linear-gradient(130deg, #14121c, #0b1227 56%, #170d2a) padding-box,
    linear-gradient(110deg, #ffd45c, #419bff 46%, #bc82ff 91%) border-box;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .22), 0 10px 30px rgba(0, 0, 0, .38);
  color: inherit;
  text-align: left;
}

.pricing-infinite:disabled { opacity: 1; -webkit-text-fill-color: currentColor; }

.pricing-infinite-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(15px, 2.5vw, 18px);
  line-height: 1;
}

.pricing-infinity {
  color: #fff0ac;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: .8;
  text-shadow: 0 0 13px rgba(255, 223, 100, .7);
  transform: translateY(-.06em);
}

.pricing-infinite-copy {
  color: #f5f4ff;
  font-size: 15px;
  line-height: 1.5;
}

.pricing-dialog { position: fixed; inset: 0; margin: auto; max-height: calc(100svh - 48px); overflow: auto; width: min(420px, calc(100% - 36px)); padding: 32px; color: #f5f6f8; }
.pricing-dialog::backdrop { background: rgba(2, 4, 8, .82); }
.pricing-dialog h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.pricing-dialog p { margin: 16px 0 24px; color: #b4bdcc; line-height: 1.6; }
.pricing-dialog .pricing-cta { cursor: pointer; }

.editorial { border-top: 1px solid #ffffff0d; }

.faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}

.faq .section-heading { margin-bottom: 0; padding-top: 8px; }
.faq h2, .faq .section-subtitle { text-align: left; }
.faq .section-subtitle { max-width: 28ch; margin-inline: 0; }
.faq h2 { max-width: none; font-size: clamp(36px, 4vw, 56px); }
.faq-list { display: grid; gap: 12px; min-width: 0; }
.faq-item { border-radius: 12px; }

.faq-item summary {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-radius: inherit;
  color: #d8dee8;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: 0 0 12px;
  height: 12px;
  margin-inline: 4px;
  background: linear-gradient(#9ca9bc, #9ca9bc) center / 12px 1px no-repeat,
    linear-gradient(#9ca9bc, #9ca9bc) center / 1px 12px no-repeat;
}

.faq-item[open] summary::after { background-size: 12px 1px, 1px 0; }
.faq-item[open] { border-color: #69788e; }
.faq-item[open] summary, .faq-answer p { color: #fff; }

.faq-answer {
  display: grid;
  grid-template-rows: 1fr;
}

.faq-answer > div { min-height: 0; overflow: hidden; }

.faq-answer p {
  margin: 0 22px 22px;
  padding-top: 16px;
  border-top: 1px solid #ffffff12;
  font-size: 14px;
  line-height: 1.7;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-answer { animation: faq-expand 280ms cubic-bezier(.22, .75, .28, 1); }

  @keyframes faq-expand {
    from { grid-template-rows: 0fr; opacity: .4; }
    to { grid-template-rows: 1fr; opacity: 1; }
  }
}

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

.blog-tile {
  --tile-tint: 99, 151, 226;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: end;
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
  padding: clamp(20px, 2.2vw, 32px);
  background:
    url("./assets/surface-grain.png"),
    radial-gradient(ellipse at 70% 5%, rgba(var(--tile-tint), .31), transparent 65%),
    linear-gradient(150deg, #1a202b, #0c1018);
}

/* The ornaments are contained, sharply drawn objects, not blurred halos. */
.blog-tile::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -15%;
  right: -10%;
  width: 85%;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--tile-tint), .4);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(236, 243, 255, .13), transparent 46%),
    radial-gradient(circle at 55% 60%, #0c111a 48%, rgba(var(--tile-tint), .4) 49%, #253041 51%, #131c29 57%, rgba(var(--tile-tint), .3) 58%, #101722 60%);
  box-shadow: inset 2px 2px 3px #ffffff1a, inset -14px -20px 28px #0009, 0 20px 36px #0006;
  pointer-events: none;
}

.blog-tile::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(0deg, #0a0e16 0%, rgba(10, 14, 22, .85) 25%, transparent 80%);
  pointer-events: none;
}

.blog-tile--lead { --tile-tint: 109, 141, 206; grid-column: span 2; grid-row: span 2; }
.blog-tile--lead::before { top: -12%; right: -10%; width: 100%; }
.blog-tile--rose { --tile-tint: 187, 90, 122; }
.blog-tile--rose::before { border-radius: 24%; width: 65%; top: -7%; right: 8%; transform: rotate(35deg); }
.blog-tile--silver { --tile-tint: 157, 174, 197; }
.blog-tile--silver::before { border-radius: 16%; width: 70%; top: -16%; right: 3%; transform: rotate(-24deg); }
.blog-tile--violet { --tile-tint: 129, 103, 186; }

.blog-category { margin: 0 0 12px; color: #a0afc5; font-size: 9px; font-weight: 600; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.blog-tile h3 { max-width: 24ch; margin: 0; color: #edf1f8; font-size: clamp(17px, 1.8vw, 25px); font-weight: 550; letter-spacing: -.035em; line-height: 1.2; text-wrap: balance; }
.blog-tile--lead h3 { max-width: 16ch; font-size: clamp(30px, 3.7vw, 50px); letter-spacing: -.045em; }
.blog-tile--lead .blog-category { font-size: 10px; }

@media (hover: hover) and (pointer: fine) {
  .pricing-plan-cta:hover, .pricing-dialog .pricing-cta:hover { background-color: #f4f7ff; border-color: #fff; box-shadow: inset 0 1px 0 #ffffff1f, 0 4px 10px #0003; }
  .faq-item summary:hover { color: #fff; background-color: #ffffff04; }
}

/* Pressed feedback wins over hover when both states are active. */
.pricing-cta:active, .pricing-dialog .pricing-cta:active { background-color: #c2cede; box-shadow: inset 0 2px 4px #0003; }

@media (max-width: 1140px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .pricing-card { padding: 28px; }
  .pricing-feature { font-size: 14px; }
  .faq { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px; }
}

@media (max-width: 760px) {
  .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq .section-heading { padding-top: 0; }
  .faq h2 { max-width: none; }
  .faq .section-subtitle { max-width: 40ch; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .blog-tile--lead { grid-row: auto; aspect-ratio: 1.3; }
  .blog-tile--lead::before { width: 80%; top: -25%; }
  .blog-tile { padding: 20px; }
  .blog-tile h3 { font-size: clamp(17px, 3.4vw, 25px); }
  .blog-tile--lead h3 { font-size: clamp(32px, 6vw, 44px); }
  .pricing-infinite { grid-template-columns: minmax(0, 1fr) auto; padding: 24px; gap: 16px; }
  .pricing-infinite-copy { grid-area: 2 / 1 / auto / -1; }
  .pricing-infinite .pricing-cta { grid-area: 1 / 2; }
}

@media (max-width: 550px) {
  .pricing-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pricing-card { padding: 28px 24px; }
  .pricing-feature { padding-block: 9px; }
  .pricing-price { font-size: 46px; }
  .pricing-infinite-shell { margin-top: 36px; }
  .pricing-infinite { padding: 24px 20px; }
  .blog-grid { gap: 12px; }
  .blog-tile { min-height: 200px; aspect-ratio: auto; padding: 18px 16px; border-radius: 14px; }
  .blog-tile--lead { min-height: 320px; }
  .blog-category { font-size: 8px; margin-bottom: 10px; letter-spacing: .09em; }
}

@media (max-width: 360px) {
  .pricing-infinite { grid-template-columns: minmax(0, 1fr); }
  .pricing-infinite .pricing-cta { grid-area: 3 / 1; justify-self: start; }
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-tile--lead { grid-column: auto; min-height: 300px; }
  .blog-tile { min-height: 250px; padding: 24px; }
  .blog-tile h3 { font-size: 24px; }
  .blog-tile--lead h3 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-cta, .faq-item summary { transition: none; }
}

.protection {
  --protection-ink: #b6c5db;
  --protection-accent: #c5dfff;
}

.protection .section-subtitle { max-width: 57ch; text-wrap: balance; }

.protection-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.protection-tabs:not([hidden]) { display: grid; }

.protection-tab {
  display: grid;
  min-height: 62px;
  grid-template-columns: 19px minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  padding: 12px clamp(12px, 1.6vw, 22px);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  background:
    url("./assets/surface-grain.png"),
    linear-gradient(135deg, rgba(176, 203, 240, .065), transparent 85%),
    #0b0f16;
  box-shadow: inset 0 1px 0 #ffffff09;
  color: #c2ccdc;
  font-size: clamp(.8125rem, 1.2vw, .9375rem);
  font-weight: 550;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: left;
  cursor: pointer;
}

.protection-tab svg,
.protection-features svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.protection-tab svg { color: #91a5c3; }

.protection-tab--signature svg { color: var(--protection-accent); }

.protection-tab[aria-selected="true"] {
  border-color: #7794b9;
  background-color: #192839;
  box-shadow: inset 2px 0 0 #b6d8ff, inset 0 1px 0 #d9e9ff24, 0 0 16px #76a8f515;
  color: #f3f7ff;
}

.protection-tab[aria-selected="true"] svg { color: var(--protection-accent); }
.protection-tab:focus-visible { outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .protection-tab:hover { border-color: #657b9b; background-color: #141d2a; color: #f3f7ff; }
  .protection-tab[aria-selected="true"]:hover { border-color: #a2bfdf; background-color: #22354b; }
}

.protection-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background:
    url("./assets/surface-grain.png"),
    radial-gradient(ellipse at 90% 0%, rgba(126, 155, 206, .14), transparent 65%),
    linear-gradient(143deg, rgba(204, 226, 255, .065), transparent 45%, rgba(120, 98, 158, .07)),
    #090d13;
  box-shadow: var(--surface-shadow);
}

/* All panels share one grid cell, so the tallest panel determines its height at
   each width. Inert panels still size the cell without exposing their content. */
.protection-panel {
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 48px);
  min-width: 0;
  padding: clamp(24px, 3.2vw, 46px);
  border-radius: inherit;
}

.protection-panel[inert] { visibility: hidden; }
.protection-panel:focus-visible { outline-offset: 2px; }

.protection-copy { min-width: 0; }

.protection-panel h3 {
  margin: 0;
  color: #f1f5fc;
  font-size: clamp(1.625rem, 3.05vw, 2.625rem);
  font-weight: 640;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.protection-description {
  max-width: 45ch;
  margin: 12px 0 0;
  color: var(--protection-ink);
  font-size: clamp(.875rem, 1.36vw, 1.0625rem);
  line-height: 1.55;
}

.protection-features {
  display: grid;
  margin: clamp(18px, 2.2vw, 32px) 0 0;
  padding: 0;
  border-top: 1px solid #c8d8ef24;
  list-style: none;
}

.protection-features li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding-block: 12px;
}

.protection-features li + li { border-top: 1px solid #c8d8ef14; }
.protection-features li:last-child { padding-bottom: 0; }

.protection-features svg {
  padding: 7px;
  border: 1px solid #a3bee536;
  border-radius: 8px;
  background: linear-gradient(145deg, #88abe326, #88abe30a);
  color: var(--protection-accent);
}

.protection-features h4 {
  margin: 0 0 3px;
  color: #e7edf7;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.35;
}

.protection-features p {
  margin: 0;
  color: #aeb9cc;
  font-size: .8125rem;
  line-height: 1.5;
}

.protection-art {
  display: block;
  width: 100%;
  height: auto;
  align-self: center;
  border: 1px solid #abc5ec24;
  border-radius: 14px;
  background: #080c13;
}

@media (max-width: 940px) {
  .protection-tab { gap: 9px; }
}

@media (max-width: 760px) {
  .protection-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .protection-panel {
    grid-template-columns: minmax(0, 1fr);
    align-content: space-between;
    gap: 24px;
    padding: clamp(16px, 4.5vw, 28px);
  }
}

@media (max-width: 350px) {
  .protection-tabs { grid-template-columns: minmax(0, 1fr); }
  .protection-tab { min-height: 48px; }
}

@media (prefers-reduced-motion: no-preference) {
  .protection-tab {
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  }

  .protection-panel:not([inert]) > * { animation: protection-fade 220ms ease-out; }

  @keyframes protection-fade {
    from { opacity: .4; }
    to { opacity: 1; }
  }
}

.legal-footer{display:flex;justify-content:center;gap:24px;padding:32px;color:#a4adbb;font-size:12px}.legal-footer a{color:inherit}.pricing-cta:disabled{cursor:not-allowed;opacity:.65}
