* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
}
body {
  margin: 0;
  color: var(--theme-foreground);
  background: var(--theme-background);
}
button,
select {
  font: inherit;
}
a {
  color: inherit;
}
button,
select,
.privacy-link {
  min-height: 44px;
}
button,
select {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--theme-foreground);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 12px;
  background: white;
}
.skip:focus {
  top: 12px;
}
.shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.header {
  border-bottom: 1px solid var(--theme-border);
  background: var(--theme-background);
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.language {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--theme-secondary);
}
select {
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  background: var(--theme-background);
  color: var(--theme-foreground);
  padding: 8px;
  max-width: 130px;
}
.hero {
  min-height: 640px;
  min-height: min(740px, 78svh);
  display: grid;
  place-items: center;
  padding: 72px 24px;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--theme-primary),
    var(--theme-primary-light) 50%,
    var(--theme-primary-pale)
  );
}
html[data-brand='ctscan'] .hero {
  background: linear-gradient(
    180deg,
    var(--theme-background),
    var(--theme-primary-background)
  );
}
.hero-inner {
  max-width: 760px;
}
.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 28px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 8%);
}
.status {
  display: table;
  margin: 0 auto 24px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--theme-border);
  background: var(--theme-background);
  border-radius: 999px;
}
.status::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--theme-primary-dark);
  margin-right: 8px;
  vertical-align: 1px;
}
h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.07;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
  font-weight: 700;
}
.intro {
  font-size: clamp(19px, 2.5vw, 24px);
  line-height: 1.55;
  max-width: 580px;
  margin: 0 auto 20px;
}
.description {
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}
.thanks {
  margin: 40px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.footer {
  padding-block: 32px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--theme-secondary);
}
.privacy-link {
  background: none;
  border: none;
  text-decoration: underline;
  padding: 0;
  color: var(--theme-foreground);
}
.disclaimer {
  border-top: 1px solid var(--theme-border);
  margin-top: 20px;
  padding-top: 24px;
  max-width: 900px;
  color: var(--theme-secondary);
  font-size: 12px;
  line-height: 1.75;
}
.disclaimer h2 {
  font-size: 12px;
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--theme-foreground);
}
.disclaimer p {
  margin: 8px 0 0;
}
dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100svh - 48px);
  overflow: auto;
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  padding: 28px;
  background: var(--theme-background);
  color: var(--theme-foreground);
  box-shadow: 0 16px 80px rgb(0 0 0 / 15%);
}
dialog::backdrop {
  background: rgb(0 0 0 / 30%);
}
dialog h2 {
  margin: 0 0 16px;
  font-size: 24px;
}
dialog p {
  font-size: 14px;
  line-height: 1.7;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.actions button {
  flex: 1 1 170px;
  padding: 12px 16px;
  border: 1px solid var(--theme-border);
  border-radius: 8px;
  color: var(--theme-foreground);
  background: var(--theme-primary-pale);
  font-weight: 600;
}
.actions .close {
  background: var(--theme-background);
}
noscript p {
  text-align: center;
  padding: 16px;
  font-size: 12px;
}
@media (max-width: 540px) {
  .shell {
    width: calc(100% - 32px);
  }
  .header-inner {
    min-height: 72px;
  }
  .brand {
    font-size: 17px;
    gap: 8px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .language label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  select {
    max-width: 108px;
  }
  .hero {
    min-height: 600px;
    padding: 56px 24px;
  }
  .hero-logo {
    width: 80px;
    height: 80px;
  }
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
