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

/* Açık tema — Apple / iCloud.com (system grouped + label) */
:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --bg-gradient-spot: rgba(0, 122, 255, 0.1);
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.1);
  --text: #1d1d1f;
  --text-secondary: rgba(60, 60, 67, 0.6);
  --text-tertiary: rgba(60, 60, 67, 0.42);
  --accent: #0071e3;
  --accent-pressed: #0077ed;
  --accent-soft: rgba(0, 113, 227, 0.1);
  --accent-soft-border: rgba(0, 113, 227, 0.24);
  --danger: #ff3b30;
  --danger-bg: rgba(255, 59, 48, 0.1);
  --danger-border: rgba(255, 59, 48, 0.22);
  --danger-text: #d70015;
  --ok: #34c759;
  --ok-msg-bg: rgba(52, 199, 89, 0.12);
  --ok-msg-border: rgba(52, 199, 89, 0.28);
  --ok-msg-text: #248a3d;
  --warn: #ff9500;
  --field-bg: #ffffff;
  --field-focus-border: rgba(0, 113, 227, 0.55);
  --field-focus-ring: rgba(0, 113, 227, 0.2);
  --check-inner: #ffffff;
  --check-card-bg: rgba(0, 0, 0, 0.02);
  --drop-border: rgba(0, 0, 0, 0.1);
  --drop-bg: rgba(0, 0, 0, 0.02);
  --drop-hover-bg: rgba(0, 113, 227, 0.05);
  --btn-ghost-hover: rgba(0, 0, 0, 0.04);
  --bar-track: rgba(0, 0, 0, 0.06);
  --code-bg: rgba(0, 0, 0, 0.04);
  --legal-strong: rgba(60, 60, 67, 0.56);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 100px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI",
    system-ui, sans-serif;
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --blur: saturate(180%) blur(20px);
  --card-inset-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* Koyu tema — iCloud.com / Apple (charcoal zemin, üst yüzey #2c2c2e, sistem mavisi) */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #1d1d1f;
    --bg-gradient-spot: rgba(10, 132, 255, 0.14);
    --bg-elevated: #2c2c2e;
    --bg-card: #2c2c2e;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f5f5f7;
    --text-secondary: rgba(235, 235, 245, 0.6);
    --text-tertiary: rgba(235, 235, 245, 0.4);
    --accent: #0a84ff;
    --accent-pressed: #409cff;
    --accent-soft: rgba(10, 132, 255, 0.16);
    --accent-soft-border: rgba(10, 132, 255, 0.32);
    --danger: #ff453a;
    --danger-bg: rgba(255, 69, 58, 0.12);
    --danger-border: rgba(255, 69, 58, 0.22);
    --danger-text: #ff6961;
    --ok: #30d158;
    --ok-msg-bg: rgba(48, 209, 88, 0.12);
    --ok-msg-border: rgba(48, 209, 88, 0.25);
    --ok-msg-text: #32d74b;
    --warn: #ffd60a;
    --field-bg: #1c1c1e;
    --field-focus-border: rgba(10, 132, 255, 0.55);
    --field-focus-ring: rgba(10, 132, 255, 0.22);
    --check-inner: #ffffff;
    --check-card-bg: rgba(0, 0, 0, 0.22);
    --drop-border: rgba(255, 255, 255, 0.12);
    --drop-bg: rgba(0, 0, 0, 0.18);
    --drop-hover-bg: rgba(10, 132, 255, 0.08);
    --btn-ghost-hover: rgba(255, 255, 255, 0.06);
    --bar-track: rgba(255, 255, 255, 0.1);
    --code-bg: rgba(255, 255, 255, 0.06);
    --legal-strong: rgba(235, 235, 245, 0.52);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.35), 0 12px 40px rgba(0, 0, 0, 0.25);
    --blur: saturate(180%) blur(32px);
    --card-inset-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
}

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

html {
  color-scheme: light dark;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 17px;
  letter-spacing: -0.022em;
  background: var(--bg);
  background-image: radial-gradient(
    ellipse 100% 80% at 50% -30%,
    var(--bg-gradient-spot) 0%,
    transparent 55%
  );
  color: var(--text);
  line-height: 1.47059;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.wrap {
  flex: 0 0 auto;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: max(2.25rem, env(safe-area-inset-top)) 1.5rem 1.25rem;
}

.hero {
  margin-bottom: 2rem;
  text-align: center;
}

.hero-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.hero-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.hero-animate {
  animation: heroFade 0.5s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}

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

.sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
}

.quota-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin: 0 auto 2rem;
  max-width: fit-content;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.quota-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
}

.quota-dot.is-warn {
  background: var(--warn);
}

.sender-pill {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  margin: -0.5rem auto 1.25rem;
  max-width: fit-content;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  color: var(--text-secondary);
}

html.ilvbel-sender-lock .sender-pill.is-visible {
  display: flex;
}

.sender-pill-kicker {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}

.sender-pill-name {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  letter-spacing: -0.02em;
}

.browser-warn {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 1.25rem;
  text-align: center;
}

.steps {
  position: relative;
}

.step-card {
  background: var(--bg-card);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.75rem;
  margin-bottom: 0;
  box-shadow: var(--shadow-card), var(--card-inset-highlight, none);
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s ease;
}

.step-card.is-hidden {
  display: none;
}

.step-card.step-enter {
  animation: stepIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.step-badge {
  position: absolute;
  top: 2rem;
  right: 1.5rem;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.panel-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0 0 0.35rem;
  padding-right: 2.75rem;
  line-height: 1.25;
}

.panel-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 0.5rem;
  line-height: 1.42857;
}

.step-nudge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 0.65rem;
}

.step-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--bar-track);
  margin: 0 0 1.35rem;
  overflow: hidden;
}

.step-bar-fill {
  display: block;
  height: 100%;
  width: 33.333%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.step-card[data-step="2"] .step-bar-fill {
  width: 66.666%;
}

/* Adım 3: yol neredeyse bitti; son tıklamada .is-sending ile %100 */
.step-card[data-step="3"] .step-bar-fill {
  width: 90%;
}

.step-card[data-step="3"] .step-bar-fill.is-sending {
  width: 100%;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.field-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--field-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 17px;
  letter-spacing: -0.022em;
  margin-bottom: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input::placeholder {
  color: var(--text-tertiary);
}

.field-input:focus {
  outline: none;
  border-color: var(--field-focus-border);
  box-shadow: 0 0 0 3px var(--field-focus-ring);
}

@media (max-width: 480px) {
  .field-input {
    font-size: 16px;
  }
}

.filename-hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 0.75rem;
  word-break: break-all;
}

.sender-name-hint {
  word-break: normal;
  overflow-wrap: anywhere;
}

.filename-hint code {
  font-size: 12px;
  background: var(--code-bg);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.check-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
  padding: 1.125rem 1.125rem;
  min-height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--check-card-bg);
  margin-bottom: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.check-card:hover {
  border-color: var(--accent-soft-border);
}

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

.check-box {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
  margin-top: 0.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.check-input:checked + .check-box {
  background: var(--accent);
  border-color: var(--accent);
}

.check-input:checked + .check-box::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid var(--check-inner);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

.check-input:focus-visible + .check-box {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.check-label {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.check-label strong {
  color: var(--text);
  font-weight: 600;
}

.drop {
  border: 1.5px dashed var(--drop-border);
  border-radius: var(--radius-md);
  background: var(--drop-bg);
  padding: 2.25rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.drop:hover,
.drop.dragover {
  border-color: var(--accent-soft-border);
  background: var(--drop-hover-bg);
}

.drop.dragover {
  transform: scale(1.01);
}

.drop strong {
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}

.drop p {
  margin: 0.6rem 0 0;
  font-size: 13px;
  color: var(--text-secondary);
  word-break: break-all;
}

#file-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0.75rem;
  align-items: center;
}

.step-actions {
  margin-top: 1.35rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

button {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}

button:active:not(:disabled) {
  transform: scale(0.98);
}

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

/* <a class="btn-primary"> — button seçicisi yalnızca <button> için; köprülerde pill ve tipografi */
a.btn-primary {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-pressed);
}

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

.btn-secondary {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-soft-border);
}

.btn-secondary:hover:not(:disabled) {
  filter: brightness(0.97);
}

@media (prefers-color-scheme: dark) {
  .btn-secondary:hover:not(:disabled) {
    filter: brightness(1.15);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}

.btn-ghost:hover:not(:disabled) {
  background: var(--btn-ghost-hover);
}

.btn-send {
  min-width: 11rem;
}

.upload-progress-block {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--check-card-bg);
}

.upload-progress-block[hidden] {
  display: none !important;
}

.upload-progress-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.65rem;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.upload-progress-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: uploadDotPulse 1s ease-in-out infinite;
}

.upload-progress-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0.5rem 0 0;
  font-variant-numeric: tabular-nums;
}

.bar-wrap {
  margin-top: 0;
  margin-bottom: 0;
  height: 8px;
  background: var(--bar-track);
  border-radius: 6px;
  overflow: hidden;
  display: none;
  position: relative;
}

.bar-wrap.visible {
  display: block;
}

.bar-wrap.is-indeterminate .bar {
  width: 38%;
  min-width: 72px;
  transition: none;
  animation: uploadIndeterminateSlide 1.35s ease-in-out infinite;
  background: var(--accent);
  background-size: 100% 100%;
}

.bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-pressed), var(--accent), var(--accent-pressed));
  background-size: 200% 100%;
  border-radius: 6px;
  transition: width 0.12s linear;
  position: relative;
  overflow: hidden;
  animation: uploadBarGradient 2.5s ease infinite;
}

.bar-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: uploadShimmer 1.35s ease-in-out infinite;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .bar-shine {
    background: linear-gradient(
      105deg,
      transparent 0%,
      rgba(255, 255, 255, 0) 35%,
      rgba(255, 255, 255, 0.28) 50%,
      rgba(255, 255, 255, 0) 65%,
      transparent 100%
    );
    background-size: 220% 100%;
  }
}

@keyframes uploadDotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.92);
  }
}

@keyframes uploadShimmer {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@keyframes uploadBarGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes uploadIndeterminateSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(280%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .upload-progress-label::before {
    animation: none;
  }
  .bar-shine {
    animation: none;
  }
  .bar {
    animation: none;
    background: var(--accent);
  }
  .bar-wrap.is-indeterminate .bar {
    animation: none;
    transform: none;
    width: 100%;
    opacity: 0.7;
  }
}

.msg {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.4;
  display: none;
}

.msg.visible {
  display: block;
}

.msg.ok {
  background: var(--ok-msg-bg);
  border: 1px solid var(--ok-msg-border);
  color: var(--ok-msg-text);
}

.msg.err {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
}

.msg.ok.msg-celebrate {
  text-align: center;
  padding: 1.25rem 1.15rem 1.15rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px var(--ok-msg-border), var(--shadow-card);
  animation: celebrateIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.msg-celebrate-emoji {
  display: block;
  font-size: 2.75rem;
  line-height: 1;
  margin: 0 0 0.5rem;
  animation: celebrateEmoji 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  filter: drop-shadow(0 4px 12px rgba(10, 132, 255, 0.25));
}

.msg-celebrate-text {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ok-msg-text);
}

@keyframes celebrateIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes celebrateEmoji {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-12deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.15) rotate(6deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .msg.ok.msg-celebrate {
    animation: none;
  }
  .msg-celebrate-emoji {
    animation: none;
  }
}

html.upload-success .steps {
  display: none !important;
}

.success-next-row {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ok-msg-border);
}

.wrap--narrow {
  max-width: 420px;
}

.hero--compact {
  margin-bottom: 1.25rem;
}

.share-link-label {
  display: block;
  margin: 1rem 0 0.5rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.share-link-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  margin-top: 0;
}

.share-link-input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--field-bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.share-link-row .btn-secondary {
  flex-shrink: 0;
  white-space: nowrap;
}

.download-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.25rem 1.35rem;
  text-align: center;
}

.download-file-icon {
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
}

.download-filename {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  word-break: break-word;
}

.download-meta {
  margin: 0.35rem 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.download-expiry {
  margin: 1rem 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-tertiary);
}

.download-expiry strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.download-actions {
  margin-top: 1.25rem;
}

.download-actions a.btn-primary {
  min-width: 11rem;
  min-height: 44px;
}

.download-back {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 14px;
}

.link-quiet {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.link-quiet:hover {
  text-decoration: underline;
}

.legal-foot {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem max(2rem, env(safe-area-inset-bottom));
  text-align: left;
}

.legal-foot p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-tertiary);
  margin: 0 0 0.85rem;
  letter-spacing: -0.01em;
}

.legal-foot p:last-child {
  margin-bottom: 0;
}

.legal-foot strong {
  color: var(--legal-strong);
  font-weight: 500;
}
