/* Duplios Send — cohesive public product presentation
   Official Duplios brand tokens preserved. Composition redesigned. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/static/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("/static/fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("/static/fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url("/static/fonts/inter-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/static/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("/static/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

:root {
  --duplios-bg: #051424;
  --duplios-surface: #0a1f35;
  --duplios-panel: #0f2a45;
  --duplios-gold: #f2ca50;
  --duplios-gold-deep: #d4af37;
  --duplios-teal: #4fdbc8;
  --duplios-on-surface: #d4e4fa;
  --duplios-muted: #8aa3c4;
  --duplios-warn: #f59e0b;
  --duplios-danger: #ef4444;
  --duplios-border: rgba(212, 228, 250, 0.12);
  --duplios-teal-dim: rgba(79, 219, 200, 0.15);

  --bg0: var(--duplios-bg);
  --bg1: #071a2c;
  --bg-soft: #081929;
  --surface: var(--duplios-surface);
  --gold: var(--duplios-gold);
  --gold-deep: var(--duplios-gold-deep);
  --teal: var(--duplios-teal);
  --teal-dim: var(--duplios-teal-dim);
  --on: var(--duplios-on-surface);
  --muted: var(--duplios-muted);
  --danger: var(--duplios-danger);
  --ok: var(--duplios-teal);
  --border: var(--duplios-border);
  --border-soft: rgba(212, 228, 250, 0.08);

  --radius-soft: 0.25rem;
  --radius-card: 0.5rem;
  --radius: var(--radius-card);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --page-max: 1080px;
  --page-narrow: 720px;
  --gutter: clamp(1.25rem, 3.5vw, 2rem);
  --section-y: clamp(4.25rem, 7vw, 6.25rem);
  --type-display: clamp(2rem, 4.2vw, 2.75rem);
  --type-h2: clamp(1.45rem, 2.8vw, 1.85rem);
  --type-body: 1.0625rem;
  --type-small: 0.9375rem;
  --type-caption: 0.8125rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--on);
  background: var(--duplios-bg);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(79, 219, 200, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(242, 202, 80, 0.04), transparent 50%);
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
a.text-link { text-decoration: underline; text-underline-offset: 3px; }

.shell,
.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.shell-narrow { max-width: var(--page-narrow); }
.wrap { padding-top: 1.25rem; padding-bottom: 3.5rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--duplios-bg);
  padding: 0.65rem 1rem;
  z-index: 100;
  border-radius: var(--radius-soft);
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  border-bottom: 1px solid var(--border-soft);
  background: rgba(5, 20, 36, 0.88);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-height: 48px;
}
.site-brand:hover { text-decoration: none; }
.site-brand img {
  width: 32px;
  height: 39px;
  object-fit: contain;
  flex: 0 0 auto;
}
.site-brand-text { display: flex; flex-direction: column; gap: 0.15rem; }
.site-brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.site-brand-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.25;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
  justify-content: flex-end;
  align-items: center;
}
.site-nav a {
  color: var(--on);
  font-size: 0.9375rem;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.15rem;
  border-radius: var(--radius-soft);
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal);
  text-decoration: none;
}
@media (max-width: 720px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }
  .site-nav {
    justify-content: flex-start;
    width: 100%;
    gap: 0.15rem 1rem;
  }
  .site-brand-desc { font-size: 0.75rem; }
}

.home-main { padding: 0 0 3rem; }
.section {
  padding: var(--section-y) 0;
  border: 0;
  background: transparent;
}
.band-soft {
  background: linear-gradient(180deg, rgba(8, 25, 41, 0.92), rgba(5, 20, 36, 0.55));
}
.section-head { margin-bottom: 2.25rem; max-width: 36rem; }
.section-head-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}
.section h2,
.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: var(--type-h2);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.section-lead {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
  font-size: var(--type-body);
  max-width: 34rem;
}

.hero {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-copy {
  text-align: center;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto 2.35rem;
}
.hero-heading {
  margin: 0 0 0.85rem;
  font-size: var(--type-display);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.hero-sub {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.175rem);
  line-height: 1.6;
}

.confidence-strip {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 100%;
}
.confidence-strip li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.8rem;
  color: var(--on);
  font-size: 0.84rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  line-height: 1.3;
  white-space: nowrap;
}
.confidence-strip li + li {
  border-left: 1px solid rgba(212, 228, 250, 0.18);
}
.confidence-strip svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
  flex: 0 0 auto;
}
@media (max-width: 820px) {
  .confidence-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 0.75rem;
    flex-wrap: wrap;
    text-align: left;
  }
  .confidence-strip li {
    white-space: normal;
    padding: 0.35rem 0.25rem;
    border-left: 0;
    font-size: 0.8125rem;
    justify-content: flex-start;
  }
  .confidence-strip li + li { border-left: 0; }
}

.hero-workspace {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.drop {
  border: 1.5px dashed rgba(79, 219, 200, 0.35);
  border-radius: 0.75rem;
  padding: 2.2rem 1.2rem;
  text-align: center;
  background: rgba(79, 219, 200, 0.035);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  cursor: pointer;
}
.drop:hover, .drop.drag {
  border-color: var(--gold);
  background: rgba(242, 202, 80, 0.05);
  box-shadow: 0 0 0 1px rgba(242, 202, 80, 0.08);
}
.drop-hero {
  margin: 0;
  min-height: clamp(220px, 32vh, 300px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.5rem 2.25rem;
}
.drop .icon,
.drop-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(79, 219, 200, 0.1);
  border: 1px solid rgba(79, 219, 200, 0.22);
  color: var(--gold);
}
.drop-icon svg { width: 28px; height: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .drop-hero .drop-icon { animation: drop-pulse 3.6s var(--ease) infinite; }
  .drop-hero:hover .drop-icon,
  .drop-hero.drag .drop-icon,
  .drop-hero:focus-visible .drop-icon { animation: none; }
}
@keyframes drop-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 202, 80, 0); }
  50% { box-shadow: 0 0 0 12px rgba(242, 202, 80, 0.07); }
}
.drop-title {
  margin: 0;
  font-size: clamp(1.3rem, 2.8vw, 1.55rem);
  font-weight: 700;
  color: var(--on);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.drop-or {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: var(--type-small);
}
.drop-actions {
  margin: 1.25rem 0 0;
  text-align: center;
}
.drop-limits {
  text-align: center;
  margin: 0.9rem 0 0;
  font-size: var(--type-caption);
  color: var(--muted);
}
.file-total { text-align: center; margin-top: 0.65rem; }
.pick-cta {
  width: auto;
  min-width: 200px;
  margin: 0 auto;
  display: inline-flex;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

.details-panel {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}
.details-panel[hidden] { display: none !important; }
.scanner-note { margin-top: 1.15rem; }
.submit-wrap { margin-top: 1.15rem; }
.upload-actions { margin-top: 0.85rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }

.steps-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.steps-flow li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
}
.steps-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-dim);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  flex: 0 0 auto;
}
.steps-flow strong {
  display: block;
  color: var(--on);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
}
.steps-flow span:not(.steps-num) {
  color: var(--muted);
  font-size: var(--type-small);
  line-height: 1.5;
}
@media (min-width: 900px) {
  .steps-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    position: relative;
  }
  .steps-flow li {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 1rem;
    position: relative;
  }
  .steps-num { margin: 0 auto 1rem; }
  .steps-flow li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.2rem;
    left: calc(50% + 1.5rem);
    width: calc(100% - 3rem);
    height: 1px;
    background: linear-gradient(90deg, rgba(79, 219, 200, 0.45), rgba(79, 219, 200, 0.12));
    pointer-events: none;
  }
}

.steps { display: grid; gap: 0.75rem; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.steps li {
  display: grid; grid-template-columns: 36px 1fr; gap: 0.75rem; align-items: start;
  color: var(--muted); line-height: 1.45;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 36px; height: 36px; border-radius: var(--radius-soft);
  display: grid; place-items: center;
  background: var(--teal-dim); color: var(--teal); font-weight: 700; font-size: 0.85rem;
  font-family: var(--font-mono);
}
.steps strong { color: var(--on); display: block; margin-bottom: 0.1rem; }

.trust-why-primary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.trust-feature--primary {
  padding: 1.75rem 1.4rem 1.85rem;
  background: rgba(10, 31, 53, 0.55);
  border: 1px solid var(--border-soft);
  border-radius: 0.65rem;
  min-height: 100%;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.trust-feature--primary:hover {
  border-color: rgba(79, 219, 200, 0.28);
  background: rgba(10, 31, 53, 0.78);
}
.trust-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-soft);
  background: var(--teal-dim);
  color: var(--teal);
  margin-bottom: 1rem;
  border: 0;
}
.trust-feature-icon svg { width: 24px; height: 24px; }
.trust-feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--on);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.trust-feature p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-small);
  line-height: 1.55;
}

.trust-support {
  list-style: none;
  margin: 0;
  padding: 1.35rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
  border-top: 1px solid var(--border-soft);
}
.trust-support li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.75rem;
  align-items: start;
}
.trust-support svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--teal);
  margin-top: 0.15rem;
}
.trust-support strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}
.trust-support span {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 800px) {
  .trust-why-primary,
  .trust-support {
    grid-template-columns: 1fr;
  }
  .trust-support { gap: 1.15rem; }
}

.audience-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.15rem;
}
.audience-card {
  flex: 0 1 calc((100% - 2 * 1.15rem) / 3);
  max-width: calc((100% - 2 * 1.15rem) / 3);
  min-width: 0;
  padding: 1.4rem 1.25rem 1.45rem;
  border: 1px solid var(--border-soft);
  border-radius: 0.65rem;
  background: rgba(10, 31, 53, 0.4);
  display: flex;
  flex-direction: column;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.audience-card:hover {
  border-color: rgba(79, 219, 200, 0.25);
  background: rgba(10, 31, 53, 0.65);
}
.audience-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-soft);
  background: var(--teal-dim);
  color: var(--teal);
  margin-bottom: 0.9rem;
  border: 0;
}
.audience-icon svg { width: 20px; height: 20px; }
.audience-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--on);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.audience-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
}
@media (max-width: 900px) and (min-width: 601px) {
  .audience-card {
    flex: 0 1 calc((100% - 1.15rem) / 2);
    max-width: calc((100% - 1.15rem) / 2);
  }
}
@media (max-width: 600px) {
  .audience-grid { gap: 0.85rem; }
  .audience-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.journey li {
  position: relative;
  display: grid;
  gap: 0.25rem;
  padding: 1.1rem 0 1.1rem 1.75rem;
  border-left: 2px solid rgba(79, 219, 200, 0.28);
  margin-left: 0.45rem;
}
.journey li:last-child {
  border-left-color: transparent;
  padding-bottom: 0.2rem;
}
.journey li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 1.3rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(79, 219, 200, 0.14);
}
.journey-step {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--on);
  letter-spacing: -0.015em;
}
.journey-note {
  color: var(--muted);
  font-size: var(--type-small);
  line-height: 1.45;
}
.security-links { margin-top: 1.75rem; }
@media (min-width: 960px) {
  .journey {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    border-left: 0;
  }
  .journey li {
    margin: 0;
    padding: 0 1rem;
    border-left: 0;
    text-align: center;
  }
  .journey li:last-child { padding-bottom: 0; }
  .journey li::before {
    position: static;
    display: block;
    margin: 0 auto 0.9rem;
    box-shadow: 0 0 0 4px rgba(79, 219, 200, 0.12);
  }
  .journey li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 4px;
    left: calc(50% + 10px);
    width: calc(100% - 20px);
    height: 1px;
    background: linear-gradient(90deg, rgba(79, 219, 200, 0.4), rgba(79, 219, 200, 0.1));
  }
}

.faq-acc {
  margin-top: 0.25rem;
  border-top: 1px solid var(--border-soft);
}
.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 0;
  background: transparent;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 1.05rem 0.1rem;
  font-weight: 600;
  color: var(--on);
  font-size: 1.02rem;
  line-height: 1.35;
  border-radius: var(--radius-soft);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .18s var(--ease), border-color .18s var(--ease);
  margin-top: -4px;
}
.faq-item[open] summary { color: var(--teal); }
.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
  border-color: var(--teal);
}
.faq-item summary:hover { color: var(--teal); }
.faq-item summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.faq-item p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: var(--type-small);
  max-width: 38rem;
  padding-right: 1.75rem;
}

.final-cta {
  text-align: center;
  padding: clamp(4rem, 8vw, 5.5rem) 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(79, 219, 200, 0.07), transparent 60%);
  border: 0;
}
.final-cta-inner { text-align: center; }
.final-cta h2 {
  margin: 0 0 0.65rem;
  font-size: var(--type-h2);
  color: var(--gold);
}
.final-cta .section-lead {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
}
.final-cta-btn,
.final-cta .cta {
  width: auto;
  min-width: 240px;
  display: inline-flex;
  margin-top: 0;
  padding: 0.9rem 1.6rem;
  font-size: 1.02rem;
}

.site-footer {
  margin-top: 0;
  padding: 2.5rem 0 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-soft);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.site-footer a {
  color: var(--muted);
  font-size: 0.875rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-footer a:hover { color: var(--teal); }

.brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.75rem; }
.brand-link { display: flex; flex-shrink: 0; line-height: 0; }
.brand-icon, .brand img {
  width: 28px;
  height: 34px;
  object-fit: contain;
}
.brand h1,
.brand .brand-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.brand .brand-sub,
.brand p { margin: 0.15rem 0 0; font-size: 0.875rem; color: var(--muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin: 0 0 0.75rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.4rem 1.6rem;
}
.card + .card { margin-top: 1.15rem; }

h2 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.tagline { color: var(--muted); margin: 0 0 1.35rem; line-height: 1.6; font-size: 1.02rem; }

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.4rem;
}
.trust span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-soft);
  background: var(--teal-dim);
  border: 1px solid rgba(79, 219, 200, 0.22);
  color: var(--on);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}
.trust svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--teal); }

label { display: block; font-size: 0.875rem; color: var(--muted); margin: 0.85rem 0 0.35rem; font-weight: 500; }
.hint { color: var(--muted); font-size: var(--type-caption); font-weight: 400; }
input, textarea {
  width: 100%;
  background: rgba(5, 20, 36, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-soft);
  color: var(--on);
  padding: 0.75rem 0.85rem;
  font: inherit;
  transition: border-color .15s var(--ease);
}
input:focus, textarea:focus, .drop:focus-visible, button:focus-visible, a.btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-color: rgba(79, 219, 200, 0.6);
}
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
@media (max-width: 640px) { .row.two { grid-template-columns: 1fr; } }

.files { list-style: none; padding: 0; margin: 1rem 0 0; }
.files li {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0.85rem; margin-bottom: 0.45rem;
  background: rgba(5, 20, 36, 0.55);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-soft);
  font-size: 0.88rem;
}
.file-left { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.file-left span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files .meta { color: var(--muted); font-size: 0.78rem; font-family: var(--font-mono); }
.file-ico {
  width: 34px; height: 34px; border-radius: var(--radius-soft); flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--teal-dim); color: var(--teal); font-size: 0.65rem; font-weight: 700;
  font-family: var(--font-mono);
}

button, .btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold);
  color: var(--duplios-bg);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-soft);
  min-height: 44px;
  text-decoration: none;
  transition: background .15s var(--ease);
  box-shadow: none;
}
button:hover, .btn:hover {
  background: var(--gold-deep);
  text-decoration: none;
}
@media (prefers-reduced-motion: no-preference) {
  button, .btn { transition: background .15s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); }
  button:hover, .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22); }
  button:active, .btn:active { transform: translateY(0); }
}
button:disabled { opacity: 0.5; cursor: not-allowed; }
button.secondary, .btn.secondary {
  background: var(--duplios-panel);
  color: var(--on);
  border: 1px solid var(--border);
  font-weight: 500;
}
button.secondary:hover, .btn.secondary:hover {
  border-color: rgba(79, 219, 200, 0.4);
  color: var(--teal);
  background: var(--duplios-panel);
}
button.danger { background: var(--danger); color: #fff; }
.cta { width: 100%; font-size: 0.95rem; margin-top: 0.35rem; font-weight: 600; }
.dl-btn { width: 100%; font-size: 1rem; padding: 0.9rem 1.1rem; }

.progress {
  height: 8px; border-radius: var(--radius-soft); background: rgba(255,255,255,0.06);
  overflow: hidden; margin: 0.85rem 0 0.35rem;
}
.progress > span {
  display: block; height: 100%; width: 0%;
  background: var(--teal);
  border-radius: inherit;
  transition: width .2s linear;
}
.stats-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  color: var(--muted); font-size: 0.8rem; margin-top: 0.35rem;
  font-family: var(--font-mono);
}
.error { color: var(--danger); margin-top: 0.75rem; }
.ok { color: var(--ok); margin-top: 0.75rem; line-height: 1.5; }

.success-check {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  border-radius: var(--radius-soft);
  display: grid; place-items: center;
  background: var(--teal-dim); color: var(--teal); font-size: 1.6rem;
  border: 1px solid rgba(79, 219, 200, 0.22);
}
@media (prefers-reduced-motion: no-preference) {
  .success-check { animation: pop .4s var(--ease); }
}
@keyframes pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.success-panel {
  margin: 1.5rem auto 0;
  max-width: var(--page-narrow);
  background: rgba(10, 31, 53, 0.55);
  border: 1px solid var(--border-soft);
  border-radius: 0.75rem;
  padding: 2.25rem 1.5rem;
  text-align: center;
}
.success-panel .success-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.15rem;
}
.success-panel .success-check svg { width: 28px; height: 28px; }
.success-title { text-align: center; margin-bottom: 0.5rem; }
.success-lead { margin: 0 auto 0.35rem; max-width: 28rem; }

.success-email-masked {
  margin: 0.15rem auto 1rem;
  font-size: 1.2rem;
  font-weight: 650;
  color: var(--on);
  letter-spacing: -0.01em;
  text-align: center;
}

.success-meta { text-align: left; max-width: 28rem; margin: 0 auto 1rem; }
.success-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

footer {
  margin-top: 2rem; text-align: center; color: var(--muted); font-size: 0.82rem; line-height: 1.7;
}
footer nav { display: flex; flex-wrap: wrap; gap: 0.65rem 1rem; justify-content: center; margin-bottom: 0.75rem; }
.sr-only, .honeypot {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.35rem 0.55rem; border-radius: var(--radius-soft); margin: 0.2rem 0.25rem 0.2rem 0;
  background: rgba(242,202,80,.12); color: var(--gold); border: 1px solid rgba(242,202,80,.28);
}
.copy-row { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.copy-row input { flex: 1; }

.center-msg {
  min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 2rem;
}
.center-msg .card { max-width: 420px; width: 100%; }

.upload-panel { margin-top: 1.25rem; }
.stage-label {
  margin: 0 0 0.55rem;
  font-weight: 600;
  color: var(--on);
  font-size: 0.95rem;
}
.stage-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.stage-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.stage-list li.is-active { color: var(--on); font-weight: 600; }
.stage-list li.is-done { color: var(--teal); }
.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  flex: 0 0 auto;
}
.stage-list li.is-active .stage-dot,
.stage-list li.is-done .stage-dot {
  border-color: var(--teal);
  background: var(--teal);
}

.meta-row {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.meta-row strong { color: var(--on); font-weight: 600; }
.dl-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .section { padding: clamp(3rem, 8vw, 3.75rem) 0; }
  .hero { padding-top: 1.75rem; }
}
