:root {
  --bg: #f5fbfb;
  --bg2: #eff9ff;
  --surface: #ffffff;
  --surface-soft: rgba(255,255,255,.76);
  --text: #10202a;
  --muted: #60747e;
  --line: #dbecef;
  --line-strong: #bddfe5;
  --mint: #21d6ad;
  --mint-dark: #0a9c7d;
  --blue: #3f9ff3;
  --blue-dark: #227bd0;
  --yellow: #ffd56a;
  --red: #fa5a6a;
  --green-soft: #e7fff8;
  --blue-soft: #eaf6ff;
  --shadow: 0 22px 55px rgba(20, 79, 98, .12);
  --shadow-soft: 0 12px 26px rgba(28, 91, 113, .09);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(55, 217, 187, .20), transparent 28%),
    radial-gradient(circle at 84% 4%, rgba(73, 164, 245, .18), transparent 30%),
    linear-gradient(180deg, #f8ffff 0%, #f4fbfc 52%, #ffffff 100%);
  min-height: 100vh;
}

body.admin-body {
  background: #f4f8fb;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(190, 222, 229, .55);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.logo img { width: 196px; height: auto; }
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--mint), var(--blue));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(30, 172, 189, .24);
}
.logo-text { font-size: 22px; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4d626d;
  font-weight: 700;
  font-size: 15px;
}
.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  transition: .18s ease;
}
.nav a:hover, .nav a.active {
  color: var(--mint-dark);
  background: rgba(33, 214, 173, .10);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-pill, .ghost-pill, .primary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}
.lang-pill { color: #536a75; background: #f0f8fa; border: 1px solid #deedf0; }
.ghost-pill { color: #33525f; background: #fff; border: 1px solid var(--line); }
.primary-pill, .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--mint), var(--blue));
  box-shadow: 0 12px 24px rgba(35, 178, 192, .24);
}

.mobile-menu { display: none; }

.hero {
  padding: 76px 0 44px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 20px auto auto 50%;
  width: 780px;
  height: 520px;
  transform: translateX(-5%);
  background: radial-gradient(circle, rgba(33, 214, 173, .18), transparent 66%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint-dark);
  background: rgba(33, 214, 173, .11);
  border: 1px solid rgba(33, 214, 173, .22);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 900;
  font-size: 14px;
}
.eyebrow .dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(33, 214, 173, .13);
}
.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.075em;
}
.gradient-text {
  background: linear-gradient(120deg, #0d7f68, #1c87e2 74%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  color: #506a75;
  font-size: 21px;
  line-height: 1.68;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-center { text-align: center; }
.hero-center .eyebrow,
.hero-center .hero-actions,
.hero-center .badge-row { justify-content: center; }
.hero-center .hero-lead { margin-left: auto; margin-right: auto; max-width: 660px; }
.btn {
  min-height: 54px;
  border-radius: 18px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--mint), var(--blue)); }
.btn-secondary { color: #15303b; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.btn-soft { color: var(--mint-dark); background: rgba(33, 214, 173, .12); }
.btn-danger { color: #fff; background: linear-gradient(135deg, #ff6a7a, #f34355); }
.btn-small { min-height: 38px; border-radius: 12px; padding: 0 12px; font-size: 13px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 9px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: #48616c;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(42, 117, 142, .06);
}
.badge b { color: var(--mint-dark); }

.upload-card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(190, 222, 229, .8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.upload-card::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -90px; top: -80px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(33,214,173,.22), transparent 70%);
}
.upload-drop {
  position: relative;
  min-height: 405px;
  border: 2px dashed #b5dde5;
  background:
    linear-gradient(180deg, rgba(243,253,252,.94), rgba(255,255,255,.98)),
    radial-gradient(circle at 72% 12%, rgba(66, 166, 244, .12), transparent 38%);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  transition: .2s ease;
}
.upload-drop.dragover {
  border-color: var(--mint);
  background: var(--green-soft);
  transform: scale(1.01);
}
.upload-icon {
  width: 88px;
  height: 88px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ddfff7, #eaf6ff);
  box-shadow: inset 0 0 0 1px #d5edf2, 0 18px 32px rgba(33, 154, 174, .13);
  margin-bottom: 24px;
  color: var(--mint-dark);
}
.upload-icon svg { width: 46px; height: 46px; }
.upload-drop h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.045em; }
.upload-drop p { margin: 0; color: var(--muted); line-height: 1.7; }
.file-input { position: absolute; opacity: 0; pointer-events: none; }
.upload-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.upload-meta span {
  font-size: 13px;
  color: #4d6672;
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 800;
}
.upload-preview {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
}
.file-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.file-icon {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-dark); font-weight: 900;
}
.file-name { font-weight: 900; letter-spacing: -0.02em; }
.file-size { color: var(--muted); font-size: 13px; margin-top: 3px; }
.progress {
  height: 10px;
  background: #eef5f6;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 14px;
}
.progress > span {
  display: block;
  height: 100%;
  width: var(--progress, 67%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--blue));
}
.transfer-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 14px;
  margin-top: 10px;
  font-size: 12.5px;
  color: #4d6672;
}
.transfer-stats b {
  color: #1f3a45;
  font-weight: 700;
}
.protect-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13.5px;
  color: #2a4750;
  cursor: pointer;
}
.protect-toggle input { width: 17px; height: 17px; accent-color: var(--mint-dark); flex: none; }
.protect-toggle em { color: var(--muted); font-style: normal; font-size: 12px; }
.result-pin {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(33, 214, 173, .10);
  border: 1px solid rgba(33, 214, 173, .35);
  border-radius: 14px;
}
.result-pin-label { font-size: 13px; color: var(--mint-dark); font-weight: 700; }
.result-pin-value { font-size: 22px; letter-spacing: 4px; font-weight: 900; color: #14333a; }
.result-pin-note { flex-basis: 100%; font-size: 12px; color: var(--muted); margin: 0; }
.result-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.result-qr img { width: 120px; height: 120px; }
.result-qr span { font-size: 12.5px; color: var(--muted); }
.dl-pin { margin-top: 18px; text-align: left; }
.dl-pin label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: #2a4750; }
.dl-pin input { letter-spacing: 6px; font-size: 20px; text-align: center; max-width: 220px; }
.dl-pin-error { margin-top: 8px; color: #c0392b; font-size: 13px; font-weight: 600; }
.result-card {
  display: none;
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  text-align: left;
}
.result-card.is-visible { display: block; }
.url-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  background: #f3fafb;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 10px 10px 14px;
  margin-top: 10px;
}
.url-box code { color: #22424f; word-break: break-all; }
.notice-line { color: #6a7e88; font-size: 13px; line-height: 1.55; margin-top: 12px; }

.section { padding: 70px 0; }
.section.compact { padding: 46px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-kicker { color: var(--mint-dark); font-weight: 900; margin-bottom: 10px; }
.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.06em;
}
.section-desc { color: var(--muted); font-size: 18px; line-height: 1.75; margin: 14px 0 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card, .step-card, .security-card, .faq-item, .panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.feature-card {
  padding: 24px;
  min-height: 200px;
}
.feature-icon, .step-number, .security-icon {
  width: 50px; height: 50px; border-radius: 17px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #e7fff8, #eaf6ff);
  color: var(--mint-dark);
  font-weight: 950;
  margin-bottom: 18px;
}
.feature-card h3, .step-card h3, .security-card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.035em; }
.feature-card p, .step-card p, .security-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card { padding: 26px; position: relative; overflow: hidden; }
.step-card::after {
  content: "";
  position: absolute; right: -30px; bottom: -38px; width: 130px; height: 130px;
  border-radius: 999px; background: rgba(33, 214, 173, .10);
}
.step-number { background: var(--text); color: #fff; }
.inline-note {
  margin: 22px auto 0;
  max-width: 800px;
  background: rgba(33, 214, 173, .10);
  color: #1a705e;
  border: 1px solid rgba(33, 214, 173, .2);
  border-radius: 18px;
  padding: 16px 18px;
  text-align: center;
  font-weight: 800;
}

.tzip-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  background:
    radial-gradient(circle at 82% 10%, rgba(73,164,245,.20), transparent 32%),
    linear-gradient(135deg, #f0fffb, #eef7ff);
  border: 1px solid #cfe8ee;
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}
.tzip-band h2 { margin: 0 0 10px; font-size: 32px; letter-spacing: -0.055em; }
.tzip-band p { margin: 0; color: #54707a; line-height: 1.7; }
.tzip-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.security-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.security-card { padding: 20px; min-height: 180px; }
.security-icon { width: 44px; height: 44px; border-radius: 15px; margin-bottom: 14px; }
.security-card h3 { font-size: 18px; }
.security-card p { font-size: 14px; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.faq-item { padding: 22px; }
.faq-item h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.035em; }
.faq-item p { margin: 0; color: var(--muted); line-height: 1.7; }

.cta-box {
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(33,214,173,.2), transparent 25%),
    radial-gradient(circle at 84% 2%, rgba(73,164,245,.2), transparent 28%),
    #0f2630;
  color: #fff;
  border-radius: 38px;
  padding: 56px 24px;
  box-shadow: var(--shadow);
}
.cta-box h2 { margin: 0 0 14px; font-size: clamp(31px, 4vw, 48px); letter-spacing: -0.065em; }
.cta-box p { margin: 0 auto 24px; color: rgba(255,255,255,.76); max-width: 600px; line-height: 1.7; }
.cta-box .btn-secondary { box-shadow: none; }

.footer {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  color: #617780;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .7fr);
  gap: 24px;
}
.footer h3 { color: var(--text); margin: 0 0 12px; }
.footer p, .footer a { font-size: 14px; line-height: 1.8; }
.footer a { display: block; color: #617780; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 26px; padding-top: 22px;
  font-size: 13px;
}

/* Download page */
.center-page {
  min-height: calc(100vh - 74px);
  display: grid;
  place-items: center;
  padding: 54px 0;
}
.download-card {
  width: min(680px, calc(100% - 40px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 34px;
}
.download-top { text-align: center; margin-bottom: 26px; }
.download-top .upload-icon { margin: 0 auto 18px; }
.download-top h1 { margin: 0 0 8px; font-size: 34px; letter-spacing: -0.055em; }
.download-top p { color: var(--muted); margin: 0; }
.file-detail {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  background: #f6fbfc;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 16px;
}
.file-detail .file-icon { width: 58px; height: 58px; border-radius: 18px; }
.meta-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 22px;
}
.meta-list div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
  text-align: center;
}
.meta-list b { display: block; font-size: 17px; }
.meta-list span { color: var(--muted); font-size: 12px; }
.download-actions { display: grid; gap: 10px; }
.report-link { text-align: center; color: var(--muted); font-size: 14px; margin-top: 16px; }
.report-link a { color: var(--blue-dark); font-weight: 900; display: inline; }

/* Admin */
.admin-layout {
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #10202a;
  color: rgba(255,255,255,.72);
  padding: 22px;
  overflow: auto;
}
.admin-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 950; font-size: 20px; margin-bottom: 26px; }
.admin-brand .logo-mark { width: 38px; height: 38px; border-radius: 13px; }
.admin-nav { display: grid; gap: 6px; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  color: rgba(255,255,255,.74);
  font-weight: 800;
}
.admin-nav a.active, .admin-nav a:hover { color: #fff; background: rgba(255,255,255,.10); }
.admin-main { padding: 28px; min-width: 0; }
.admin-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 24px;
}
.admin-header h1 { margin: 0; font-size: 32px; letter-spacing: -0.055em; }
.admin-header p { margin: 6px 0 0; color: var(--muted); }
.admin-user { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow-soft); }
.avatar { width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(135deg, var(--mint), var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 950; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-soft);
}
.stat-label { color: var(--muted); font-size: 13px; font-weight: 800; }
.stat-value { margin-top: 8px; font-size: 28px; font-weight: 950; letter-spacing: -0.045em; }
.stat-sub { margin-top: 6px; color: #7b8d95; font-size: 12px; }
.admin-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.panel-card { padding: 20px; overflow: hidden; }
.panel-card h2 { margin: 0 0 14px; letter-spacing: -0.04em; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: #71858e; font-size: 12px; padding: 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 13px 12px; border-bottom: 1px solid #edf4f6; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 9px; font-weight: 900; font-size: 12px; }
.status.ready { background: #e8fff8; color: #07866b; }
.status.warning { background: #fff6de; color: #9a6b00; }
.status.blocked { background: #ffecef; color: #ce2338; }
.status.uploading { background: #eaf6ff; color: #2479bd; }
.storage-meter { margin-top: 12px; }
.storage-bar { height: 16px; background: #edf4f6; border-radius: 999px; overflow: hidden; }
.storage-bar span { display: block; height: 100%; width: 67%; background: linear-gradient(90deg, var(--mint), var(--blue)); }
.storage-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-top: 8px; }
.policy-list { display: grid; gap: 10px; }
.policy-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #f8fcfd; }
.policy-row b { color: #243d49; }

/* Simple pages */
.page-hero { padding: 66px 0 24px; text-align: center; }
.page-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.065em; }
.page-hero p { color: var(--muted); font-size: 18px; line-height: 1.7; }
.content-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-soft); padding: 30px; line-height: 1.8; color: #526a75; }
.content-card h2 { color: var(--text); letter-spacing: -0.04em; margin-top: 0; }
.content-card h3 { color: var(--text); margin-top: 28px; }
.content-card ul { padding-left: 20px; }

.login-box { width: min(440px, calc(100% - 40px)); margin: 70px auto; background: #fff; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); padding: 30px; }
.login-box h1 { margin: 0 0 8px; letter-spacing: -0.055em; }
.login-box p { color: var(--muted); margin: 0 0 20px; line-height: 1.7; }
.form-group { display: grid; gap: 8px; margin-bottom: 14px; }
.form-group label { font-weight: 900; color: #334b56; }
.form-input { min-height: 48px; border: 1px solid var(--line); border-radius: 15px; padding: 0 14px; outline: none; }
.form-input:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(33, 214, 173, .13); }

@media (max-width: 980px) {
  .nav, .header-actions .ghost-pill { display: none; }
  .mobile-menu { display: inline-flex; }
  .hero-grid, .tzip-band, .admin-grid { grid-template-columns: 1fr; }
  .feature-grid, .security-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .footer-grid { grid-template-columns: 1fr; }
  .tzip-actions { justify-content: flex-start; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 42px; }
  .hero-actions, .badge-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .feature-grid, .security-grid, .faq-grid, .meta-list, .stats-grid { grid-template-columns: 1fr; }
  .upload-drop { min-height: 340px; }
  .footer-bottom, .admin-header { flex-direction: column; align-items: flex-start; }
  .admin-main { padding: 18px; }
  .admin-nav { grid-template-columns: 1fr; }
}
