:root {
  --bg-main: #07111f;
  --bg-deep: #050b14;
  --bg-card: #0d1b2e;
  --bg-card-soft: #12243a;
  --text-main: #f4f7fb;
  --text-muted: #9fb0c3;
  --accent-blue: #38bdf8;
  --accent-green: #22c55e;
  --accent-orange: #f59e0b;
  --border-soft: rgba(148, 163, 184, 0.22);
  --border-bright: rgba(56, 189, 248, 0.42);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--bg-main);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  background:
    radial-gradient(circle at 16% 0%, rgba(56, 189, 248, .12), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(34, 197, 94, .08), transparent 25rem),
    linear-gradient(180deg, #07111f 0%, #081322 44%, #050b14 100%);
  font-family: var(--sans);
  line-height: 1.6;
}

a { color: var(--accent-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, .82);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: grid;
  gap: 2px;
  color: var(--text-main);
}

.brand strong {
  font-size: 1.1rem;
  letter-spacing: .01em;
}

.brand span {
  color: var(--text-muted);
  font-size: .86rem;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-size: .94rem;
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(56, 189, 248, .18), rgba(37, 99, 235, .18));
  color: var(--text-main);
  font-weight: 750;
  text-decoration: none;
}

.button:hover,
.nav-cta:hover {
  text-decoration: none;
  border-color: rgba(56, 189, 248, .75);
}

.button.secondary {
  background: rgba(13, 27, 46, .72);
  color: var(--text-main);
}


.nav a[aria-current="page"] {
  color: var(--text-main);
  font-weight: 800;
}

.compact-grid {
  margin-top: 22px;
}

.final-cta {
  border-color: rgba(56, 189, 248, .38);
}

.compact-hero {
  padding-bottom: 34px;
}

.compact-hero h1 {
  max-width: 760px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  align-items: center;
  padding: 78px 0 52px;
}

.hero.with-visual {
  grid-template-columns: minmax(0, 1fr) minmax(500px, .95fr);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-blue);
  font: 800 .82rem var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4.6vw, 4.15rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.05rem;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
}

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

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.badge {
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(13, 27, 46, .72);
  color: #d6e4f2;
  font: 700 .82rem var(--mono);
}

.visual-card {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: rgba(13, 27, 46, .76);
  box-shadow: var(--shadow);
}

.visual-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: #c8d7e8;
  font: 700 .78rem var(--mono);
  text-transform: uppercase;
}

.visual-card picture,
.toolkit-shot picture {
  display: block;
}

.visual-card img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 58px 0;
  border-top: 1px solid var(--border-soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(280px, .55fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head p,
.muted {
  color: var(--text-muted);
  margin: 0;
}

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

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

.card,
.product-card,
.note {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(18, 36, 58, .86), rgba(13, 27, 46, .88));
  box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
}

.card,
.product-card {
  padding: 22px;
}

.card p,
.product-card p,
.note p,
.compare-card li,
.faq p {
  color: var(--text-muted);
}

.card p,
.product-card p {
  margin: 10px 0 0;
}

.product-card {
  display: grid;
  gap: 16px;
}

.product-card .button {
  width: fit-content;
}



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

.toolkit-shot {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(18, 36, 58, .78), rgba(5, 11, 20, .92));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .20);
}

.toolkit-shot-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 8.4;
  background: var(--bg-deep);
}

.toolkit-shot-media:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.toolkit-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.note {
  padding: 22px;
  border-color: rgba(34, 197, 94, .32);
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.flow-card {
  position: relative;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: rgba(13, 27, 46, .82);
}

.flow-card::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -15px;
  z-index: 1;
  width: 20px;
  transform: translateY(-50%);
  color: var(--accent-blue);
  font: 900 1.05rem var(--mono);
  text-align: center;
}

.flow-card:last-child::after { display: none; }

.flow-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-blue);
  font: 800 .78rem var(--mono);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(13, 27, 46, .8);
}

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

.compare-table th {
  color: var(--text-main);
  background: rgba(18, 36, 58, .95);
}

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

.check {
  color: var(--accent-green);
  font-weight: 800;
}

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

label {
  display: grid;
  gap: 7px;
  color: #d6e4f2;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: rgba(5, 11, 20, .75);
  color: var(--text-main);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.full { grid-column: 1 / -1; }

.trial-access-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, .65fr);
  gap: 28px;
  align-items: center;
}

.trial-access-form {
  display: grid;
  gap: 10px;
}

.trial-access-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.trial-access-fields .button {
  min-height: 44px;
  white-space: nowrap;
}

.form-hint,
.small-note {
  margin: 0;
  color: var(--text-muted);
  font-size: .92rem;
}

.consent-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--text-muted);
  font-weight: 600;
}

.consent-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.site-footer {
  padding: 36px 0 44px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: .92rem;
}

.footer-lines {
  display: grid;
  gap: 9px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

details {
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 16px 18px;
  background: rgba(13, 27, 46, .72);
}

details + details { margin-top: 10px; }

summary {
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .section-head,
  .grid,
  .grid.two,
  .grid.four,
  .flow,
  .form-grid,
  .toolkit-shots {
    grid-template-columns: 1fr;
  }

  .flow-card::after {
    display: none;
  }

  .hero { padding-top: 46px; }
}


@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 8px;
    background: rgba(13, 27, 46, .58);
    text-align: center;
  }

  .nav .nav-cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .page { width: min(100% - 24px, 1180px); }
  .nav { gap: 10px; }
  .button, .nav-cta { width: 100%; }
  .compare-table { display: block; overflow-x: auto; }
}

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

  * {
    transition: none !important;
    animation: none !important;
  }
}

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

.feature-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(18, 36, 58, .88), rgba(8, 19, 34, .92));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}

.feature-card span,
.feature-steps strong {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-blue);
  font: 800 .78rem var(--mono);
  letter-spacing: .08em;
}

.feature-card p,
.feature-steps p,
.feature-list {
  color: var(--text-muted);
}

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

.feature-steps article {
  padding: 22px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(13, 27, 46, .78);
}

.feature-list {
  margin: 0;
  padding-left: 20px;
}

.feature-list li + li {
  margin-top: 8px;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(56, 189, 248, .30);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18, 36, 58, .92), rgba(5, 11, 20, .88));
  box-shadow: var(--shadow);
}

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

.demo-band {
  border-color: rgba(56, 189, 248, .42);
}

.demo-band .feature-metrics strong {
  color: #dff5ff;
}

.video-embed {
  overflow: hidden;
  width: 100%;
  margin-top: 22px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--bg-deep);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .24);
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-metrics {
  display: grid;
  gap: 12px;
}

.feature-metrics div {
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: rgba(5, 11, 20, .52);
}

.feature-metrics strong,
.feature-metrics span {
  display: block;
}

.feature-metrics strong {
  color: var(--text-main);
  font-size: 1.15rem;
}

.feature-metrics span {
  color: var(--text-muted);
  margin-top: 3px;
}

@media (max-width: 980px) {
  .feature-grid,
  .feature-steps,
  .feature-band {
    grid-template-columns: 1fr;
  }
}

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

.feature-media-card {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(18, 36, 58, .86), rgba(5, 11, 20, .94));
  box-shadow: 0 18px 46px rgba(0, 0, 0, .24);
}

.feature-media-card picture,
.feature-media-card img {
  display: block;
}

.feature-media-card img {
  width: 100%;
  height: auto;
}

.feature-media-copy {
  padding: 18px 18px 20px;
}

.feature-media-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-blue);
  font: 800 .78rem var(--mono);
  letter-spacing: .08em;
}

.feature-media-copy p {
  margin: 10px 0 0;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .feature-media-grid {
    grid-template-columns: 1fr;
  }
}


.product-overview-section {
  padding-top: 34px;
}

.product-overview-figure {
  max-width: 1160px;
  margin: 0 auto;
}

.product-overview-figure picture {
  display: block;
}

.product-overview-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.resource-block {
  margin-top: 42px;
}

.resource-head {
  margin-bottom: 18px;
}

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

.resource-slide-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(13, 27, 46, .86);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
}

.resource-slide-card picture,
.resource-slide-card img {
  display: block;
}

.resource-slide-card img {
  width: 100%;
  height: auto;
}

.resource-slide-card figcaption {
  padding: 12px 14px 14px;
  color: var(--text-muted);
  font: 700 .78rem var(--mono);
}

@media (max-width: 980px) {
  .resource-slide-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile polish patch - public OVH preversion */
@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    line-height: 1.55;
  }

  img,
  picture,
  video,
  canvas,
  svg {
    max-width: 100%;
  }

  .page {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    display: none;
  }

  .nav {
    display: flex;
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 0 6px;
    scroll-snap-type: x proximity;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    height: 0;
  }

  .nav a,
  .nav .nav-cta {
    flex: 0 0 auto;
    width: auto;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 999px;
    background: rgba(13, 27, 46, .74);
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .nav .nav-cta {
    border-color: rgba(56, 189, 248, .50);
  }

  .hero {
    gap: 24px;
    padding: 38px 0 30px;
  }

  .compact-hero {
    padding-bottom: 26px;
  }

  h1 {
    font-size: clamp(2.15rem, 13vw, 3.05rem);
    letter-spacing: 0;
  }

  h2 {
    font-size: clamp(1.65rem, 9vw, 2.35rem);
    letter-spacing: 0;
  }

  .lead {
    margin-top: 18px;
    font-size: 1rem;
  }

  .section {
    padding: 34px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 18px;
  }

  .grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .feature-grid,
  .feature-media-grid,
  .feature-steps,
  .feature-band,
  .resource-slide-grid,
  .toolkit-shots,
  .flow,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-band,
  .card,
  .product-card,
  .note {
    padding: 18px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .button,
  .nav-cta,
  .product-card .button {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
  }

  .visual-card,
  .toolkit-shot,
  .resource-slide-card,
  .feature-media-card,
  .product-overview-figure {
    max-width: 100%;
  }

  .visual-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 11px 12px;
    font-size: .7rem;
  }

  .toolkit-shot-media {
    aspect-ratio: 16 / 10;
  }

  .compare-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .compare-table th,
  .compare-table td {
    min-width: 190px;
    padding: 13px 14px;
  }

  .compare-table th:first-child,
  .compare-table td:first-child {
    min-width: 150px;
  }

  .badges {
    gap: 8px;
    margin-top: 20px;
  }

  .badge {
    padding: 7px 10px;
    font-size: .74rem;
  }

  .flow-card {
    min-height: 0;
  }

  .site-footer {
    padding: 28px 0 34px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .footer-links a,
  .footer-lines p {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (max-width: 420px) {
  .page {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    padding-top: 30px;
  }

  .section {
    padding: 28px 0;
  }

  .card,
  .product-card,
  .note,
  .feature-band {
    padding: 16px;
  }

  .compare-table th,
  .compare-table td {
    min-width: 170px;
  }
}

/* =========================================================
   Mobile polish — Toolkit Software
   À placer en fin de assets/site.css
   ========================================================= */

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
picture {
  max-width: 100%;
  height: auto;
}

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

@media (max-width: 900px) {
  .page {
    width: calc(100% - 24px);
    max-width: 100%;
    padding-inline: 0;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
  }

  .brand span {
    display: none;
  }

  .nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    margin-inline: -12px;
    padding: 2px 12px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 0.88rem;
    line-height: 1;
  }

  .nav .nav-cta {
    min-height: 44px;
  }

  .hero,
  .hero.with-visual,
  .compact-hero.with-visual {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 22px;
    padding: 34px 0 24px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.04;
    letter-spacing: 0;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .badge {
    max-width: 100%;
    font-size: 0.78rem;
    padding: 7px 10px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
  }

  .button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
  }

  .trial-access-panel,
  .trial-access-fields {
    grid-template-columns: 1fr;
  }

  .grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .compact-grid,
  .toolkit-shots,
  .flow,
  .feature-steps,
  .feature-media-grid,
  .resource-slide-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .section {
    padding: 28px 0;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-head h2 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    line-height: 1.12;
  }

  .card,
  .product-card,
  .note,
  .cta-panel {
    padding: 18px;
    border-radius: 14px;
  }

  .visual-card,
  .product-overview-figure,
  .toolkit-shot,
  .feature-media-card,
  .resource-slide-card {
    max-width: 100%;
    border-radius: 14px;
    overflow: hidden;
  }

  .visual-head {
    gap: 8px;
    font-size: 0.78rem;
  }

  .visual-card img,
  .toolkit-shot img,
  .feature-media-card img,
  .resource-slide-card img {
    display: block;
    width: 100%;
    height: auto;
  }

  .feature-band,
  .demo-band {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
    padding: 18px;
  }

  .feature-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .compare-table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .compare-table th,
  .compare-table td {
    min-width: 150px;
    padding: 12px;
    vertical-align: top;
    white-space: normal;
  }

  .footer-lines,
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    overflow-wrap: anywhere;
  }

.footer-links a[href^="mailto:"] {
    word-break: break-all;
  }

  .legal-page {
    padding-top: 28px;
  }
}

.comparison-card-section {
  display: none;
}

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

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

.footer-column {
  display: grid;
  align-content: start;
  gap: 7px;
}

.footer-column h3 {
  color: var(--text-main);
  font-size: .95rem;
}

.footer-bottom {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}

.report-shell {
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #f8fafc;
  color: #0f172a;
  box-shadow: var(--shadow);
}

.report-shell h2,
.report-shell h3,
.report-shell p {
  color: inherit;
}

.report-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 24px;
  background: #0f172a;
  color: #f8fafc;
}

.report-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f59e0b;
  color: #111827;
  font-weight: 800;
}

.report-body {
  display: grid;
  gap: 18px;
  padding: 24px;
}

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

.report-card {
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
}

.code-sample {
  overflow-x: auto;
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: rgba(5, 11, 20, .78);
  color: #dbeafe;
}

.stripe-checkout-panel {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(360px, .72fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(34, 197, 94, .38);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18, 36, 58, .94), rgba(5, 11, 20, .90));
  box-shadow: var(--shadow);
}

.stripe-checkout-panel p {
  color: var(--text-muted);
}

.payment-options {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
  padding: 4px 0;
}

.payment-link {
  width: min(100%, 360px);
}

@media (max-width: 900px) {
  .comparison-card-section {
    display: block;
  }

  .compare-table {
    display: none;
  }

  .comparison-cards,
  .footer-columns,
  .report-header,
  .stripe-checkout-panel,
  .report-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page {
    width: calc(100% - 20px);
  }

  .hero h1 {
    font-size: clamp(1.85rem, 11vw, 2.55rem);
  }

  .nav a {
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .card h2,
  .card h3,
  .product-card h3 {
    font-size: 1.05rem;
  }

  .visual-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
