/* ============================================================
   LetsSend - visual system
   iOS-inspired frosted glass, cool neutral canvas, a single
   restrained magenta accent. Tailwind handles utility layout
   in markup; this file owns material, motion and components.
   ============================================================ */

:root {
  /* Type families (formerly supplied by the Tailwind @theme block). Fonts
     themselves load via Google Fonts + Fontshare in layout.php. */
  --font-display: "Montserrat Alternates", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Satoshi", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --ink: #333639;
  --ink-soft: #5B5E69;
  --ink-muted: #8E909B;
  --canvas: #EDEFF3;
  --canvas-2: #E6E9F0;
  --line: #E2E4EB;
  --line-soft: rgba(51, 54, 57, 0.07);

  /* brand blue family (#008CCF fills are AA-safe for white text; #015E8F for small text) */
  --accent: #008CCF;
  --accent-strong: #015E8F;
  --accent-soft: #31A0D9;
  --accent-bright: #008CCF;

  /* ambient aurora hues (decorative, low opacity) - brand blues */
  --au-indigo: #008CCF;
  --au-violet: #008CCF;
  --au-sky: #31A0D9;
  --au-pink: #5BB4E3;

  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 13px;

  --shadow-glass: 0 12px 44px -16px rgba(20, 21, 26, 0.22), 0 4px 14px -8px rgba(20, 21, 26, 0.12);
  --shadow-pop: 0 26px 60px -28px rgba(20, 21, 26, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
}

.text-accent {
  color: var(--accent);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Headings: Montserrat. Everything else inherits Satoshi from <body>. */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  text-transform: lowercase;
}

/* tags / labels: lowercase Montserrat Alternates */
.eyebrow,
.footer-head,
.opt-label,
.pill,
.pro-tag,
.post-cat,
.file-thumb,
.dl-file-thumb,
.dl-from {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  text-transform: lowercase;
}

/* Full-screen, no-scroll home (desktop). Mobile is allowed to scroll. */
@media (min-width: 1024px) {

  html.is-home,
  html.is-home body {
    height: 100%;
    overflow: hidden;
  }
}

/* ---------- focus + skip ---------- */
:where(a, button, input, select, textarea, [tabindex], [role="button"], summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

.focus-ring:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  left: 50%;
  top: -120px;
  transform: translateX(-50%);
  z-index: 100;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 14px;
}

/* ---------- typography helpers ---------- */
.text-gradient {
  background: linear-gradient(108deg, var(--accent-strong), var(--au-violet) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--accent-strong);
}

/* ---------- brand ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--accent);
  box-shadow: 0 6px 16px -7px rgba(0, 140, 207, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand-name {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ============================================================
   Glass
   ============================================================ */
.glass {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(30px) saturate(185%);
  -webkit-backdrop-filter: blur(30px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-glass);
}

@media (prefers-reduced-transparency: reduce) {

  .glass,
  .glass-nav,
  .toast {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* ============================================================
   Floating glass nav
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  padding: 12px 16px 0;
}

.glass-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  height: 60px;
  padding: 0 12px 0 14px;
  border-radius: 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 34px -18px rgba(20, 21, 26, 0.3);
  transition: box-shadow 0.3s var(--ease);
}

/* Frost lives on a pseudo-element so it does NOT create a backdrop-filter
   context for the dropdown nested inside (which would kill the dropdown's blur). */
.glass-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(26px) saturate(185%);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
}

header.is-scrolled .glass-nav {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 14px 40px -18px rgba(20, 21, 26, 0.34);
}

header.is-scrolled .glass-nav::before {
  background: rgba(255, 255, 255, 0.78);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(20, 21, 26, 0.05);
}

.nav-link.is-active {
  color: var(--ink);
  background: rgba(20, 21, 26, 0.06);
}

.dropdown-chevron {
  transition: transform 0.25s var(--ease);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.98);
  min-width: 230px;
  padding: 7px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(30px) saturate(185%);
  -webkit-backdrop-filter: blur(30px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 44px -18px rgba(20, 21, 26, 0.32);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

[data-dropdown].is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

[data-dropdown].is-open .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-item {
  display: block;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.18s, color 0.18s;
}

.dropdown-item:hover {
  background: rgba(0, 140, 207, 0.08);
  color: var(--accent-strong);
}

.dropdown-divider {
  height: 1px;
  margin: 6px 4px;
  background: var(--line);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-login {
  display: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
}

.nav-login:hover {
  color: var(--ink);
  background: rgba(20, 21, 26, 0.05);
}

.nav-actions .btn-primary {
  display: none;
}

@media (min-width: 640px) {
  .nav-login {
    display: inline-flex;
  }

  .nav-actions .btn-primary {
    display: inline-flex;
  }
}

.nav-burger {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav-burger {
    display: none;
  }
}

/* Mobile panel */
.mobile-panel {
  padding: 8px 16px 0;
  max-width: 1180px;
  margin: 0 auto;
}

.mobile-sheet {
  padding: 10px;
  border-radius: var(--r-md);
}

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.mobile-link::-webkit-details-marker {
  display: none;
}

.mobile-link:hover {
  background: rgba(20, 21, 26, 0.05);
}

.mobile-group[open] .dropdown-chevron {
  transform: rotate(180deg);
}

.mobile-sub {
  display: flex;
  flex-direction: column;
  margin: 2px 0 6px 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.mobile-sublink {
  padding: 9px 4px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.mobile-actions {
  display: flex;
  gap: 8px;
  padding: 4px;
}

.mobile-cta-ghost {
  flex: 1;
  text-align: center;
  padding: 11px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
}

.mobile-cta-solid {
  flex: 1;
  justify-content: center;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 20px -10px rgba(1, 94, 143, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(1, 94, 143, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.18s var(--ease), border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 140, 207, 0.4);
  color: var(--accent-strong);
}

/* ============================================================
   Aurora (frosted ambient gradient - cool, low pink)
   ============================================================ */
.aurora,
.page-aura {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  will-change: transform;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
}

.aurora-1 {
  width: 44vw;
  height: 44vw;
  max-width: 600px;
  max-height: 600px;
  top: -8%;
  right: -4%;
  background: radial-gradient(circle at 35% 35%, var(--au-indigo), transparent 66%);
}

.aurora-2 {
  width: 40vw;
  height: 40vw;
  max-width: 540px;
  max-height: 540px;
  top: 24%;
  left: -10%;
  background: radial-gradient(circle at 50% 50%, var(--au-violet), transparent 64%);
  opacity: 0.42;
}

.aurora-3 {
  width: 30vw;
  height: 30vw;
  max-width: 420px;
  max-height: 420px;
  bottom: -6%;
  right: 24%;
  background: radial-gradient(circle at 50% 50%, var(--au-pink), transparent 66%);
  opacity: 0.3;
}

.home-screen .aurora-1 {
  animation: drift-a 26s ease-in-out infinite alternate;
}

.home-screen .aurora-2 {
  animation: drift-b 30s ease-in-out infinite alternate;
}

@keyframes drift-a {
  to {
    transform: translate3d(calc(var(--px, 0px) - 28px), calc(var(--py, 0px) + 30px), 0);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(calc(var(--px, 0px) + 32px), calc(var(--py, 0px) - 24px), 0);
  }
}

/* ============================================================
   HOME - full-screen, no scroll
   ============================================================ */
.home-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow: hidden;
}

.home-grid {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 104px 20px 16px;
}

@media (min-width: 1024px) {
  .home-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 40px;
    padding: 96px 24px 16px;
  }

  /* uploader on the left, copy on the right (DOM keeps copy first for mobile) */
  .home-uploader {
    order: 1;
  }

  .home-copy {
    order: 2;
  }
}

.home-copy {
  max-width: 540px;
}

.home-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  text-transform: none;
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0;
}

.home-lead {
  margin: 22px 0 0;
  max-width: 30ch;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.home-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.home-uploader {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .home-uploader {
    justify-content: flex-start;
  }
}

.home-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 24px 18px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.home-strip-links {
  display: flex;
  gap: 18px;
}

.home-strip-links a {
  transition: color 0.18s;
}

.home-strip-links a:hover {
  color: var(--accent-strong);
}

@media (max-width: 1023px) {
  .home-strip {
    display: none;
  }
}

/* ============================================================
   Upload card
   ============================================================ */
.upload-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  padding: 16px;
  border-radius: var(--r-lg);
  max-height: calc(100dvh - 132px);
}

@media (max-width: 1023px) {
  .upload-card {
    max-height: none;
  }
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 18px;
  border-radius: var(--r-md);
  flex: none;
  border: 1.5px dashed rgba(142, 144, 155, 0.45);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.dropzone:hover {
  border-color: rgba(0, 140, 207, 0.45);
  background: rgba(255, 255, 255, 0.62);
}

.dropzone.is-drag {
  border-color: var(--accent);
  border-style: solid;
  background: rgba(0, 140, 207, 0.06);
  transform: scale(1.01);
}

.dz-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.dz-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.dz-sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.dz-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  transition: transform 0.16s var(--ease), border-color 0.2s, color 0.2s;
}

.chip-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 140, 207, 0.4);
  color: var(--accent-strong);
}

.chip-btn svg {
  color: var(--accent);
}

.upload-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  margin: 0 -4px;
  padding: 0 4px;
}

.file-list {
  margin-top: 14px;
}

.file-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 8px;
}

.file-list-meta {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

.link-btn {
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-muted);
}

.link-btn:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.file-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0 4px 0 0;
  list-style: none;
  max-height: 196px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.file-items::-webkit-scrollbar {
  width: 7px;
}

.file-items::-webkit-scrollbar-thumb {
  background: rgba(142, 144, 155, 0.4);
  border-radius: 99px;
}

.file-items::-webkit-scrollbar-track {
  background: transparent;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  animation: file-in 0.3s var(--ease) both;
}

@keyframes file-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.file-thumb {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 600;
  text-transform: lowercase;
  color: var(--ink-soft);
  background: rgba(20, 21, 26, 0.05);
}

.file-meta {
  min-width: 0;
  flex: 1;
}

.file-name {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
}

.file-remove {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  border: 0;
  background: none;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}

.file-remove:hover {
  color: var(--accent);
  background: rgba(0, 140, 207, 0.08);
}

.upload-fields {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 14px;
}

.segmented {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: var(--r-sm);
  background: rgba(20, 21, 26, 0.05);
}

.seg-btn {
  position: relative;
  z-index: 1;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s;
}

.seg-btn.is-active {
  color: var(--ink);
}

.seg-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px -2px rgba(20, 21, 26, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.28s var(--ease);
}

.segmented.mode-link .seg-thumb {
  transform: translateX(100%);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.field label {
  padding-left: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.field label .opt {
  color: var(--ink-muted);
  font-weight: 400;
}

.field input,
.field textarea,
.select-wrap select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-muted);
}

.field input:focus,
.field textarea:focus,
.select-wrap select:focus {
  outline: none;
  border-color: rgba(0, 140, 207, 0.5);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 140, 207, 0.12);
}

.field textarea {
  resize: none;
}

.link-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.16);
}

.link-note svg {
  color: var(--au-indigo);
  flex: none;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

.select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
}

.btn-send {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  flex: none;
  margin-top: 14px;
  padding: 14px 20px;
  border-radius: 14px;
  overflow: hidden;
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: var(--accent);
  box-shadow: 0 12px 26px -12px rgba(1, 94, 143, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -14px rgba(1, 94, 143, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-send:active {
  transform: translateY(0) scale(0.99);
}

.btn-send[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-send.is-sending {
  pointer-events: none;
}

.send-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: var(--p, 0%);
  background: rgba(255, 255, 255, 0.18);
  transition: width 0.3s var(--ease);
}

/* success state */
.send-success {
  text-align: center;
  padding: 6px 4px 2px;
}

.send-success-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin: 0 auto;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 26px -12px rgba(1, 94, 143, 0.55);
}

.send-success-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 21px;
  font-weight: 600;
  margin: 16px 0 0;
  letter-spacing: -0.01em;
}

.send-success-body {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 6px 0 0;
}

.send-link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 6px 6px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.send-link-row span {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

/* ============================================================
   Page scaffold (non-home pages)
   ============================================================ */
.page {
  position: relative;
  padding-top: 92px;
}

.page-aura {
  height: 720px;
  bottom: auto;
  -webkit-mask: linear-gradient(to bottom, #000 50%, transparent);
  mask: linear-gradient(to bottom, #000 50%, transparent);
}

.page-aura .aurora-blob {
  opacity: 0.34;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .section {
    padding-top: 88px;
    padding-bottom: 88px;
  }
}

.section-narrow {
  max-width: 780px;
}

.section-tint {
  background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-hero {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  max-width: 820px;
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: 72px;
  }
}

.page-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}

.page-lead {
  margin: 18px 0 0;
  max-width: 60ch;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.page-lead a,
.prose a,
.legal-prose a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section-head-center {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-lead {
  margin: 14px 0 0;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ============================================================
   Bento
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.col-4 {
  grid-column: span 1;
}

.col-5 {
  grid-column: span 1;
}

.col-7 {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .col-4 {
    grid-column: span 4;
  }

  .col-5 {
    grid-column: span 5;
  }

  .col-7 {
    grid-column: span 7;
  }
}

.bento {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.bento:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), var(--shadow-pop);
}

.bento-feature {
  min-height: 240px;
}

.bento-glow {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 140, 207, 0.2), transparent 68%);
  filter: blur(8px);
}

.bento-dark {
  background: var(--ink);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.bento-dark .bento-title,
.bento-dark .bento-title-sm {
  color: #fff;
}

.bento-dark .bento-body {
  color: rgba(255, 255, 255, 0.66);
}

.bento-pro {}

.bento-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 20px 0 0;
  position: relative;
}

.bento-title-sm {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 20px 0 0;
  position: relative;
}

.bento-body {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  position: relative;
}

.feat-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  position: relative;
}

.feat-icon-accent {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 18px -9px rgba(1, 94, 143, 0.6);
}

.feat-icon-soft {
  color: var(--ink);
  background: rgba(20, 21, 26, 0.05);
  border: 1px solid var(--line);
}

.feat-icon-ondark {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.speed-bar {
  margin-top: 22px;
  height: 7px;
  border-radius: 99px;
  background: rgba(20, 21, 26, 0.07);
  overflow: hidden;
}

.speed-bar span {
  display: block;
  height: 100%;
  width: var(--w, 80%);
  border-radius: 99px;
  position: relative;
  background: var(--accent);
}

.speed-bar span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-100%);
  animation: speed-shimmer 2.6s var(--ease) infinite;
}

@keyframes speed-shimmer {
  to {
    transform: translateX(120%);
  }
}

.pro-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-strong);
  background: rgba(0, 140, 207, 0.1);
  border: 1px solid rgba(0, 140, 207, 0.22);
}

.pro-tag-inline {
  position: static;
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
}

/* ============================================================
   Steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
}

.step {
  position: relative;
  padding: 26px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

@media (min-width: 768px) {
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 46px;
    right: -26px;
    width: 26px;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(0, 140, 207, 0.5), transparent);
  }
}

.step-no {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-strong);
  background: rgba(0, 140, 207, 0.08);
}

.step-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 18px 0 0;
}

.step-body {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ============================================================
   Pricing
   ============================================================ */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}

.price-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
}

.price-card-pro {
  border-color: rgba(0, 140, 207, 0.28);
}

.price-pro-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(0, 140, 207, 0.16), transparent 68%);
}

.price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  position: relative;
}

.price-name {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.price {
  margin: 0;
  text-align: right;
}

.price-num {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price-per {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-left: 3px;
}

.price-desc {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
}

.price-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px 0;
  padding: 13px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.18s var(--ease), box-shadow 0.25s, border-color 0.2s, color 0.2s;
}

.price-cta-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.price-cta-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 140, 207, 0.4);
  color: var(--accent-strong);
}

.price-cta-solid {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 12px 26px -12px rgba(1, 94, 143, 0.55);
}

.price-cta-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -14px rgba(1, 94, 143, 0.6);
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.price-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='m2.5 6 2.4 2.4L9.5 3.8' stroke='%23008CCF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat, rgba(0, 140, 207, 0.1);
}

.price-foot {
  text-align: center;
  margin: 32px auto 0;
  max-width: 52ch;
  font-size: 14px;
  color: var(--ink-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-group-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 36px 0 14px;
}

.faq-group-title:first-child {
  margin-top: 0;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink-soft);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

.faq-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  left: 7px;
  top: 0;
  width: 2px;
  height: 16px;
}

.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ============================================================
   Prose / legal
   ============================================================ */
.prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prose p {
  margin: 0 0 18px;
}

.legal-prose h2 {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 36px 0 12px;
  scroll-margin-top: 100px;
}

.legal-prose ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.legal-prose li {
  margin-bottom: 8px;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.legal-toc a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  transition: color 0.2s, border-color 0.2s;
}

.legal-toc a:hover {
  color: var(--accent-strong);
  border-color: rgba(0, 140, 207, 0.4);
}

/* ============================================================
   Values / Help / Stats / Advertise
   ============================================================ */
.value-grid,
.help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 700px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-card,
.help-card {
  padding: 26px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.help-card {
  display: block;
}

.value-card:hover,
.help-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}

.value-title,
.help-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 18px 0 0;
}

.value-body,
.help-body {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.help-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.help-contact-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.help-contact-body {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  padding: 30px 26px;
  border-radius: var(--r-lg);
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--accent-strong);
}

.stat-label {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.advertise-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.advertise-contact p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}

/* ============================================================
   Blog
   ============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}

.post-thumb {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--canvas-2);
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.post-card:hover .post-thumb img {
  transform: scale(1.04);
}

.post-body {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 24px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
}

.post-cat {
  color: var(--accent-strong);
  font-weight: 600;
}

.post-read {
  color: var(--ink-muted);
}

.post-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 10px;
  color: var(--ink);
}

.post-excerpt {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 68px 28px;
  border-radius: 30px;
  background: var(--ink);
  box-shadow: var(--shadow-pop);
}

.cta-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.95;
  background: radial-gradient(circle at 16% 20%, rgba(0, 140, 207, 0.42), transparent 44%), radial-gradient(circle at 84% 82%, rgba(0, 140, 207, 0.4), transparent 46%), radial-gradient(circle at 60% 6%, rgba(56, 189, 248, 0.18), transparent 42%);
}

.cta-inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

.cta-lead {
  margin: 14px auto 0;
  max-width: 42ch;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.18s var(--ease), box-shadow 0.25s;
}

.cta-btn svg {
  color: var(--accent);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -14px rgba(0, 0, 0, 0.55);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-tagline {
  margin: 16px 0 0;
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.footer-head {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin: 0;
}

.footer-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-list a {
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color 0.18s;
}

.footer-list a:hover {
  color: var(--accent-strong);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-social {
  display: flex;
  gap: 4px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--ink-soft);
  transition: color 0.18s, background 0.18s;
}

.social-link:hover {
  color: var(--accent);
  background: rgba(0, 140, 207, 0.07);
}

/* ============================================================
   404
   ============================================================ */
.notfound {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  overflow: hidden;
  padding: 100px 20px 40px;
}

.notfound-card {
  position: relative;
  z-index: 1;
  max-width: 460px;
  width: 100%;
  text-align: center;
  padding: 44px 36px;
  border-radius: var(--r-lg);
}

.notfound-code {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 3.4rem;
  font-weight: 700;
  margin: 0;
  color: var(--accent-strong);
}

.notfound-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 8px 0 0;
}

.notfound-body {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}

/* ============================================================
   Toasts
   ============================================================ */
.toast-region {
  position: fixed;
  inset: auto 0 24px 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glass);
  animation: toast-in 0.4s var(--ease) both;
}

.toast.is-out {
  animation: toast-out 0.3s var(--ease) forwards;
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--accent);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
}

/* ============================================================
   Motion-ready + reduced motion + scrollbars
   ============================================================ */
html.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}

.upload-scroll::-webkit-scrollbar {
  width: 7px;
}

.upload-scroll::-webkit-scrollbar-thumb {
  background: rgba(142, 144, 155, 0.4);
  border-radius: 99px;
}

.upload-scroll::-webkit-scrollbar-track {
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .aurora-blob {
    animation: none !important;
  }

  html.motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   v2.1 - condensed uploader, blue accent, options drawer
   ============================================================ */
.text-accent {
  color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-send:hover {
  background: var(--accent-strong);
}

.price-cta-solid:hover {
  background: var(--accent-strong);
}

/* ---- Condensed dropzone (two tiles) ---- */
.dropzone {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  flex: none;
}

.dropzone:hover {
  background: none;
  border: 0;
  transform: none;
}

.dropzone.is-drag {
  outline: 2px dashed var(--accent);
  outline-offset: 6px;
  border: 0;
  background: none;
  transform: none;
  border-radius: var(--r-md);
}

.dz-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.dz-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 18px 12px;
  border-radius: 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(0, 140, 207, 0.06);
  border: 1px solid rgba(0, 140, 207, 0.14);
  transition: background 0.18s, transform 0.16s var(--ease), border-color 0.18s;
}

.dz-action:hover {
  background: rgba(0, 140, 207, 0.1);
  border-color: rgba(0, 140, 207, 0.28);
  transform: translateY(-1px);
}

.dz-plus {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(0, 140, 207, 0.6);
}

.dz-hint {
  margin: 2px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* ---- Upgrade line ---- */
.upgrade-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 4px;
  font-size: 13px;
  color: var(--ink-muted);
}

.quota-note {
  margin: 12px 0 0;
  padding: 9px 12px;
  border-radius: 11px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-muted);
  background: rgba(142, 144, 155, 0.1);
  border: 1px solid rgba(142, 144, 155, 0.18);
}

/* Limit reached -> prominent branded upsell card */
.quota-note.is-over {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(0, 140, 207, 0.12), rgba(0, 140, 207, 0.05));
  border-color: rgba(0, 140, 207, 0.34);
  box-shadow: 0 12px 28px -18px rgba(0, 140, 207, 0.55);
}

.quota-cap-bolt {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 5px 13px -4px rgba(0, 140, 207, 0.6);
}

.quota-cap-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 150px;
  min-width: 0;
}

.quota-cap-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.quota-cap-sub {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.quota-cap-cta {
  flex: none;
  margin-left: auto;
  padding: 8px 16px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(0, 140, 207, 0.6);
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}

.quota-cap-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 22px -8px rgba(0, 140, 207, 0.72);
}

.upgrade-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--accent-strong);
}

.upgrade-link:hover {
  color: var(--accent-strong);
}

.upgrade-link svg {
  color: var(--accent);
}

/* ---- Floating-label fields ---- */
.ffields {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.ffield {
  position: relative;
  padding: 17px 0 7px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.18s;
}

.ffield:focus-within {
  border-bottom-color: var(--accent);
}

.ffield input,
.ffield textarea {
  width: 100%;
  border: 0;
  background: none;
  padding: 2px 0;
  resize: none;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}

.ffield input:focus,
.ffield textarea:focus {
  outline: none;
}

.ffield textarea {
  min-height: 24px;
}

.ffield label {
  position: absolute;
  left: 0;
  top: 17px;
  transform-origin: left center;
  pointer-events: none;
  font-size: 15px;
  color: var(--ink-muted);
  transition: transform 0.18s var(--ease), color 0.18s;
}

.ffield input:focus~label,
.ffield input:not(:placeholder-shown)~label,
.ffield textarea:focus~label,
.ffield textarea:not(:placeholder-shown)~label {
  transform: translateY(-15px) scale(0.78);
  color: var(--accent-strong);
}

.ffield-aux {
  position: absolute;
  right: 0;
  top: 17px;
  font-size: 13px;
  color: var(--ink-muted);
  pointer-events: none;
}

/* ---- Recipient pill input ---- */
.ffield.is-active > label {
  transform: translateY(-15px) scale(0.78);
  color: var(--accent-strong);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  min-height: 24px;
}

.pill-row input {
  flex: 1 1 90px;
  min-width: 90px;
  width: auto;
  padding: 2px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 3px 5px 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--accent-strong);
  background: rgba(0, 140, 207, 0.1);
  border: 1px solid rgba(0, 140, 207, 0.22);
}

.pill-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pill-x {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--accent-strong);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s, background 0.15s;
}

.pill-x:hover {
  opacity: 1;
  background: rgba(0, 140, 207, 0.18);
}

@keyframes ffield-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.ffield.shake {
  animation: ffield-shake 0.25s var(--ease);
}

.link-mode-note {
  border-bottom: 0;
}

.link-note-text {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.link-note-text svg {
  color: var(--accent);
  flex: none;
}

/* ---- Actions row (expiry + dots) ---- */
.upload-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex: none;
}

.expiry-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 0 12px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  transition: border-color 0.18s;
}

.expiry-pill:focus-within {
  border-color: var(--accent);
}

.expiry-cal {
  flex: none;
}

.expiry-pill select {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding-right: 18px;
}

.expiry-pill select:focus {
  outline: none;
}

.expiry-chev {
  position: absolute;
  right: 12px;
  color: var(--accent-strong);
  pointer-events: none;
}

.dots-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.dots-btn:hover,
.dots-btn[aria-expanded="true"] {
  border-color: rgba(0, 140, 207, 0.45);
  color: var(--accent);
  background: rgba(0, 140, 207, 0.06);
}

.dots-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--canvas);
}

/* ---- Uploader wrap + options pop-out ---- */
.uploader-wrap {
  position: relative;
  width: min(440px, 100%);
}

.options-pop {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% + 12px);
  width: 360px;
  display: flex;
  flex-direction: column;
  z-index: 30;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-16px) scale(0.985);
  transform-origin: left center;
  transition: opacity 0.26s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.options-pop.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.options-backdrop {
  display: none;
}

/* Mobile: no room beside the card, so it becomes a bottom sheet */
@media (max-width: 1023px) {
  .uploader-wrap {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }

  .options-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(20, 21, 26, 0.36);
    opacity: 0;
    /* Closed, this full-screen layer is invisible but its class display:block
       overrides the [hidden] attribute - so it must NOT swallow touches, or the
       whole uploader becomes unclickable on mobile. */
    pointer-events: none;
    transition: opacity 0.28s var(--ease);
  }

  .options-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .options-pop {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: auto;
    z-index: 91;
    max-height: 86vh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transform-origin: center bottom;
  }

  .options-pop.is-open {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .options-pop {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.options-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.options-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.options-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(20, 21, 26, 0.05);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.options-close:hover {
  background: rgba(20, 21, 26, 0.09);
  color: var(--ink);
}

.options-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 22px 22px;
}

.options-foot {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
}

.options-done {
  width: 100%;
}

.opt-delivery {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
}

.opt-radio {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
}

.opt-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--line);
  transition: border-color 0.18s;
}

.radio-mark::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.18s var(--ease);
}

.opt-radio input:checked~.radio-mark {
  border-color: var(--accent);
}

.opt-radio input:checked~.radio-mark::after {
  transform: scale(1);
}

.opt-radio input:focus-visible~.radio-mark {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.opt-group {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.opt-label {
  margin: 0 0 6px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 7px 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color 0.18s;
}

.opt-row>svg {
  color: var(--ink-muted);
  flex: none;
}

.opt-row:hover {
  color: var(--accent-strong);
}

.opt-pro {
  color: var(--ink-muted);
}

.opt-pro:hover {
  color: var(--ink);
}

.opt-pro-bolt {
  display: inline-grid;
  place-items: center;
  color: var(--accent);
}

.opt-select {
  position: relative;
  margin-bottom: 4px;
}

.opt-select select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 7px 22px 7px 0;
}

.opt-select select:focus {
  outline: none;
}

.opt-select svg {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
}

.opt-password {
  position: relative;
  display: flex;
  align-items: center;
}

.opt-password input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 8px 38px 8px 0;
  transition: border-color 0.18s;
}

.opt-password input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.opt-pw-toggle {
  position: absolute;
  right: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: none;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.18s;
}

.opt-pw-toggle:hover,
.opt-pw-toggle.is-on {
  color: var(--accent);
}

.opt-hint {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* ============================================================
   Download / expired / password pages
   ============================================================ */
.dl-page {
  position: relative;
  min-height: 100dvh;
  padding: 104px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dl-center {
  justify-content: center;
}

.dl-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  padding: 28px;
  border-radius: var(--r-lg);
}

.dl-head {
  padding-bottom: 6px;
}

.dl-from {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-strong);
}

.dl-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 8px 0 0;
}

.dl-message {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  white-space: pre-line;
}

.dl-files {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dl-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.dl-file-thumb {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-strong);
  background: rgba(0, 140, 207, 0.1);
}

.dl-file-meta {
  min-width: 0;
  flex: 1;
}

.dl-file-name {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-file-size {
  display: block;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.dl-file-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  color: #fff;
  background: var(--accent);
  transition: background 0.18s, transform 0.16s var(--ease);
}

.dl-file-btn:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

/* Per-file download state */
.dl-file.is-downloaded {
  border-color: rgba(0, 140, 207, 0.32);
  background: rgba(0, 140, 207, 0.05);
}

.dl-file-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
}

.dl-file-status.is-active {
  color: var(--accent-strong);
}

.dl-file-status.is-done {
  color: #15824c;
}

.dl-file-status svg {
  flex: none;
}

.dl-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(0, 140, 207, 0.28);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: ls-spin 0.7s linear infinite;
}

/* Shared button spinner (also used by auth forms in account.css) */
.btn-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ls-spin 0.7s linear infinite;
}

@keyframes ls-spin {
  to { transform: rotate(360deg); }
}

.dl-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.dl-meta {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.dl-copy {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.dl-copy:hover {
  border-color: rgba(0, 140, 207, 0.4);
  color: var(--accent-strong);
}

.dl-state {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  text-align: center;
  padding: 40px 32px;
  border-radius: var(--r-lg);
}

.dl-state-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto;
  border-radius: 16px;
  color: var(--accent);
  background: rgba(0, 140, 207, 0.1);
}

.dl-state-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 16px 0 0;
}

.dl-state-body {
  margin: 10px 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.dl-pw-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.dl-pw-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 15px;
}

.dl-pw-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 140, 207, 0.12);
}

.dl-pw-form .btn-primary {
  justify-content: center;
  padding: 12px;
}

.dl-pw-error {
  margin: 0;
  font-size: 13px;
  color: #c0392b;
}

/* ============================================================
   v2.3 - circular transfer progress, copy highlight, upgrade row, download promo
   ============================================================ */
.opt-row.opt-upgrade {
  font-weight: 600;
}

.opt-row.opt-upgrade:hover {
  color: var(--accent);
}

.opt-upgrade .opt-pro-bolt {
  color: var(--accent);
}

/* circular progress (replaces the form mid-transfer) */
.transfer-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 8px 6px;
}

.progress-ring {
  position: relative;
  width: 170px;
  height: 170px;
}

.progress-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: rgba(20, 21, 26, 0.08);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s var(--ease);
}

.ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.ring-num {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}

.ring-pct {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.ring-sign {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 5px;
  margin-left: 2px;
}

.transfer-title {
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 18px 0 0;
}

.transfer-sub {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-strong);
}

.transfer-bytes {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.transfer-eta {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.transfer-cancel {
  margin-top: 20px;
  width: 100%;
  padding: 13px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-strong);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.transfer-cancel:hover {
  border-color: rgba(0, 140, 207, 0.45);
  background: rgba(0, 140, 207, 0.06);
}

/* copy highlight on the success link row */
.send-link-row span {
  user-select: all;
  transition: color 0.2s;
}

.send-link-row span::selection {
  background: rgba(0, 140, 207, 0.25);
}

.send-link-row.is-copied {
  border-color: var(--accent);
  background: rgba(0, 140, 207, 0.08);
}

/* error state mark */
.send-error-mark {
  background: #fdecea;
  color: #c0392b;
}

/* download-page promo / CTA */
.dl-promo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 540px;
  margin: 14px auto 0;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.dl-promo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-pop);
}

.dl-promo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  color: #fff;
  background: var(--accent);
}

.dl-promo-text {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.dl-promo-text strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  margin-bottom: 1px;
}

.dl-promo-cta {
  flex: none;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}

.dl-promo:hover .dl-promo-cta {
  background: var(--accent-strong);
}

@media (max-width: 520px) {
  .dl-promo {
    flex-wrap: wrap;
  }

  .dl-promo-cta {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   v2.4 - brand logo image
   ============================================================ */
.brand-logo {
  height: 26px;
  width: auto;
  display: block;
}

.site-footer .brand-logo {
  height: 24px;
}

/* ============================================================
   v2.5 - view-transfer button, header usage dropdown
   ============================================================ */
.send-view-btn {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
}

.nav-usage {
  position: relative;
}

.usage-btn {
  display: grid;
  place-items: center;
  gap: 5px;
  grid-auto-flow: column;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.usage-btn:hover,
.nav-usage.is-open .usage-btn {
  color: var(--accent-strong);
  background: rgba(0, 140, 207, 0.06);
}

.usage-btn-label {
  display: none;
}

@media (min-width: 1024px) {
  .usage-btn-label {
    display: inline;
  }
}

.usage-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 268px;
  padding: 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(30px) saturate(185%);
  -webkit-backdrop-filter: blur(30px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 44px -18px rgba(51, 54, 57, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 75;
}

.nav-usage.is-open .usage-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (prefers-reduced-transparency: reduce) {
  .usage-panel {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.usage-title {
  margin: 0 0 12px;
  font-family: var(--font-display, "Montserrat Alternates"), sans-serif;
  font-style: italic;
  text-transform: lowercase;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.usage-row {
  margin-bottom: 14px;
}

.usage-row:last-of-type {
  margin-bottom: 10px;
}

.usage-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13.5px;
}

.usage-row-head b {
  font-weight: 600;
}

.usage-row-head span:last-child {
  color: var(--ink-soft);
}

.usage-bar {
  height: 6px;
  margin-top: 7px;
  border-radius: 99px;
  background: rgba(51, 54, 57, 0.09);
  overflow: hidden;
}

.usage-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}

.usage-bar.is-high span {
  background: #d9534f;
}

.usage-left {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
}

.usage-upgrade {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-strong);
}

.usage-upgrade:hover {
  color: var(--accent);
}
/* ============================================================
   Mobile performance
   Phones don't set prefers-reduced-* but still struggle with
   continuously animated aurora blobs and full-strength
   backdrop-filter (the fixed nav re-blurs the page every scroll
   frame). Calm both on small screens to keep scrolling smooth.
   The desktop experience is untouched.
   ============================================================ */
@media (max-width: 1023px) {
  /* Decorative drift loops -> static. Blobs still render. */
  .home-screen .aurora-1,
  .home-screen .aurora-2,
  .aurora-blob {
    animation: none !important;
  }

  /* Lighter blur kernels = far less GPU work per frame, frost preserved. */
  .glass {
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
  }

  .glass-nav::before {
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
  }

  /* Big decorative blur halos are the single most expensive paints. */
  .aurora-blob {
    filter: blur(48px);
  }
}
