:root {
  --navy: #0f1f2e;
  --navy-mid: #1a3348;
  --navy-light: #243a52;
  --accent-red: #b91c3c;
  --green: #1a7a4a;
  --green-hover: #156339;
  --green-soft: #e8f4ed;
  --bg: #f4f6f8;
  --bg-alt: #e8ecf0;
  --surface: #ffffff;
  --text: #0f1f2e;
  --text-muted: #4a5f73;
  --border: #d4dce4;
  --shadow-sm: 0 1px 3px rgba(15, 31, 46, 0.06);
  --shadow-md: 0 8px 28px rgba(15, 31, 46, 0.1);
  --shadow-lg: 0 20px 50px rgba(15, 31, 46, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --max-width: 1140px;
  --reveal-duration: 0.65s;
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
.section-header h2,
.workspace-header h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hidden {
  display: none !important;
}

/* Scroll reveals */
.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
}

.reveal.is-visible,
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Section dividers */
.section-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--bg);
  background: var(--surface);
}

.section-divider--wave {
  height: 48px;
  margin-top: -1px;
}

.section-divider--wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.section-divider--flip {
  background: var(--bg);
  color: var(--surface);
}

.section-divider--wave svg {
  transform: scaleY(0.4);
  transform-origin: center bottom;
  opacity: 0.5;
}

.section-divider--wave.is-animated svg {
  animation: wave-rise 0.9s var(--reveal-ease) forwards;
}

@keyframes wave-rise {
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.section-divider--line {
  height: 56px;
  background: var(--bg);
  gap: 0;
}

.divider-line {
  display: block;
  width: 0;
  max-width: min(480px, 80vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--navy-mid), transparent);
  transition: width 0.9s var(--reveal-ease);
}

.section-divider--line.is-animated .divider-line {
  width: min(480px, 80vw);
}

.divider-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-red);
  opacity: 0;
  transform: translateX(-120px);
}

.section-divider--line.is-animated .divider-dot {
  animation: divider-dot-travel 1.1s var(--reveal-ease) 0.15s forwards;
}

@keyframes divider-dot-travel {
  0% {
    opacity: 0;
    transform: translateX(-120px);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(120px);
  }
}

.section-divider--stamp {
  height: 72px;
  background: var(--surface);
}

.section-divider--stamp .stamp-ring {
  display: block;
  width: 40px;
  height: 40px;
  border: 2px solid var(--navy-mid);
  border-radius: 50%;
  opacity: 0.35;
  transform: scale(0.6);
}

.section-divider--stamp.is-animated .stamp-ring {
  animation: stamp-pulse 1.4s ease-out forwards;
}

@keyframes stamp-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.55;
    border-color: var(--accent-red);
  }
  100% {
    transform: scale(1);
    opacity: 0.35;
    border-color: var(--navy-mid);
  }
}

.features + .section-divider--line,
.workspace + .section-divider--stamp {
  background: var(--surface);
}

.workspace + .section-divider--stamp {
  background: var(--bg);
}

.guidelines + .section-divider--wave {
  background: var(--surface);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 122, 74, 0.35);
}

.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--surface);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--navy);
  font-family: var(--font-serif);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-nav a:not(.btn) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.header-nav a:not(.btn):hover {
  color: var(--navy);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

/* Hero */
.hero {
  padding: 3.5rem 1.5rem 3rem;
  background:
    linear-gradient(135deg, rgba(15, 31, 46, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-red);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent-red);
  margin-right: 0.5rem;
  vertical-align: middle;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.12;
  color: var(--navy);
}

.hero-sub {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-cta {
  margin-bottom: 1.75rem;
}

.hero-note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-chips li {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  box-shadow: var(--shadow-sm);
}

/* Hero showcase — compliance analysis layout */
.hero-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 0;
}

.hero-showcase-main {
  width: 100%;
  display: flex;
  justify-content: center;
}

.analysis-photo {
  margin: 0;
  transform: rotate(4deg);
  filter: drop-shadow(0 18px 36px rgba(15, 31, 46, 0.18));
}

.analysis-frame {
  position: relative;
  width: min(240px, 72vw);
  aspect-ratio: 35 / 45;
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 4px;
  overflow: hidden;
}

.analysis-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.analysis-overlays {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.analysis-tag {
  position: absolute;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.15rem 0.35rem;
  border-radius: 2px;
  line-height: 1.2;
}

.analysis-tag--iso {
  top: 6%;
  left: 5%;
}

.analysis-tag--size {
  top: 6%;
  right: 5%;
}

.analysis-line--vertical {
  position: absolute;
  top: 8%;
  bottom: 12%;
  left: 50%;
  width: 0;
  border-left: 1.5px dashed var(--navy);
  transform: translateX(-50%);
  opacity: 0.75;
}

.analysis-line--eyes {
  position: absolute;
  top: 38%;
  left: 8%;
  right: 8%;
  height: 0;
  border-top: 1.5px dashed #3b82c4;
  opacity: 0.9;
}

.analysis-face-zone {
  position: absolute;
  top: 18%;
  left: 22%;
  right: 22%;
  bottom: 22%;
  border: 1.5px solid rgba(185, 28, 60, 0.55);
  background: rgba(185, 28, 60, 0.08);
}

.analysis-face-zone::before,
.analysis-face-zone::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  height: 1.5px;
  background: var(--accent-red);
}

.analysis-face-zone::before {
  top: 0;
}

.analysis-face-zone::after {
  bottom: 0;
}

.analysis-face-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent-red);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.1rem 0.25rem;
}

.hero-comparisons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 340px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.comparison-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 35 / 45;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.comparison-item--fail .comparison-thumb {
  border: 2px solid var(--accent-red);
  box-shadow: 0 0 0 1px rgba(185, 28, 60, 0.15);
}

.comparison-item--pass .comparison-thumb {
  border: 2px solid var(--green);
  box-shadow: 0 0 0 1px rgba(26, 122, 74, 0.15);
}

.comparison-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.comparison-img--dark {
  filter: brightness(0.45) contrast(0.9);
}

.comparison-img--close {
  transform: scale(1.55);
  transform-origin: center 22%;
}

.comparison-badge {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.comparison-badge--fail {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-red);
  font-size: 0.875rem;
}

.comparison-item--fail .comparison-badge--fail {
  opacity: 0.95;
}

.comparison-badge--pass {
  bottom: 0.35rem;
  right: 0.35rem;
  background: var(--green);
}

.comparison-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comparison-item--fail .comparison-label {
  color: var(--accent-red);
}

.comparison-item--pass .comparison-label {
  color: var(--green-hover);
}

.hero-showcase-caption {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  max-width: 20rem;
}

/* Features / How it works */
.features {
  padding: 4rem 1.5rem;
  background: var(--surface);
}

.features-inner,
.faq-inner,
.verification-inner,
.guidelines-inner,
.workspace-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  color: var(--navy);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

.feature-grid,
.verification-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card-img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-alt);
}

.feature-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card .feature-icon,
.verification-card .feature-icon {
  margin: 1rem 1.25rem 0;
}

.feature-card h3,
.verification-card h3 {
  margin: 0 0 0.5rem;
  padding: 0 1.25rem;
  font-size: 1.0625rem;
  color: var(--navy);
  font-family: var(--font);
  font-weight: 600;
}

.feature-card p,
.verification-card p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-hover);
  background: var(--green-soft);
  border-radius: 10px;
}

.verification-card {
  padding-bottom: 0;
}

.verification-card .feature-icon {
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}

/* Workspace */
.workspace {
  padding: 4rem 1.5rem;
  background: var(--bg);
}

.workspace-header {
  text-align: center;
  margin-bottom: 2rem;
}

.workspace-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--navy);
}

.workspace-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
  margin-inline: auto;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.dropzone {
  padding: 2rem 1.5rem;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  border: 2px dashed var(--border);
  background: var(--surface);
}

.dropzone:hover,
.dropzone:focus-visible {
  border-color: var(--navy-mid);
  outline: none;
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(26, 51, 72, 0.12);
}

.dropzone.is-dragover {
  border-color: var(--green);
  background: var(--green-soft);
}

.dropzone.is-scanning {
  cursor: wait;
  border-style: solid;
  border-color: var(--navy-light);
}

.upload-status {
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 10px;
}

.dropzone-icon {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.dropzone-title {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
}

.dropzone-hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.dropzone-active {
  width: 100%;
}

.scan-stage {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 35 / 45;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f6;
}

.upload-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scan-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 31, 46, 0.15) 0%, rgba(15, 31, 46, 0.45) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 1rem;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 12px var(--green);
  animation: scan-sweep 1.8s ease-in-out infinite;
}

@keyframes scan-sweep {
  0% {
    top: 8%;
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 92%;
    opacity: 0.6;
  }
}

.scan-label {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.04em;
}

.panel {
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  color: var(--navy);
}

.panel-desc {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.preview-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f1f5f9;
  margin-bottom: 1rem;
}

.preview-frame img {
  width: 100%;
}

.scan-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scan-list li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.scan-list li:last-child {
  border-bottom: none;
}

.pay-form {
  display: grid;
  gap: 0.75rem;
}

.pay-form label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}

.pay-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pay-form input:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(26, 51, 72, 0.12);
}

.pay-hint {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  min-height: 1.25em;
}

.success-panel {
  border-color: var(--green);
  background: linear-gradient(180deg, #fff 0%, var(--green-soft) 120%);
}

.pricing-card {
  padding: 1.5rem;
  position: sticky;
  top: 5rem;
  border-top: 3px solid var(--navy);
}

.pricing-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.pricing-amount {
  margin: 0.25rem 0 1.25rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  font-family: var(--font-serif);
}

.pricing-amount .currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 0.25rem;
  font-family: var(--font);
}

.pricing-includes {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.pricing-includes li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.pricing-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-hover);
  font-weight: 700;
}

.pricing-includes li:last-child {
  border-bottom: none;
}

.pricing-foot {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Guidelines */
.guidelines {
  padding: 4rem 1.5rem;
  background: var(--surface);
}

.guidelines-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.guidelines-tips {
  display: grid;
  gap: 1rem;
}

.tip-block {
  padding: 1.25rem 1.5rem;
}

.tip-block h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font);
}

.tip-block p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.guidelines-aside {
  display: grid;
  gap: 1.25rem;
}

.guide-photo {
  padding: 0;
  overflow: hidden;
}

.guide-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.specs-card {
  padding: 1.75rem 1.5rem;
}

.specs-card h3 {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  color: var(--navy);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.specs-table th,
.specs-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.specs-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg);
}

.specs-table tbody tr:last-child td {
  border-bottom: none;
}

.specs-table tbody td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 38%;
}

.specs-table tbody td:last-child {
  color: var(--text-muted);
}

/* Verification */
.verification {
  padding: 4rem 1.5rem;
  background: var(--bg);
}

/* FAQ */
.faq {
  padding: 4rem 1.5rem;
  background: var(--surface);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--navy-mid);
}

.faq-item summary {
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: transform 0.2s, background 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green-hover);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.site-footer {
  padding: 3rem 1.5rem 2rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  text-align: left;
}

.footer-brand {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  font-family: var(--font-serif);
}

.footer-tagline {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer-col-title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.footer-links button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

.footer-links button:hover {
  color: #fff;
}

.footer-disclaimer {
  margin: 0;
  max-width: var(--max-width);
  margin-inline: auto;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 0.875rem 1.5rem calc(0.875rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(15, 31, 46, 0.1);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.floating-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.btn-floating {
  background: var(--green);
  color: #fff;
  padding: 0.9375rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(26, 122, 74, 0.4);
  transition: background 0.2s, transform 0.15s;
}

.btn-floating:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

body.has-floating-cta {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

/* Legal modals */
.legal-modal {
  border: none;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
}

.legal-modal::backdrop {
  background: rgba(15, 31, 46, 0.55);
}

.legal-modal h3 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-family: var(--font-serif);
}

.legal-modal p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .fact-chips {
    justify-content: center;
  }

  .hero-showcase {
    order: -1;
    max-width: 360px;
    margin-inline: auto;
  }

  .analysis-photo {
    transform: rotate(2deg);
  }

  .workspace-grid,
  .guidelines-layout {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    position: static;
    order: -1;
  }

  .feature-grid,
  .verification-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav,
  .footer-links {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .specs-table th,
  .specs-table td {
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
  }

  .specs-table tbody td:first-child {
    width: 42%;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .header-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding-top: 2rem;
  }

  .dropzone {
    min-height: 220px;
    padding: 1.5rem 1rem;
  }

  .faq-item summary {
    padding: 1rem 1rem;
    font-size: 0.875rem;
  }
}
