:root {
  --bg: #0b0f1a; --card: #151b2b; --text: #e8ecf5; --muted: #9aa4b8; --accent: #7c5cff; --accent2: #22d3ee;
  --accent-dark: #6a48f5; --accent-soft: rgba(124, 92, 255, .14); --cyan-soft: rgba(34, 211, 238, .12);
  --line: rgba(232, 236, 245, .1); --deep: #070a12;
  --radius: 16px; --font-head: "Space Grotesk", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3); --shadow-2: 0 8px 24px rgba(0, 0, 0, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img, canvas { max-width: 100%; }
a { color: var(--accent2); }
a:hover { color: #67e8f9; }
:focus-visible { outline: 3px solid var(--accent2); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -.02em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--accent2); }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(11, 15, 26, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 18px; color: var(--text); text-decoration: none; }
.brand b { color: var(--accent2); }
.brand:hover { color: var(--text); }
.brand .gf-site-icon { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--text); padding: 8px 16px; border: 1px solid var(--accent); border-radius: 999px; }
.nav .nav-cta:hover { background: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; font: 600 16px/1 var(--font-body); cursor: pointer; text-decoration: none; border: 1px solid var(--accent); }
.btn-primary { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-primary:hover { background: #5a38e0; border-color: #5a38e0; color: #fff; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent2); color: var(--text); }

/* hero */
.hero { position: relative; padding: 64px 0; overflow: hidden;
  background: radial-gradient(60% 70% at 85% 30%, rgba(124, 92, 255, .22), transparent 70%), var(--bg); }
.hero-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.hero h1 { margin: 0 0 16px; font-size: 48px; }
.lead { margin: 0 0 24px; font-size: 18px; color: var(--muted); max-width: 52ch; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--text); background: rgba(255, 255, 255, .03); }
.chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--accent2); vertical-align: 1px; }
.hero-grid:has([data-ft-work]:not([hidden])), .hero-grid:has([data-fr-report]:not([hidden])) { grid-template-columns: minmax(0, 1fr); }
.hero-grid:has([data-ft-work]:not([hidden])) .hero-copy, .hero-grid:has([data-fr-report]:not([hidden])) .hero-copy { display: none; }

/* stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--deep); }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: grid; gap: 4px; padding: 24px 16px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-num { font-family: var(--font-head); font-size: 36px; font-weight: 700; color: var(--text); }
.stat-label { font-size: 14px; color: var(--muted); }

/* sections */
.section { padding: 64px 0; }
.section-alt { background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 70ch; margin-bottom: 32px; }
.section h2 { margin: 0 0 12px; font-size: 36px; }
.section-intro { margin: 0; font-size: 18px; color: var(--muted); max-width: 70ch; }

/* metric cards */
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.metric-card { display: grid; align-content: start; gap: 8px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.metric-card:hover { border-color: rgba(124, 92, 255, .5); }
.metric-head { display: flex; justify-content: space-between; align-items: center; }
.metric-weight { font-size: 14px; font-weight: 600; color: var(--accent2); background: var(--cyan-soft); padding: 4px 12px; border-radius: 999px; }
.metric-card h3 { margin: 8px 0 0; font-size: 22px; }
.metric-card p { margin: 0; color: var(--muted); }
.metric-ref { padding-top: 12px; border-top: 1px dashed var(--line); color: var(--text) !important; font-size: 14px; }
.metric-ref span { display: block; font-size: 12px; color: var(--muted); }
.metric-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft) center / 28px no-repeat; }
.mi-symmetry { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%237c5cff' stroke-width='2'%3E%3Cellipse cx='14' cy='14' rx='8' ry='11'/%3E%3Cpath d='M14 1v26' stroke='%2322d3ee' stroke-dasharray='3 2'/%3E%3C/svg%3E"); }
.mi-thirds { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%237c5cff' stroke-width='2'%3E%3Cellipse cx='14' cy='14' rx='8' ry='11'/%3E%3Cpath d='M3 10h22M3 18h22' stroke='%2322d3ee'/%3E%3C/svg%3E"); }
.mi-eyes { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%237c5cff' stroke-width='2'%3E%3Cpath d='M2 14q4-4 8 0q-4 4-8 0zM18 14q4-4 8 0q-4 4-8 0z'/%3E%3Cpath d='M10 20h8' stroke='%2322d3ee'/%3E%3C/svg%3E"); }
.mi-tilt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%237c5cff' stroke-width='2'%3E%3Cpath d='M3 16q8-9 22-6q-10 9-22 6z'/%3E%3Cpath d='M3 16L25 10' stroke='%2322d3ee'/%3E%3C/svg%3E"); }
.mi-lips { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%237c5cff' stroke-width='2'%3E%3Cpath d='M6 10q8 4 16 0q-2 6-8 6t-8-6z'/%3E%3Cpath d='M14 2v6M14 18v8' stroke='%2322d3ee'/%3E%3C/svg%3E"); }
.mi-nose { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%237c5cff' stroke-width='2'%3E%3Cpath d='M14 3v12q-4 3-4 4h8q0-1-4-4'/%3E%3Cpath d='M5 24h18M9 21v6M19 21v6' stroke='%2322d3ee'/%3E%3C/svg%3E"); }

/* score scale */
.scale { margin-top: 48px; padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 24px; }
.scale-copy h3 { margin: 0 0 8px; font-size: 28px; }
.scale-copy p { margin: 0; color: var(--muted); max-width: 70ch; }
.scale-bar { position: relative; height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent2));
  display: flex; justify-content: space-between; }
.scale-bar span { position: relative; top: 20px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.scale-bands { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.scale-bands li { display: grid; gap: 4px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.band-range { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--accent2); }
.band-desc { font-size: 14px; color: var(--muted); }

/* tips */
.tips-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
.steps li::before { content: "0" counter(s); grid-row: span 2; font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--accent); }
.steps strong { font-size: 18px; }
.steps span { color: var(--muted); }
.checklist { position: sticky; top: 96px; padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 16px; }
.checklist h3 { margin: 0; font-size: 22px; }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--accent2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3 3 7-7' fill='none' stroke='%2322d3ee' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* prose */
.improve { display: grid; gap: 8px; }
.prose > * { max-width: 70ch; }
.prose h2 { font-size: 36px; margin: 0 0 16px; }
.prose h3 { font-size: 22px; margin: 32px 0 8px; }
.prose p, .prose li { font-size: 18px; color: var(--text); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent2); }
.prose strong { color: #fff; }
.prose table { width: 100%; max-width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { color: var(--accent2); }
.page-hero { padding: 64px 0 32px; background: radial-gradient(50% 80% at 90% 0%, rgba(124, 92, 255, .2), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 0; font-size: 48px; max-width: 24ch; }
.page-hero .lead { margin-top: 16px; }
.page-body { padding-top: 48px; }
.page-card { padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.page-card h2 { font-size: 28px; margin: 32px 0 12px; }
.page-card > :first-child { margin-top: 0; }
.guide h2 { margin: 48px 0 16px; }
.guide > h2:first-child { margin-top: 0; }
.guide table { margin: 8px 0 24px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.guide td { color: var(--muted); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card { display: grid; gap: 8px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.related-card:hover { border-color: var(--accent2); color: var(--text); }
.related-card strong { font-family: var(--font-head); font-size: 22px; }
.related-card span { color: var(--muted); font-size: 14px; }
.related-card strong::after { content: " →"; color: var(--accent2); }

/* faq */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price-card { position: relative; display: grid; gap: 12px; align-content: start; padding: 32px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.price-card.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-2); }
.price-card h2 { margin: 0; font-size: 22px; }
.price-badge { position: absolute; top: -12px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--accent2); color: #062029; font-size: 12px; font-weight: 600; }
.price-amount { margin: 0; font-family: var(--font-head); font-size: 44px; font-weight: 700; line-height: 1; }
.price-each { margin: 0; color: var(--accent2); font-weight: 600; }
.price-list { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
.price-list li::before { content: "✓"; color: var(--accent2); margin-right: 8px; }
.price-card .btn { margin-top: auto; }
.price-note { margin: 24px 0 0; font-size: 14px; color: var(--muted); }
.section > .wrap > .fr-paid { margin-bottom: 24px; padding: 12px 16px; border-radius: 12px; background: var(--cyan-soft); font-weight: 600; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 24px; }
.faq-item[open] { border-color: rgba(124, 92, 255, .5); }
.faq-item summary { font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent2); font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 0 0; color: var(--muted); }

/* footer */
.site-footer { padding: 48px 0 24px; border-top: 1px solid var(--line); background: var(--deep); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
.footer-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); max-width: 52ch; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; align-content: start; }
.footer-links a { font-size: 14px; color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--accent2); }
.footer-copy { margin: 32px 0 0; font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .tips-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .metric-grid, .related-grid, .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scale-bands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist { position: static; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 32px 0 48px; }
  .hero h1, .page-hero h1 { font-size: 32px; }
  .section { padding: 48px 0; }
  .section h2, .prose h2 { font-size: 28px; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .metric-grid, .scale-bands, .footer-grid, .related-grid, .price-grid { grid-template-columns: minmax(0, 1fr); }
  .nav a:not(.nav-cta) { display: none; }
  .scale, .page-card, .checklist { padding: 24px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
