/*
 * StockAtlas marketing site — shared stylesheet.
 *
 * Loaded by every marketing page. Page-specific layout lives next to it in
 * css/<page>.css. There is no build step: edit this file and reload.
 *
 * Contents
 *   1. Theme tokens
 *   2. Reset
 *   3. Base elements
 *   4. Typography helpers
 *   5. Layout: containers, sections, grids
 *   6. Section openers: eyebrow, section header, rule
 *   7. Buttons and icons
 *   8. Screenshots and annotated screenshots
 *   9. Decorative backgrounds
 *  10. Motion: scroll reveal, hero entrance, marker pulse
 *  11. Forms
 *  12. Site header (navbar)
 *  13. Site footer
 *  14. Cookie consent
 *  15. Demo request section (homepage and the free-demo landing page)
 *  16. Long-form copy (privacy policy, articles)
 *
 * Breakpoints (mobile first, matching the previous Tailwind build):
 *   sm 640px · md 768px · lg 1024px · xl 1280px
 */

/* 1. Theme tokens ---------------------------------------------------------- */

:root {
  /* Neutral near-black surfaces, matching the product chrome in the screenshots. */
  --color-canvas: #07090d;
  --color-surface: #0c1016;
  --color-raised: #121821;
  --color-line: #1c2430;
  --color-line-strong: #2a3444;
  --color-ink: #eef1f5;
  --color-ink-muted: #9aa4b5;
  --color-ink-dim: #64707f;
  /* The single green accent, taken from the product UI. */
  --color-accent: #53d22d;
  --color-accent-strong: #6ee84a;
  --color-accent-soft: rgba(83, 210, 45, 0.12);
  --color-up: #6ac48a;
  --color-down: #e0716a;
  --color-list: #8f9bea;

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-height: 4rem;
}

/* 2. Reset ------------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  scroll-behavior: smooth;
  /* Keeps in-page anchors clear of the fixed header. */
  scroll-padding-top: 5rem;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

b,
strong {
  font-weight: 600;
}

ol,
ul,
menu {
  list-style: none;
}

img,
svg,
video,
canvas,
iframe,
picture {
  display: block;
  vertical-align: middle;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background-color: transparent;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
}

[hidden]:where(:not([hidden='until-found'])) {
  display: none !important;
}

/* 3. Base elements ----------------------------------------------------------- */

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--color-canvas);
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}

::selection {
  background: rgba(83, 210, 45, 0.28);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-canvas);
}
::-webkit-scrollbar-thumb {
  background: var(--color-line-strong);
  border-radius: 4px;
}

/* Visible keyboard focus everywhere, without an outline on mouse clicks. */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 60;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background: var(--color-accent);
  color: var(--color-canvas);
}

/* 4. Typography helpers ------------------------------------------------------ */

/* Display typography: the biggest headlines. */
.display {
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-weight: 600;
  text-wrap: balance;
}

/* Section and card headings. */
.heading {
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 600;
  text-wrap: balance;
}

.prose-narrow {
  text-wrap: pretty;
}

/* A plain paragraph in the site's muted body style. */
.body-copy {
  color: var(--color-ink-muted);
  line-height: 1.625;
}

.text-ink {
  color: var(--color-ink);
}
.text-muted {
  color: var(--color-ink-muted);
}
.text-dim {
  color: var(--color-ink-dim);
}
.text-accent {
  color: var(--color-accent);
}
.mono {
  font-family: var(--font-mono);
}

/* Underlined inline link inside running text. */
.link {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.link:hover {
  color: var(--color-accent);
}

/* Quieter underlined link for fine print. */
.link-quiet {
  text-decoration: underline;
  text-decoration-color: var(--color-line-strong);
  text-underline-offset: 4px;
  transition: color 0.15s;
}
.link-quiet:hover {
  color: var(--color-ink);
}

/* 5. Layout ------------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container--wide {
  max-width: 1400px;
}
@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }
}

/* The standard vertical rhythm of a homepage-style section. */
.section {
  position: relative;
  padding-block: 6rem;
}
@media (min-width: 640px) {
  .section {
    padding-block: 8rem;
  }
}
.section--surface {
  background: var(--color-surface);
  border-block: 1px solid var(--color-line);
}

/* Content that sits above a section's decorative background layers. */
.layer {
  position: relative;
}

/* Page body below the fixed header on non-home pages. */
.page-top {
  padding-top: 8rem;
}
@media (min-width: 640px) {
  .page-top {
    padding-top: 10rem;
  }
}

/* A twelve-column grid used by several split layouts. */
.split {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }
  .split > .span-4 {
    grid-column: span 4 / span 4;
  }
  .split > .span-5 {
    grid-column: span 5 / span 5;
  }
  .split > .span-7 {
    grid-column: span 7 / span 7;
  }
  .split > .span-8 {
    grid-column: span 8 / span 8;
  }
}

/* 6. Section openers --------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.eyebrow::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--color-accent);
}

/*
 * Eyebrow, large heading, and an explanatory paragraph. Left-aligned headers run full width;
 * a centered header keeps a narrower, centered measure.
 */
.section-header--center {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}
.section-header .eyebrow {
  margin-bottom: 1.25rem;
}
.section-title {
  font-size: 1.875rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 600;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .section-title {
    font-size: 2.75rem;
  }
}
.section-lede {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--color-ink-muted);
  text-wrap: pretty;
}
@media (min-width: 640px) {
  .section-lede {
    font-size: 1.125rem;
  }
}
/* A subtle full-width divider that fades at both ends. */
.rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-line-strong) 20%,
    var(--color-line-strong) 80%,
    transparent
  );
}

/* 7. Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding-inline: 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--lg {
  height: 3rem;
  padding-inline: 1.5rem;
  font-size: 15px;
}
.btn--block {
  width: 100%;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-canvas);
  box-shadow:
    0 0 0 1px rgba(83, 210, 45, 0.4),
    0 8px 30px -10px rgba(83, 210, 45, 0.6);
}
.btn--primary:hover:not(:disabled) {
  background: var(--color-accent-strong);
  box-shadow:
    0 0 0 1px rgba(110, 232, 74, 0.6),
    0 10px 36px -10px rgba(83, 210, 45, 0.8);
}
.btn--secondary {
  background: rgba(18, 24, 33, 0.8);
  color: var(--color-ink);
  border: 1px solid var(--color-line-strong);
}
.btn--secondary:hover:not(:disabled) {
  background: var(--color-raised);
  border-color: var(--color-ink-dim);
}
.btn--ghost {
  color: var(--color-ink-muted);
}
.btn--ghost:hover {
  color: var(--color-ink);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* A row of calls to action: stacked on phones, side by side from 640px. */
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .cta-row {
    flex-direction: row;
  }
}
.cta-row--center {
  justify-content: center;
}

.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* 8. Screenshots ------------------------------------------------------------- */

/* The frame around every real product capture. */
.shot {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--color-line-strong);
  background: #0a0d12;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Fade the bottom edge of a large screenshot into the canvas. */
.fade-bottom {
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

/* What the reader should notice, under the frame. */
.shot-caption {
  margin-top: 0.75rem;
  font-size: 13px;
  line-height: 1.625;
  color: var(--color-ink-dim);
}

/*
 * Annotated screenshot: numbered markers sit on the image; labels float beside
 * them from 1024px and are listed beneath the image on narrower screens, so an
 * annotation never hides the evidence.
 *
 *   <div class="annotated">
 *     <figure>
 *       <div class="shot">
 *         <picture>…</picture>
 *         <div class="callouts" aria-hidden="true">
 *           <div class="callout" style="--x: 28%; --y: 39%">
 *             <span class="callout-marker">1</span>
 *             <div class="callout-label">            (add callout-label--left to flip)
 *               <div class="callout-card"><div class="callout-title">…</div><div class="callout-body">…</div></div>
 *             </div>
 *           </div>
 *         </div>
 *       </div>
 *       <figcaption class="shot-caption">…</figcaption>
 *     </figure>
 *     <ol class="callout-list"><li><span class="callout-number">1</span><div><span class="callout-list-title">…</span> <span>…</span></div></li></ol>
 *   </div>
 */
.callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.callout {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
}
.callout-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: var(--color-accent);
  color: var(--color-canvas);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  /* A thin canvas ring; the pulse animation replaces it while it runs. */
  box-shadow: 0 0 0 2px rgba(7, 9, 13, 0.8);
  animation: marker-pulse 2.6s ease-out infinite;
}
.callout-label {
  display: none;
  position: absolute;
  top: 50%;
  left: 2.25rem;
  width: 14rem;
  transform: translateY(-50%);
}
.callout-label--left {
  left: auto;
  right: 2.25rem;
  text-align: right;
}
.callout-card {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--color-line-strong);
  background: rgba(7, 9, 13, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
}
.callout-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink);
}
.callout-body {
  margin-top: 0.125rem;
  font-size: 12px;
  line-height: 1.375;
  color: var(--color-ink-muted);
}
.callout-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.625rem;
}
.callout-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-ink-muted);
}
.callout-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  border-radius: 9999px;
  background: var(--color-accent);
  color: var(--color-canvas);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
}
.callout-list-title {
  font-weight: 500;
  color: var(--color-ink);
}
@media (min-width: 1024px) {
  .callout-label {
    display: block;
  }
  .callout-list {
    display: none;
  }
}

/* 9. Decorative backgrounds -------------------------------------------------- */

/* Absolutely positioned, non-interactive layer that fills its section. */
.backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Subtle radial glow used behind hero and section canvases. */
.glow-accent {
  background: radial-gradient(60% 50% at 50% 0%, rgba(83, 210, 45, 0.14) 0%, rgba(83, 210, 45, 0) 70%);
}
.glow-list {
  background: radial-gradient(50% 45% at 50% 50%, rgba(143, 155, 234, 0.12) 0%, rgba(143, 155, 234, 0) 70%);
}

/* Faint dot grid, echoing the map without competing with it. */
.dot-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* 10. Motion ----------------------------------------------------------------- */

/*
 * Scroll reveal. Elements with .reveal fade and lift in the first time they
 * scroll on screen (js/site.js adds .is-visible). The `js` class is set by an
 * inline script in each page's <head>, so without JavaScript nothing is hidden.
 * Stagger a group with style="--reveal-delay: 100ms".
 */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero entrance. Stagger with style="--rise-delay: 80ms". */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.rise-in {
  animation: rise-in 0.9s var(--ease-out) both;
  animation-delay: var(--rise-delay, 0ms);
}

/* Callout marker pulse. */
@keyframes marker-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(83, 210, 45, 0.45);
  }
  60% {
    box-shadow: 0 0 0 10px rgba(83, 210, 45, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .rise-in {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .callout-marker {
    animation: none;
  }
}

/* 11. Forms ------------------------------------------------------------------ */

.field-label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--color-ink);
}
.field-input {
  width: 100%;
  height: 2.75rem;
  padding-inline: 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-line-strong);
  background: var(--color-raised);
  font-size: 15px;
  color: var(--color-ink);
  transition: border-color 0.15s;
}
.field-input::placeholder {
  color: var(--color-ink-dim);
}
.field-input:hover {
  border-color: var(--color-ink-dim);
}
.field-input:focus {
  border-color: var(--color-accent);
  outline: none;
}
.field-hint {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--color-ink-muted);
}

/* 12. Site header ------------------------------------------------------------ */

/* Custom elements render inline by default; these hold block content. */
site-header,
site-footer {
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    backdrop-filter 0.3s;
}
.site-header.is-solid {
  background: rgba(7, 9, 13, 0.8);
  border-color: var(--color-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-height);
}
.site-nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.site-nav-cta {
  display: none;
  align-items: center;
}
.nav-link {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-ink-muted);
  transition: color 0.15s;
}
.nav-link:hover {
  color: var(--color-ink);
}
.menu-toggle {
  margin-right: -0.5rem;
  padding: 0.5rem;
  color: var(--color-ink);
}
.menu-toggle-bars {
  display: block;
  width: 1.25rem;
}
.menu-toggle-bars span {
  display: block;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.15s,
    opacity 0.15s;
}
.menu-toggle-bars span + span {
  margin-top: 0.375rem;
}
.menu-toggle[aria-expanded='true'] .menu-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded='true'] .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  border-top: 1px solid var(--color-line);
  background: rgba(7, 9, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
}
.mobile-menu .nav-link {
  padding-block: 0.625rem;
  font-size: 15px;
}
.mobile-menu .btn {
  margin-top: 0.75rem;
}
@media (min-width: 768px) {
  .site-nav-links,
  .site-nav-cta {
    display: flex;
  }
  .menu-toggle,
  .mobile-menu {
    display: none;
  }
}

/* The StockZoom wordmark with the brand's rising-line glyph. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(83, 210, 45, 0.3);
  background: var(--color-accent-soft);
}
.logo-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--color-ink);
}
.logo-product {
  display: none;
  margin-left: 0.375rem;
  font-weight: 400;
  color: var(--color-ink-dim);
}
@media (min-width: 640px) {
  .logo-product {
    display: inline;
  }
}

/* 13. Site footer ------------------------------------------------------------ */

.site-footer {
  border-top: 1px solid var(--color-line);
  background: var(--color-surface);
}
.site-footer-inner {
  padding-block: 3.5rem;
}
.site-footer-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}
.site-footer-about {
  max-width: 24rem;
}
.site-footer-about p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--color-ink-muted);
}
.site-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
  row-gap: 0.625rem;
  align-content: start;
}
.site-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
}
.site-footer-bottom p,
.site-footer-legal a,
.site-footer-legal button {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--color-ink-dim);
}
.site-footer-legal-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.site-footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-footer-disclaimer {
  max-width: 36rem;
}
@media (min-width: 640px) {
  .site-footer-bottom {
    flex-direction: row;
    align-items: center;
  }
  .site-footer-legal-col {
    align-items: flex-end;
  }
}
@media (min-width: 768px) {
  .site-footer-top {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* 14. Cookie consent --------------------------------------------------------- */

.consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 48rem;
  margin-inline: auto;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-line-strong);
  background: var(--color-raised);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}
.consent-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.consent h2 {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: var(--color-ink);
}
.consent-text {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--color-ink-muted);
}
.consent-text a {
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: var(--color-line-strong);
  text-underline-offset: 4px;
}
.consent-text a:hover {
  color: var(--color-accent);
}
.consent-current {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--color-ink-dim);
}
.consent-options {
  display: grid;
  gap: 0.75rem;
}
.consent-option {
  display: flex;
  gap: 0.75rem;
  padding: 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  cursor: pointer;
}
.consent-option input {
  margin-top: 0.125rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-accent);
}
.consent-option-label {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--color-ink);
}
.consent-option-description {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--color-ink-dim);
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .consent {
    left: 1.5rem;
    right: 1.5rem;
    padding: 1.5rem;
  }
  .consent-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .consent-actions {
    justify-content: flex-end;
  }
}

/* 15. Demo request section --------------------------------------------------- */

.demo-note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--color-ink-muted);
}
.demo-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}
.demo-fields {
  display: grid;
  gap: 1.25rem;
}
.demo-submit-row {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.demo-fine-print {
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--color-ink-dim);
}
.demo-fine-print a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.demo-fine-print a:hover {
  color: var(--color-ink);
}
.demo-error {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--color-down);
}
.demo-error a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.demo-success {
  padding-block: 1.5rem;
  text-align: center;
}
.demo-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(83, 210, 45, 0.4);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.demo-success h3 {
  font-size: 1.25rem;
  color: var(--color-ink);
}
.demo-success p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--color-ink-muted);
}
@media (min-width: 640px) {
  .demo-card {
    padding: 2rem;
  }
  .demo-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .demo-fields .field--wide {
    grid-column: span 2 / span 2;
  }
  .demo-submit-row {
    flex-direction: row;
    align-items: center;
  }
}

/* 16. Long-form copy --------------------------------------------------------- */

/* Legal and article copy keeps its hierarchy readable without a prose plugin. */
.privacy-copy h3 {
  margin-top: 2rem;
  color: var(--color-ink);
  font-size: 1.05rem;
  font-weight: 600;
}
.privacy-copy h3:first-child {
  margin-top: 0;
}
.privacy-copy ul {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.3rem;
  list-style: disc;
}
.privacy-copy strong {
  color: var(--color-ink);
  font-weight: 600;
}
.privacy-copy code {
  border: 1px solid var(--color-line);
  border-radius: 0.3rem;
  background: var(--color-surface);
  padding: 0.1rem 0.35rem;
  color: var(--color-ink);
  font-family: var(--font-mono);
  font-size: 0.85em;
}
