:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --bg-strong: #e9f1ee;
  --surface: #ffffff;
  --surface-soft: #eef4ef;
  --ink: #121816;
  --muted: #62706a;
  --border: #d7dfda;
  --accent: #0d7c5f;
  --accent-dark: #075a45;
  --accent-soft: #dff3ec;
  --signal: #1f6feb;
  --signal-soft: #e6efff;
  --pulse-aqua: #45d6a1;
  --pulse-blue: #6f8cff;
  --pulse-violet: #8c7cff;
  --warm: #e0643a;
  --danger: #b43f35;
  --shadow: 0 18px 60px rgba(18, 24, 22, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(246, 247, 244, 0.96)),
    repeating-linear-gradient(
      90deg,
      rgba(18, 24, 22, 0.035) 0,
      rgba(18, 24, 22, 0.035) 1px,
      transparent 1px,
      transparent 64px
    ),
    var(--bg);
  color: var(--ink);
}

body.receiver-page {
  background:
    linear-gradient(180deg, rgba(13, 124, 95, 0.12), transparent 34%),
    var(--bg);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
.button-link {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  min-height: 44px;
}

button {
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
}

button:hover {
  background: var(--accent-dark);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(215, 223, 218, 0.82);
  background: rgba(246, 247, 244, 0.92);
  backdrop-filter: blur(14px);
  padding: 14px max(18px, calc((100% - 1120px) / 2));
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}

.brand-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-link img {
  flex: 0 0 auto;
  border-radius: 8px;
}

.site-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.language-switcher {
  position: relative;
  display: inline-grid;
  grid-template-columns: 22px minmax(104px, 1fr) 16px;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  min-width: 194px;
  border: 1px solid rgba(18, 24, 22, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 244, 239, 0.86)),
    var(--surface);
  box-shadow: 0 12px 34px rgba(18, 24, 22, 0.08);
  color: var(--ink);
  max-width: 100%;
  padding: 6px 11px;
}

.language-switcher:focus-within {
  border-color: rgba(13, 124, 95, 0.55);
  box-shadow:
    0 0 0 3px rgba(13, 124, 95, 0.14),
    0 12px 34px rgba(18, 24, 22, 0.08);
}

.language-switcher-icon,
.language-switcher-chevron {
  fill: none;
  pointer-events: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-switcher-icon {
  width: 22px;
  height: 22px;
  color: var(--accent-dark);
  stroke-width: 1.8;
}

.language-switcher-chevron {
  width: 16px;
  height: 16px;
  color: var(--muted);
  stroke-width: 2.4;
}

.language-switcher-field {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.language-switcher-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.language-switcher select {
  width: 100%;
  min-width: 0;
  border: 0;
  appearance: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  padding: 0;
}

.language-switcher select:focus {
  outline: none;
}

html[dir='rtl'] .language-switcher {
  direction: rtl;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 74svh;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 72px max(22px, calc((100% - 1120px) / 2)) 76px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
}

.hero h1 {
  font-size: 76px;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.transfer-pulse-title {
  position: relative;
  display: inline-block;
  color: var(--ink);
}

.transfer-pulse-title::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
        90deg,
        transparent 0%,
        transparent 36%,
        var(--signal) 46%,
        var(--pulse-aqua) 52%,
        var(--accent) 58%,
        transparent 68%,
        transparent 100%
      )
      100% 50% / 320% 100%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  content: attr(data-text);
  pointer-events: none;
  animation: transfer-title-pulse 2.4s linear infinite;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: #33413c;
  font-size: 20px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 184px;
  padding: 0 18px;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.button-link-primary {
  background: var(--ink);
  color: #fff;
}

.button-link-primary:hover {
  background: #26312d;
}

.button-link-large {
  min-width: 250px;
  min-height: 58px;
  box-shadow: 0 18px 44px rgba(18, 24, 22, 0.2);
  font-size: 18px;
  padding: 14px 28px;
}

.button-link-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.button-link-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.transfer-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(31, 111, 235, 0.14), transparent 28%),
    radial-gradient(circle at 70% 74%, rgba(13, 124, 95, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.68) 43%, rgba(236, 244, 241, 0.9) 100%);
}

.transfer-scene::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 24, 22, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 24, 22, 0.045) 1px, transparent 1px);
  background-size: 78px 78px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
}

.hero-product {
  position: absolute;
  top: 50%;
  right: max(18px, calc((100% - 1240px) / 2));
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(84px, 1fr) minmax(180px, 220px);
  gap: 18px;
  align-items: center;
  width: min(620px, 48vw);
  transform: translateY(-50%);
}

.send-preview,
.receive-preview {
  min-width: 0;
  border: 1px solid rgba(18, 24, 22, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.send-preview {
  padding: 24px;
}

.receive-preview {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.preview-topline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #69a84f;
}

.send-preview h2,
.receive-preview h2 {
  margin-top: 14px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.receive-preview h2 {
  margin-top: 0;
  font-size: 22px;
}

.send-preview p {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.code-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(18, 24, 22, 0.12);
  border-radius: 8px;
  background: #f8faf8;
  color: #33413c;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 13px;
  padding: 0 12px;
}

.code-strip > span {
  min-width: 0;
}

.code-strip > span:not(.copy-mark) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-lock-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--accent-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.copy-mark {
  color: var(--accent-dark);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
}

.file-stack {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.file-chip {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(18, 24, 22, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.file-chip strong,
.file-chip small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-chip strong {
  color: var(--ink);
  font-size: 14px;
}

.file-chip small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.file-kind {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.video-kind {
  background: #ffe5ee;
}

.archive-kind {
  background: var(--signal-soft);
}

.file-kind svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.video-kind svg {
  stroke: #d63866;
}

.archive-kind svg {
  stroke: var(--signal);
}

.transfer-lane {
  position: relative;
  min-height: 170px;
}

.lane-line {
  position: absolute;
  top: 50%;
  left: -18px;
  right: -18px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--signal), var(--accent));
  box-shadow: 0 0 34px rgba(31, 111, 235, 0.22);
}

.lane-line::after {
  position: absolute;
  inset: 0;
  width: 36%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), var(--signal), transparent);
  content: "";
  animation: lane-line-sweep 3.8s cubic-bezier(0.2, 0, 0, 1) infinite;
}

.lane-packet {
  position: absolute;
  display: grid;
  place-items: center;
  top: calc(50% - 16px);
  left: -34px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(18, 24, 22, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(18, 24, 22, 0.18);
  animation: lane-flight 3.8s linear infinite;
}

.lane-packet svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.lane-video-packet {
  background: #ffe5ee;
}

.lane-video-packet svg {
  stroke: #d63866;
}

.lane-folder-packet {
  background: var(--signal-soft);
}

.lane-folder-packet svg {
  stroke: var(--signal);
}

.lane-packet-one {
  animation-delay: -0.2s;
}

.lane-packet-two {
  animation-delay: -1.9s;
}

.lane-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  top: calc(50% - 48px);
  left: 50%;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  padding: 8px;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.lane-label span {
  display: none;
}

.lane-lock-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--signal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.download-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  min-height: 50px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  line-height: 1.12;
  padding: 0 14px;
  text-align: center;
}

.download-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.download-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

@keyframes lane-flight {
  0% {
    left: -34px;
    opacity: 0;
    transform: scale(0.88) rotate(-5deg);
  }
  12% {
    opacity: 1;
  }
  84% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    left: calc(100% + 2px);
    opacity: 0;
    transform: scale(0.96) rotate(5deg);
  }
}

@keyframes lane-flight-vertical {
  0% {
    top: -34px;
    opacity: 0;
    transform: scale(0.88) rotate(-5deg);
  }
  12% {
    opacity: 1;
  }
  84% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    top: calc(100% + 2px);
    opacity: 0;
    transform: scale(0.96) rotate(5deg);
  }
}

@keyframes lane-line-sweep {
  0% {
    opacity: 0;
    transform: translateX(-105%);
  }
  14%,
  86% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(285%);
  }
}

@keyframes lane-line-sweep-vertical {
  0% {
    opacity: 0;
    transform: translateY(-105%);
  }
  14%,
  86% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(285%);
  }
}

@keyframes transfer-title-pulse {
  0% {
    background-position: 100% 50%;
  }
  99.8% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.proof-band {
  padding: 48px max(22px, calc((100% - 1120px) / 2));
}

.flow-section {
  padding: 64px max(22px, calc((100% - 1120px) / 2));
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.proof-card {
  min-width: 0;
  min-height: 150px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.proof-card h2 {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.proof-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(18, 24, 22, 0.1);
  border-radius: 8px;
  background: #f8faf8;
}

.proof-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.proof-direct-icon {
  color: var(--accent-dark);
}

.proof-account-icon {
  color: var(--signal);
}

.proof-telemetry-icon {
  color: #b0476a;
}

.proof-server-icon {
  color: var(--ink);
}

.flow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 44px;
  background: var(--bg-strong);
}

.section-heading h2 {
  max-width: 420px;
  font-size: 42px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.flow-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
  border-top: 1px solid rgba(18, 24, 22, 0.15);
  padding: 20px 0;
}

.flow-step {
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.flow-list p {
  margin: 0;
  color: #33413c;
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.fileloom-link-section {
  border-top: 1px solid rgba(18, 24, 22, 0.12);
  background:
    linear-gradient(90deg, rgba(224, 100, 58, 0.11), transparent 38%),
    var(--surface);
  padding: 44px max(22px, calc((100% - 1120px) / 2));
}

.fileloom-link-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.fileloom-link-content h2 {
  color: var(--ink);
  font-size: 34px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.fileloom-link-copy {
  max-width: 700px;
  margin: 12px 0 0;
  color: #33413c;
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  padding: 18px max(22px, calc((100% - 1120px) / 2));
}

.footer-meta {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.site-footer nav {
  font-size: 13px;
  font-weight: 800;
}

.shell {
  min-height: calc(100vh - 65px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.receive-panel {
  width: min(720px, 100%);
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 34px;
}

.title-row,
.files-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.receive-panel h1 {
  font-size: 44px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.receive-panel h2 {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.status-pill {
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  padding: 8px 12px;
}

.code-form {
  margin-top: 30px;
}

.code-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 14px;
  padding: 0 14px;
  text-overflow: ellipsis;
}

input:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.status-text {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.status-text.error {
  color: var(--danger);
  font-weight: 800;
}

.files-area {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.files-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.file-name {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.file-meta {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.file-row button {
  min-height: 38px;
  padding: 0 14px;
}

.legal-page {
  padding: 58px max(22px, calc((100% - 900px) / 2)) 72px;
}

.legal-document {
  min-width: 0;
  border-top: 4px solid var(--ink);
  background: rgba(255, 255, 255, 0.7);
  padding-top: 28px;
}

.legal-document h1 {
  font-size: 52px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.last-updated {
  margin: 14px 0 34px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.legal-document section {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.legal-document h2 {
  font-size: 24px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.legal-document p {
  margin: 12px 0 0;
  color: #33413c;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.legal-document a {
  color: var(--accent-dark);
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .transfer-pulse-title::after {
    content: none;
  }
}

@media (max-width: 1160px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero {
    min-height: auto;
  }

  .transfer-scene {
    position: relative;
    inset: auto;
    min-height: 360px;
    margin-top: 42px;
    overflow: visible;
    border-radius: 8px;
  }

  .transfer-scene::before {
    mask-image: linear-gradient(180deg, #000, transparent);
  }

  .hero-product {
    top: 50%;
    right: 22px;
    width: calc(100% - 44px);
    grid-template-columns: minmax(270px, 340px) minmax(120px, 1fr) minmax(190px, 240px);
  }

  .send-preview {
    max-width: 340px;
    padding: 18px;
  }

  .send-preview h2 {
    font-size: 24px;
  }

  .send-preview p {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .code-strip {
    min-height: 42px;
  }

  .file-stack {
    gap: 7px;
    margin-top: 12px;
  }

  .file-chip {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 8px;
  }

  .file-kind {
    width: 34px;
    height: 34px;
  }

  .lane-label {
    min-width: 32px;
    min-height: 32px;
    border: 0;
    background: transparent;
    gap: 0;
    padding: 8px;
  }

  .lane-label span {
    display: none;
  }

  .lane-label .lane-lock-icon {
    width: 18px;
    height: 18px;
    stroke: var(--signal);
    stroke-width: 2.8;
  }

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

  .flow-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .input-row,
  .file-row {
    grid-template-columns: 1fr;
  }

  .input-row button,
  .file-row button {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .site-footer nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .language-switcher {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-content {
    min-width: 0;
    width: 100%;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .button-link {
    min-width: 0;
    width: 100%;
  }

  .transfer-scene {
    min-height: auto;
    padding: 14px;
  }

  .hero-product {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
    transform: none;
  }

  .send-preview,
  .receive-preview {
    width: 100%;
    max-width: none;
  }

  .send-preview {
    padding: 18px;
  }

  .transfer-lane {
    min-height: 118px;
  }

  .lane-line {
    top: 8px;
    bottom: 8px;
    left: 50%;
    right: auto;
    width: 4px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--accent), var(--signal), var(--accent));
  }

  .lane-line::after {
    width: auto;
    height: 36%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.85), var(--signal), transparent);
    animation-name: lane-line-sweep-vertical;
  }

  .lane-packet {
    top: -34px;
    left: calc(50% - 16px);
    animation-name: lane-flight-vertical;
  }

  .lane-label {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .fileloom-link-content {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .flow-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .shell {
    align-items: stretch;
    padding: 12px;
  }

  .receive-panel {
    min-height: calc(100vh - 122px);
    padding: 22px;
  }

  .receive-panel h1,
  .legal-document h1 {
    font-size: 36px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .title-row,
  .files-header,
  .input-row,
  .file-row {
    grid-template-columns: 1fr;
  }

  .title-row,
  .files-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero,
  .proof-band,
  .flow-section,
  .fileloom-link-section,
  .legal-page {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button-link-large {
    min-height: 54px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .transfer-scene {
    padding: 10px;
  }

  .send-preview,
  .receive-preview,
  .receive-panel {
    padding: 16px;
  }

  .code-strip {
    gap: 8px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .download-row {
    width: 100%;
    padding: 12px;
  }

  .legal-document h1,
  .receive-panel h1 {
    font-size: 32px;
  }
}
