:root {
  --ink: #12151a;
  --ink-soft: #3a404a;
  --muted: #6b7280;
  --line: #e4e6ea;
  --bg: #f3f4f2;
  --bg-2: #e8ebe6;
  --surface: #ffffff;
  --brand: #0b3d2e;
  --brand-2: #0f4f3c;
  --brand-3: #1a7a5c;
  --brand-soft: #e4f0eb;
  --accent: #0b3d2e;
  --accent-warm: #9a3412;
  --accent-soft: #fff1e8;
  --critical: #b91c1c;
  --high: #c2410c;
  --medium: #b45309;
  --low: #a16207;
  --info: #0f4f3c;
  --ok: #0f766e;
  --shadow: 0 1px 0 rgba(18, 21, 26, 0.04);
  --shadow-lg: 0 18px 40px rgba(18, 21, 26, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --focus: 0 0 0 3px rgba(11, 61, 46, 0.22);
  --touch: 44px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Sora", "Segoe UI", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 3.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 10% -20%, rgba(26, 122, 92, 0.08), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(18, 21, 26, 0.04), transparent 50%),
    var(--bg);
  line-height: 1.55;
  font-size: 16px;
  letter-spacing: -0.01em;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--brand-soft); color: var(--brand); }
a { color: var(--brand-3); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand); }
a:focus-visible, button:focus-visible, .btn:focus-visible, .form-control:focus-visible {
  outline: none; box-shadow: var(--focus);
}
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
.container-wide { width: min(1200px, calc(100% - 2rem)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: .75rem 1rem; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(14px) saturate(1.1);
  background: rgba(243, 244, 242, 0.88);
  border-bottom: 1px solid rgba(228, 230, 234, 0.9);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-body);
  font-weight: 650; font-size: 1.02rem; color: var(--ink);
  letter-spacing: -0.02em; min-height: var(--touch);
}
.brand img, .brand-mark { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; }
.brand .accent { color: var(--brand-3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small {
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.nav-links { display: flex; gap: 0.2rem; align-items: center; flex-wrap: wrap; }
.nav-links > a {
  color: var(--ink-soft); font-weight: 550; font-size: 0.9rem;
  padding: 0.55rem 0.75rem; border-radius: 10px; min-height: var(--touch);
  display: inline-flex; align-items: center;
}
.nav-links > a:hover { background: rgba(11, 61, 46, 0.06); color: var(--brand); }
.nav-toggle { display: none; min-width: var(--touch); min-height: var(--touch); }

.currency-switch {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin: 0 0.25rem; color: var(--muted); font-size: 0.78rem; font-weight: 600;
}
.currency-switch-label { display: none; }
.currency-switch select {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 0.35rem 0.7rem; font: inherit; font-size: 0.82rem;
  font-weight: 650; min-height: 36px; cursor: pointer;
}
.pricing-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1.25rem;
}
.pricing-toolbar .currency-switch-label { display: inline; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  border: 0; border-radius: 999px; min-height: var(--touch);
  padding: 0.75rem 1.25rem; font-weight: 650; font-family: inherit; font-size: 0.95rem;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: #c5c9cf; background: rgba(255,255,255,0.7); color: var(--ink); }
.btn-accent { background: var(--accent-warm); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-sm { min-height: 38px; padding: 0.45rem 0.95rem; font-size: 0.88rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.hero-shell {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.25rem);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), transparent 40%),
    linear-gradient(120deg, rgba(11,61,46,0.05), transparent 45%);
}
.hero-shell::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background-image: radial-gradient(circle at 1px 1px, rgba(18,21,26,0.12) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 10%, transparent 88%);
}
.hero-visual { display: none; }
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.launch-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--brand); font-size: 0.82rem; font-weight: 650;
  margin-bottom: 1rem; letter-spacing: 0.02em;
  animation: riseIn .6s var(--ease) both;
}
.launch-pill i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand-3);
  animation: pulseDot 1.8s ease-in-out infinite;
}
.hero-brand-lockup {
  display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem;
  animation: riseIn .6s var(--ease) .04s both;
}
.hero-brand-lockup img { width: 48px; height: 48px; border-radius: 12px; }
.hero-brand-lockup .name {
  font-family: var(--font-display); font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 650; letter-spacing: -0.03em; line-height: 1.1;
}
.hero-brand-lockup .domain { color: var(--muted); font-weight: 600; font-size: 0.82rem; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.2vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 650;
  margin: 0 0 1rem;
  max-width: 11ch;
  animation: riseIn .65s var(--ease) .08s both;
}
.hero .lead {
  color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 1.35rem; max-width: 32rem;
  animation: riseIn .65s var(--ease) .12s both;
}
.hero-actions {
  display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.2rem;
  animation: riseIn .65s var(--ease) .16s both;
}
.trust-list {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 0.35rem;
  animation: riseIn .65s var(--ease) .2s both;
}
.trust-list li {
  color: var(--ink-soft); font-weight: 500; font-size: 0.92rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.trust-list .ico {
  width: 20px; height: 20px; border-radius: 6px; background: var(--brand-soft);
  display: grid; place-items: center; flex-shrink: 0; color: var(--brand);
}

.upload-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg); padding: 1.15rem;
  animation: riseIn .7s var(--ease) .14s both;
}
.upload-drop {
  border: 1.5px dashed #c5cdc6; border-radius: var(--radius);
  background: #fafbf9;
  padding: 1.6rem 1rem; text-align: center;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.upload-drop.dragover {
  border-color: var(--brand-3); background: var(--brand-soft);
}
.upload-drop h3 { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: 1.3rem; font-weight: 650; }
.upload-drop p { margin: 0 0 1rem; color: var(--muted); }
.progress { height: 6px; background: var(--bg-2); border-radius: 999px; overflow: hidden; margin-top: .75rem; }
.progress > span {
  display: block; height: 100%; width: 0;
  background: var(--brand);
  transition: width .25s var(--ease);
}

.section { padding: clamp(2.75rem, 5.5vw, 4.25rem) 0; }
.section.alt {
  background: rgba(255,255,255,0.55);
  border-block: 1px solid var(--line);
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.03em; margin: 0 0 0.4rem; font-weight: 650;
}
.section .sub { color: var(--muted); margin: 0 0 1.5rem; max-width: 38rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.feature, .faq-item, .dash-card, .stat-card {
  background: transparent; border: 0; border-top: 1px solid var(--line);
  border-radius: 0; padding: 1.1rem 0;
  transition: none;
}
.feature:hover, .stat-card:hover { transform: none; box-shadow: none; }
.type-chip {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.7rem 0.9rem; font-weight: 600; text-align: center; color: var(--ink-soft);
  min-height: var(--touch); display: grid; place-items: center;
  transition: border-color .15s, color .15s;
}
.type-chip:hover { border-color: var(--brand-3); color: var(--brand); }
.feature-icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 0.65rem;
}
.feature h3, .price-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.feature p, .price-card p { margin: 0; color: var(--muted); }
.infographic {
  border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden; background: #fff;
}

.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  background: transparent; border: 0; border-top: 1px solid var(--line);
  border-radius: 0; padding: 1.1rem 0;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 0.85rem;
}

.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; transition: border-color .15s;
}
.price-card:hover { border-color: #c5c9cf; transform: none; box-shadow: none; }
.price-card.featured { border-color: var(--brand); position: relative; }
.price-card.featured::after {
  content: "Popular"; position: absolute; top: -0.55rem; right: 1rem;
  background: var(--brand); color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 0.25rem 0.55rem; border-radius: 999px;
}
.price-card .amount { font-family: var(--font-display); font-size: 2rem; margin: 0.5rem 0; font-weight: 650; }
.price-card ul { margin: 0.75rem 0 1rem; padding-left: 1.1rem; color: var(--ink-soft); }

.auth-wrap { max-width: 420px; margin: 3rem auto; }
.auth-card, .panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.6rem;
}
.auth-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  line-height: 1.1;
}
.auth-sub { color: var(--muted); margin: 0 0 1.25rem; }
.auth-actions { display: grid; gap: 0.65rem; margin-top: 0.5rem; }
.auth-foot { margin-top: 1.25rem; color: var(--muted); font-size: 0.95rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 650; margin-bottom: 0.35rem; font-size: 0.9rem; }
.form-control {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem; font: inherit; background: #fff; color: var(--ink); min-height: var(--touch);
}
.form-control:focus { outline: none; border-color: var(--brand-3); box-shadow: var(--focus); }
.alert { padding: 0.8rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-weight: 600; }
.alert-error { background: #fef2f2; color: var(--critical); border: 1px solid #fecaca; }
.alert-success { background: #ecfdf5; color: var(--ok); border: 1px solid #a7f3d0; }
.alert-info { background: var(--brand-soft); color: var(--brand); border: 1px solid #cfe3db; }

.dash-layout { display: grid; grid-template-columns: 220px 1fr; gap: 1.25rem; padding: 1.5rem 0 3rem; }
.dash-side {
  background: transparent; border: 0; border-right: 1px solid var(--line); border-radius: 0;
  padding: 0.25rem 1rem 0.25rem 0; height: fit-content; position: sticky; top: calc(var(--header-h) + 0.75rem);
}
.dash-side a {
  display: flex; align-items: center; min-height: var(--touch);
  padding: 0.45rem 0.65rem; border-radius: 10px; color: var(--ink-soft); font-weight: 600; margin-bottom: 0.1rem;
}
.dash-side a.active, .dash-side a:hover { background: var(--brand-soft); color: var(--brand); }
.dash-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem;
}
.dash-card h3 { margin: 0; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; }
.dash-card .big { font-family: var(--font-display); font-size: 1.9rem; margin-top: 0.35rem; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-size: 0.85rem; }

.badge {
  display: inline-flex; align-items: center; padding: 0.25rem 0.55rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .03em;
}
.sev-critical, .badge-critical { background: #fef2f2; color: var(--critical); }
.sev-high, .badge-high { background: #fff7ed; color: var(--high); }
.sev-medium, .badge-medium { background: #fffbeb; color: var(--medium); }
.sev-low, .badge-low { background: #fffbeb; color: var(--low); }
.sev-info, .badge-info { background: var(--brand-soft); color: var(--info); }
.badge-ok { background: #ecfdf5; color: var(--ok); }

.report-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; min-height: 75vh; }
.pdf-pane, .analysis-pane {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.pdf-pane iframe, .pdf-pane embed { width: 100%; height: 100%; min-height: 70vh; border: 0; }
.analysis-pane { overflow: auto; max-height: 80vh; padding: 1rem; }
.score-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin: 1rem 0; }
.score-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 0.85rem;
}
.score-card .label { color: var(--muted); font-size: 0.78rem; font-weight: 650; }
.score-card .value { font-family: var(--font-display); font-size: 1.5rem; margin-top: 0.2rem; }
.finding {
  border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem; margin-bottom: 0.7rem;
  cursor: pointer; transition: border-color .15s;
}
.finding:hover { border-color: #c5c9cf; }
.finding.locked { filter: blur(3px); user-select: none; }
.paywall {
  background: var(--accent-soft); border: 1px solid #fed7aa; border-radius: 12px;
  padding: 1.1rem; margin: 1rem 0; text-align: center;
}
.report-section { margin: 1.5rem 0; }
.report-section h2 { font-size: 1.2rem; margin-bottom: 0.55rem; }

.site-footer {
  border-top: 1px solid var(--line); padding: 2.5rem 0; margin-top: 2rem;
  background: rgba(255,255,255,0.45); color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 1.5rem; }
.site-footer a { color: var(--ink-soft); display: inline-block; padding: 0.25rem 0; min-height: 36px; }
.disclaimer-box {
  background: transparent; border: 1px solid var(--line); border-radius: 12px; padding: 1rem;
  color: var(--muted); font-size: 0.9rem;
}
.lang-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lang-pills span {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.8rem; font-weight: 600; font-size: 0.88rem;
  min-height: 40px; display: inline-flex; align-items: center;
}
.ask-box { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.ask-box input { flex: 1; min-width: 200px; }

.final-cta {
  text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.final-cta h2 { font-family: var(--font-display); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.ai-scan-line {
  height: 2px; width: 100%; margin: 0.75rem 0 0;
  background: linear-gradient(90deg, transparent, var(--brand-3), transparent);
  animation: scanPulse 2.4s ease-in-out infinite;
}

@keyframes riseIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes scanPulse { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: .7; } }

@media (max-width: 960px) {
  .hero, .report-split, .dash-layout, .footer-grid, .grid-3, .grid-4, .score-row { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .dash-side {
    position: static; display: flex; flex-wrap: wrap; gap: 0.35rem;
    border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 0.75rem;
  }
  .dash-side a { margin: 0; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(255,255,255,0.98); padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links > a { width: 100%; }
  .currency-switch { width: 100%; justify-content: space-between; }
  .currency-switch-label { display: inline; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .brand-text small { display: none; }
}
