:root {
  --background: #eff6ff;
  --text: #0f172a;
  --muted: #475569;
  --border: #dbeafe;
  --shadow: #1e3a8a1a;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
}

:root[data-theme="wildberries"] {
  --background: #faf0ff;
  --text: #311445;
  --muted: #61496f;
  --border: #eed8f7;
  --shadow: #581c871a;
  --accent: #8c159e;
  --accent-hover: #701279;
  --brand-filter: hue-rotate(66deg);
}

:root[data-theme="ozon"] {
  --background: #eaf3ff;
  --text: #10274d;
  --muted: #455975;
  --border: #cfe2ff;
  --shadow: #003a9a1a;
  --accent: #005bff;
  --accent-hover: #0047cf;
}

:root[data-theme="lamoda"] {
  --background: #f4f4f4;
  --text: #111;
  --muted: #525252;
  --border: #dedede;
  --shadow: #0000001a;
  --accent: #111;
  --accent-hover: #383838;
  --brand-filter: grayscale(1);
}

body {
  box-sizing: border-box;
  min-height: 100svh;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1.25rem;
}

main {
  box-sizing: border-box;
  width: min(100%, 31rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: 0 1rem 3rem var(--shadow);
  padding: clamp(1.5rem, 6vw, 2.75rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
  filter: var(--brand-filter, none);
}

h1 {
  font-size: clamp(1.65rem, 5vw, 2.4rem);
  line-height: 1.1;
  margin: 2rem 0 1rem;
  letter-spacing: -.035em;
}

p {
  color: var(--muted);
}

.destination {
  background: var(--background);
  border-radius: .75rem;
  color: var(--text);
  font-weight: 650;
  overflow-wrap: anywhere;
  padding: .9rem 1rem;
}

.continue {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  border-radius: .75rem;
  background: var(--accent);
  color: #fff;
  padding: .9rem 1rem;
  font-weight: 650;
  text-decoration: none;
}

.continue:hover {
  background: var(--accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
