:root {
  color-scheme: light;
  --ink: #0a2423;
  --spruce: #123431;
  --teal: #167f70;
  --mint: #49c8b1;
  --sunrise: #f2a65a;
  --page: #f5f7f5;
  --surface: #ffffff;
  --soft: #eaf1ee;
  --line: #cedbd6;
  --muted: #405854;
  --sans: "Segoe UI", Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { min-width: 320px; margin: 0; }

a { color: inherit; text-underline-offset: .2em; }

h1, h2, p { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }

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

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 10;
  transform: translateY(-180%);
  border-radius: .5rem;
  background: var(--sunrise);
  padding: .7rem 1rem;
  font-weight: 700;
  transition: transform 160ms cubic-bezier(.25, 1, .5, 1);
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.header-inner {
  display: flex;
  min-height: 4.75rem;
  max-width: 67rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 auto;
  padding: .65rem 1.5rem;
}

.brand { display: block; line-height: 0; }
.brand img { display: block; width: min(14rem, 60vw); height: auto; }

.page-label {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 650;
}

main {
  max-width: 67rem;
  margin: 0 auto;
  padding: clamp(3.25rem, 7vw, 5.5rem) 1.5rem 3.5rem;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 23rem);
  gap: clamp(3rem, 8vw, 6rem);
  align-items: center;
}

.session-status {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: .875rem;
  font-weight: 700;
}

.session-status span {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(73, 200, 177, .16);
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.04;
}

.lede {
  max-width: 37rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.control-note {
  display: flex;
  max-width: 38rem;
  align-items: flex-start;
  gap: .8rem;
  margin-top: 1.75rem;
}

.control-note svg {
  flex: 0 0 1.45rem;
  width: 1.45rem;
  margin-top: .1rem;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.control-note p {
  margin: 0;
  color: var(--muted);
  font-size: .925rem;
  line-height: 1.55;
}

.control-note strong { color: var(--ink); }

.download-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 1px solid var(--line);
  border-radius: .875rem;
  background: var(--surface);
  padding: 1.75rem;
}

.download-panel h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.015em;
}

.download-panel > div p {
  margin: .45rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.download {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  border-radius: .55rem;
  background: var(--ink);
  color: var(--surface);
  padding: .85rem 1.1rem;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms cubic-bezier(.25, 1, .5, 1), transform 160ms cubic-bezier(.25, 1, .5, 1);
}

.download:hover { transform: translateY(-1px); background: var(--spruce); }

.download svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.version {
  margin: -.75rem 0 0;
  color: var(--muted);
  font-size: .75rem;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: minmax(11rem, .7fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 7vw, 5rem);
  margin-top: clamp(4.5rem, 9vw, 7rem);
  border-top: 1px solid var(--line);
  padding-top: 2.25rem;
}

.steps-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -.025em;
}

.steps-heading p {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.55;
}

.steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0 0 1.35rem;
}

.steps li + li {
  border-top: 1px solid var(--line);
  padding-top: 1.35rem;
}

.steps li > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--teal);
  font-size: .8rem;
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-top: .25rem;
  font-size: .95rem;
}

.steps li p {
  margin: .4rem 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.55;
}

.safety {
  display: flex;
  align-items: baseline;
  gap: 1.25rem 2rem;
  margin-top: 3.25rem;
  border-radius: .625rem;
  background: var(--soft);
  padding: 1.25rem 1.5rem;
}

.safety h2 {
  flex: 0 0 auto;
  margin: 0;
  font-size: .95rem;
  font-weight: 750;
}

.safety p {
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.55;
}

.consent {
  max-width: 62rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.6;
}

footer {
  display: flex;
  max-width: 67rem;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}

@media (max-width: 760px) {
  .header-inner { min-height: 4.25rem; padding-inline: 1.25rem; }
  .brand img { width: min(11.5rem, 58vw); }
  main { padding: 2.75rem 1.25rem 3rem; }
  .support-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  h1 { max-width: 14ch; font-size: clamp(2.25rem, 11vw, 3rem); }
  .download-panel { padding: 1.5rem; }
  .steps { grid-template-columns: 1fr; gap: 2rem; margin-top: 4.5rem; }
  .steps-heading p { max-width: 28rem; }
  .safety { align-items: flex-start; flex-direction: column; }
  footer { padding-inline: 1.25rem; }
}

@media (max-width: 440px) {
  .page-label { display: none; }
  .download { width: 100%; }
  footer { flex-direction: column; gap: .65rem; }
}

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