/* HumanizeIt — landing page styles.
 * Design language shared with the extension: Arc Browser soft pastel
 * gradient + SVG film grain, SF Pro typography, minimal light, frosted glass.
 */

/* ============================================================
   Tokens
============================================================ */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
               "Helvetica Neue", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;

  --ink: #0a0a0f;
  --ink-2: #2a2a33;
  --muted: #5a5668;
  --muted-2: #8b8798;
  --line: rgba(15, 15, 25, 0.08);
  --line-strong: rgba(15, 15, 25, 0.14);

  --panel: rgba(255, 255, 255, 0.86);
  --panel-inner: rgba(252, 250, 255, 0.7);
  --panel-soft: rgba(255, 255, 255, 0.55);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-xl: 0 30px 80px -20px rgba(70, 40, 120, 0.28),
               0 12px 30px -10px rgba(70, 40, 120, 0.14),
               0 1px 0 0 rgba(255, 255, 255, 0.9) inset;
  --shadow-lg: 0 20px 50px -16px rgba(70, 40, 120, 0.22),
               0 6px 16px -6px rgba(70, 40, 120, 0.1),
               0 1px 0 0 rgba(255, 255, 255, 0.85) inset;
  --shadow-sm: 0 4px 14px -4px rgba(70, 40, 120, 0.15),
               0 1px 0 0 rgba(255, 255, 255, 0.8) inset;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --content-max: 1120px;
  --section-pad: clamp(56px, 9vw, 120px);

  --brand-gradient: conic-gradient(from 180deg,
    #ff9dd0 0%, #ffcc8a 25%, #b8b5ff 55%, #99d1ff 80%, #ff9dd0 100%);
}

/* ============================================================
   Reset + base
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  zoom: 1.2;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  background: #fbf8ff;
  overflow-x: hidden;

  /* The page-wide Arc gradient backdrop */
  background-image:
    radial-gradient(60% 45% at 10% 0%,    rgba(255, 183, 221, 0.55), transparent 60%),
    radial-gradient(55% 40% at 90% 5%,    rgba(255, 214, 170, 0.55), transparent 60%),
    radial-gradient(55% 40% at 95% 45%,   rgba(196, 188, 255, 0.55), transparent 60%),
    radial-gradient(60% 45% at 5% 60%,    rgba(176, 222, 255, 0.55), transparent 60%),
    radial-gradient(70% 50% at 50% 100%,  rgba(221, 204, 255, 0.45), transparent 70%),
    linear-gradient(180deg, #fbf8ff 0%, #f6f1ff 100%);
  background-attachment: fixed;
}

/* Film grain overlay over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 320px 320px;
}

body > * {
  position: relative;
  z-index: 1;
}

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

p {
  margin: 0;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-weight: 600;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(15, 15, 25, 0.06);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 6px;
}

mark {
  background: rgba(255, 196, 172, 0.6);
  color: inherit;
  padding: 0 2px;
  border-radius: 3px;
}

/* ============================================================
   Reusable bits
============================================================ */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-dot {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: url("icon128.png") center/cover no-repeat;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.85),
    0 0 14px rgba(184, 181, 255, 0.6);
  flex: none;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--panel);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gradient);
}

.eyebrow-mini {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--muted);
  font-size: 17px;
}

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s var(--ease-out),
              background 0.18s, color 0.18s,
              box-shadow 0.18s, border-color 0.18s;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.btn:active:not(:disabled) {
  transform: scale(0.975);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 13px;
  border-radius: 10px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 13px;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(10, 10, 15, 0.35),
              0 0 0 1px rgba(10, 10, 15, 0.6) inset;
}

.btn-primary:hover {
  background: #1c1c26;
  box-shadow: 0 10px 28px -6px rgba(10, 10, 15, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-2);
  border-color: var(--line-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: rgba(15, 15, 25, 0.22);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ============================================================
   Reveal on scroll (driven by script.js)
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease-out),
              transform 0.55s var(--ease-out);
}

.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Nav
============================================================ */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  max-width: var(--content-max);
  margin: 16px auto 0;
  padding: 12px 18px 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.nav .brand {
  margin-right: auto;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.18s, color 0.18s;
}

.nav-links a:hover {
  background: rgba(15, 15, 25, 0.05);
  color: var(--ink);
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav { padding: 10px 12px 10px 14px; }
}

/* ============================================================
   Hero
============================================================ */
.hero {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) 24px clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 620px;
}

.headline {
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(105deg,
    #e36fae 0%,
    #e8a35a 30%,
    #8b84ff 65%,
    #5ab0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  font-style: italic;
  font-weight: 600;
}

.subhead {
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 6px;
}

.trust-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 6px;
}

/* ============================================================
   Hero demo — static visual of the extension popup
============================================================ */
.hero-demo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 30px;
}

.floater {
  position: absolute;
  top: 0;
  left: 10%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(15, 15, 25, 0.08);
  border-radius: 999px;
  box-shadow:
    0 14px 34px -8px rgba(70, 40, 120, 0.32),
    0 6px 14px -4px rgba(70, 40, 120, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  animation: floatBob 4s var(--ease-out) infinite;
  z-index: 2;
}

.floater-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.9),
    0 0 10px rgba(184, 181, 255, 0.65);
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-6px) rotate(-1deg); }
}

.panel-demo {
  width: 100%;
  max-width: 440px;
  background: var(--panel);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: rotate(1deg);
  transition: transform 0.6s var(--ease-out);
}

.panel-demo:hover {
  transform: rotate(0deg) translateY(-4px);
}

.panel-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.panel-demo-header .title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.title-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.8),
    0 0 10px rgba(184, 181, 255, 0.55);
}

.panel-demo-header .close {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted-2);
  border-radius: 6px;
}

.panel-demo-body {
  padding: 16px 18px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel-demo-body .label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 4px;
}

.panel-demo-body .text-box {
  background: var(--panel-inner);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}

.panel-demo-body .text-box.result {
  position: relative;
  background: #ffffff;
  color: var(--ink);
}

.panel-demo-body .text-box.result::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255, 157, 208, 0.55),
    rgba(255, 204, 138, 0.5),
    rgba(184, 181, 255, 0.55),
    rgba(153, 209, 255, 0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.panel-demo-footer {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.35);
}

.panel-demo-footer .btn {
  pointer-events: none;
}

/* ============================================================
   Compare (before / after)
============================================================ */
.compare {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-pad) 24px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.compare-card {
  position: relative;
  background: var(--panel);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 28px 28px 30px;
  box-shadow: var(--shadow-lg);
}

.compare-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.compare-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}

.compare-card.after p {
  color: var(--ink);
}

.compare-card.after::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255, 157, 208, 0.6),
    rgba(255, 204, 138, 0.55),
    rgba(184, 181, 255, 0.6),
    rgba(153, 209, 255, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ============================================================
   How it works
============================================================ */
.how {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-pad) 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.step {
  background: var(--panel);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 30px 28px 32px;
  box-shadow: var(--shadow-lg);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 3px rgba(184, 181, 255, 0.22);
  margin-bottom: 20px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   Features
============================================================ */
.features {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-pad) 24px;
}

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

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

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

.feature {
  background: var(--panel);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff 0%, #f4efff 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  box-shadow: 0 0 0 3px rgba(184, 181, 255, 0.18);
}

.feature-icon::after {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--ink);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Inline SVG icons (no external files, respect --ink via mask) */
.feature-icon-lock::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='11' width='16' height='10' rx='2'/><path d='M8 11V8a4 4 0 0 1 8 0v3'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='11' width='16' height='10' rx='2'/><path d='M8 11V8a4 4 0 0 1 8 0v3'/></svg>");
}
.feature-icon-spark::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3v6m0 6v6M3 12h6m6 0h6M6 6l3 3m6 6l3 3M18 6l-3 3M9 15l-3 3'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3v6m0 6v6M3 12h6m6 0h6M6 6l3 3m6 6l3 3M18 6l-3 3M9 15l-3 3'/></svg>");
}
.feature-icon-bolt::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 2L3 14h8l-1 8 10-12h-8l1-8z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 2L3 14h8l-1 8 10-12h-8l1-8z'/></svg>");
}
.feature-icon-layers::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l9 5-9 5-9-5 9-5z'/><path d='M3 13l9 5 9-5'/><path d='M3 17l9 5 9-5'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l9 5-9 5-9-5 9-5z'/><path d='M3 13l9 5 9-5'/><path d='M3 17l9 5 9-5'/></svg>");
}
.feature-icon-quill::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 4s-3 8-9 13-9 3-9 3 1-6 6-11 12-5 12-5z'/><path d='M2 20l8-8'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 4s-3 8-9 13-9 3-9 3 1-6 6-11 12-5 12-5z'/><path d='M2 20l8-8'/></svg>");
}
.feature-icon-moon::after {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z'/></svg>");
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.58;
}

/* ============================================================
   Install
============================================================ */
.install {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-pad) 24px;
}

.install-card {
  position: relative;
  background: var(--panel);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.install-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  background:
    radial-gradient(40% 40% at 20% 20%, rgba(255, 183, 221, 0.35), transparent 60%),
    radial-gradient(40% 40% at 80% 10%, rgba(255, 214, 170, 0.35), transparent 60%),
    radial-gradient(40% 40% at 85% 85%, rgba(196, 188, 255, 0.4), transparent 60%),
    radial-gradient(40% 40% at 15% 90%, rgba(176, 222, 255, 0.35), transparent 60%);
  pointer-events: none;
}

.install-card h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.install-sub {
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 36px;
  font-size: 16px;
}

.install-steps {
  max-width: 620px;
  margin: 0 auto 36px;
  padding: 0;
  list-style: none;
  counter-reset: step;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.install-steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.install-steps li::before {
  content: counter(step);
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  margin-top: 1px;
}

.install-card .cta-row {
  justify-content: center;
}

/* ============================================================
   FAQ
============================================================ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--section-pad) 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

details {
  background: var(--panel);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

details[open] {
  border-color: rgba(15, 15, 25, 0.14);
}

summary {
  list-style: none;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--muted-2);
  transition: transform 0.25s var(--ease-out);
}

details[open] summary::after {
  transform: rotate(45deg);
  color: var(--ink);
}

details p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ============================================================
   Footer
============================================================ */
.footer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.footer-inner {
  background: var(--panel);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 4px;
}

/* ============================================================
   Reduced motion
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
