/* SendIt — deep navy + tangerine */
:root {
  color-scheme: dark;
  --bg: #0a1228;
  --bg-2: #0e1936;
  --panel: #111e40;
  --line: #22325f;
  --text: #eaf0ff;
  --muted: #94a3cb;
  --orange: #ff8a1f;
  --orange-hi: #ffa04a;
  --orange-ink: #1c0e00;
  --orange-dim: rgba(255, 138, 31, 0.12);
  --danger: #ff7d6e;
  --display: "Epilogue", "Geologica", sans-serif;
  --body: "Geologica", "Epilogue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(255, 138, 31, 0.13), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased;
  accent-color: var(--orange);
  caret-color: var(--orange);
}
main { flex: 1; }

::selection { background: var(--orange); color: var(--orange-ink); }

a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange-hi); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

.hidden { display: none !important; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(10, 18, 40, 0.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em;
  color: var(--text); text-decoration: none;
}
.logo em { font-style: normal; color: var(--orange); margin-left: -10px; }
.logo-mark {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--orange); color: var(--orange-ink);
}
.logo-mark .i { width: 18px; height: 18px; stroke-width: 2.4; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links .btn-outline[aria-current="page"] { color: var(--orange); border-color: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 20px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 600 0.95rem/1 var(--body);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn-primary { background: var(--orange); color: var(--orange-ink); }
.btn-primary:hover { background: var(--orange-hi); color: var(--orange-ink); }
.btn-primary:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--text); border-color: #34457a; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-lg { min-height: 52px; padding: 12px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; margin-top: 8px; }
.btn:disabled { opacity: .6; cursor: progress; }

/* Hero */
.hero {
  max-width: 900px; margin: 0 auto;
  padding: clamp(40px, 8vw, 88px) clamp(16px, 4vw, 40px) 40px;
  text-align: center;
}
.hero h1 {
  margin: 0 0 18px;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 1.04; letter-spacing: -0.04em;
  text-wrap: balance;
}
.lead { margin: 0 auto 36px; max-width: 34em; color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); }

/* Drop zones */
.drop-zone {
  position: relative;
  display: grid; justify-items: center; gap: 6px;
  padding: 36px 20px;
  border: 2px dashed #3a4f8c; border-radius: 22px;
  background: var(--bg-2);
  cursor: pointer;
  transition: border-color .15s, background-color .15s, transform .2s;
}
.drop-zone:hover, .drop-zone.dragover { border-color: var(--orange); background: #131f42; }
.drop-zone.dragover { transform: scale(1.01); }
.drop-badge {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px;
  border-radius: 50%; background: var(--orange-dim); color: var(--orange);
}
.drop-badge .i { width: 26px; height: 26px; }
.drop-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.drop-hint { margin: 0 0 14px; color: var(--muted); font-size: 0.92rem; }

.drop-xl {
  padding: clamp(40px, 8vw, 72px) 24px;
  border-radius: 28px;
  border-width: 2.5px;
  border-color: rgba(255, 138, 31, 0.6);
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(255, 138, 31, 0.1), transparent 70%),
    var(--bg-2);
}
.drop-xl .drop-badge { width: 76px; height: 76px; background: var(--orange); color: var(--orange-ink); margin-bottom: 14px; }
.drop-xl .drop-badge .i { width: 36px; height: 36px; stroke-width: 2.4; }
.drop-xl .drop-title { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 800; letter-spacing: -0.03em; }
.drop-xl .drop-hint { margin-bottom: 22px; }

/* Stats */
.stats {
  max-width: 900px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 40px) 80px;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stats > div { padding: 12px 20px; text-align: center; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.3rem); letter-spacing: -0.03em; }
.stats span { color: var(--muted); font-size: 0.9rem; }

/* Pages */
.send-panel { max-width: 640px; margin: 0 auto; padding: clamp(24px, 6vw, 64px) 16px; }
.page-narrow { max-width: 440px; margin: 0 auto; padding: clamp(32px, 7vw, 72px) 16px; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 5vw, 36px); }
.card.plain { background: transparent; border: 0; padding: 0; }
.card h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; }
.sub { margin: 0 0 24px; color: var(--muted); font-size: 0.95rem; }
.aside { margin: 20px 0 0; text-align: center; font-size: 0.92rem; }

/* Forms */
.form-group { margin-bottom: 16px; }
label { display: block; margin-bottom: 6px; font-size: 0.85rem; font-weight: 500; color: #c3cdea; }
input[type="email"], input[type="password"], input[type="text"] {
  width: 100%; min-height: 48px; padding: 10px 16px;
  background: var(--bg); color: var(--text);
  border: 1.5px solid #2e4079; border-radius: 12px;
  font: inherit; transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: #6376a8; }
input:hover { border-color: #43589a; }
input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-dim); }
input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 40px var(--bg) inset;
  caret-color: var(--orange);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 12px; }

/* Progress */
.progress-wrap { height: 8px; margin: 16px 0 0; background: #1a2a55; border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--orange); border-radius: 99px; transition: width .18s linear; }

/* Alerts */
.alert {
  margin-bottom: 16px; padding: 12px 14px;
  border: 1px solid var(--line); border-left: 3px solid var(--danger);
  border-radius: 12px; background: rgba(255, 125, 110, 0.09);
  color: #ffc9c1; font-size: 0.92rem;
}

footer { padding: 28px 16px; text-align: center; color: #6376a8; font-size: 0.85rem; border-top: 1px solid var(--line); }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  [data-page]:not(.hidden) .hero > * { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  [data-page]:not(.hidden) .hero > :nth-child(2) { animation-delay: .06s; }
  [data-page]:not(.hidden) .hero > :nth-child(3) { animation-delay: .14s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; padding-bottom: 56px; }
  .stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .nav-links .btn { padding: 8px 14px; }
}
@media (max-width: 380px) {
  .logo { font-size: 1.15rem; }
  .logo-mark { display: none; }
}
