/* TransferNode — "Airmail".
   Cobalt sky page, white shipping-label cards, and the red/white/navy airmail stripe as the signature edge.
   Sunflower yellow is the action color; airmail red marks stamps and labels.
   Page-level tokens are for text on blue; .glass (every white card) swaps them for text on white. */
:root {
  --sky: #2d4bff;
  --sky-deep: #1f36d6;
  --navy: #0b1240;
  --sun: #ffd23f;
  --sun-hover: #ffdc66;
  --red: #ff3b3b;
  --paper: #ffffff;
  --mist: #dde3ff;

  /* on the blue page */
  --ink: #ffffff;
  --muted: #d2d9ff;
  --faint: #9eabff;
  --line: rgba(255, 255, 255, 0.18);
  --line-2: rgba(255, 255, 255, 0.34);
  --field: rgba(255, 255, 255, 0.1);
  --field-2: rgba(255, 255, 255, 0.18);

  --danger: #e5242b;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 34px 70px -24px rgba(6, 12, 60, 0.6);
  --airmail: repeating-linear-gradient(-45deg, var(--red) 0 14px, #fff 14px 22px, var(--navy) 22px 36px, #fff 36px 44px);
  --display: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { color: var(--ink); background: var(--sky); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .display { font-family: var(--display); font-stretch: 125%; font-weight: 800; }

/* ---- white label card (the class keeps its old name so the markup doesn't change) ---- */
.glass {
  --ink: var(--navy);
  --muted: #4b5585;
  --faint: #8a91b6;
  --line: rgba(11, 18, 64, 0.1);
  --line-2: rgba(11, 18, 64, 0.2);
  --field: #f3f5ff;
  --field-2: #e6eaff;
  position: relative;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* the signature: an airmail-striped edge on every envelope */
.card, .modal-card, .plan.featured {
  border: 10px solid transparent;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--airmail) border-box;
  background-size: auto, 62.23px 62.23px;
}
/* while files upload, the stripes travel */
@keyframes airmail { to { background-position: 0 0, 62.23px 0; } }
.card.sending { animation: airmail 1.1s linear infinite; }

a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.glass :focus-visible { outline-color: var(--sky); }

/* ---- top bar ---- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 19px; letter-spacing: -.01em; color: #fff; text-decoration: none; }
/* TransferNode mark (public/logo.svg): an "N" made of four connected nodes */
.logo-mark { width: 32px; height: 32px; flex: none; background: url("/logo.svg") center / contain no-repeat; }
.topbar .tag { color: #fff; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); text-decoration: none; }
.topbar .tag:hover { background: var(--field); }

/* ---- layout: the envelope on the left, the pitch on the right ---- */
.layout {
  display: grid; grid-template-columns: minmax(340px, 470px) 1fr; gap: 80px;
  align-items: center; padding: 48px 40px 88px; max-width: 1260px; margin: 0 auto;
}
.hero .eyebrow { display: inline-flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--sun); padding: 7px 12px; border-radius: 4px; margin-bottom: 28px; transform: rotate(-1.5deg); }
.hero .eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero h1 { font-size: clamp(40px, 5.4vw, 82px); line-height: .94; letter-spacing: -.035em; margin: 0 0 26px; font-weight: 900; color: #fff; }
.grad-text { color: var(--sun); }
.hero p { font-size: 19px; color: var(--muted); max-width: 540px; line-height: 1.6; margin: 0; }
.hero ul { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; max-width: 620px; }
/* feature tags: small white parcel labels */
.hero li { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border-radius: 8px; font-size: 13px; color: var(--muted); flex: 1 1 250px; box-shadow: 0 4px 0 rgba(11,18,64,.28); }
.hero li b { color: var(--ink); font-size: 14px; font-weight: 800; }

/* ---- upload card ---- */
.card { overflow: hidden; }
.card-body { padding: 22px; position: relative; }

/* the drop box */
.portal-zone { text-align: center; padding: 30px 18px 24px; position: relative; border: 2px dashed rgba(45,75,255,.35); border-radius: 12px; background: var(--field); transition: border-color .2s, background .2s; }
.portal-zone:hover, .portal-zone.drag { border-color: var(--sky); background: var(--field-2); }
.portal { width: 64px; height: 64px; margin: 0 auto 14px; position: relative; border: 0; padding: 0; background: none; display: grid; place-items: center; border-radius: 50%; }
.portal .ring { display: none; }
.portal .core { width: 64px; height: 64px; border-radius: 50%; background: var(--sky); color: #fff; display: grid; place-items: center; font-size: 32px; font-weight: 400; line-height: 1; box-shadow: 0 10px 24px -8px rgba(45,75,255,.7); }
@keyframes spin { to { transform: rotate(360deg); } }
.portal-zone strong { display: block; font-size: 18px; font-family: var(--display); font-stretch: 125%; font-weight: 800; letter-spacing: -.01em; }
.portal-zone small { color: var(--muted); font-size: 13px; }
.portal-zone .links { margin-top: 10px; font-size: 14px; color: var(--faint); }
.portal-zone .links button { background: none; border: 0; color: var(--sky); font-weight: 600; padding: 0 4px; text-decoration: underline; text-underline-offset: 3px; }
/* full-page drop zone, shown while files are dragged over the window */
.drop-overlay { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; background: rgba(31,54,214,.9); padding: 20px; }
.drop-overlay.on { opacity: 1; visibility: visible; }
.drop-target { height: 100%; border: 3px dashed rgba(255,255,255,.75); border-radius: 26px; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; color: #fff; transform: scale(.97); transition: transform .25s cubic-bezier(.2,.9,.3,1.3); }
.drop-overlay.on .drop-target { transform: scale(1); }
.drop-icon { width: 92px; height: 92px; border-radius: 50%; background: var(--sun); color: var(--navy); display: grid; place-items: center; font-size: 52px; font-weight: 300; line-height: 1; border: 3px solid var(--navy); box-shadow: 0 6px 0 var(--navy); margin-bottom: 8px; }
.drop-target strong { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(26px, 4vw, 44px); letter-spacing: -.02em; }
.drop-target span { font-size: 16px; color: var(--mist); }
@media (prefers-reduced-motion: reduce) { .drop-target { transition: none; } }

.fly-chip { /* GSAP animated file chip: a tiny parcel label */
  position: fixed; z-index: 40; pointer-events: none; padding: 7px 11px; border-radius: 4px; font-family: var(--mono); font-size: 12px; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis;
  background: #fff; border: 1.5px solid var(--navy); color: var(--navy); box-shadow: 0 10px 24px -8px rgba(6,12,60,.5);
}

.files { list-style: none; margin: 16px 0 0; padding: 0; max-height: 210px; overflow: auto; }
.files li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 6px; border-radius: var(--radius-sm); background: var(--field); font-size: 14px; }
.files .ico { width: 32px; height: 32px; border-radius: 6px; flex: none; background: var(--sky); display: grid; place-items: center; font-family: var(--mono); font-size: 9px; font-weight: 600; color: #fff; text-transform: uppercase; }
.files .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files .size { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.files .rm { border: 0; background: none; color: var(--faint); font-size: 18px; line-height: 1; padding: 2px 6px; border-radius: 6px; }
.files .rm:hover { color: var(--danger); background: rgba(229,36,43,.08); }
.files::-webkit-scrollbar { width: 6px; } .files::-webkit-scrollbar-thumb { background: var(--field-2); border-radius: 6px; }

.meter { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.meter .bar { height: 6px; border-radius: 6px; background: var(--field-2); overflow: hidden; margin-top: 7px; }
.meter .bar i { display: block; height: 100%; background: var(--sky); width: 0; transition: width .3s; }
.meter.over { color: var(--danger); } .meter.over .bar i { background: var(--danger); }

.field { margin-top: 12px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid transparent; border-radius: var(--radius-sm); padding: 12px 14px; background: var(--field); outline: none; transition: border-color .15s, background .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sky); background: #fff; }
.field textarea { resize: vertical; min-height: 64px; }
.field select option { background: #fff; color: var(--navy); }
.row { display: flex; gap: 10px; align-items: center; }
.row label { font-size: 14px; color: var(--muted); white-space: nowrap; }

.card-foot { border-top: 1.5px dashed var(--line-2); padding: 18px 22px; display: flex; justify-content: flex-end; gap: 10px; }

/* buttons: sunflower = the action (with a navy press-shadow); ghost = everything else */
.btn {
  position: relative; border: 2px solid var(--navy); border-radius: 12px; padding: 12px 24px; font-weight: 800; font-stretch: 112%; letter-spacing: -.005em;
  background: var(--sun); color: var(--navy); text-decoration: none; display: inline-block;
  box-shadow: 0 4px 0 var(--navy); transition: transform .1s, box-shadow .1s, background .15s;
}
.btn:hover:not(:disabled) { background: var(--sun-hover); transform: translateY(-1px); box-shadow: 0 5px 0 var(--navy); }
.btn:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; font-weight: 700; }
.btn.ghost:hover:not(:disabled) { background: var(--field); border-color: var(--ink); box-shadow: none; transform: none; }
.btn.ghost:active:not(:disabled) { transform: none; }
.btn.block { width: 100%; }

.error { color: var(--danger); font-size: 14px; margin-top: 10px; min-height: 1em; }

/* ---- progress ---- */
.progress-view { text-align: center; padding: 36px 24px; }
.ring-wrap { width: 190px; height: 190px; margin: 0 auto 20px; position: relative; }
.ring-wrap svg { transform: rotate(-90deg); }
.ring-wrap .pct { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-stretch: 125%; font-size: 40px; font-weight: 900; letter-spacing: -.03em; }
.progress-view h2 { margin: 0 0 6px; font-size: 20px; }
.progress-view p { margin: 0; color: var(--muted); font-size: 13px; font-family: var(--mono); overflow-wrap: anywhere; }

/* ---- done ---- */
.done-view { padding: 32px 24px; text-align: center; }
.done-view .check { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 700; margin: 0 auto 16px; color: var(--navy); background: var(--sun); border: 2px solid var(--navy); box-shadow: 0 4px 0 var(--navy); }
.done-view h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.02em; }
.done-view p { color: var(--muted); margin: 0 0 20px; }
.linkbox { display: flex; gap: 8px; }
.linkbox input { flex: 1; border: 1.5px solid var(--sky); border-radius: var(--radius-sm); padding: 12px 14px; font-family: var(--mono); font-size: 13px; background: var(--field); min-width: 0; color: var(--sky); font-weight: 600; }
.done-actions { margin-top: 16px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---- modal (ad gate) & walls ---- */
.modal { position: fixed; inset: 0; background: rgba(11,18,64,.62); display: none; place-items: center; padding: 16px; z-index: 50; }
.modal.open { display: grid; }
.modal-card { max-width: 440px; width: 100%; padding: 28px 24px; text-align: center; }
.modal-card h2 { margin: 12px 0 8px; font-size: 23px; letter-spacing: -.02em; }
.modal-card p { color: var(--muted); margin: 0 0 22px; line-height: 1.6; }
.google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .3; }
.orb { width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--sky); color: #fff; }
.orb.warn { background: var(--red); }
.spinner { width: 38px; height: 38px; border: 4px solid var(--field-2); border-top-color: var(--sky); border-radius: 50%; animation: spin .8s linear infinite; margin: 8px auto 18px; }
.house-ad { display: block; text-decoration: none; color: inherit; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 16px; margin: 0 0 20px; text-align: left; background: var(--field); }
.house-ad .sp { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.house-ad strong { display: block; margin: 4px 0; }
.house-ad span { font-size: 14px; color: var(--muted); }
.countdown { font-family: var(--display); font-stretch: 125%; font-size: 52px; font-weight: 900; margin-bottom: 6px; color: var(--sky); }

.adblock-wall { z-index: 100; }
.adblock-wall .steps { text-align: left; font-size: 14px; color: var(--muted); margin: 0 0 22px; padding: 14px 16px 14px 34px; border-radius: 10px; background: var(--field); line-height: 1.7; }
.adblock-wall .steps b { color: var(--ink); font-weight: 700; }

/* ---- download & unlock pages ---- */
.narrow { max-width: 600px; margin: 36px auto 72px; padding: 0 16px; }
.dl-head { padding: 26px 22px 8px; }
.dl-head h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -.02em; word-break: break-word; }
.dl-head .meta { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.dl-msg { margin: 16px 0 0; padding: 14px 16px; background: var(--field); border-left: 4px solid var(--sun); border-radius: 8px; white-space: pre-wrap; font-size: 15px; }
.dl-files .get { background: var(--sky); color: #fff; font-weight: 700; padding: 7px 14px; border-radius: 8px; text-decoration: none; font-size: 13px; }
.dl-files .get:hover { background: var(--sky-deep); }
.center-msg { text-align: center; padding: 40px 22px; }
.center-msg h1, .center-msg h2 { margin: 14px 0 8px; letter-spacing: -.02em; }
.center-msg p { color: var(--muted); line-height: 1.6; }
.ad-slot { margin: 18px auto 0; max-width: 728px; }
.ad-slot.on { padding: 10px 12px 12px; border-radius: 12px; background: #fff; color: var(--navy); }
.ad-label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8a91b6; margin-bottom: 6px; text-align: center; }
.ad-band { max-width: 1260px; margin: -48px auto 48px; padding: 0 40px; }
@media (max-width: 880px) { .ad-band { padding: 0 16px; margin-top: -24px; } }

.hidden { display: none !important; }

/* phones & small tablets: headline → intro → envelope → feature tags */
@media (max-width: 880px) {
  .layout { grid-template-columns: 1fr; padding: 4px 16px 44px; gap: 18px; }
  .hero { display: contents; }               /* lets the hero's parts sit around the card */
  .hero .eyebrow { display: none; }
  .hero h1 { order: 0; font-size: clamp(32px, 9.6vw, 46px); margin: 0; }
  .hero p { order: 1; font-size: 15px; line-height: 1.5; margin-top: -6px; }
  #card { order: 2; }
  .hero ul { order: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 0; max-width: none; }
  .hero li { padding: 10px 12px; font-size: 12px; line-height: 1.35; box-shadow: 0 3px 0 rgba(11,18,64,.28); }
  .hero li b { font-size: 13px; }
  .topbar { padding: 12px 16px; }
  .topbar .tag { display: none; }
  .logo { font-size: 16px; gap: 8px; }
  .card, .modal-card, .plan.featured { border-width: 7px; }
  .card-body { padding: 16px; }
  .portal-zone { padding: 20px 12px 16px; }
  .portal, .portal .core { width: 54px; height: 54px; }
  .portal .core { font-size: 28px; }
  .portal-zone strong { font-size: 16px; }
  .card-foot { padding: 14px 16px; }
  .card-foot .btn { width: 100%; padding: 14px; font-size: 16px; }   /* thumb-sized */
  .progress-view { padding: 28px 16px; }
  .ring-wrap { width: 160px; height: 160px; }
  .ring-wrap svg { width: 160px; height: 160px; }
  .done-view { padding: 26px 16px; }
  .done-actions .btn { flex: 1 1 0; padding: 12px 10px; }
  .linkbox { flex-direction: column; }
  .linkbox .btn { width: 100%; }
  .narrow { margin: 16px auto 48px; }
  .dl-head { padding: 22px 16px 6px; }
  .dl-head h1 { font-size: 23px; }
  .dl-files .get { padding: 7px 11px; }
  .center-msg { padding: 32px 16px; }
  .modal-card { padding: 24px 18px; }
  .modal-card h2 { font-size: 20px; }
}
@media (max-width: 360px) {
  .hero ul { grid-template-columns: 1fr; }
  .topbar { padding: 12px; }
  .logo { font-size: 14px; gap: 6px; }
  .logo-mark { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .spinner, .card.sending { animation: none !important; }
}

/* ================= accounts & pricing ================= */
html.in-app .web-only { display: none !important; }
.nav { display: flex; align-items: center; gap: 10px; }
.top-right { display: flex; align-items: center; gap: 10px; }
.lang-select { appearance: none; -webkit-appearance: none; cursor: pointer; font-size: 13px; font-weight: 600; color: #fff; padding: 8px 28px 8px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 11px center; max-width: 160px; }
.lang-select:hover { background-color: var(--field); }
.lang-select option { background: #fff; color: var(--navy); }
html.i18n-wait body { visibility: hidden; }
@media (max-width: 520px) {
  .top-right { gap: 6px; min-width: 0; }
  .top-right .nav-link { padding: 8px 6px; }
  .lang-select { max-width: 96px; padding: 7px 22px 7px 10px; font-size: 12px; background-position: right 8px center; }
}
.nav-link { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: var(--radius-sm); }
.nav-link:hover, .nav-link.active { color: #fff; background: var(--field); }
.btn.sm { padding: 8px 16px; font-size: 14px; border-radius: var(--radius-sm); }
.btn.sm:not(.ghost) { box-shadow: 0 3px 0 var(--navy); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2); color: #fff; text-decoration: none; font-size: 13px; max-width: 260px; }
.pill-mail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.badge { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; background: var(--field-2); color: var(--ink); flex: none; }
.badge.plan-starter { background: #fff; color: var(--navy); }
.badge.plan-pro { background: var(--sun); color: var(--navy); }
.badge.plan-ultimate { background: var(--red); color: #fff; }

.modal-card { position: relative; }
.modal-x { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: var(--faint); font-size: 24px; line-height: 1; }
.modal-x:hover { color: var(--ink); }
.code-input { text-align: center; font-size: 24px !important; letter-spacing: .4em; font-family: var(--mono); }
.linkish { background: none; border: 0; color: var(--sky); font-weight: 600; font-size: 14px; margin-top: 12px; text-decoration: underline; text-underline-offset: 3px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200; padding: 12px 18px; border-radius: 10px; background: var(--navy); color: #fff; box-shadow: var(--shadow); font-size: 14px; }

.upsell { margin-top: 10px; font-size: 13px; color: var(--muted); }
.upsell a { color: var(--sky); font-weight: 700; }
.lock-teaser { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); text-decoration: none; padding: 10px 12px; border-radius: var(--radius-sm); border: 1.5px dashed var(--line-2); }
.lock-teaser:hover { border-color: var(--sky); color: var(--ink); }
.lock-teaser b { color: var(--sky); font-weight: 800; }
/* stamped label, like a postmark */
.ad-step { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 4px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); border: 2px solid var(--red); transform: rotate(-2deg); }
.skip-ads { justify-content: center; margin-top: 16px; }

/* pricing page */
.pricing-wrap { max-width: 1220px; margin: 0 auto; padding: 36px 40px 88px; }
.pricing-head { text-align: center; margin: 0 auto 44px; max-width: 800px; }
.pricing-head h1 { font-size: clamp(36px, 5vw, 66px); letter-spacing: -.035em; line-height: .96; margin: 0 0 16px; font-weight: 900; color: #fff; }
.pricing-head p { color: var(--muted); font-size: 18px; margin: 0; }
.toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--field); border: 1.5px solid var(--line-2); margin-top: 28px; }
.toggle button { border: 0; background: none; color: #fff; padding: 9px 18px; border-radius: 9px; font-size: 14px; font-weight: 700; }
.toggle button.on { background: #fff; color: var(--navy); }
.toggle .save { font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--sun); margin-left: 6px; }
.toggle button.on .save { color: var(--red); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1180px) { .plans { grid-template-columns: repeat(2, 1fr); } }
.plan { padding: 26px 22px; display: flex; flex-direction: column; }
.plan.featured { padding: 18px 14px; transform: translateY(-8px); }
.plan .ribbon { position: absolute; top: 18px; right: 16px; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; color: var(--red); border: 2px solid var(--red); transform: rotate(3deg); }
.plan h3 { font-size: 21px; letter-spacing: -.02em; margin: 0 0 4px; font-weight: 900; }
.plan .tagline { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.plan .price { font-family: var(--display); font-stretch: 125%; font-size: 44px; font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--sky); }
.plan .price small { font-family: "Archivo", sans-serif; font-stretch: 100%; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .billed { color: var(--faint); font-size: 13px; margin: 8px 0 18px; min-height: 1.2em; }
.plan .big { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.plan .big div { padding: 12px; border-radius: var(--radius-sm); background: var(--field); }
.plan .big b { display: block; font-family: var(--mono); font-size: 17px; font-weight: 600; white-space: nowrap; }
.plan .big span { font-size: 12px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; font-size: 14px; color: var(--muted); flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--sky); font-size: 13px; font-weight: 900; }
.plan .btn { width: 100%; text-align: center; }
.biz { margin-top: 16px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.addon-sec { margin-top: 16px; padding: 22px 26px; }
.addon-sec p, .biz p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.compare { margin-top: 48px; overflow-x: auto; padding: 8px 6px 6px; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font-family: var(--display); font-stretch: 112%; font-size: 15px; font-weight: 800; }
.compare td { color: var(--muted); }
.compare td:first-child { color: var(--ink); font-weight: 600; }
.faq { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.faq div { padding: 22px; }
.faq h4 { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.faq p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* account page */
.acct { max-width: 860px; margin: 0 auto; padding: 28px 20px 80px; display: grid; gap: 20px; }
.acct-card { padding: 26px; }
.acct-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acct-top h1 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.acct-top p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.acct-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.usage { margin-top: 22px; }
.usage .bar { height: 8px; border-radius: 8px; background: var(--field-2); overflow: hidden; margin-top: 8px; }
.usage .bar i { display: block; height: 100%; background: var(--sky); }
.usage .row2 { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.usage #usage-text { font-family: var(--mono); font-size: 12px; }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
@media (max-width: 640px) { .addons { grid-template-columns: 1fr; } }
.addon { padding: 16px; border-radius: 12px; background: var(--field); border: 2px solid transparent; display: flex; flex-direction: column; gap: 6px; }
.addon.on { border-color: var(--sky); }
.addon b { font-family: var(--display); font-stretch: 125%; font-size: 20px; font-weight: 900; }
.addon span { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.addon .btn { margin-top: 6px; }
.banner { padding: 16px 20px; border-radius: 12px; background: var(--sun); color: var(--navy); font-weight: 600; font-size: 15px; border: 2px solid var(--navy); }
.tlist { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.tlist li { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 14px 16px; border-radius: 12px; background: var(--field); }
.tlist .t-title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tlist .t-meta { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tlist .t-actions { display: flex; gap: 6px; }
.tlist .t-actions button { border: 0; border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 700; background: var(--sky); color: #fff; }
.tlist .t-actions button.del { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1.5px rgba(229,36,43,.35); }
.empty { color: var(--muted); font-size: 14px; padding: 14px 0 0; }

@media (max-width: 880px) {
  .plans, .faq { grid-template-columns: 1fr !important; }
  .plan.featured { transform: none; }
  .pricing-wrap { padding: 16px 16px 60px; }
  .pricing-head { margin-bottom: 28px; }
  .pricing-head p { font-size: 15px; }
  .plan { padding: 22px 18px; }
  .plan.featured { padding: 15px 11px; }
  .plan .price { font-size: 40px; }
  .biz, .addon-sec { padding: 20px 18px; }
  .biz .btn { width: 100%; text-align: center; }
  .faq { margin-top: 28px; gap: 12px; }
  .faq div { padding: 18px; }
  /* comparison table: swipe sideways, row labels stay put */
  .compare { margin-top: 32px; padding: 4px 0; }
  .compare table { min-width: 520px; font-size: 13px; }
  .compare th, .compare td { padding: 11px 12px; }
  .compare th:first-child, .compare td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; min-width: 118px; box-shadow: 6px 0 8px -6px rgba(11,18,64,.18); }
  .compare::after { content: "←  →"; display: block; position: sticky; left: 0; width: 100%; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--faint); padding: 8px 0 4px; }
  .pill-mail { display: none; }
  .nav-link { padding: 8px 8px; }
}

/* very small phones (iPhone SE and similar): keep logo, Pricing and language on one line */
@media (max-width: 360px) {
  .top-right { gap: 4px; }
  .top-right .nav-link { padding: 6px 4px; font-size: 13px; }
  .lang-select { max-width: 78px; padding: 6px 20px 6px 8px; background-position: right 6px center; }
}

/* ================= legal pages & footer ================= */
.legal-wrap { max-width: 860px; margin: 0 auto; padding: 24px 24px 72px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.legal-tabs a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); }
.legal-tabs a:hover { background: var(--field); }
.legal-tabs a[aria-current="page"] { background: #fff; color: var(--navy); border-color: #fff; }
/* the document: a sheet of paper with an airmail edge along the top */
.legal-doc { padding: 52px 56px 56px; overflow: hidden; }
.legal-doc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--airmail); background-size: 62.23px 62.23px; }
.legal-doc h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.02; margin: 0; font-weight: 900; }
.legal-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.legal-note { margin: 18px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--field); font-size: 14px; color: var(--muted); }
.legal-intro { margin: 18px 0 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
#doc-body { margin-top: 34px; display: grid; gap: 30px; }
#doc-body > section { min-width: 0; overflow-wrap: anywhere; }  /* long web addresses wrap instead of widening the page */
.legal-doc section h2 { font-size: 17px; font-stretch: 112%; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.legal-doc section p, .legal-doc section li { font-size: 15px; line-height: 1.7; color: var(--muted); }
.legal-doc section p { margin: 10px 0 0; }
.legal-doc section ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 8px; }
.legal-doc section li b { color: var(--ink); font-weight: 700; }
.legal-doc a { color: var(--sky); font-weight: 600; }

.site-foot { max-width: 1260px; margin: 0 auto; padding: 22px 40px 36px; border-top: 1.5px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot p { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--faint); }

/* "By sending, you agree to…" under the upload button */
.card-foot .btn { flex: none; white-space: nowrap; }
.agree { flex: 1 1 auto; align-self: center; margin: 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.agree a { color: var(--ink); font-weight: 600; }
.report-link { display: block; text-align: center; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.report-link:hover { color: #fff; }

@media (max-width: 880px) {
  .legal-wrap { padding: 8px 16px 48px; }
  .legal-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 16px; padding: 0 16px 4px; scrollbar-width: none; }
  .legal-tabs::-webkit-scrollbar { display: none; }
  .legal-tabs a { white-space: nowrap; flex: none; font-size: 13px; padding: 7px 12px; }
  .legal-doc { padding: 36px 20px 32px; }
  .legal-doc section p, .legal-doc section li { font-size: 14px; }
  .site-foot { padding: 20px 16px 28px; flex-direction: column; align-items: flex-start; }
  .card-foot { flex-wrap: wrap; }
  .agree { order: 2; text-align: center; }
}

/* download page: warning for files that can run code or open as web pages */
.risk-note { display: grid; gap: 2px; margin: 4px 0 12px; padding: 12px 14px; border-radius: 10px; background: #fff4d6; border-left: 4px solid var(--sun); font-size: 13px; line-height: 1.5; color: #5a4a12; }
.risk-note b { color: var(--navy); font-size: 14px; }
.files li.risky .ico { background: var(--red); }

/* narrow phones: file name gets its own line, size + button sit underneath */
@media (max-width: 520px) {
  .dl-files li { flex-wrap: wrap; row-gap: 8px; }
  .dl-files .name { flex: 1 1 calc(100% - 44px); white-space: normal; overflow-wrap: anywhere; }
  .dl-files .size { margin-left: 42px; }
  .dl-files .get { margin-left: auto; }
}

.sender { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 10px; border-radius: 6px; background: var(--field); font-size: 12px; font-weight: 600; color: var(--ink); }
.sender::before { content: "✓"; color: var(--sky); font-weight: 900; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.linkbtn:hover { color: #fff; text-decoration: underline; }

/* narrow phones: long "Link expires after" labels (e.g. Hindi, German) go above the dropdown instead of squeezing it */
@media (max-width: 520px) {
  .field.row { flex-wrap: wrap; gap: 6px; }
  .field.row label { white-space: normal; flex: 1 1 100%; }
}

/* homepage: label over the free features, and the "Paid plans" card under them */
.free-label { margin: 40px 0 10px !important; font-family: var(--mono); font-size: 11px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.free-label + ul { margin-top: 0 !important; }
.upgrade-card { position: relative; margin-top: 18px; max-width: 620px; padding: 22px 24px 24px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: 0 6px 0 rgba(11,18,64,.35); }
.upgrade-card .stamp { position: absolute; top: -12px; right: 18px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--red); padding: 5px 10px; border-radius: 4px; transform: rotate(3deg); }
.upgrade-card h2 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--sun); }
.upgrade-card .from { margin: 4px 0 0 !important; font-size: 14px !important; color: var(--mist) !important; }
.upgrade-card ul { list-style: none; padding: 0; margin: 16px 0 20px !important; display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px 18px; max-width: none; }
.upgrade-card li { display: flex; flex-direction: row; align-items: baseline; gap: 8px; padding: 0 !important; border: 0; box-shadow: none !important; flex: none; font-size: 14px !important; color: #fff !important; background: none !important; }
.upgrade-card li::before { content: "✓"; color: var(--sun); font-weight: 900; }
.upgrade-card .btn { display: inline-block; }
@media (max-width: 880px) {
  .hero .free-label { order: 3; margin: 6px 0 -10px !important; } /* beats .hero p { order: 1 } */
  .upgrade-card { order: 4; margin-top: 8px; padding: 20px 18px 20px; }
  .upgrade-card h2 { font-size: 19px; }
  .upgrade-card ul { grid-template-columns: 1fr; }
  .upgrade-card .btn { width: 100%; text-align: center; }
}

/* ads: a clear gap from the real download buttons, and a "Report this ad" link under each banner */
#ad-slot { margin-top: 40px; }
.ad-report { display: block; margin-top: 6px; text-align: center; font-size: 11px; color: #8a91b6; text-decoration: underline; }
.ad-report:hover { color: var(--navy); }

/* EU/UK/CH: polite ad note instead of the ad-blocker wall */
.ad-note { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 10px 44px 10px 16px; position: relative; background: var(--sun); color: var(--navy); font-size: 14px; font-weight: 600; text-align: center; border-bottom: 2px solid var(--navy); }
.ad-note a { color: var(--navy); text-decoration: underline; font-weight: 800; }
.ad-note button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 6px; background: transparent; color: var(--navy); font-size: 22px; line-height: 1; }
.ad-note button:hover { background: rgba(11,18,64,.1); }
@media (max-width: 520px) { .ad-note { font-size: 13px; text-align: left; justify-content: flex-start; } }

/* Turnstile bot check: empty (and invisible) unless Cloudflare asks for a click */
.turnstile-box { display: flex; justify-content: center; margin-top: 12px; }
.turnstile-box:empty { display: none; }

/* FAQ page (/faq) */
.faq-wrap .pricing-head a { color: #fff; font-weight: 700; }
.faq-wrap .faq { margin-top: 0; }
.faq-wrap .faq h2 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }

/* Homepage fits one screen on desktop: headline also scales with window height, features in a 2×2 grid,
   paid-plans card as a single strip (the full list is on /pricing) */
@media (min-width: 881px) {
  body:has(> main.layout) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
  .layout { flex: 1 0 auto; width: 100%; padding: 24px 40px 28px; gap: 56px; }
  .hero .eyebrow { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(36px, min(5.2vw, 8.6vh), 80px); margin-bottom: 16px; }
  .hero p { font-size: 17px; line-height: 1.55; }
  .hero .free-label { margin: 22px 0 8px !important; }
  .hero .free-label + ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero .free-label + ul li { padding: 10px 14px; }
  .upgrade-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; margin-top: 16px; padding: 14px 18px; border-radius: 12px; }
  .upgrade-card h2 { font-size: 18px; grid-column: 1; }
  .upgrade-card .from { margin: 0 !important; grid-column: 1; }
  .upgrade-card #upgrade-list { display: none !important; }
  .upgrade-card .btn { grid-column: 2; grid-row: 1 / span 2; padding: 8px 16px; white-space: nowrap; }
}

/* Shorter laptop screens (768px and below): tighter header, footer and form so nothing scrolls */
@media (min-width: 881px) and (max-height: 860px) {
  .topbar { padding-top: 12px; padding-bottom: 12px; }
  .layout { padding-top: 12px; padding-bottom: 14px; }
  .site-foot { padding-top: 12px; padding-bottom: 14px; }
  .card-body { padding: 16px 18px; }
  .field textarea { min-height: 44px; height: 44px; }
  .card-foot { padding: 12px 18px; }
  .hero .free-label { margin-top: 16px !important; }
}
/* Narrow desktops / landscape tablets: give the text column more room */
@media (min-width: 881px) and (max-width: 1100px) {
  .layout { grid-template-columns: minmax(320px, 400px) 1fr; gap: 32px; padding-left: 24px; padding-right: 24px; }
  .hero .eyebrow { display: none; }
  .hero p { font-size: 15px; }
}

/* /wetransfer-alternative */
.alt-wrap .alt-cta { margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.alt-wrap .compare caption { caption-side: bottom; padding-top: 12px; font-size: 13px; color: var(--muted); text-align: left; }
.alt-wrap .compare th[scope=row] { text-align: left; font-weight: 700; }
.alt-why { margin: 40px auto 0; max-width: 820px; color: #fff; }
.alt-why h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 14px; }
.alt-why ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; line-height: 1.6; }
.alt-wrap .faq h3 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.alt-note { margin: 32px auto 0; max-width: 820px; font-size: 12px; color: var(--muted); text-align: center; }
.pricing-wrap .alt-cta { margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Virus scan on the download page */
.scan-note { display: flex; align-items: center; gap: 10px; margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: #fff7d6; color: var(--navy); font-size: 14px; font-weight: 600; }
.scan-note .spinner.sm { width: 16px; height: 16px; border-width: 2px; flex: none; margin: 0; }
.scanning .dl-files .get, .scanning #all-btn { pointer-events: none; opacity: .45; }
.dl-files .scanned { font-size: 12px; font-weight: 700; color: #138a4b; white-space: nowrap; }
/* Translated headlines are longer than English and wrap onto extra lines; keep the homepage on one screen */
@media (min-width: 881px) {
  :root:not(:lang(en)) .hero h1 { font-size: clamp(32px, min(4.2vw, 7vh), 68px); }
}

/* Download page: files on the left, TransferNode promotion on the right (free transfers only) */
.dl-layout { max-width: 560px; margin: 0 auto; padding: 32px 20px 64px; }
.dl-layout.with-promo { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; align-items: start; padding: 32px 40px 64px; }
.dl-promo { color: #fff; position: sticky; top: 24px; }
.dl-promo .promo-title { margin: 0 0 10px; font-size: clamp(26px, 3vw, 40px); font-weight: 900; letter-spacing: -.02em; line-height: 1.05; }
.dl-promo .promo-title a { color: #fff; text-decoration: none; }
.dl-promo .promo-title a:hover { color: var(--sun); }
.dl-promo > p:not(.free-label) { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.dl-promo .free-label { margin: 22px 0 8px !important; }
.dl-promo .promo-features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dl-promo .promo-features li { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; border-radius: 8px; font-size: 13px; color: var(--muted); box-shadow: 0 4px 0 rgba(11,18,64,.28); }
.dl-promo .promo-features li b { color: var(--ink); font-size: 14px; font-weight: 800; }
.dl-promo .promo-cta { display: inline-block; margin-top: 16px; }
@media (max-width: 880px) {
  .dl-layout, .dl-layout.with-promo { grid-template-columns: 1fr; padding: 8px 16px 44px; gap: 28px; }
  .dl-promo { position: static; }
  .dl-promo .promo-features li { padding: 10px 12px; font-size: 12px; }
}
@media (max-width: 360px) { .dl-promo .promo-features { grid-template-columns: 1fr; } }
