:root {
  color-scheme: light;
  --ink: #17233a;
  --ink-soft: #5c687c;
  --ink-faint: #8791a3;
  --paper: #ffffff;
  --canvas: #f4f6fa;
  --canvas-blue: #edf3ff;
  --line: #e3e8f0;
  --line-strong: #d3dae6;
  --blue: #2f6fed;
  --blue-dark: #1d56c6;
  --blue-pale: #eaf1ff;
  --green: #18a271;
  --green-pale: #e8f8f1;
  --navy: #19263d;
  --shadow-sm: 0 8px 24px rgba(35, 52, 82, 0.07);
  --shadow-lg: 0 30px 80px rgba(35, 52, 82, 0.13);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shell: 1180px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

svg {
  display: block;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(219, 226, 237, 0.8);
  background: rgba(248, 249, 252, 0.84);
  backdrop-filter: blur(18px) saturate(145%);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  letter-spacing: -0.02em;
}

.brand > span:last-child {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 17px;
}

.brand strong {
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 11px;
  box-shadow: 0 7px 16px rgba(47, 111, 237, 0.23);
}

.brand-mark svg {
  width: 25px;
  fill: currentColor;
}

.brand-mark .brand-mark-line {
  fill: none;
  stroke: rgba(47, 111, 237, 0.7);
  stroke-width: 1.5;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #556176;
  font-size: 14px;
  font-weight: 590;
}

.main-nav a {
  position: relative;
  padding-block: 8px;
  transition: color 160ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 1px;
  left: 50%;
  height: 2px;
  content: "";
  background: var(--blue);
  border-radius: 10px;
  transition: inset 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 5%;
  left: 5%;
}

.header-inner > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 680;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button svg,
.text-link svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.filter-tab:focus-visible,
.drop-zone:focus-visible,
.text-link:focus-visible,
.modal-close:focus-visible,
.footer-links a:focus-visible,
.footer-links button:focus-visible {
  outline: 3px solid rgba(47, 111, 237, 0.24);
  outline-offset: 3px;
}

.button-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(47, 111, 237, 0.2);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 16px 32px rgba(47, 111, 237, 0.25);
}

.button-dark {
  color: white;
  background: var(--navy);
}

.button-dark:hover {
  background: #101a2d;
  box-shadow: 0 10px 24px rgba(25, 38, 61, 0.18);
}

.button-quiet {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line-strong);
}

.button-quiet:hover {
  background: white;
  border-color: #c3ccda;
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
  border-radius: 10px;
  font-size: 13px;
}

.button-small svg {
  width: 17px;
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 86px;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(250, 251, 253, 0.96) 0%, rgba(244, 247, 251, 0.98) 100%),
    radial-gradient(circle at 50% 0%, #ffffff, transparent 60%);
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  opacity: 0.35;
  background-image: linear-gradient(rgba(84, 107, 149, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(84, 107, 149, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: -280px;
  left: -130px;
  background: radial-gradient(circle, rgba(65, 125, 244, 0.17), transparent 68%);
}

.hero-glow-two {
  right: -210px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(24, 162, 113, 0.1), transparent 68%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.76fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow,
.section-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  color: #267958;
  background: rgba(232, 248, 241, 0.8);
  border: 1px solid rgba(24, 162, 113, 0.15);
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 999px;
}

.pulse-dot::after {
  position: absolute;
  inset: -4px;
  content: "";
  border: 1px solid rgba(24, 162, 113, 0.3);
  border-radius: inherit;
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% { opacity: 0.9; transform: scale(0.65); }
  75%, 100% { opacity: 0; transform: scale(1.35); }
}

.hero h1 {
  margin: 22px 0 22px;
  color: #172238;
  font-size: clamp(48px, 6.1vw, 78px);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--blue);
}

.hero-lede {
  max-width: 600px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  gap: 0;
  margin: 44px 0 0;
}

.hero-meta > div {
  min-width: 118px;
  padding-right: 25px;
}

.hero-meta > div + div {
  padding-left: 25px;
  border-left: 1px solid var(--line-strong);
}

.hero-meta dt {
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
}

.hero-meta dd {
  margin: 2px 0 0;
  color: var(--ink-faint);
  font-size: 12px;
}

.transfer-panel {
  position: relative;
  padding: 23px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(218, 225, 236, 0.86);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.transfer-panel::before,
.transfer-panel::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(216, 224, 235, 0.7);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.45);
}

.transfer-panel::before {
  inset: 14px -15px -14px 15px;
}

.transfer-panel::after {
  inset: 28px -29px -28px 29px;
  opacity: 0.45;
}

.panel-topline,
.privacy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-topline {
  margin-bottom: 17px;
  font-size: 13px;
  font-weight: 710;
}

.secure-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 680;
}

.secure-label svg,
.privacy-row svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drop-zone {
  display: flex;
  width: 100%;
  min-height: 294px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 32px 22px;
  color: var(--ink-soft);
  background: linear-gradient(145deg, #f8faff, #f5f8fc);
  border: 1.5px dashed #bdcbe0;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  background: var(--blue-pale);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.drop-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--blue);
  background: white;
  border: 1px solid #e0e8f6;
  border-radius: 19px;
  box-shadow: 0 10px 28px rgba(42, 87, 167, 0.1);
}

.drop-icon svg {
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drop-zone strong {
  color: var(--ink);
  font-size: 17px;
}

.drop-zone > span:nth-of-type(2) {
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 12px;
}

.drop-cta {
  margin-top: 22px;
  padding: 8px 16px;
  color: var(--blue);
  background: white;
  border: 1px solid #d8e1f0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 710;
}

.privacy-row {
  gap: 12px;
  margin-top: 16px;
  color: var(--ink-faint);
  font-size: 11px;
}

.privacy-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.privacy-row button {
  padding: 2px 0;
  color: var(--blue);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 11px;
}

.file-section {
  padding: 100px 0 105px;
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 33px;
}

.section-heading h2,
.guide-intro h2 {
  margin: 7px 0 8px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-heading p,
.guide-intro > p {
  margin: 0;
  color: var(--ink-soft);
}

.search-wrap {
  position: relative;
  display: flex;
  width: min(100%, 310px);
  align-items: center;
}

.search-wrap svg {
  position: absolute;
  left: 15px;
  width: 18px;
  fill: none;
  stroke: #7e899a;
  stroke-width: 1.7;
  pointer-events: none;
}

.search-wrap input {
  width: 100%;
  height: 48px;
  padding: 0 47px 0 43px;
  color: var(--ink);
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.search-wrap input:focus {
  background: white;
  border-color: #8fb0f3;
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.1);
}

.search-wrap input::placeholder {
  color: #9ca5b5;
}

.search-wrap kbd {
  position: absolute;
  right: 13px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #8b95a5;
  background: white;
  border: 1px solid #dce2eb;
  border-bottom-width: 2px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 11px;
}

.library-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 21px;
  box-shadow: var(--shadow-sm);
}

.library-toolbar {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  background: #fafbfd;
  border-bottom: 1px solid var(--line);
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-tab {
  min-height: 36px;
  padding: 0 14px;
  color: #697488;
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 610;
}

.filter-tab:hover {
  color: var(--ink);
  background: #f0f3f8;
}

.filter-tab.is-active {
  color: var(--blue);
  background: var(--blue-pale);
}

.file-count {
  padding-right: 5px;
  color: var(--ink-faint);
  font-size: 12px;
}

.file-count strong {
  color: var(--ink-soft);
}

.file-table-head,
.file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px 120px 42px;
  align-items: center;
  gap: 20px;
}

.file-table-head {
  min-height: 46px;
  padding: 0 22px;
  color: #929bab;
  background: white;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 690;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.file-row {
  min-height: 82px;
  padding: 12px 22px;
  background: white;
  border-bottom: 1px solid var(--line);
  transition: background 150ms ease;
}

.file-row:last-of-type {
  border-bottom: 0;
}

.file-row:hover,
.file-row:focus-visible {
  background: #f8faff;
  outline: none;
}

.file-row:hover .download-icon,
.file-row:focus-visible .download-icon {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.file-row[hidden] {
  display: none;
}

.file-name {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.file-name > span:last-child {
  min-width: 0;
}

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

.file-name strong {
  color: #29354a;
  font-size: 14px;
  font-weight: 680;
}

.file-name small {
  margin-top: 3px;
  color: #929bad;
  font-size: 11px;
}

.file-icon {
  display: grid;
  width: 42px;
  height: 46px;
  flex: 0 0 auto;
  place-items: end center;
  padding-bottom: 7px;
  clip-path: polygon(0 0, 70% 0, 100% 25%, 100% 100%, 0 100%);
  border-radius: 6px 6px 8px 8px;
  font-size: 8px;
  font-weight: 820;
  letter-spacing: 0.04em;
}

.file-icon-code,
.file-icon-json {
  color: #2968ce;
  background: #e5efff;
}

.file-icon-doc {
  color: #7353c4;
  background: #eee8ff;
}

.file-icon-pdf {
  color: #cb4d57;
  background: #ffeaec;
}

.file-icon-sheet {
  color: #18805d;
  background: #e3f7ef;
}

.file-icon-image {
  color: #bc6929;
  background: #fff0df;
}

.file-size,
.file-date {
  color: #778296;
  font-size: 12px;
}

.download-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #6f7c91;
  border: 1px solid #dbe2ec;
  border-radius: 10px;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.download-icon svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.empty-state {
  display: flex;
  min-height: 230px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: var(--ink-faint);
  background: white;
}

.empty-state[hidden] {
  display: none;
}

.empty-state svg {
  width: 44px;
  margin-bottom: 13px;
  fill: none;
  stroke: #a8b2c2;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.empty-state strong {
  color: var(--ink-soft);
  font-size: 14px;
}

.empty-state span {
  margin-top: 3px;
  font-size: 12px;
}

.guide-section {
  padding: 110px 0;
  background: #f3f6fa;
  border-top: 1px solid #ebeff5;
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(70px, 10vw, 140px);
}

.guide-intro h2 {
  margin-top: 12px;
}

.guide-intro > p {
  max-width: 500px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 4px 0;
  color: var(--blue);
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 690;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid #dfe5ed;
}

.steps li:first-child {
  padding-top: 0;
}

.steps li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.step-number {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--blue);
  background: white;
  border: 1px solid #dfe6f1;
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(34, 60, 98, 0.05);
  font-size: 12px;
  font-weight: 750;
}

.steps strong {
  display: block;
  margin: 2px 0 4px;
  font-size: 16px;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.status-section {
  padding: 42px 0;
  color: white;
  background: var(--navy);
}

.status-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 36px;
}

.status-main {
  display: flex;
  align-items: center;
  gap: 15px;
}

.status-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  color: #66d9ab;
  background: rgba(87, 209, 162, 0.11);
  border: 1px solid rgba(102, 217, 171, 0.22);
  border-radius: 14px;
}

.status-icon svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-main span,
.status-main strong {
  display: block;
}

.status-main div > span {
  color: #94a1b6;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-main strong {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 640;
}

.status-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #b5c0d1;
  font-size: 11px;
}

.status-items span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #57d1a2;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(87, 209, 162, 0.08);
}

.status-card time {
  color: #7f8da4;
  font-size: 11px;
}

.site-footer {
  padding: 34px 0;
  color: #8b96a8;
  background: #111b2d;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 44px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark-small {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: none;
}

.brand-mark-small svg {
  width: 22px;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  color: #ecf0f7;
  font-size: 13px;
}

.footer-brand small {
  margin-top: 1px;
  font-size: 10px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 11px;
}

.footer-links button,
.footer-links a {
  padding: 2px 0;
  color: #97a2b4;
  background: none;
  border: 0;
  cursor: pointer;
}

.footer-links button:hover,
.footer-links a:hover {
  color: white;
}

.footer-inner > p {
  margin: 0;
  font-size: 10px;
}

.modal {
  width: min(calc(100% - 30px), 520px);
  max-height: min(90vh, 760px);
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.modal::backdrop {
  background: rgba(14, 24, 41, 0.58);
  backdrop-filter: blur(7px);
}

.modal[open] {
  animation: modal-in 180ms ease-out;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-card {
  position: relative;
  padding: 36px;
  background: white;
  border-radius: 23px;
  box-shadow: 0 30px 90px rgba(4, 15, 34, 0.26);
}

.modal-card-wide {
  padding-bottom: 28px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #798497;
  background: #f3f5f8;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.modal-close svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.modal-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 16px;
}

.modal-icon svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal h2 {
  margin: 8px 0 9px;
  font-size: 27px;
  letter-spacing: -0.035em;
}

.modal-card > p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.code-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 680;
}

.code-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-bottom: 10px;
}

.code-input-row input {
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: #f7f9fc;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  outline: none;
  text-transform: uppercase;
}

.code-input-row input:focus {
  background: white;
  border-color: #8fb0f3;
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.1);
}

.modal-card > small {
  display: block;
  margin-top: 14px;
  color: #9ba4b3;
  text-align: center;
  font-size: 10px;
}

.modal-message {
  min-height: 22px;
  margin: 10px 0 0 !important;
  color: #b36a26 !important;
  text-align: center;
  font-size: 11px !important;
}

.policy-list {
  display: grid;
  gap: 0;
  margin: 23px 0 26px;
  border-top: 1px solid var(--line);
}

.policy-list > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.policy-list > div > span {
  padding-top: 2px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 760;
}

.policy-list p,
.policy-list strong {
  margin: 0;
}

.policy-list p {
  color: var(--ink-soft);
  font-size: 12px;
}

.policy-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100% - 48px));
  padding: 13px 17px;
  color: white;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  box-shadow: 0 16px 40px rgba(10, 20, 38, 0.25);
  font-size: 12px;
}

.toast:not([hidden]) {
  animation: toast-in 180ms ease-out;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .transfer-panel {
    width: min(100%, 570px);
    margin-inline: auto;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 65px;
  }

  .guide-intro > p {
    max-width: 660px;
  }

  .status-card {
    grid-template-columns: 1fr auto;
  }

  .status-items {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-links {
    display: none;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    min-height: 66px;
  }

  .header-inner > .button {
    padding-inline: 13px;
  }

  .header-inner > .button svg {
    display: none;
  }

  .brand > span:last-child > span {
    display: none;
  }

  .hero {
    padding: 68px 0 70px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-meta {
    justify-content: space-between;
  }

  .hero-meta > div {
    min-width: 0;
    flex: 1;
    padding-right: 12px;
  }

  .hero-meta > div + div {
    padding-left: 12px;
  }

  .hero-meta dt {
    font-size: 14px;
  }

  .hero-meta dd {
    font-size: 10px;
  }

  .transfer-panel {
    padding: 16px;
    border-radius: 22px;
  }

  .transfer-panel::before,
  .transfer-panel::after {
    display: none;
  }

  .drop-zone {
    min-height: 260px;
  }

  .file-section,
  .guide-section {
    padding: 76px 0;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }

  .search-wrap {
    width: 100%;
  }

  .library-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .filter-tabs {
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .file-count {
    padding-left: 10px;
  }

  .file-table-head {
    display: none;
  }

  .file-row {
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 11px;
    min-height: 84px;
    padding: 13px 15px;
  }

  .file-size,
  .file-date {
    display: none;
  }

  .file-name {
    gap: 11px;
  }

  .file-name strong {
    font-size: 12px;
  }

  .file-name small {
    font-size: 10px;
  }

  .file-icon {
    width: 37px;
    height: 41px;
  }

  .steps li {
    grid-template-columns: 46px 1fr;
    gap: 16px;
  }

  .step-number {
    width: 44px;
    height: 44px;
  }

  .status-section {
    padding: 33px 0;
  }

  .status-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .status-card time {
    padding-left: 63px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .modal-card {
    padding: 29px 22px 24px;
  }

  .code-input-row {
    grid-template-columns: 1fr;
  }
}

@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;
  }
}
