body {
  margin: 0;
  background: var(--stryx-page);
  color: var(--stryx-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
summary {
  touch-action: manipulation;
}

button,
.button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: 0.65;
}

a:hover {
  text-decoration: underline;
}

button,
.button {
  border: 1px solid var(--stryx-line);
  background: transparent;
  color: inherit;
  padding: 0.75rem 1.2rem;
  border-radius: 0;
  font-weight: 700;
  display: inline-block;
}

button:hover,
.button:hover {
  border-color: #f3d430;
}

.primary {
  background: #f3d430;
  color: #111;
  border-color: #f3d430;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f3d430;
  font-weight: 700;
}

.container {
  max-width: 1220px;
  width: calc(100% - 3rem);
  margin-inline: auto;
}

:focus-visible {
  outline: 3px solid #f3d430;
  outline-offset: 5px;
}

.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

main section[id] {
  scroll-margin-top: 110px;
}

.section {
  padding-block: 5rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.page-heading h1 {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0.7rem 0;
}

.section-heading p {
  color: var(--stryx-muted);
  max-width: 460px;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
}

input,
select,
textarea {
  width: 100%;
  background: var(--stryx-raised);
  color: var(--stryx-text);
  border: 1px solid var(--stryx-field-line);
  padding: 0.8rem;
}

textarea {
  min-height: 110px;
}

.muted {
  color: var(--stryx-muted);
}

.small {
  font-size: 0.78rem;
}

.page-heading {
  padding-top: 3rem;
}

.notice {
  border-left: 3px solid #f3d430;
  background: var(--stryx-panel);
  padding: 1rem;
  margin-block: 1rem;
}

.status {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  max-width: 350px;
  background: #f3d430;
  color: #111;
  z-index: 100;
  padding: 1rem;
}

.status:empty {
  display: none;
}

[hidden] {
  display: none !important;
}

@media (max-width: 500px) {
  .container {
    width: calc(100% - 2rem);
  }

  .section {
    padding-block: 3.5rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.section-heading {
  align-items: start;
}

.section-heading hgroup {
  max-width: 760px;
}

.section-heading hgroup > p:last-child:not(.eyebrow) {
  margin-top: 1rem;
  max-width: 640px;
}

.section-heading > a {
  margin-top: 2.3rem;
  white-space: nowrap;
}

.section-heading h2 {
  margin-bottom: 1rem;
}

button,
.button {
  min-height: 44px;
}

.button + button,
.button + .button {
  margin-left: 0;
}

body:has(dialog[open]) {
  overflow: hidden;
}

form button[type="submit"] {
  margin-top: 0.7rem;
}

.actions {
  margin-block: 1.7rem 0;
}

.section-heading p {
  line-height: 1.7;
}

@media (max-width: 850px) {
  .section-heading > a {
    margin-top: 0;
  }
}

.poster-link {
  font-size: 0.85rem;
  color: #f3d430;
  text-decoration: underline;
  margin-top: 0.7rem;
}

main > section.section.container {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100% - 1220px) / 2));
  border-top: 1px solid #ffffff12;
  border-bottom: 1px solid #ffffff08;
}

.section-heading .eyebrow {
  color: #f3d430;
}

@media (max-width: 650px) {
  main > section.section.container {
    padding-inline: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.page-heading > p {
  margin-block: 1.2rem;
}

.page-heading h1 {
  color: var(--stryx-text);
}

.error-summary {
  padding: 1.5rem;
  margin-block: 1rem;
  border: 2px solid #ef9c96;
  background: #311b1b;
  color: #ffe2df;
}

.error-summary ul {
  padding-left: 1.3rem;
}

.error-summary a {
  text-decoration: underline;
}

.field-error {
  color: #ffc6c1;
}

.success-notice {
  margin-block: 1rem;
}

.privacy-consent {
  display: block !important;
  font-size: 0.82rem;
  line-height: 1.7;
}

.privacy-consent input {
  width: 20px;
  min-height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4rem;
  accent-color: #f3d430;
}

.privacy-consent a {
  text-decoration: underline;
}

.honeypot {
  display: none !important;
}

.text-page {
  max-width: 850px;
}

.text-page h2 {
  font-size: 1.5rem;
  margin-block: 2rem 0.8rem;
}

.text-page p {
  margin-top: 1rem;
}

.text-page ul {
  padding-left: 1.5rem;
}

.section-heading h1 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-block: 1rem;
}

html {
  scroll-padding-top: 110px;
}

main [id] {
  scroll-margin-top: 110px;
}

@media (max-width: 500px) {
  html {
    scroll-padding-top: 160px;
  }

  main [id] {
    scroll-margin-top: 160px;
  }
}

[data-theme="light"] :is(input, select, textarea) {
  color: #1b1914;
  -webkit-text-fill-color: #1b1914;
}

[data-theme="light"] :is(input, textarea)::placeholder {
  color: #575247;
  -webkit-text-fill-color: #575247;
  opacity: 1;
}

[data-theme="light"] .section-heading .eyebrow {
  color: #68540b;
}
