/* ═══════════════════════════════════════════════════════════════
   Suprance — dark theme, violet + green
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-hover: #1a1a26;
  --bg-elevated: #1e1e2e;
  --border: #1e1e2e;
  --border-strong: #2d2d44;
  --ink: #e4e4ef;
  --ink-muted: #8888a4;
  --ink-dim: #5a5a74;
  --violet: #6c5ce7;
  --violet-light: #a29bfe;
  --violet-tint: rgba(108, 92, 231, 0.10);
  --violet-tint-strong: rgba(108, 92, 231, 0.22);
  --green: #00b894;
  --green-light: #55efc4;
  --green-tint: rgba(0, 184, 148, 0.10);
  --green-tint-strong: rgba(0, 184, 148, 0.22);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--ink);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 640px) { body { font-size: 17px; } }
::selection { background: var(--violet); color: #fff; }

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
a { color: var(--violet-light); text-decoration: none; }
*:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--violet); border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; position: relative; }

.highlight { color: var(--violet-light); }
.highlight-green { color: var(--green-light); }

/* ─── Nav ─────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.nav-inner {
  display: flex; align-items: center; gap: 1rem;
  justify-content: flex-start;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--ink); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo-mark { transition: transform 180ms; }
.logo:hover .logo-mark { transform: rotate(8deg); }
.nav-links {
  display: flex; align-items: center; gap: 1.75rem;
  list-style: none;
  margin-left: 2.5rem;
}
.nav-links a {
  color: var(--ink-muted); font-size: 0.9rem; font-weight: 500;
  transition: color 150ms;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--violet); color: #fff;
  padding: 0.55rem 1.1rem; border-radius: 8px;
  font-size: 0.88rem; font-weight: 600;
  border: 1px solid transparent;
  transition: background 180ms, transform 180ms, box-shadow 180ms;
  box-shadow: 0 4px 24px -6px rgba(108, 92, 231, 0.4);
  flex-shrink: 0;
}
.nav-cta:hover { background: #7b6dff; transform: translateY(-1px); color: #fff; }

.nav-hamburger {
  display: none; background: transparent; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 0;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform 180ms, opacity 120ms;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  z-index: 49;
}
.nav-mobile a {
  display: block; padding: 0.85rem 1.5rem;
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { background: var(--bg-hover); color: var(--violet-light); }
.nav-mobile .nav-cta {
  display: block; margin: 0.65rem 1.25rem; padding: 0.8rem;
  text-align: center; font-size: 0.95rem;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: inline-flex; margin-left: auto; }
  .nav-inner { position: relative; }
  .nav-mobile.open { display: block; }
}

/* ─── Hero ────────────────────────────────── */
.hero {
  padding: 4rem 0 5rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 30%, var(--violet-tint) 0%, transparent 60%),
              radial-gradient(ellipse 70% 60% at 70% 70%, var(--green-tint) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { order: 1; min-height: 320px; }
}
.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.08;
}
.hero-h1-line { display: block; }
.sub {
  margin-top: 1.25rem; color: var(--ink-muted);
  font-size: 1rem; line-height: 1.6; max-width: 480px;
}
.cta-row {
  margin-top: 1.75rem;
  display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--violet); color: #fff; border: none;
  padding: 0.85rem 1.5rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: background 180ms, transform 180ms;
  box-shadow: 0 6px 32px -8px rgba(108, 92, 231, 0.5);
}
.btn-primary:hover { background: #7b6dff; transform: translateY(-1px); color: #fff; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--ink);
  border: 1px solid var(--border-strong);
  padding: 0.85rem 1.25rem; border-radius: 8px;
  font-size: 0.95rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: background 180ms, border-color 180ms, color 180ms;
}
.btn-ghost:hover { background: var(--bg-hover); border-color: var(--ink-muted); color: var(--ink); }
.btn-play { font-size: 0.7rem; color: var(--violet-light); }

.feature-row {
  margin-top: 1.5rem;
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  list-style: none;
}
.feature-row li {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--ink-muted); font-size: 0.85rem; font-weight: 500;
}
.feature-check {
  width: 18px; height: 18px; color: var(--green);
  flex-shrink: 0;
}
.hero-note {
  margin-top: 1.5rem; color: var(--ink-dim);
  font-size: 0.82rem; display: inline-flex; align-items: center; gap: 0.5rem;
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--violet-light);
  box-shadow: 0 0 8px rgba(162,155,254,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Hero visual — canvas + labels */
.hero-visual {
  position: relative; min-height: 440px;
  display: flex; align-items: center; justify-content: center;
}
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-labels {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 10%;
  pointer-events: none;
  z-index: 2;
}
.hero-label {
  font-size: 0.75rem; line-height: 1.3;
  max-width: 140px;
}
.hero-label-title {
  font-weight: 700; letter-spacing: 0.08em;
  font-size: 0.68rem; margin-bottom: 0.3rem;
}
.hero-label-sub { color: var(--ink-muted); font-size: 0.78rem; }
.hero-label--ai .hero-label-title { color: var(--violet-light); }
.hero-label--human { text-align: right; }
.hero-label--human .hero-label-title { color: var(--green-light); }

/* ─── Guarantee banner ─────────────────────── */
.guarantee-section { padding: 2rem 0 3rem; }
.guarantee-card {
  background: linear-gradient(135deg, rgba(108,92,231,0.08) 0%, rgba(0,184,148,0.05) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem;
  align-items: center;
}
@media (max-width: 680px) {
  .guarantee-card { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
}
.guarantee-icon {
  width: 64px; height: 64px;
  background: var(--violet-tint);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.guarantee-icon svg { width: 40px; height: 40px; }
.guarantee-copy h2 {
  font-size: 1.5rem; margin-bottom: 0.4rem;
}
.guarantee-copy p { color: var(--ink-muted); font-size: 0.95rem; }
.guarantee-owner {
  display: flex; align-items: center; gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 0.85rem 1.1rem;
}
.owner-avatar {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
}
.owner-avatar svg { width: 100%; height: 100%; }
.owner-name { font-weight: 600; font-size: 0.88rem; }
.owner-role { color: var(--ink-muted); font-size: 0.78rem; margin-top: 0.1rem; }
.owner-note { color: var(--ink-dim); font-size: 0.72rem; margin-top: 0.35rem; line-height: 1.4; }

/* ─── Section headings ─────────────────────── */
.sh { text-align: center; margin-bottom: 2.5rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.sh h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.sh-sub { color: var(--ink-muted); margin-top: 0.75rem; font-size: 1rem; }
.eyebrow {
  display: inline-block; margin-bottom: 0.85rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  color: var(--violet-light); text-transform: uppercase;
}

/* ─── Two paths ────────────────────────────── */
.paths-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 760px) { .paths-grid { grid-template-columns: 1fr; } }
.path-card {
  display: block;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  color: var(--ink); text-decoration: none;
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
  position: relative; overflow: hidden;
}
.path-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 100%, currentColor 0%, transparent 70%);
  opacity: 0.06; pointer-events: none;
}
.path-card--violet { color: var(--violet-light); }
.path-card--green { color: var(--green-light); }
.path-card:hover { transform: translateY(-3px); border-color: currentColor; }
.path-card__icon {
  width: 56px; height: 56px;
  background: currentColor;
  background-color: rgba(108, 92, 231, 0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.path-card--green .path-card__icon {
  background-color: rgba(0, 184, 148, 0.15);
}
.path-card__icon svg { width: 28px; height: 28px; }
.path-card h3 {
  font-size: 1.35rem; color: var(--ink);
  margin-bottom: 0.85rem;
}
.path-card ul { list-style: none; margin-bottom: 1.25rem; }
.path-card ul li {
  padding: 0.3rem 0; font-size: 0.92rem; color: var(--ink-muted);
}
.path-cta {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.92rem; font-weight: 600;
  color: currentColor;
}

/* ─── Process ──────────────────────────────── */
.process-row {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; position: relative;
  max-width: 900px; margin: 0 auto;
}
@media (max-width: 800px) {
  .process-row { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
.process-row li {
  text-align: center; position: relative;
}
.process-row li:not(:last-child)::after {
  content: ""; position: absolute;
  top: 26px; left: calc(50% + 26px); right: calc(-50% + 26px);
  height: 1px; background: var(--border-strong);
  background-image: linear-gradient(to right, var(--violet) 0%, var(--border-strong) 100%);
  opacity: 0.4;
}
@media (max-width: 800px) {
  .process-row li:not(:last-child)::after { display: none; }
}
.process-dot {
  width: 52px; height: 52px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--violet-light);
  margin: 0 auto 1rem;
  position: relative; z-index: 1;
}
.process-dot svg { width: 22px; height: 22px; }
.process-row h4 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.process-row p { color: var(--ink-muted); font-size: 0.82rem; line-height: 1.5; }

/* ─── Pricing ──────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 200ms, border-color 200ms;
}
.tier-card:hover { transform: translateY(-3px); border-color: var(--violet-light); }
.tier-card--featured {
  border-color: var(--violet);
  background: linear-gradient(180deg, rgba(108,92,231,0.08) 0%, var(--bg-card) 60%);
}
.tier-card--featured::before {
  content: "MOST POPULAR";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--violet); color: #fff;
  padding: 0.25rem 0.8rem; border-radius: 4px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
}
.tier-name {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-muted);
  font-weight: 600;
}
.tier-price {
  font-size: 2.3rem; font-weight: 800; margin: 0.4rem 0;
  color: var(--ink); letter-spacing: -0.03em;
}
.tier-desc { font-size: 0.9rem; color: var(--ink-muted); margin-bottom: 1.25rem; }
.tier-card ul { flex: 1; list-style: none; margin-bottom: 1.5rem; }
.tier-card ul li {
  padding: 0.35rem 0; font-size: 0.88rem; color: var(--ink-muted);
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.tier-card ul li::before {
  content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0;
}
.tier-btn {
  display: block; width: 100%; padding: 0.75rem;
  border-radius: 8px; text-align: center;
  font-weight: 600; font-size: 0.9rem;
  border: 1px solid var(--border-strong);
  color: var(--ink); background: transparent;
  cursor: pointer; text-decoration: none;
  transition: background 180ms, border-color 180ms, color 180ms;
}
.tier-btn:hover { background: var(--bg-hover); border-color: var(--violet-light); color: var(--ink); }
.tier-card--featured .tier-btn {
  background: var(--violet); border-color: var(--violet); color: #fff;
}
.tier-card--featured .tier-btn:hover { background: #7b6dff; border-color: #7b6dff; color: #fff; }

/* ─── Trusted by ──────────────────────────── */
.trusted {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-eyebrow {
  text-align: center; font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.18em;
  color: var(--ink-dim); text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.trusted-logos {
  display: flex; justify-content: space-around; align-items: center;
  gap: 2rem; flex-wrap: wrap;
}
.trusted-logo {
  font-size: 1.15rem; font-weight: 700;
  color: var(--ink-dim); letter-spacing: -0.02em;
  opacity: 0.85;
}

/* ─── Form ────────────────────────────────── */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 2rem;
  max-width: 640px;
  margin: 0 auto;
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label {
  display: block; margin-bottom: 0.45rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--ink);
}
.field-opt { color: var(--ink-dim); font-weight: 400; }
.field input,
.field textarea,
.field select {
  width: 100%; padding: 0.75rem 0.9rem;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font: inherit; font-size: 0.95rem;
  transition: border-color 180ms, box-shadow 180ms;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--violet-light);
  box-shadow: 0 0 0 3px rgba(162,155,254,0.15);
}
.field textarea { resize: vertical; }
.field.check-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.field label.check-row {
  display: inline-flex; align-items: center; gap: 0.6rem;
  cursor: pointer; font-weight: 500;
}
.field label.check-row input {
  width: auto; accent-color: var(--violet);
}
.submit-btn {
  width: 100%; padding: 0.95rem;
  background: var(--violet); color: #fff; border: none;
  border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  transition: background 180ms, transform 180ms;
  box-shadow: 0 6px 32px -8px rgba(108, 92, 231, 0.5);
}
.submit-btn:hover { background: #7b6dff; transform: translateY(-1px); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-note {
  margin-top: 0.9rem; text-align: center;
  font-size: 0.78rem; color: var(--ink-dim);
  display: flex; justify-content: center; align-items: center; gap: 0.4rem;
}
.form-note-check { color: var(--green); font-weight: 700; }

/* ─── FAQ ─────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-list details {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  margin-bottom: 0.6rem;
  background: var(--bg-card);
}
.faq-list summary {
  padding: 1rem 1.25rem; cursor: pointer;
  font-weight: 600; font-size: 0.95rem;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 180ms;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; color: var(--violet-light); font-size: 1.3rem; font-weight: 400;
  transition: transform 180ms;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { background: var(--bg-hover); }
.faq-list .answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--ink-muted); font-size: 0.92rem; line-height: 1.6;
}

/* ─── Footer ──────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
}
.footer strong { color: var(--ink); font-size: 1rem; }
.footer-tagline {
  color: var(--ink-muted); font-size: 0.85rem; margin-top: 0.4rem;
}
.footer-legal {
  margin-top: 1.25rem; color: var(--ink-dim); font-size: 0.78rem;
  line-height: 1.7;
}
.footer-legal a { color: var(--ink-muted); }
.footer-credits { font-size: 0.72rem !important; color: var(--ink-dim) !important; margin-top: 0.5rem !important; }
.footer-credits a { color: var(--ink-dim); text-decoration: underline; text-underline-offset: 2px; }
.footer-credits a:hover { color: var(--ink-muted); }

/* ─── Modal (thanks) ──────────────────────── */
.fml-modal {
  display: none; position: fixed; inset: 0; z-index: 100;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.fml-modal.is-open { display: flex; }
.fml-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.fml-modal__card {
  position: relative; max-width: 440px; width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  animation: modal-pop 220ms ease-out;
}
@keyframes modal-pop {
  from { transform: translateY(8px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.fml-modal__close {
  position: absolute; top: 0.75rem; right: 0.85rem;
  background: transparent; border: none; color: var(--ink-muted);
  font-size: 1rem; cursor: pointer; padding: 0.4rem;
  line-height: 1;
}
.fml-modal__close:hover { color: var(--ink); }
body.modal-open { overflow: hidden; }
.fml-thanks__icon {
  width: 64px; height: 64px; margin: 0 auto 1rem;
  background: var(--violet-tint);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.fml-thanks__icon svg { width: 40px; height: 40px; }
.fml-thanks h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.fml-thanks__lede { color: var(--ink); margin-bottom: 0.75rem; }
.fml-thanks__lede strong { color: var(--violet-light); word-break: break-all; }
.fml-thanks p { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.fml-thanks__hint { font-size: 0.82rem; color: var(--ink-dim); }
.fml-thanks__btn {
  margin-top: 1.25rem; width: 100%;
  padding: 0.8rem; background: var(--violet); color: #fff;
  border: none; border-radius: 8px;
  font-weight: 600; font-size: 0.92rem;
  cursor: pointer; transition: background 180ms;
}
.fml-thanks__btn:hover { background: #7b6dff; }

/* ═══════════════════════════════════════════════════════════════
   Hero (centered variant) — text-only, centered, no canvas
   ═══════════════════════════════════════════════════════════════ */
.hero--centered {
  padding: 6rem 0 4.5rem;
  position: relative; overflow: hidden;
  text-align: center;
  min-height: 640px;
}
.hero--centered #heroCanvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  z-index: 0;
  pointer-events: none;
}
.hero--centered::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 50% 50%, rgba(10,10,15,0.6) 0%, rgba(10,10,15,0.15) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero--centered .hero-centered { position: relative; z-index: 2; }
.hero-centered { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero--centered h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.08;
}
.hero--centered .sub {
  margin: 1.4rem auto 0;
  max-width: 560px;
  color: var(--ink-muted);
  font-size: 1.05rem; line-height: 1.6;
}
.hero--centered .cta-row { margin-top: 2rem; justify-content: center; }
.hero--centered .hero-note { justify-content: center; margin-top: 1.5rem; }

/* ═══════════════════════════════════════════════════════════════
   Meet Suprance — 3-step alternating section
   ═══════════════════════════════════════════════════════════════ */
.meet-section { padding: 4rem 0 5rem; }
.meet-steps {
  display: flex; flex-direction: column; gap: 5rem;
  max-width: 980px; margin: 0 auto;
}
@media (max-width: 700px) { .meet-steps { gap: 3.5rem; } }

.meet-step {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 3rem; align-items: center;
}
@media (max-width: 780px) {
  .meet-step { grid-template-columns: 1fr; gap: 1.5rem; }
  .meet-step .meet-visual { order: 1; }
}
.meet-step--flip .meet-copy { order: 2; }
.meet-step--flip .meet-visual { order: 1; }
@media (max-width: 780px) {
  .meet-step--flip .meet-copy { order: 0; }
  .meet-step--flip .meet-visual { order: 1; }
}
.meet-n {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.82rem; color: var(--ink-dim);
  margin-bottom: 0.65rem;
}
.meet-copy h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; }
.meet-copy p { color: var(--ink-muted); margin-top: 1rem; font-size: 1rem; line-height: 1.6; max-width: 420px; }

.meet-visual {
  /* Parallax lift — drifts the mock opposite to scroll direction
     so it feels "pinned" to the page while the text scrolls past. */
  transform: translateY(calc((0.5 - var(--progress, 0.5)) * 32px));
  will-change: transform;
}
.meet-visual .mock {
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.6);
  position: relative;
  isolation: isolate;
}
.meet-visual .mock::before {
  content: ""; position: absolute;
  inset: -16px;
  background: var(--violet-tint);
  border-radius: 20px;
  filter: blur(40px);
  z-index: -1;
}
/* Outline shine — a bright arc traveling along the card's border only.
   Achieved with a conic-gradient masked to the border thickness via
   the padding-box/content-box mask trick. The conic angle is driven
   by --progress so the glare sweeps around the rim as user scrolls. */
.meet-visual .mock {
  --shine-angle: calc(var(--progress, 0) * 360deg - 45deg);
}
.meet-visual .mock::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.5px; /* border thickness */
  background: conic-gradient(
    from var(--shine-angle),
    rgba(162, 155, 254, 0.00) 0deg,
    rgba(162, 155, 254, 0.00) 50deg,
    rgba(162, 155, 254, 0.85) 72deg,
    rgba(255, 255, 255, 0.95) 82deg,
    rgba(85, 239, 196, 0.75) 92deg,
    rgba(108, 92, 231, 0.00) 115deg,
    rgba(108, 92, 231, 0.00) 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .meet-visual { transform: none !important; }
  .meet-visual .mock::after { display: none; }
}

/* Step 1 mock — chat */
.mock-chrome {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.72rem;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mock-dot--r { background: rgba(253, 94, 83, 0.6); }
.mock-dot--y { background: rgba(253, 203, 110, 0.6); }
.mock-dot--g { background: rgba(0, 184, 148, 0.6); }
.mock-url { margin-left: 0.75rem; font-family: 'SF Mono', Menlo, monospace; color: var(--ink-dim); font-size: 0.72rem; }
.chat { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.9rem; }
.chat-msg--user {
  align-self: flex-end; max-width: 80%;
  background: rgba(108, 92, 231, 0.15);
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: 14px 14px 4px 14px;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
}
.chat-msg--ai {
  display: flex; gap: 0.55rem; align-items: flex-start;
}
.chat-avatar {
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%; background: var(--violet);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.72rem;
}
.chat-bubble {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 14px 14px 14px 4px;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem; color: var(--ink-muted);
  max-width: 80%;
}
.chat-bubble strong { color: var(--ink); }
.chat-input {
  display: flex; align-items: center; gap: 0.55rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
}
.chat-input-placeholder { flex: 1; color: var(--ink-dim); font-size: 0.82rem; font-style: italic; }
.chat-input-enter { color: var(--ink-dim); font-family: monospace; font-size: 0.8rem; }

/* Step 2 mock — spec */
.spec-head { padding: 1.5rem 1.5rem 1.25rem; border-bottom: 1px solid var(--border); }
.spec-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: 1px solid rgba(0, 184, 148, 0.35);
  background: rgba(0, 184, 148, 0.12);
  color: var(--green-light);
  padding: 0.15rem 0.55rem; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600;
}
.spec-head h4 { margin-top: 0.75rem; font-size: 1.2rem; }
.spec-head p { margin-top: 0.35rem; color: var(--ink-muted); font-size: 0.88rem; }
.spec-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.spec-stats > div {
  padding: 0.85rem; text-align: center;
  border-right: 1px solid var(--border);
}
.spec-stats > div:last-child { border-right: none; }
.spec-label { font-size: 0.64rem; color: var(--ink-dim); letter-spacing: 0.12em; font-weight: 700; }
.spec-val { font-size: 0.95rem; font-weight: 700; margin-top: 0.3rem; color: var(--ink); }
.spec-val--accent { color: var(--violet-light); }
.spec-chips { padding: 1rem 1.5rem; }
.spec-chips-label { font-size: 0.66rem; color: var(--ink-dim); letter-spacing: 0.14em; font-weight: 700; margin-bottom: 0.55rem; }
.spec-chips-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.spec-chips-row span {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem; color: var(--ink-muted);
}
.spec-cta {
  margin: 0 1.5rem 1.25rem;
  background: var(--violet); color: #fff;
  text-align: center; font-weight: 600; font-size: 0.88rem;
  padding: 0.65rem; border-radius: 8px;
}

/* Step 3 mock — delivery */
.deliver-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.deliver-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: 1px solid rgba(0, 184, 148, 0.35);
  background: rgba(0, 184, 148, 0.12);
  color: var(--green-light);
  padding: 0.15rem 0.55rem; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600;
}
.deliver-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.deliver-head h4 { margin-top: 0.75rem; font-size: 1.2rem; }
.deliver-day-label { font-size: 0.62rem; color: var(--ink-dim); letter-spacing: 0.14em; font-weight: 700; text-align: right; }
.deliver-day-value { font-size: 1.9rem; font-weight: 700; line-height: 1; margin-top: 0.2rem; color: var(--ink); }
.deliver-links { padding: 0.9rem 1.5rem; border-bottom: 1px solid var(--border); }
.deliver-link { display: flex; align-items: center; gap: 0.7rem; padding: 0.35rem 0; }
.deliver-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--bg-elevated);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.88rem;
}
.deliver-main { font-size: 0.82rem; color: var(--violet-light); font-family: 'SF Mono', Menlo, monospace; }
.deliver-sub { font-size: 0.7rem; color: var(--ink-dim); margin-top: 0.05rem; }
.deliver-eng { display: flex; align-items: center; gap: 0.7rem; padding: 1rem 1.5rem 1.25rem; }
.deliver-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--violet); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}
.deliver-name { font-size: 0.9rem; font-weight: 600; }
.deliver-role { font-size: 0.74rem; color: var(--ink-muted); margin-top: 0.1rem; }

/* ═══════════════════════════════════════════════════════════════
   Code entry modal (Track project) — Suprance theme
   ═══════════════════════════════════════════════════════════════ */
.fml-code-modal .fml-modal__card {
  max-width: 460px; padding: 2.4rem 2rem 1.75rem;
  position: relative; overflow: hidden;
}
.fml-code-modal .fml-modal__card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, var(--violet-tint-strong) 0%, transparent 60%);
  pointer-events: none;
}
.fml-code-modal .fml-modal__card > *:not(.fml-modal__close) { position: relative; z-index: 1; }
.fml-code__head { text-align: center; margin-bottom: 1.5rem; }
.fml-code__logo {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.65rem;
  background: var(--violet-tint);
  border: 1px solid rgba(108, 92, 231, 0.2);
  border-radius: 14px;
}
.fml-code__head h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--ink); }
.fml-code__head p { color: var(--ink-muted); font-size: 0.9rem; }
.fml-code__input {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  font-size: 1rem; font-weight: 600;
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: inherit;
}
.fml-code__input::placeholder { color: var(--ink-dim); letter-spacing: 0.1em; font-weight: 500; }
.fml-code__input:focus {
  outline: none;
  border-color: var(--violet-light);
  box-shadow: 0 0 0 3px rgba(162, 155, 254, 0.15);
}
.fml-code__err { color: var(--green); font-size: 0.82rem; margin-top: 0.55rem; min-height: 1rem; text-align: center; }
.fml-code__btn {
  width: 100%; margin-top: 0.75rem;
  padding: 0.9rem; border: none; border-radius: 8px;
  background: var(--violet); color: #fff;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
  transition: background 150ms;
}
.fml-code__btn:hover { background: #7b6dff; }
.fml-code__btn:disabled { opacity: 0.6; cursor: not-allowed; }
.fml-code__foot { text-align: center; margin-top: 1rem; font-size: 0.8rem; color: var(--ink-dim); }
.fml-code__foot a { color: var(--violet-light); }

/* ═══════════════════════════════════════════════════════════════
   Project Evaluation (invoice) modal
   ═══════════════════════════════════════════════════════════════ */
.pe-card { max-width: 940px; padding: 0; }
.pe-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 0; }
@media (max-width: 820px) { .pe-grid { grid-template-columns: 1fr; } }
.pe-main { padding: 2.2rem 2rem 2rem; }
.pe-aside {
  padding: 2.2rem 2rem 2rem;
  border-left: 1px solid var(--border);
  background: var(--bg);
  border-radius: 0 16px 16px 0;
}
@media (max-width: 820px) {
  .pe-aside { border-left: none; border-top: 1px solid var(--border); border-radius: 0 0 16px 16px; }
}

.pe-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.pe-head__icon {
  flex-shrink: 0; width: 56px; height: 56px;
  background: var(--violet-tint);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.pe-head__icon img { width: 36px; height: 36px; object-fit: contain; }
.pe-head__title { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.2rem; letter-spacing: -0.02em; }
.pe-head__sub { color: var(--ink-muted); font-size: 0.88rem; }

.pe-section { margin-bottom: 1.5rem; }
.pe-section__label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; }
.pe-section__label img,
.pe-section__label--ico svg { width: 16px; height: 16px; color: var(--violet-light); }
.pe-section__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--violet); display: inline-block; }

/* Inline-SVG helpers for meta + trust rows */
.pe-meta__ico,
.pe-trust__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
  color: var(--violet-light);
}
.pe-meta__ico svg,
.pe-trust__ico svg { width: 100%; height: 100%; }

.fml-modal__close svg {
  width: 14px; height: 14px;
  color: var(--ink-muted);
  transition: color 150ms;
}
.fml-modal__close:hover svg { color: var(--ink); }

/* ═══════════════════════════════════════════════════════════════
   Dashboard (project.html) — Suprance theme
   ═══════════════════════════════════════════════════════════════ */
.ds-wrap { max-width: 1080px; padding: 2rem 1.5rem 4rem; }
@media (max-width: 640px) { .ds-wrap { padding: 1rem 1rem 3rem; } }

.ds-back { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--violet-light); font-weight: 600; font-size: 0.88rem; margin-bottom: 1rem; }
.ds-back img { width: 16px; height: 16px; object-fit: contain; transform: scaleX(-1); transition: transform 200ms; }
.ds-back:hover { color: var(--violet); }
.ds-back:hover img { transform: scaleX(-1) translateX(3px); }

.ds-header { margin-bottom: 2rem; }
.ds-header__title { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.3rem; }
.ds-header__title h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
.ds-header__meta { color: var(--ink-muted); font-size: 0.88rem; }

.ds-badge { font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 100px; letter-spacing: 0.02em; }
.ds-badge--pending_approval { background: rgba(253,203,110,0.18); color: #fdcb6e; }
.ds-badge--in_progress      { background: var(--green-tint-strong); color: var(--green-light); }
.ds-badge--testing          { background: rgba(116,185,255,0.18); color: #74b9ff; }
.ds-badge--review           { background: var(--violet-tint-strong); color: var(--violet-light); }
.ds-badge--completed        { background: rgba(228,228,239,0.12); color: var(--ink); }

/* Stepper — horizontal, with connector lines */
.ds-stepper {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: start;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  margin-bottom: 2rem;
}
.ds-step { text-align: center; max-width: 160px; justify-self: center; }
.ds-step__dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-elevated); border: 2px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 0.55rem; transition: all 200ms;
}
.ds-step__dot img { width: 22px; height: 22px; opacity: 0.55; }
.ds-step--done .ds-step__dot { background: var(--violet-tint-strong); border-color: var(--violet); }
.ds-step--done .ds-step__dot img { opacity: 1; }
.ds-step--active .ds-step__dot {
  background: var(--violet-tint-strong); border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.20);
}
.ds-step--active .ds-step__dot img { opacity: 1; }
.ds-step__label { font-size: 0.82rem; font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.ds-step--idle .ds-step__label { color: var(--ink-muted); }
.ds-step--active .ds-step__label { color: var(--violet-light); }
.ds-step__desc { font-size: 0.72rem; color: var(--ink-muted); line-height: 1.35; }

.ds-step__line { height: 2px; background: var(--border-strong); margin-top: 22px; align-self: start; }
.ds-step__line--done { background: var(--violet); }

@media (max-width: 900px) {
  .ds-stepper {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .ds-step { display: grid; grid-template-columns: 44px 1fr; gap: 0.75rem; text-align: left; max-width: 100%; padding: 0.6rem 0; justify-self: stretch; }
  .ds-step__dot { margin-bottom: 0; grid-row: 1 / 3; }
  .ds-step__label { margin-bottom: 0.1rem; }
  .ds-step__line { display: none; }
}

/* Main grid: current stage + summary */
.ds-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; }
@media (max-width: 900px) { .ds-grid { grid-template-columns: 1fr; } }

.ds-stage {
  background: var(--bg-card); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 1.5rem;
}
.ds-stage__head { display: grid; grid-template-columns: 42px 1fr auto; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.ds-stage__head > img { width: 42px; height: 42px; padding: 8px; background: var(--violet-tint); border: 1px solid rgba(108,92,231,0.2); border-radius: 10px; }
.ds-stage__title { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.ds-stage__desc { font-size: 0.88rem; color: var(--ink-muted); margin-top: 0.15rem; }
.ds-stage__pct {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--violet-tint-strong); color: var(--violet-light);
  padding: 0.3rem 0.75rem; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700;
}
.ds-stage__pct-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); display: inline-block; }

.ds-progress { height: 8px; background: var(--bg-elevated); border-radius: 100px; overflow: hidden; }
.ds-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--violet) 0%, var(--violet-light) 100%);
  transition: width 400ms ease-out; border-radius: 100px;
}
.ds-stage__note { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-muted); line-height: 1.55; }
.ds-stage__note a { font-weight: 600; color: var(--violet-light); }

.ds-summary { background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.ds-summary__title { font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; color: var(--ink); }
.ds-summary__row { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.88rem; }
.ds-summary__k { color: var(--ink-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.ds-summary__v { color: var(--ink); line-height: 1.45; }
.ds-summary__v a { color: var(--violet-light); }
.ds-paid { display: inline-block; background: var(--green-tint-strong); color: var(--green-light); font-size: 0.68rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 4px; margin-left: 0.35rem; }

.ds-help { margin-top: 0.5rem; padding: 1rem; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px; }
.ds-help__title { font-weight: 700; font-size: 0.88rem; margin-bottom: 0.25rem; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink); }
.ds-help__title img { width: 16px; height: 16px; object-fit: contain; }
.ds-help p { font-size: 0.82rem; color: var(--ink-muted); margin-bottom: 0.65rem; }
.ds-help__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 0.65rem 0.9rem;
  background: transparent; border: 1px solid var(--violet); color: var(--violet-light);
  border-radius: 8px; font-weight: 600; font-size: 0.85rem;
  text-decoration: none; transition: background 150ms, color 150ms;
}
.ds-help__btn:hover { background: var(--violet); color: #fff; }

.ds-signout {
  margin-top: 0.25rem; background: transparent; border: none;
  color: var(--ink-dim); font-size: 0.78rem; text-align: left;
  cursor: pointer; padding: 0; font-family: inherit;
}
.ds-signout:hover { color: var(--violet-light); text-decoration: underline; }

@media (max-width: 640px) {
  .ds-header__title h1 { font-size: 1.35rem; }
  .ds-stage, .ds-summary { padding: 1.1rem; }
  .ds-stage__head { grid-template-columns: 36px 1fr; row-gap: 0.4rem; }
  .ds-stage__pct { grid-column: 1 / -1; justify-self: start; }
}

.pe-overview { background: var(--bg-elevated); border-radius: 10px; padding: 1rem 1.25rem; }
.pe-overview__row { display: grid; grid-template-columns: 140px 1fr; gap: 0.75rem; padding: 0.35rem 0; font-size: 0.88rem; }
.pe-overview__row span:first-child { color: var(--ink-muted); font-weight: 500; }
.pe-overview__row code { font-family: 'SF Mono', Menlo, Consolas, monospace; background: transparent; font-size: 0.84rem; color: var(--ink); }

.pe-lines { display: flex; flex-direction: column; gap: 0.25rem; }
.pe-line { display: grid; grid-template-columns: 44px 1fr auto; gap: 0.85rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.pe-line:last-child { border-bottom: none; }
.pe-line__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--violet-tint); border: 1px solid rgba(108,92,231,0.15); display: inline-flex; align-items: center; justify-content: center; }
.pe-line__icon img { width: 26px; height: 26px; object-fit: contain; }
.pe-line__name { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.pe-line__desc { font-size: 0.8rem; color: var(--ink-muted); margin-top: 0.1rem; }
.pe-line__amount { font-weight: 700; font-size: 1rem; color: var(--ink); white-space: nowrap; }

.pe-total { display: flex; align-items: baseline; justify-content: space-between; padding: 1.25rem 0 0.75rem; border-top: 2px solid var(--border-strong); margin-top: 0.5rem; font-weight: 700; }
.pe-total__amount { font-size: 1.4rem; letter-spacing: -0.02em; color: var(--violet-light); }

.pe-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); margin-top: 0.5rem; }
.pe-meta__item { display: flex; gap: 0.65rem; align-items: center; }
.pe-meta__item img { width: 22px; height: 22px; }
.pe-meta__k { font-size: 0.78rem; color: var(--ink-muted); }
.pe-meta__v { font-size: 0.88rem; font-weight: 600; color: var(--ink); }

.pe-aside__label { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.85rem; }
.pe-invoice { background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: 10px; padding: 1.1rem 1.25rem; }
.pe-invoice__title { font-weight: 700; font-size: 1rem; margin-bottom: 0.15rem; color: var(--ink); }
.pe-invoice__meta { font-size: 0.8rem; color: var(--ink-muted); }
.pe-invoice__sep { border-top: 1px dashed var(--border-strong); margin: 0.9rem 0; }
.pe-invoice__row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.2rem 0; font-size: 0.9rem; }
.pe-invoice__row span:first-child { color: var(--ink-muted); }
.pe-invoice__total { font-size: 1rem; font-weight: 700; }
.pe-invoice__total span:last-child { color: var(--violet-light); font-size: 1.1rem; }
.pe-invoice__total span:first-child { color: var(--ink); }
.pe-invoice__discount { color: var(--green); font-weight: 600; }
.pe-invoice__discount span:first-child { color: var(--green); }

.pe-trust { list-style: none; padding: 0; margin: 1.1rem 0; display: flex; flex-direction: column; gap: 0.45rem; }
.pe-trust li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.85rem; color: var(--ink); font-weight: 500; }
.pe-trust li img { width: 20px; height: 20px; }

.pe-btn-pay {
  width: 100%; display: flex; align-items: center; justify-content: center;
  background: var(--violet); color: #fff; border: none;
  padding: 0.85rem 1rem; border-radius: 10px;
  cursor: pointer;
  transition: background 150ms;
}
.pe-btn-pay:hover { background: #7b6dff; }
.pe-btn-pay:disabled { opacity: 0.7; cursor: not-allowed; }
.pe-btn-pay__title { display: block; font-weight: 700; font-size: 0.98rem; line-height: 1.15; }
.pe-btn-pay__sub { display: block; font-size: 0.74rem; opacity: 0.88; line-height: 1.1; margin-top: 0.15rem; }

.pe-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin-top: 0.6rem; }
.pe-btn-changes, .pe-btn-download {
  background: var(--bg-card); color: var(--ink);
  border: 1.5px solid var(--border-strong);
  padding: 0.7rem 0.75rem; border-radius: 10px;
  font-weight: 600; font-size: 0.82rem; cursor: pointer;
  transition: border-color 150ms;
  text-align: center; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; line-height: 1.15;
}
.pe-btn-changes:hover, .pe-btn-download:hover { border-color: var(--violet-light); }

.pe-terms { text-align: center; font-size: 0.72rem; color: var(--ink-dim); margin-top: 0.85rem; }

/* Override modal card bg for dark theme */
.fml-modal__card {
  background: var(--bg-card) !important;
  color: var(--ink);
}
.fml-modal__close {
  background: transparent !important;
  color: var(--ink-muted);
}

/* ═══════════════════════════════════════════════════════════════
   Page orbital backdrop — long vertical trajectory curves + stars
   that run through the full page behind content.
   ═══════════════════════════════════════════════════════════════ */
body { position: relative; }
.page-orbits {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
/* Every top-level section/nav/footer sits above the backdrop.
   (Modals are already position:fixed with z-index:100 — don't touch.) */
body > .nav,
body > .hero,
body > section,
body > .footer { position: relative; z-index: 1; }

.page-orbits__curves {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  fill: none;
}
.page-orbits .orb-curve {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}
.page-orbits .orb-curve--dim { stroke: rgba(255, 255, 255, 0.09); }
.page-orbits .orb-curve--faint { stroke: rgba(255, 255, 255, 0.06); }

.orb-bg-star {
  position: absolute;
  width: 2.5px; height: 2.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.35);
  animation: orb-twinkle 4.5s ease-in-out infinite;
}
.orb-bg-star--dim {
  background: rgba(255, 255, 255, 0.4);
  box-shadow: none;
  width: 1.8px; height: 1.8px;
}
.orb-bg-star:nth-child(3n) { animation-delay: 1.1s; }
.orb-bg-star:nth-child(3n+1) { animation-delay: 2.3s; }
@keyframes orb-twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .orb-bg-star { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Mobile polish — tighter spacing, thumb-friendly taps, iOS-safe
   ═══════════════════════════════════════════════════════════════ */

/* Safe-area for iOS notch on fixed nav */
.nav { padding-top: max(0.85rem, env(safe-area-inset-top)); }
.nav-inner { padding-left: max(1.5rem, env(safe-area-inset-left)); padding-right: max(1.5rem, env(safe-area-inset-right)); }
@supports (padding-left: env(safe-area-inset-left)) {
  .nav-inner { padding-left: max(1.5rem, env(safe-area-inset-left)); padding-right: max(1.5rem, env(safe-area-inset-right)); }
}

/* Prevent iOS auto-zoom on input focus — font-size must be ≥16px */
@media (max-width: 640px) {
  .field input, .field textarea, .field select,
  .fml-code__input { font-size: 16px !important; }
}

/* Tablet + phone tweaks */
@media (max-width: 860px) {
  .section { padding: 3.5rem 0; }
  .sh h2 { font-size: clamp(1.55rem, 5.5vw, 1.9rem); }
  .sh-sub { font-size: 0.95rem; }
}

/* Phone (≤640px) */
@media (max-width: 640px) {
  /* Hero — keep room for the 3D solar scene on phones too */
  .hero--centered {
    padding: 4.5rem 0 3.5rem;
    min-height: 560px;
  }
  .hero--centered h1 {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    padding: 0 0.25rem;
    line-height: 1.12;
  }
  .hero--centered .sub {
    margin-top: 1.4rem;
    font-size: 1rem;
    line-height: 1.55;
    padding: 0 0.5rem;
  }
  .hero--centered .cta-row {
    margin-top: 2.25rem;
    gap: 0.7rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0.5rem;
  }
  /* Beefier, more thumb-friendly buttons with clearer hierarchy */
  .hero--centered .cta-row .btn-primary {
    width: 100%; justify-content: center;
    min-height: 54px;
    padding: 1rem 1.25rem;
    font-size: 1rem; font-weight: 700;
    border-radius: 12px;
    box-shadow:
      0 10px 28px -10px rgba(108, 92, 231, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    letter-spacing: -0.005em;
  }
  .hero--centered .cta-row .btn-ghost {
    width: 100%; justify-content: center;
    min-height: 50px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem; font-weight: 600;
    border-radius: 12px;
    background: rgba(162, 155, 254, 0.06);
    border: 1px solid var(--border-strong);
  }
  .hero--centered .cta-row .btn-ghost:hover,
  .hero--centered .cta-row .btn-ghost:active {
    background: rgba(162, 155, 254, 0.10);
    border-color: var(--violet-light);
  }
  .hero-note {
    margin-top: 1.75rem;
    font-size: 0.82rem;
  }

  /* Nav mobile menu spacing */
  .nav { padding: 0.65rem 0; }
  .logo { font-size: 0.95rem; gap: 0.4rem; }
  .logo-mark { width: 24px; height: 24px; }

  /* Guarantee card */
  .guarantee-card {
    padding: 1.25rem 1rem;
    grid-template-columns: 1fr;
    text-align: center; gap: 0.85rem;
  }
  .guarantee-icon { margin: 0 auto; width: 52px; height: 52px; }
  .guarantee-icon svg { width: 32px; height: 32px; }
  .guarantee-copy h2 { font-size: 1.25rem; }
  .guarantee-copy p { font-size: 0.88rem; }

  /* Meet Suprance steps — compact, more vertical breathing room */
  .meet-section { padding: 3rem 0 3.5rem; }
  .meet-steps { gap: 3.5rem; }
  .meet-step { padding: 0.25rem 0; }
  /* Reduce parallax intensity on small screens — mocks would otherwise
     overshoot into neighbouring steps on short viewports. */
  .meet-visual {
    transform: translateY(calc((0.5 - var(--progress, 0.5)) * 14px));
  }
  .meet-copy h3 { font-size: 1.35rem; }
  .meet-copy p { font-size: 0.92rem; margin-top: 0.75rem; }
  .meet-n { font-size: 0.75rem; margin-bottom: 0.4rem; }
  .mock-url { font-size: 0.64rem; }
  .chat { padding: 0.9rem; gap: 0.65rem; }
  .chat-msg--user, .chat-bubble { font-size: 0.82rem; padding: 0.5rem 0.75rem; }
  .chat-avatar { width: 24px; height: 24px; font-size: 0.66rem; }
  .spec-head { padding: 1rem 1rem 0.9rem; }
  .spec-head h4 { font-size: 1.05rem; }
  .spec-head p { font-size: 0.82rem; }
  .spec-stats > div { padding: 0.65rem; }
  .spec-val { font-size: 0.85rem; }
  .spec-chips { padding: 0.85rem 1rem; }
  .spec-chips-row span { font-size: 0.66rem; padding: 0.12rem 0.45rem; }
  .spec-cta { margin: 0 1rem 1rem; font-size: 0.85rem; padding: 0.55rem; }
  .deliver-head { padding: 1rem; }
  .deliver-head h4 { font-size: 1.05rem; }
  .deliver-day-value { font-size: 1.5rem; }
  .deliver-links { padding: 0.65rem 1rem; }
  .deliver-main { font-size: 0.75rem; }
  .deliver-sub { font-size: 0.66rem; }
  .deliver-eng { padding: 0.75rem 1rem 1rem; }

  /* Pricing */
  .pricing-grid { gap: 1rem; }
  .tier-card { padding: 1.35rem 1.15rem; }
  .tier-price { font-size: 2rem; }
  .tier-btn { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 0.85rem; }

  /* Form */
  .form-card { padding: 1.35rem 1.15rem; border-radius: 14px; }
  .field-row { grid-template-columns: 1fr; gap: 0.85rem; }
  .submit-btn { min-height: 52px; }

  /* FAQ */
  .faq-list summary { padding: 0.9rem 1rem; font-size: 0.92rem; }
  .faq-list .answer { padding: 0 1rem 1rem; font-size: 0.88rem; }

  /* Footer */
  .footer { padding: 1.5rem 0 2rem; }
  .footer-legal { font-size: 0.72rem; }
  .footer-credits { font-size: 0.66rem !important; line-height: 1.55; }

  /* Modals — near-fullscreen on phones */
  .fml-modal__card {
    max-width: 100% !important;
    margin: 2vh auto !important;
    border-radius: 12px !important;
  }
  .fml-code-modal .fml-modal__card { padding: 1.5rem 1.15rem 1.25rem; }
  .fml-code__input { font-size: 16px !important; letter-spacing: 0.08em; }
  .fml-code__btn { min-height: 48px; }
  .pe-card { padding: 0 !important; }
  .pe-main { padding: 1.5rem 1.15rem 1.25rem; }
  .pe-aside { padding: 1.5rem 1.15rem; }
  .pe-head__title { font-size: 1.2rem; }
  .pe-meta { grid-template-columns: 1fr; gap: 0.75rem; }
  .pe-btn-row { grid-template-columns: 1fr; }

  /* Page orbits — dim on phones so they don't compete with content */
  .page-orbits .orb-curve { stroke-width: 0.6; opacity: 0.85; }
}

/* Very small phones (≤380px) */
@media (max-width: 380px) {
  .wrap { padding: 0 1.1rem; }
  .hero--centered h1 { font-size: 1.7rem; }
  .tier-price { font-size: 1.8rem; }
  .meet-copy h3 { font-size: 1.2rem; }
}
