@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   MAIN.CSS — Dark premium "tech-editorial" theme (site-2, EMERALD)
   Font: Inter only. Accent: #00c896.
   Sections:
     1. Tokens
     2. Reset
     3. Base & typography
     4. Fade-in (IntersectionObserver: .is-visible)
     5. Layout (container, section, section-title, content)
     6. Navbar (single-level, fixed) + hamburger
     7. Hero
     8. Screenshots
     9. Cards
    10. Tables
    11. Blockquote / pull-quote
    12. Code / pre
    13. Lists, lead, dropcap, helpers
    14. Details / accordion
    15. Section dividers
    16. Footer
    17. Responsive
    18. Reduced motion
   ========================================================================== */


/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
  --bg: #060f0d;
  --bg2: #091410;
  --bg3: #0c1a15;
  --surface: #0f2018;
  --surface2: #132820;
  --border: #1a3d2c;
  --text: #e8f5f0;
  --text2: #7ab89a;
  --text3: #3d7a58;
  --accent: #00c896;
  --accent-dim: rgba(0,200,150,0.12);
  --accent-glow: rgba(0,200,150,0.2);
  --accent-dark: #009970;
  --white: #ffffff;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  --nav-top-height: 64px;
  --nav-menu-height: 40px; /* unused — single-level navbar */
  --nav-total-height: 64px;

  --container: 1100px;
  --radius: 6px;
  --radius-lg: 10px;
  --transition: 0.2s ease;
  --transition-slow: 0.35s cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-deep: 0 18px 40px rgba(0, 0, 0, 0.55);
}


/* ==========================================================================
   2. RESET
   ========================================================================== */

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-total-height) + 1rem);
}

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

ul,
ol {
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

strong,
b {
  font-weight: 600;
}


/* ==========================================================================
   3. BASE & TYPOGRAPHY
   ========================================================================== */

body {
  position: relative;
  min-height: 100vh;
  padding-top: var(--nav-total-height);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 45% at 50% -10%, var(--accent-glow), transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(0, 200, 150, 0.05), transparent 70%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--white);
}

h2 {
  font-weight: 600;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

h3 {
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--white);
}

h4 {
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
}

h5 {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.45;
}

h6 {
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text2);
}

p {
  line-height: 1.75;
  color: var(--text);
}

small {
  font-size: 0.85em;
  color: var(--text2);
}

em,
i {
  font-style: italic;
}

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

.text-tertiary {
  color: var(--text3);
}

/* Text links inside content */
.content a,
main p a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(0, 200, 150, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition), text-decoration-color var(--transition), text-shadow var(--transition);
}

.content a:hover,
main p a:hover {
  color: var(--white);
  text-decoration-color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ==========================================================================
   4. FADE-IN  (JS adds .is-visible via IntersectionObserver)
   Placed before components so component hover transforms win.
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   5. LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  position: relative;
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-title[data-index]::before {
  content: attr(data-index);
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title[data-index]::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  margin: 1rem auto 0;
  background: linear-gradient(to right, var(--accent-dark), var(--accent));
  border-radius: 2px;
}

.section-subtitle {
  max-width: 640px;
  margin: 0 auto 2.75rem;
  text-align: center;
  font-family: var(--font);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text2);
}

.section-subtitle.lead {
  font-style: normal;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--text2);
}

/* Section title followed by content with no subtitle */
.section-title + .content,
.section-title + .cards,
.section-title + .screenshots-grid {
  margin-top: 2.75rem;
}

.content {
  color: var(--text);
}

.content--measure {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

.content > * + * {
  margin-top: 1.25rem;
}

.content h2 {
  margin-top: 2.75rem;
}

.content h3 {
  margin-top: 2.25rem;
}

.content h2 + p,
.content h3 + p,
.content h2 + ul,
.content h3 + ul,
.content h2 + ol,
.content h3 + ol {
  margin-top: 0.85rem;
}

.content p {
  color: var(--text);
}

.content p + p {
  margin-top: 1.1rem;
}

.content strong {
  color: var(--white);
  font-weight: 600;
}


/* ==========================================================================
   6. NAVBAR — single-level, fixed
   Markup: <nav class="navbar"><a class="logo">…</a><button class="hamburger">…</button><ul class="navbar-nav">…</ul></nav>
   (.navbar-top is no longer used)
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-total-height);
  padding: 0 2rem;
  background: rgba(6, 15, 13, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 15, 13, 0.94);
  box-shadow: 0 2px 24px rgba(0, 200, 150, 0.1);
}

/* Menu (right side) — plain flex block inside .navbar */
.navbar-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-nav li {
  position: relative;
  display: flex;
  align-items: center;
}

/* No separators between items */
.navbar-nav li::after,
.navbar-nav li:last-child::after {
  content: none;
}

.navbar-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text2);
  transition: color var(--transition), text-shadow var(--transition);
}

.navbar-nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 14px var(--accent-glow);
}

.navbar-nav a.active,
.navbar-nav li.active > a {
  color: var(--accent);
}

.navbar-nav .sep {
  display: none;
}

/* Logo (left side) — supports .logo and .navbar-brand */
.logo,
.navbar-brand {
  display: inline-flex;
  align-items: center;
  height: 100%;
  transition: filter var(--transition), transform var(--transition), opacity var(--transition);
}

.logo img,
.navbar-brand img {
  height: 38px;
  width: auto;
}

.logo:hover,
.navbar-brand:hover {
  filter: drop-shadow(0 0 10px var(--accent-glow));
  transform: translateY(-1px);
}

/* Hamburger (mobile only) — three accent lines */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.hamburger:hover {
  background: var(--accent-dim);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, width 0.3s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}


/* ==========================================================================
   7. HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 5rem;
  text-align: center;
}

/* Radial glow — deliberately very subtle */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--accent) 0%, transparent 60%);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 150, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 150, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-kicker::before,
.hero-kicker::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.hero-title,
.hero h1 {
  position: relative;
  margin: 0 auto;
  color: var(--white);
  text-shadow: 0 0 40px rgba(0, 200, 150, 0.12);
}

/* Accent line under H1: 60x2, centered */
.hero-title::after,
.hero h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  margin: 1.75rem auto 0;
  background: var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 16px var(--accent-glow);
}

.hero-subtitle {
  max-width: 660px;
  margin: 1.75rem auto 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--text2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Plain <hr> right after the hero */
.hero + hr {
  margin: 0 auto;
}

/* Buttons (helper; not required by templates) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--bg);
  background: var(--accent);
}

.btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
}


/* ==========================================================================
   8. SCREENSHOTS
   ========================================================================== */

.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.screenshots-grid figure {
  margin: 0;
}

.screenshots-grid img,
.screenshot {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-slow), border-color var(--transition), box-shadow var(--transition-slow), opacity 0.6s ease;
}

.screenshots-grid figure:hover img,
.screenshots-grid figure:hover .screenshot,
.screenshot:hover,
.screenshot.is-visible:hover {
  border-color: var(--accent);
  transform: scale(1.02);
  box-shadow: var(--shadow-deep), 0 0 24px var(--accent-dim);
}

.screenshots-grid figcaption,
.caption {
  margin-top: 0.9rem;
  text-align: center;
  font-family: var(--font);
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text3);
}


/* ==========================================================================
   9. CARDS
   ========================================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.6s ease;
}

/* Left 3px accent bar, revealed on hover */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover,
.card.is-visible:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-dim);
  transform: translateY(-4px);
}

.card:hover::before {
  transform: scaleY(1);
}

.card-title,
.card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--white);
}

.card-text {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text2);
}

.card-meta {
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
}

.card-link,
.card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), text-shadow var(--transition);
}

.card-link::after {
  content: '\2192';
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-link:hover,
.card a.card-link:hover {
  color: var(--white);
  text-shadow: 0 0 12px var(--accent-glow);
}

.card-link:hover::after {
  transform: translateX(4px);
}


/* ==========================================================================
   10. TABLES
   ========================================================================== */

.data-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table th {
  padding: 0.85rem 1rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--text3);
  border-bottom: 2px solid var(--accent);
  vertical-align: bottom;
}

.data-table td {
  padding: 0.9rem 1rem;
  line-height: 1.6;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  transition: background var(--transition), color var(--transition);
}

.data-table tbody th,
.data-table th[scope="row"] {
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  white-space: nowrap;
  transition: background var(--transition);
}

.data-table tbody tr:hover td,
.data-table tbody tr:hover th {
  background: var(--surface2);
}

.data-table tbody tr:hover td {
  color: var(--text);
}

.data-table tbody tr:last-child td,
.data-table tbody tr:last-child th {
  border-bottom: 0;
}

.data-table td strong {
  color: var(--text);
}

/* Tables inside the reading measure (desktop only): allow horizontal scroll rather than crushing columns.
   On <=768px the table is display:table + table-layout:fixed and wraps text (see section 17). */
@media (min-width: 769px) {
  .content--measure .data-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
  }

  .content--measure .data-table thead,
  .content--measure .data-table tbody {
    display: table;
    width: 100%;
    table-layout: auto;
    min-width: 520px;
  }

  .content--measure .data-table th,
  .content--measure .data-table td {
    min-width: 120px;
  }
}


/* ==========================================================================
   11. BLOCKQUOTE / PULL-QUOTE
   ========================================================================== */

blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1.35rem 1.6rem;
  font-family: var(--font);
  font-style: italic;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text2);
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

blockquote p {
  color: inherit;
}

blockquote p + p {
  margin-top: 0.75rem;
}

blockquote cite,
blockquote footer {
  display: block;
  margin-top: 0.85rem;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3);
}

.pull-quote {
  position: relative;
  margin: 3rem 0;
  padding: 1.75rem 2rem 1.75rem 3.5rem;
  font-family: var(--font);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--white);
  background: linear-gradient(to right, var(--accent-dim), transparent 70%);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: 0.4rem;
  left: 1rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.6;
  pointer-events: none;
}

.pull-quote p {
  color: inherit;
}


/* ==========================================================================
   12. CODE / PRE  (Courier New per site-2 spec)
   ========================================================================== */

code,
kbd,
samp {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875em;
  padding: 0.15em 0.45em;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  word-break: break-word;
}

pre {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  tab-size: 2;
}

pre code {
  display: block;
  padding: 0;
  font-size: inherit;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  word-break: normal;
  white-space: pre;
}


/* ==========================================================================
   13. LISTS, LEAD, DROPCAP, HELPERS
   ========================================================================== */

.content ul,
.content ol {
  margin: 1.25rem 0;
  padding-left: 0;
}

.content li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.7;
  color: var(--text);
}

.content li + li {
  margin-top: 0.6rem;
}

.content ul li::before {
  content: '';
  position: absolute;
  top: 0.72em;
  left: 0.35rem;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
}

.content ol {
  counter-reset: content-ol;
}

.content ol li {
  padding-left: 2.25rem;
  counter-increment: content-ol;
}

.content ol li::before {
  content: counter(content-ol, decimal-leading-zero);
  position: absolute;
  top: 0.15em;
  left: 0;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.content li ul,
.content li ol {
  margin: 0.6rem 0 0;
}

.content li strong {
  color: var(--white);
}

/* Lead paragraph */
.lead {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.65;
  letter-spacing: -0.005em;
  color: var(--text2);
}

.content .lead {
  color: var(--text2);
}

/* Dropcap */
.has-dropcap::first-letter,
.dropcap::first-letter {
  float: left;
  margin: 0.1em 0.6rem 0 0;
  font-family: var(--font);
  font-weight: 700;
  font-size: 4.2rem;
  line-height: 0.8;
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
}

/* Eyebrow / kicker / section number helpers */
.eyebrow,
.kicker,
.section-number {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before,
.kicker::before,
.section-number::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}


/* ==========================================================================
   14. DETAILS / ACCORDION
   ========================================================================== */

details {
  border-bottom: 1px solid var(--border);
}

.content details + details {
  margin-top: 0;
}

details:first-of-type {
  border-top: 1px solid var(--border);
}

summary {
  position: relative;
  display: block;
  padding: 1.1rem 2.75rem 1.1rem 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition), padding-left var(--transition);
}

summary::-webkit-details-marker {
  display: none;
}

summary::marker {
  content: '';
}

summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 0.25rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background var(--transition), border-color var(--transition);
}

summary:hover {
  color: var(--accent);
}

summary:hover::after {
  border-color: var(--accent);
  background: var(--accent-dim);
}

details[open] summary {
  color: var(--accent);
}

details[open] summary::after {
  content: '\2212';
  transform: translateY(-50%) rotate(180deg);
  border-color: var(--accent);
  background: var(--accent-dim);
}

details > *:not(summary) {
  padding: 0 2.75rem 1.1rem 0;
  color: var(--text2);
  line-height: 1.7;
}

details p {
  color: var(--text2);
}

details p + p {
  margin-top: 0.75rem;
}

details[open] > *:not(summary) {
  animation: details-reveal 0.35s ease;
}

@keyframes details-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================================
   15. SECTION DIVIDERS
   ========================================================================== */

hr {
  display: block;
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem auto;
  max-width: var(--container);
}

.section-divider {
  position: relative;
  height: 1px;
  margin: 0 auto;
  max-width: var(--container);
  border: 0;
  border-top: 0;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  overflow: visible;
}

.section-divider--mark {
  position: relative;
}

/* Centered solid accent diamond */
.section-divider--mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Divider directly after an alt section shouldn't double with its border */
.section--alt + .section-divider {
  margin-top: -1px;
}


/* ==========================================================================
   16. FOOTER
   ========================================================================== */

.footer {
  position: relative;
  margin-top: 4rem;
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: 80px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.footer-logo {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  opacity: 0.85;
  transition: opacity var(--transition), filter var(--transition);
}

.footer-logo:hover {
  opacity: 1;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  position: relative;
  display: inline-block;
  padding: 0.35rem 1rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3);
  transition: color var(--transition), text-shadow var(--transition);
}

.footer-nav a + a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 12px;
  transform: translateY(-50%);
  background: var(--border);
}

.footer-nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}

.footer-copy {
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text3);
}


/* ==========================================================================
   17. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-total-height: 64px;
  }

  body {
    padding-top: var(--nav-total-height);
    background-attachment: scroll;
  }

  html {
    scroll-padding-top: calc(var(--nav-total-height) + 1rem);
  }

  .navbar {
    padding: 0 1.25rem;
  }

  /* Hamburger visible, at the right edge of .navbar */
  .hamburger {
    display: flex;
    order: 3;
    margin-left: auto;
  }

  /* Menu becomes a dropdown below the navbar */
  .navbar-nav {
    position: fixed;
    top: var(--nav-total-height);
    left: 0;
    right: 0;
    z-index: 1000;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    height: auto;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(6, 15, 13, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, transform 0.3s ease, box-shadow var(--transition);
  }

  .navbar-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .navbar-nav.is-open {
    max-height: calc(100vh - var(--nav-total-height));
    padding: 0.75rem 0 1.25rem;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 2px 24px rgba(0, 200, 150, 0.1);
    overflow-y: auto;
  }

  /* Blurred page overlay under the open menu */
  body.nav-open::before {
    content: '';
    position: fixed;
    top: var(--nav-total-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(6, 15, 13, 0.6);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  .navbar-nav li {
    width: 100%;
    height: auto;
    justify-content: center;
  }

  .navbar-nav li::after {
    content: none;
  }

  .navbar-nav a {
    width: 100%;
    height: auto;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.85rem;
  }

  .navbar-nav a.active,
  .navbar-nav li.active > a {
    background: var(--accent-dim);
  }

  /* Hero */
  .hero {
    padding: 96px 0 3.5rem;
  }

  .hero::before {
    width: 140vw;
    height: 420px;
  }

  .hero::after {
    background-size: 36px 36px;
  }

  .hero-kicker {
    margin-bottom: 1.1rem;
    font-size: 0.7rem;
  }

  .hero-kicker::before,
  .hero-kicker::after {
    width: 18px;
  }

  .hero-title::after,
  .hero h1::after {
    width: 48px;
    margin-top: 1.35rem;
  }

  .hero-subtitle {
    margin-top: 1.35rem;
    font-size: 1.05rem;
  }

  /* Layout */
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section-subtitle {
    margin-bottom: 2rem;
  }

  .section-title + .content,
  .section-title + .cards,
  .section-title + .screenshots-grid {
    margin-top: 2rem;
  }

  /* Grids: single column */
  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card {
    padding: 1.5rem;
  }

  /* Typography */
  .lead {
    font-size: 1.12rem;
  }

  .section-subtitle.lead {
    font-size: 1.08rem;
  }

  .has-dropcap::first-letter,
  .dropcap::first-letter {
    font-size: 3.2rem;
    margin-right: 0.45rem;
  }

  .pull-quote {
    padding: 1.4rem 1.25rem 1.4rem 2.75rem;
    font-size: 1.2rem;
  }

  .pull-quote::before {
    font-size: 3rem;
    left: 0.7rem;
  }

  blockquote {
    padding: 1.1rem 1.25rem;
  }

  /* Tables: fit the viewport and wrap cell text (single source of truth for mobile) */
  .table-scroll {
    overflow-x: visible;
  }

  .data-table,
  .table-scroll .data-table {
    display: table;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    table-layout: fixed;
    box-sizing: border-box;
    font-size: 0.85rem;
  }

  .data-table thead {
    display: table-header-group;
  }

  .data-table tbody {
    display: table-row-group;
  }

  .data-table thead,
  .data-table tbody,
  .data-table tr {
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  .data-table th,
  .data-table td,
  .data-table tbody th,
  .data-table th[scope="row"] {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    padding: 0.6rem 0.5rem;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  /* Details */
  summary {
    padding: 0.95rem 2.5rem 0.95rem 0;
    font-size: 0.98rem;
  }

  details > *:not(summary) {
    padding-right: 0;
  }

  /* Footer */
  .footer {
    margin-top: 3rem;
    padding: 2.75rem 1.25rem 2rem;
  }

  .footer-nav a {
    padding: 0.35rem 0.7rem;
  }

  hr {
    margin: 2rem auto;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 1.85rem;
  }

  .hero {
    padding-top: 84px;
  }

  .navbar {
    padding: 0 1rem;
  }

  .footer-nav a + a::before {
    display: none;
  }

  /* Tables: tighter cells on very narrow screens (375px) */
  .data-table {
    font-size: 0.78rem;
  }

  .data-table th,
  .data-table td,
  .data-table tbody th,
  .data-table th[scope="row"] {
    padding: 0.45rem 0.3rem;
  }
}


/* ==========================================================================
   18. REDUCED MOTION
   ========================================================================== */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .card.is-visible:hover,
  .screenshots-grid figure:hover img,
  .screenshot:hover,
  .screenshot.is-visible:hover,
  .btn:hover,
  .logo:hover {
    transform: none;
  }

  .card-link:hover::after {
    transform: none;
  }

  details[open] > *:not(summary) {
    animation: none;
  }
}

/* ── STEPS LIST ──────────────────────────────────────────────── */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.step-item:hover {
  border-color: var(--accent);
}

.step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  opacity: 0.8;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.7;
  margin: 0;
}

/* ── HERO STATUS ─────────────────────────────────────────────── */
.hero-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@media (max-width: 768px) {
  .steps-list { grid-template-columns: 1fr; gap: 1rem; }
  .hero-status { flex-wrap: wrap; }
}

/* Logo text styles */
.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo-accent {
  color: #00c896;
  margin-left: 0.1em;
}

.logo:hover .logo-text {
  opacity: 0.85;
}

/* Remove content width restriction globally */
.content--measure {
  max-width: none;
}

/* Styled text logo */
.logo-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 2px;
}

.logo-torzon {
  font-size: 1.75rem;
  font-weight: 800;
  color: #00c896;
  letter-spacing: -0.02em;
  font-style: italic;
  text-shadow: 0 0 20px rgba(49,202,253,0.4);
}

.logo-onion {
  color: #4db8e8;
  font-style: normal;
}

.logo-market {
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.logo:hover .logo-torzon {
  text-shadow: 0 0 30px rgba(49,202,253,0.7);
}

/* Match logo background to navbar */
.logo img {
  height: 44px;
  width: auto;
  border-radius: 6px;
  background: #060d14;
  padding: 2px 4px;
}

/* Mobile overflow fix */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .screenshots-grid,
  .onion-card,
  .cards,
  .cards-2,
  .cards-3 {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: auto;
    box-sizing: border-box;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    overflow-x: hidden;
  }

  .onion-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .onion-addr {
    font-size: 0.68rem;
    word-break: break-all;
    white-space: normal;
  }
}

/* Table scroll (desktop: horizontal scroll inside the wrapper) */
.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius, 8px);
}

@media (min-width: 769px) {
  .table-scroll table {
    min-width: 500px;
    width: 100%;
  }
}

/* Mobile overflow fix */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }

@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .onion-card {
    padding: 1.25rem;
  }

  .onion-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .onion-addr {
    font-size: 0.68rem;
    word-break: break-all;
    white-space: normal;
  }
}

/* Onion block styles - emerald theme */
.onion-section {
  padding: 3rem 0;
}

.onion-card {
  background: linear-gradient(135deg, #0a1a12, #0f2018);
  border-top: 2px solid #00c896;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,200,150,0.08);
  padding: 2rem 2.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.onion-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}

.onion-card-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.75rem;
}

.onion-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(0,200,150,0.1);
}

.onion-row:last-child {
  border-bottom: none;
}

.onion-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #00c896;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  min-width: 60px;
}

.onion-addr {
  font-family: monospace;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  word-break: break-all;
  flex: 1;
}

.onion-copy {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid #00c896;
  color: #00c896;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.onion-copy:hover {
  background: rgba(0,200,150,0.1);
}

/* Screenshots larger */
.screenshots-grid {
  width: min(1280px, calc(100vw - 3rem));
  margin-left: calc((min(1280px, calc(100vw - 3rem)) - 100%) / -2);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.screenshot, .screenshot-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg, 12px);
}

.screenshot-card, figure {
  margin: 0;
}

.caption, figcaption {
  font-size: 0.8rem;
  color: var(--text-2, #8899bb);
  margin-top: 0.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .screenshots-grid {
    width: 100%;
    margin-left: 0;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .cards, .cards-2, .cards-3 {
    grid-template-columns: 1fr !important;
  }
}


/* ==========================================================================
   RICH VISUALS (emerald)
   Append-only layer: background grid, gradient H1, card hover, particles,
   hero scan line, reduced-motion guards.
   Notes:
     - body::before is used by body.nav-open::before (mobile overlay) -> grid on body::after
     - .card::before already draws the left 3px hover bar -> only upgraded here (gradient)
     - .hero-status / .status-badge / @keyframes blink already exist -> not duplicated
   ========================================================================== */

/* 1) Background grid (fixed, behind everything) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 39px, rgba(0, 200, 150, 0.03) 40px),
    repeating-linear-gradient(90deg, transparent 0, transparent 39px, rgba(0, 200, 150, 0.03) 40px);
}

/* 2) Hero — gradient H1 (white -> emerald) */
.hero-title,
.hero h1 {
  background: linear-gradient(135deg, #ffffff 0%, #00c896 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* Keep the accent line under H1 opaque (it is a pseudo-element of the clipped title) */
.hero-title::after,
.hero h1::after {
  -webkit-text-fill-color: initial;
  color: initial;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

/* 3) Cards — existing .card::before bar becomes a gradient; stronger emerald hover shadow */
.card::before {
  background: linear-gradient(to bottom, #00c896, transparent);
}

.card:hover,
.card.is-visible:hover {
  box-shadow: 0 8px 32px rgba(0, 200, 150, 0.15);
}

/* 4a) Floating particles (markup: <span class="particle particle-N" aria-hidden="true"> in base.html) */
.particle {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  background: #00c896;
  pointer-events: none;
  animation-name: float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.particle-1 { width: 3px; height: 3px; left: 8%;  top: 22%; opacity: 0.35; animation-duration: 11s; animation-delay: 0s; }
.particle-2 { width: 2px; height: 2px; left: 23%; top: 68%; opacity: 0.25; animation-duration: 14s; animation-delay: -3s; }
.particle-3 { width: 4px; height: 4px; left: 41%; top: 35%; opacity: 0.2;  animation-duration: 9s;  animation-delay: -6s; }
.particle-4 { width: 3px; height: 3px; left: 62%; top: 78%; opacity: 0.4;  animation-duration: 12s; animation-delay: -1.5s; }
.particle-5 { width: 2px; height: 2px; left: 78%; top: 18%; opacity: 0.5;  animation-duration: 15s; animation-delay: -8s; }
.particle-6 { width: 4px; height: 4px; left: 91%; top: 52%; opacity: 0.3;  animation-duration: 8s;  animation-delay: -4s; }

@keyframes float {
  0%   { transform: translateY(0);     opacity: 0.15; }
  50%  { transform: translateY(-40px); opacity: 0.45; }
  100% { transform: translateY(0);     opacity: 0.15; }
}

/* 4b) Hero scan line (markup: <span class="hero-scanline" aria-hidden="true"> as first child of .hero) */
.hero-scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00c896, transparent);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  animation: scanLine 4s linear infinite;
}

@keyframes scanLine {
  0%   { top: -2px; }
  100% { top: 100%; }
}

/* 4c) Status dot pulse (available for future .status-dot markup; not used by existing .status-badge) */
@keyframes statusPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

/* 5) Reduced motion — keep content visible, drop decorative motion */
@media (prefers-reduced-motion: reduce) {
  .particle,
  .status-dot,
  .hero-scanline {
    animation: none;
  }

  .hero-scanline {
    display: none;
  }

  .hero-title,
  .hero h1 {
    animation: none;
    background-position: 0;
  }

  .card:hover::before {
    transform: none;
  }
}

@media (max-width: 640px) {
  .content--measure {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden;
  }
}

/* Remove content--measure restriction globally */
.content--measure {
  max-width: none !important;
  width: 100% !important;
}

/* Mobile table rules live in section 17 (@media max-width: 768px / 420px) */

/* Card icon styling - emerald */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,200,150,0.15), rgba(0,200,150,0.05));
  border: 1px solid rgba(0,200,150,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #00c896;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  background: linear-gradient(135deg, rgba(0,200,150,0.25), rgba(0,200,150,0.1));
  border-color: rgba(0,200,150,0.4);
  box-shadow: 0 0 20px rgba(0,200,150,0.2);
  transform: translateY(-2px);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  stroke: #00c896;
}
