:root {
  color-scheme: light;
  --ink: #17362f;
  --ink-soft: #385b52;
  --paper: #fffdf4;
  --cream: #f6efda;
  --moss: #2f6d54;
  --moss-dark: #163f36;
  --leaf: #73a95b;
  --sun: #f7bf4a;
  --water: #4d9eb0;
  --coral: #d86c52;
  --line: #b7c7b6;
  --shadow: 0 12px 30px rgb(25 62 52 / 18%);
  --shadow-soft: 0 5px 14px rgb(25 62 52 / 14%);
  --radius-small: 12px;
  --radius-medium: 20px;
  --radius-large: 30px;
  --focus: #143cff;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgb(247 191 74 / 24%), transparent 24rem),
    linear-gradient(150deg, #e8f2d8 0%, #cce4d5 48%, #b7d8d8 100%);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

p {
  line-height: 1.55;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  color: white;
  background: var(--moss-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.orientation-notice {
  display: none;
}

@media (orientation: portrait) and (max-width: 1100px) {
  .orientation-notice {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    padding: 32px;
    color: white;
    text-align: center;
    background:
      radial-gradient(circle at 50% 35%, rgb(247 191 74 / 22%), transparent 15rem),
      var(--moss-dark);
  }

  .orientation-notice h1 {
    max-width: 680px;
    margin-bottom: 14px;
    font-size: clamp(2rem, 8vw, 4.5rem);
  }

  .orientation-notice p {
    max-width: 560px;
    font-size: clamp(1.05rem, 3.8vw, 1.45rem);
  }

  .orientation-symbol {
    display: grid;
    width: 108px;
    height: 108px;
    place-items: center;
    margin-bottom: 24px;
    border: 4px solid rgb(255 255 255 / 65%);
    border-radius: 28px;
    color: var(--moss-dark);
    background: var(--sun);
    font-size: 4rem;
    font-weight: 900;
  }
}

.primary-button,
.secondary-button,
.danger-button,
.quiet-button {
  min-height: 52px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.primary-button {
  color: white;
  background: var(--moss);
  box-shadow: 0 5px 0 var(--moss-dark);
}

.secondary-button {
  color: var(--ink);
  background: var(--sun);
  box-shadow: 0 5px 0 #b87918;
}

.quiet-button {
  border-color: var(--line);
  background: white;
}

.danger-button {
  color: white;
  background: #a63d35;
}

.primary-button:not(:disabled):active,
.secondary-button:not(:disabled):active,
.quiet-button:not(:disabled):active,
.danger-button:not(:disabled):active {
  transform: translateY(3px);
  box-shadow: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--moss);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgb(255 255 255 / 82%);
}

.noscript-message {
  margin: 20px;
  padding: 18px;
  border: 3px solid #a63d35;
  background: white;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
