/* Orien site styles.
   Built for tired caregivers on phones and for people browsing with eye gaze
   or switch access: big text, big targets, high contrast, no hover-only UI,
   no motion that can't be turned off. */

:root {
  --bg: #0f0b29;
  --bg-raised: #1a1442;
  --bg-card: #221a52;
  --line: #3a3170;
  --text: #ffffff;
  --text-soft: #dcd8f2;
  --gold: #f4c76b;
  --gold-hover: #ffd98f;
  --on-gold: #1a1230;
  --focus: #ffe08a;
  --radius: 20px;
  --max: 1080px;
  --read: 680px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 125%; /* 20px base */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(ellipse at top, #2b1b62 0%, var(--bg) 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold-hover);
}

:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--gold);
  color: var(--on-gold);
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  z-index: 10;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
  min-height: 56px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.header-link {
  color: var(--text);
  font-weight: 600;
  padding: 12px 16px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 16px 28px;
  border-radius: 16px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  text-align: center;
}

.button:hover {
  background: var(--gold-hover);
  color: var(--on-gold);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 3px solid var(--gold);
}

.button.secondary:hover {
  background: var(--bg-card);
  color: var(--text);
}

/* Hero */

.hero .wrap {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 56px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(244, 199, 107, 0.25);
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 34ch;
}

.hero .fine {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-top: 14px;
}

.hero-shot {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid var(--line);
}

@media (min-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1.3fr 1fr;
    padding-top: 48px;
  }
  .hero-shot {
    max-width: 340px;
  }
}

/* Facts strip */

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.facts li {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.facts strong {
  display: block;
  font-size: 1.15rem;
  color: var(--gold);
}

@media (min-width: 720px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Sections */

section {
  padding: 56px 0;
}

section + section {
  border-top: 1px solid var(--line);
}

.readable {
  max-width: var(--read);
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  max-width: var(--read);
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}

.steps li::before {
  content: counter(step);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps p {
  margin: 0;
  color: var(--text-soft);
}

.steps strong {
  display: block;
  color: var(--text);
  font-size: 1.1rem;
}

.cards {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.card p {
  margin: 0;
  color: var(--text-soft);
}

.shots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.shots img {
  border-radius: 18px;
  border: 1px solid var(--line);
}

@media (min-width: 860px) {
  .shots {
    grid-template-columns: repeat(5, 1fr);
  }
}

.checklist {
  padding-left: 1.2em;
  max-width: var(--read);
}

.checklist li {
  margin-bottom: 0.7em;
}

.note {
  background: var(--bg-card);
  border-left: 6px solid var(--gold);
  border-radius: 12px;
  padding: 18px 22px;
  max-width: var(--read);
}

.note p:last-child {
  margin-bottom: 0;
}

/* FAQ */

.faq {
  max-width: var(--read);
}

.faq details {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px 22px;
  min-height: 64px;
  display: flex;
  align-items: center;
}

.faq details > div {
  padding: 0 22px 18px;
  color: var(--text-soft);
}

.faq details > div p:last-child {
  margin-bottom: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

/* Long form pages (privacy, terms, support) */

.doc {
  max-width: var(--read);
  padding-top: 24px;
  padding-bottom: 64px;
}

.doc h1 {
  font-size: clamp(2rem, 6vw, 2.6rem);
}

.doc h2 {
  font-size: 1.4rem;
  margin-top: 1.8em;
}

.doc h3 {
  margin-top: 1.4em;
}

.doc li {
  margin-bottom: 0.5em;
}

.doc .updated {
  color: var(--text-soft);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.site-footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px 0 0;
  font-weight: 600;
}

.site-footer p {
  margin: 0 0 0.5em;
}

/* Contact form */

.form {
  max-width: var(--read);
  display: grid;
  gap: 22px;
  margin: 8px 0 28px;
}

.field label,
.field legend {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.field .hint {
  display: block;
  font-weight: 400;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 60px;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-raised);
  border: 2px solid var(--line);
  border-radius: 14px;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--gold);
}

.form .button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  justify-self: start;
}

/* Hidden from people, visible to bots */
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.reveal-email {
  margin-top: 8px;
}

.email-address {
  font-size: 1.15rem;
  font-weight: 700;
}

/* Big radio choices: easier than a dropdown with eye gaze or switch access */

.field fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.choices {
  display: grid;
  gap: 10px;
}

.choices label {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 12px 16px;
  margin: 0;
  font-weight: 600;
  background: var(--bg-raised);
  border: 2px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.choices input {
  width: 26px;
  height: 26px;
  min-height: 0;
  margin: 0;
  flex: none;
  accent-color: var(--gold);
}

.choices label:has(input:checked) {
  border-color: var(--gold);
}
