:root {
  --mint: #4f8cff;
  --blue: #79a9ff;
}

body {
  transition: background-color .2s ease, color .2s ease;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
.drop-zone:focus-visible {
  outline-color: #4f8cff66;
}

.site-header {
  border-bottom-color: #4f8cff26;
}

.privacy-dot {
  background: #4f8cff;
  box-shadow: 0 0 15px #4f8cff;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin-right: 10px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--panel);
}

.theme-toggle:hover {
  border-color: #4f8cff;
  background: #172946;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .moon-icon {
  display: none;
}

.header-action,
.primary-button,
.download-button,
.tab.active,
.result-check {
  background: #4f8cff;
  color: #fff;
}

.header-action:hover,
.primary-button:hover,
.download-button:hover {
  background: #6da1ff;
}

.drop-symbol {
  background: #172f59;
}

.drop-zone.drag {
  border-color: #4f8cff;
  background: #101f38;
}

.seal-core {
  background: linear-gradient(145deg, #183259, #101f38);
  border-color: #376dbd;
  box-shadow: 0 0 50px #4f8cff24;
}

[data-theme="light"] {
  --bg: #f5f8fd;
  --panel: #ffffff;
  --panel2: #f9fbff;
  --text: #122039;
  --muted: #607087;
  --line: #d9e2ef;
  --shadow: 0 24px 70px rgba(33, 58, 95, .14);
  color-scheme: light;
}

[data-theme="light"] body {
  background: radial-gradient(circle at 78% -10%, #dceaff 0, transparent 34%), var(--bg);
}

[data-theme="light"] .brand {
  color: #122039;
}

[data-theme="light"] .theme-toggle {
  background: #fff;
}

[data-theme="light"] .theme-toggle:hover {
  background: #edf4ff;
}

[data-theme="light"] .theme-toggle .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
  display: block;
}

[data-theme="light"] .intro h1 span {
  -webkit-text-stroke-color: #69809f;
}

[data-theme="light"] .intro-text,
[data-theme="light"] .section-heading > p,
[data-theme="light"] .workspace-head p:last-child,
[data-theme="light"] .tool-copy small,
[data-theme="light"] .file-name small,
[data-theme="light"] .setting label,
[data-theme="light"] .promise p {
  color: #607087;
}

[data-theme="light"] .tool-card,
[data-theme="light"] .workspace {
  background: linear-gradient(145deg, #fff, #f4f8fe);
}

[data-theme="light"] .drop-zone,
[data-theme="light"] .setting {
  background: #f7faff;
}

[data-theme="light"] .file-row {
  background: #fbfdff;
}

[data-theme="light"] .select-files {
  background: #edf4ff;
  color: #18345f;
  border-color: #b9cbe3;
}

[data-theme="light"] .setting input,
[data-theme="light"] .setting select {
  background: #fff;
  color: #122039;
  border-color: #c8d6e7;
}

[data-theme="light"] .secondary-button,
[data-theme="light"] .close-workspace,
[data-theme="light"] .move-buttons button,
[data-theme="light"] .remove-file {
  color: #4e6078;
}

[data-theme="light"] .result {
  background: #edf4ff;
  border-color: #8cb4f4;
}

[data-theme="light"] .result span {
  color: #526b91;
}

[data-theme="light"] footer {
  color: #73839a;
}

@media (max-width: 620px) {
  .theme-toggle {
    margin-left: auto;
    margin-right: 0;
  }
}
