:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #696966;
  --faint: #969690;
  --line: rgba(23, 23, 23, 0.11);
  --line-strong: rgba(23, 23, 23, 0.2);
  --accent: #f42d54;
  --accent-hover: #dd2045;
  --accent-soft: #fff0f3;
  --success: #18794e;
  --danger: #c93434;
  --space-1: 0.375rem;
  --space-2: 0.625rem;
  --space-3: 0.875rem;
  --space-4: 1.25rem;
  --space-5: 1.75rem;
  --space-6: 2.5rem;
  --space-7: 4rem;
  --shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 18px 55px rgba(32, 28, 20, 0.08);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(23, 23, 23, 0.07) 0.75px, transparent 0.75px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
}

button,
textarea,
a {
  font: inherit;
}

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

button:focus-visible,
textarea:focus-visible,
a:focus-visible,
.transcript:focus-visible {
  outline: 3px solid rgba(244, 45, 84, 0.28);
  outline-offset: 3px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 9px;
}

.brand-mark svg,
.extract-form button svg,
.action svg,
.file-card svg,
.summary-mark svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(24, 121, 78, 0.1);
}

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  gap: clamp(54px, 8vw, 112px);
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  min-height: calc(100vh - 158px);
  margin: 0 auto;
  padding: 70px 0 80px;
}

.intro {
  padding-bottom: 12px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.65rem, 5.2vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.lede {
  max-width: 610px;
  margin: 24px 0 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.8;
}

.extract-form {
  max-width: 660px;
}

.extract-form label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.84rem;
  font-weight: 700;
}

.extract-form textarea {
  display: block;
  width: 100%;
  min-height: 126px;
  resize: vertical;
  padding: 16px 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 0.94rem;
  line-height: 1.65;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}

.extract-form textarea:hover {
  border-color: rgba(23, 23, 23, 0.32);
}

.extract-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(244, 45, 84, 0.08);
}

.extract-form textarea::placeholder {
  color: var(--faint);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: 12px;
}

.form-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.extract-form button,
.error-view button,
.new-task {
  min-height: 48px;
  border: 0;
  cursor: pointer;
}

.extract-form button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 148px;
  padding: 0 20px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 720;
  box-shadow: 0 7px 16px rgba(244, 45, 84, 0.22), 0 1px 1px rgba(90, 0, 19, 0.25);
  transition: background-color 120ms ease-out, transform 120ms ease-out, box-shadow 120ms ease-out;
}

.extract-form button:hover {
  background: var(--accent-hover);
  box-shadow: 0 9px 20px rgba(244, 45, 84, 0.26), 0 1px 1px rgba(90, 0, 19, 0.25);
  transform: translateY(-1px);
}

.extract-form button:active {
  transform: translateY(1px);
}

.extract-form button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.input-error {
  min-height: 1.1rem;
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 0.78rem;
}

.steps {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  margin: 36px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 0.76rem;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.steps span {
  color: var(--faint);
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
}

.result-panel {
  min-height: 590px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}

.panel-topline h2 {
  margin: 0;
  font-size: 0.94rem;
  letter-spacing: -0.015em;
}

.result-state {
  color: var(--muted);
  font-size: 0.72rem;
}

.view[hidden] {
  display: none;
}

.idle-view,
.progress-view,
.error-view {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.idle-view > p {
  max-width: 260px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.idle-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-card {
  display: grid;
  width: 92px;
  height: 112px;
  place-items: center;
  align-content: center;
  gap: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(20, 20, 15, 0.08);
}

.file-card svg {
  width: 31px;
}

.file-card span {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.file-card-video {
  z-index: 1;
  color: var(--accent);
  transform: rotate(-4deg) translateY(-5px);
}

.file-card-text {
  color: var(--ink);
  transform: rotate(3deg) translateY(6px);
}

.connector {
  width: 42px;
  border-top: 1px dashed var(--line-strong);
}

.progress-orbit {
  position: relative;
  width: 70px;
  height: 70px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.progress-orbit::before,
.progress-orbit span {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.progress-orbit::before {
  inset: 18px;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(244, 45, 84, 0.1);
}

.progress-orbit span {
  top: -4px;
  left: 31px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform-origin: 4px 39px;
  animation: orbit 1.2s linear infinite;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

.progress-stage {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 740;
  letter-spacing: -0.02em;
}

.progress-detail,
.progress-footnote {
  color: var(--muted);
  font-size: 0.78rem;
}

.progress-detail {
  margin: 9px 0 26px;
}

.progress-track {
  width: min(310px, 82%);
  height: 7px;
  overflow: hidden;
  background: #ececea;
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 250ms ease-out;
}

.progress-footnote {
  max-width: 300px;
  margin: 18px 0 0;
  line-height: 1.6;
}

.done-view {
  padding-top: 22px;
}

.video-summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin-bottom: 20px;
}

.summary-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--success);
  background: #eaf7f0;
  border-radius: 10px;
}

.video-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 6px;
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 120ms ease-out, border-color 120ms ease-out;
}

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

.action-primary:hover {
  background: #30302e;
}

.action-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
}

.action-secondary:hover {
  background: #f5f5f3;
  border-color: rgba(23, 23, 23, 0.3);
}

.transcript-block {
  margin-top: 24px;
}

.transcript-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.transcript-heading h3 {
  margin: 0;
  font-size: 0.8rem;
}

.transcript-heading button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.72rem;
}

.transcript-heading button:hover {
  color: var(--ink);
  background: #f7f7f5;
}

.transcript {
  height: 250px;
  overflow: auto;
  padding: 16px;
  color: #343432;
  white-space: pre-wrap;
  background: #f7f7f5;
  border: 1px solid rgba(23, 23, 23, 0.07);
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.75;
}

.new-task {
  width: 100%;
  margin-top: 14px;
  color: var(--muted);
  background: transparent;
  border-radius: 8px;
  font-size: 0.76rem;
}

.new-task:hover {
  color: var(--ink);
  background: #f7f7f5;
}

.error-mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--danger);
  background: #fff0f0;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
}

.error-view h3 {
  margin: 0;
  font-size: 1.05rem;
}

.error-view p {
  max-width: 320px;
  margin: 12px 0 23px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.error-view button {
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-weight: 650;
}

footer {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 32px;
  color: var(--faint);
  font-size: 0.68rem;
}

@media (max-width: 920px) {
  .shell {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
    padding-top: 56px;
  }

  .intro,
  .extract-form {
    max-width: none;
  }

  h1 {
    max-width: 720px;
  }

  .lede {
    max-width: 700px;
  }

  .result-panel {
    min-height: 540px;
  }

  .idle-view,
  .progress-view,
  .error-view {
    min-height: 450px;
  }
}
@media (max-width: 620px) {
  .site-header,
  .shell,
  footer {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    min-height: 68px;
  }

  .privacy-note {
    font-size: 0;
  }

  .privacy-note::after {
    content: "6 小时后清理";
    font-size: 0.68rem;
  }

  .shell {
    min-height: auto;
    gap: 38px;
    padding: 44px 0 56px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
    line-height: 1.07;
  }

  .lede {
    margin: 20px 0 29px;
    line-height: 1.7;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer p {
    order: 2;
  }

  .extract-form button {
    width: 100%;
  }

  .steps {
    gap: 12px;
    justify-content: space-between;
    margin-top: 28px;
    font-size: 0.68rem;
  }

  .steps li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    white-space: normal;
  }

  .result-panel {
    min-height: 510px;
    padding: 20px;
    border-radius: 14px;
  }

  .idle-view,
  .progress-view,
  .error-view {
    min-height: 420px;
  }

  .file-card {
    width: 76px;
    height: 96px;
  }

  .connector {
    width: 30px;
  }

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

  .transcript {
    height: 220px;
  }

  footer {
    gap: 8px;
    flex-direction: column;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    line-height: 1.5;
  }
}

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

.account-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-button,
.dialog-close,
.history-item-actions button {
  min-height: 40px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 650;
}

.header-button {
  padding: 0 12px;
}

.header-button:hover,
.history-item-actions button:hover {
  background: #f1f1ef;
  border-color: var(--line-strong);
}

.header-button-quiet {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
}

.account-name {
  max-width: 140px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-count {
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  margin-left: 4px;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  font-size: 0.64rem;
  font-variant-numeric: tabular-nums;
}

.history-count[hidden] {
  display: none;
}

.history-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(820px, calc(100vh - 48px));
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(20, 20, 17, 0.2);
}

.history-dialog::backdrop {
  background: rgba(23, 23, 23, 0.42);
  backdrop-filter: blur(3px);
}

.history-dialog-inner {
  max-height: min(820px, calc(100vh - 48px));
  padding: 28px;
  overflow: auto;
}

.history-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.history-header .eyebrow,
.login-card .eyebrow {
  margin-bottom: 8px;
}

.history-header h2,
.login-card h2 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

.dialog-close {
  display: grid;
  width: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
}

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

.history-intro {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.history-list {
  display: grid;
  gap: 10px;
}

.history-item {
  padding: 16px;
  background: #fafaf8;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.history-item-top,
.history-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.history-item-top time,
.history-item-bottom > span {
  color: var(--faint);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.history-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.history-status::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--faint);
  border-radius: 50%;
}

.history-status-done {
  color: var(--success);
}

.history-status-done::before {
  background: var(--success);
}

.history-status-error {
  color: var(--danger);
}

.history-status-error::before {
  background: var(--danger);
}

.history-status-processing::before,
.history-status-queued::before {
  background: var(--accent);
}

.history-item h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 11px 0 13px;
  font-size: 0.88rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.history-item-actions {
  display: flex;
  gap: 7px;
}

.history-item-actions button {
  min-width: 58px;
  padding: 0 10px;
}

.history-item-actions .history-delete {
  color: var(--danger);
  background: transparent;
  border-color: transparent;
}

.history-item-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.history-empty {
  margin: 36px 0;
  padding: 30px;
  color: var(--muted);
  background: #fafaf8;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.7;
}

.password-panel {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.password-panel summary {
  min-height: 40px;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.password-form,
.login-form {
  display: grid;
}

.password-form {
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
}

.password-form label,
.login-form label {
  font-size: 0.76rem;
  font-weight: 700;
}

.password-form input,
.login-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-size: 1rem;
}

.password-actions {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.password-actions span,
.history-message {
  color: var(--muted);
  font-size: 0.72rem;
}

.app-toast {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  max-width: min(420px, calc(100% - 32px));
  margin: 0;
  padding: 13px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 9px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
  font-size: 0.78rem;
  line-height: 1.5;
}

.app-toast[hidden] {
  display: none;
}

.password-actions button,
.login-form button {
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 700;
}

.history-message {
  min-height: 1rem;
  margin: -12px 0 14px;
  color: var(--success);
}

.login-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: clamp(56px, 9vw, 120px);
  align-items: stretch;
  width: min(1040px, calc(100% - 48px));
  min-height: 590px;
  padding: 56px 0;
}

.login-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 0;
}

.login-intro h1 {
  max-width: 600px;
  font-size: clamp(3rem, 5.8vw, 5rem);
}

.login-intro .lede {
  max-width: 570px;
  margin-bottom: 0;
}

.login-footnote {
  margin: 0;
  color: var(--faint);
  font-size: 0.72rem;
}

.login-card {
  align-self: center;
  padding: 36px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.login-card-heading > p:last-child {
  margin: 10px 0 28px;
  color: var(--muted);
  font-size: 0.8rem;
}

.login-form {
  gap: 9px;
}

.login-form input + label {
  margin-top: 9px;
}

.login-form button {
  min-height: 50px;
  margin-top: 15px;
  background: var(--accent);
  box-shadow: 0 7px 16px rgba(244, 45, 84, 0.2);
}

.login-form button:hover {
  background: var(--accent-hover);
}

.login-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.login-error {
  min-height: 1.1rem;
  margin: 3px 0 0;
  color: var(--danger);
  font-size: 0.76rem;
}

@media (max-width: 760px) {
  .account-name {
    display: none;
  }

  .header-button {
    min-height: 44px;
    padding: 0 9px;
  }

  .dialog-close {
    width: 44px;
    min-height: 44px;
    flex-basis: 44px;
  }

  .password-panel summary {
    min-height: 44px;
  }

  .history-dialog {
    width: 100%;
    max-width: none;
    max-height: 90vh;
    margin: auto 0 0;
    border-width: 1px 0 0;
    border-radius: 18px 18px 0 0;
  }

  .history-dialog-inner {
    max-height: 90vh;
    padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
  }

  .history-item-bottom {
    align-items: flex-end;
  }

  .history-item-actions button {
    min-height: 44px;
  }

  .password-form {
    grid-template-columns: 1fr;
  }

  .password-actions {
    grid-column: 1;
  }

  .login-shell {
    grid-template-columns: 1fr;
    gap: 42px;
    width: min(100% - 32px, 560px);
    padding: 30px 0 calc(30px + env(safe-area-inset-bottom));
  }

  .login-intro {
    gap: 50px;
  }

  .login-intro h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .login-intro .lede {
    margin-top: 18px;
  }

  .login-footnote {
    display: none;
  }

  .login-card {
    padding: 26px 20px;
  }

  .app-toast {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
}
