:root {
  --page-bg: #070916;
  --surface: #101426;
  --surface-strong: #151a30;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --text: #f7f8fc;
  --muted: #adb5cc;
  --faint: #7f8aa5;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #00d4aa;
  --accent-strong: #20e7bd;
  --accent-soft: rgba(0, 212, 170, 0.13);
  --secondary: #e94560;
  --gold: #f0c040;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --radius: 22px;
  --content: 1160px;
}

.theme-vv {
  --accent: #ff526f;
  --accent-strong: #ff7890;
  --accent-soft: rgba(233, 69, 96, 0.15);
  --secondary: #00d4aa;
}

.theme-universal {
  --accent: #00d4aa;
  --accent-strong: #31e7c1;
  --accent-soft: rgba(0, 212, 170, 0.14);
  --secondary: #60a5fa;
}

.theme-about {
  --accent: #f0c040;
  --accent-strong: #ffdb72;
  --accent-soft: rgba(240, 192, 64, 0.13);
  --secondary: #00d4aa;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% -8%, var(--accent-soft), transparent 31rem),
    radial-gradient(circle at -4% 42%, rgba(96, 165, 250, 0.08), transparent 28rem),
    var(--page-bg);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: #07101f;
  background: var(--accent);
  font-weight: 800;
  transform: translateY(-150%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 22, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

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

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.5vw, 30px);
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links .nav-cta {
  padding: 9px 15px;
  border-radius: 999px;
  color: #07101f;
  background: var(--accent);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: #07101f;
  background: var(--accent-strong);
}

.breadcrumbs {
  padding-top: 24px;
  color: var(--faint);
  font-size: 0.82rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.28);
  content: "/";
}

.breadcrumbs a {
  text-decoration: none;
}

.hero {
  padding: 62px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 7vw, 5.5rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #07101f;
  background: var(--accent);
  text-decoration: none;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-strong);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface-strong), rgba(15, 19, 36, 0.88));
  box-shadow: var(--shadow);
}

.hero-panel::before {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--accent-soft);
  content: "";
  filter: blur(2px);
}

.panel-label {
  position: relative;
  margin: 0 0 16px;
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.signal-list {
  position: relative;
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.9rem;
}

.signal-list li::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  content: "";
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  font-weight: 800;
}

.content-section {
  padding: 78px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.content-section.tint {
  background: rgba(255, 255, 255, 0.018);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.03rem;
}

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

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

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-soft);
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.info-card a {
  color: var(--accent-strong);
  text-underline-offset: 3px;
}

.number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 10px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-weight: 900;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-soft);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--faint);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  font-size: 0.9rem;
}

td:first-child {
  color: var(--text);
  font-weight: 900;
}

tr:last-child td {
  border-bottom: 0;
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 30px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-soft), rgba(255, 255, 255, 0.025));
}

.callout h2,
.callout h3 {
  margin-bottom: 8px;
}

.callout p {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
}

.limitations {
  padding: 25px;
  border-left: 3px solid var(--gold);
  border-radius: 0 15px 15px 0;
  background: rgba(240, 192, 64, 0.075);
}

.limitations h2 {
  margin-bottom: 11px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.limitations p {
  margin: 0;
  color: var(--muted);
}

.source-list,
.plain-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.source-list a,
.text-link {
  color: var(--accent-strong);
  text-underline-offset: 3px;
}

.inline-note {
  margin-top: 20px;
  color: var(--faint);
  font-size: 0.82rem;
}

.calculator-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.calculator-guide-page h1 {
  font-size: clamp(2.65rem, 5vw, 4.25rem);
}

.calculator-guide-page .hero {
  padding-top: 48px;
}

.calculator-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.76rem;
  font-weight: 800;
}

.calculator-proof-row span::before {
  color: var(--accent);
  content: "\2713";
  font-weight: 900;
}

.calculator-hero-preview {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(49, 231, 193, 0.32);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 4%, rgba(0, 212, 170, 0.18), transparent 24rem),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.calculator-hero-preview-image {
  max-height: 430px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #071526;
}

.calculator-hero-preview img {
  width: 100%;
  height: auto;
}

.calculator-hero-preview figcaption {
  display: grid;
  gap: 5px;
  padding: 19px 21px 22px;
}

.calculator-hero-preview figcaption strong {
  color: var(--text);
  font-size: 1rem;
}

.calculator-hero-preview figcaption span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.calculator-image-zoom {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
  text-align: inherit;
}

.calculator-image-zoom:focus-visible {
  z-index: 2;
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.calculator-zoom-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(4, 10, 24, 0.84);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.calculator-image-zoom:hover .calculator-zoom-label,
.calculator-image-zoom:focus-visible .calculator-zoom-label {
  color: #07101f;
  border-color: var(--accent);
  background: var(--accent);
}

.workflow-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.visual-frame {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #081326;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.visual-frame img {
  width: 100%;
  height: auto;
  background: #071526;
}

.visual-frame figcaption {
  padding: 15px 17px 17px;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  font-size: 0.84rem;
  line-height: 1.5;
}

.visual-frame figcaption strong {
  color: var(--text);
}

.calculator-inline-link {
  align-self: center;
  font-weight: 800;
}

.example-block {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 4%, var(--accent-soft), transparent 28rem),
    rgba(255, 255, 255, 0.025);
}

.example-block + .example-block {
  margin-top: 28px;
}

.example-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.example-heading h3 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.example-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.example-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.example-facts span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.example-summary {
  max-width: 900px;
  margin: 20px 0 26px;
  color: var(--muted);
}

.example-gallery {
  display: grid;
  gap: 16px;
}

.example-gallery.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.phone-frame {
  border-color: rgba(255, 255, 255, 0.13);
}

.featured-result {
  border-color: rgba(240, 192, 64, 0.58);
  box-shadow: 0 18px 48px rgba(240, 192, 64, 0.1);
}

.september-example {
  background:
    radial-gradient(circle at 92% 4%, rgba(168, 85, 247, 0.14), transparent 28rem),
    rgba(255, 255, 255, 0.025);
}

.result-highlight {
  display: grid;
  gap: 7px;
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid rgba(0, 212, 170, 0.42);
  border-radius: 15px;
  background: rgba(0, 212, 170, 0.085);
}

.result-highlight-label {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-highlight strong {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.45;
}

.september-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
  gap: 18px;
}

.september-side-stack {
  display: grid;
  gap: 18px;
}

.compact-phone-frame img {
  width: min(100%, 520px);
  margin-inline: auto;
}

.share-frame img {
  aspect-ratio: 1124 / 378;
  object-fit: cover;
}

.example-disclaimer {
  margin: 24px 0 0;
  padding: 15px 17px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  background: rgba(240, 192, 64, 0.06);
  font-size: 0.84rem;
}

.example-disclaimer strong {
  color: var(--text);
}

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

.calculator-bogo-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
  padding: clamp(23px, 4vw, 34px);
  border: 1px solid rgba(240, 192, 64, 0.42);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 10%, rgba(240, 192, 64, 0.15), transparent 22rem),
    var(--surface-strong);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.22);
}

.calculator-bogo-callout .section-kicker {
  margin-bottom: 8px;
  color: var(--gold);
}

.calculator-bogo-callout h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
}

.calculator-bogo-callout p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.calculator-bogo-callout .button {
  white-space: nowrap;
}

.calculator-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(2, 5, 14, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.calculator-lightbox[hidden] {
  display: none;
}

.calculator-lightbox-panel {
  position: relative;
  width: min(96vw, 1500px);
  max-height: 94vh;
}

.calculator-lightbox figure {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0;
}

.calculator-lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 84vh;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: #071526;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.calculator-lightbox figcaption {
  max-width: 900px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
  text-align: center;
}

.calculator-lightbox-close {
  position: absolute;
  top: -14px;
  right: -8px;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  background: #151a30;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.calculator-lightbox-close:hover,
.calculator-lightbox-close:focus-visible {
  color: #07101f;
  border-color: var(--accent);
  outline: none;
  background: var(--accent);
}

.calculator-lightbox-open {
  overflow: hidden;
}

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

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

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-copy {
  max-width: 560px;
  color: var(--faint);
  font-size: 0.82rem;
}

.footer-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero-grid,
  .callout {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid.four,
  .planning-grid {
    grid-template-columns: 1fr 1fr;
  }

  .calculator-hero-preview {
    max-width: 680px;
  }

  .september-visuals {
    grid-template-columns: 1fr;
  }

  .calculator-bogo-callout {
    grid-template-columns: 1fr;
  }

  .calculator-bogo-callout .button {
    justify-self: start;
  }

  .callout .button {
    justify-self: start;
  }
}

@media (max-width: 650px) {
  .wrap {
    width: min(calc(100% - 28px), var(--content));
  }

  .nav {
    min-height: 60px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding: 42px 0 56px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.35rem);
  }

  .hero-panel,
  .info-card,
  .callout {
    padding: 21px;
  }

  .content-section {
    padding: 58px 0;
  }

  .card-grid,
  .card-grid.two,
  .card-grid.four,
  .planning-grid,
  .workflow-gallery {
    grid-template-columns: 1fr;
  }

  .calculator-hero-preview-image {
    max-height: 520px;
  }

  .calculator-proof-row {
    display: grid;
  }

  .calculator-proof-row span {
    width: fit-content;
  }

  .calculator-zoom-label {
    right: 9px;
    bottom: 9px;
    min-height: 30px;
    padding: 6px 9px;
    font-size: 0.68rem;
  }

  .calculator-lightbox {
    padding: 12px;
  }

  .calculator-lightbox-panel {
    width: 100%;
  }

  .calculator-lightbox img {
    max-height: 80vh;
    border-radius: 10px;
  }

  .calculator-lightbox-close {
    top: -8px;
    right: 0;
  }

  .example-heading {
    display: grid;
    align-items: start;
  }

  .example-facts {
    justify-content: flex-start;
  }

  .example-gallery.three-up {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-padding-inline: 1px;
    scroll-snap-type: x mandatory;
  }

  .example-gallery.three-up .visual-frame {
    flex: 0 0 min(84vw, 360px);
    scroll-snap-align: start;
  }

  .footer-grid {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
