:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: #171717;
  background: #f5f3ef;
}

.stiv-oauth__shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 56px 0 72px;
}

.stiv-oauth__mark {
  display: inline-flex;
  gap: 0.35em;
  align-items: center;
  margin-bottom: 56px;
  padding: 0.55em 0.72em;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  background: #171717;
}

.stiv-oauth__mark span {
  color: #ff4d1d;
}

.stiv-oauth__intro {
  padding-bottom: 44px;
  border-bottom: 1px solid #d9d5ce;
}

.stiv-oauth__intro--compact {
  padding-bottom: 32px;
}

.stiv-oauth__eyebrow {
  margin: 0 0 16px;
  color: #a22808;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.stiv-oauth__lead {
  max-width: 58ch;
  margin-bottom: 0;
  color: #3f3f3f;
  font-size: 1.15rem;
}

.stiv-oauth__panel {
  padding: 28px 0;
  border-bottom: 1px solid #d9d5ce;
}

.stiv-oauth__panel p {
  max-width: 66ch;
  margin-bottom: 0;
  color: #3f3f3f;
}

.stiv-oauth__panel--accent {
  padding-inline: 24px;
  margin: 28px -24px 0;
  border: 1px solid #e3b19f;
  border-left: 4px solid #c7350d;
  background: #fff7f4;
}

a {
  color: #9d2608;
  font-weight: 700;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
  color: #6d1a05;
}

a:focus-visible {
  outline: 3px solid #171717;
  outline-offset: 4px;
}

footer {
  padding-top: 28px;
  color: #5f5a54;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

@media (width <= 520px) {
  .stiv-oauth__shell {
    width: min(100% - 24px, 760px);
    padding-top: 32px;
  }

  .stiv-oauth__mark {
    margin-bottom: 40px;
  }

  .stiv-oauth__panel--accent {
    padding-inline: 18px;
    margin-inline: -12px;
  }
}
