:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --ink: #0A1E4D;
  --muted: #0A1E4D;
  --muted-strong: #0A1E4D;
  --line: #0A1E4D;
  --teal: #0A1E4D;
  --teal-dark: #0A1E4D;
  --coral: #F5A623;
  --gold: #F5A623;
  --nav: #ffffff;
  --shadow: 0 12px 28px rgba(10, 30, 77, 0.15);
  --radius: 8px;
  --max: 1360px;
  font-size: 18px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --surface: #000000;
  --surface-strong: #000000;
  --ink: #ffffff;
  --muted: #ffffff;
  --muted-strong: #ffffff;
  --line: #ffffff;
  --teal: #F5A623;
  --teal-dark: #F5A623;
  --coral: #F5A623;
  --gold: #F5A623;
  --nav: #000000;
  --shadow: 0 12px 28px rgba(245, 166, 35, 0.20);
}

:root[data-font-level="-3"] {
  font-size: 15px;
}

:root[data-font-level="-2"] {
  font-size: 16px;
}

:root[data-font-level="-1"] {
  font-size: 17px;
}

:root[data-font-level="1"] {
  font-size: 20px;
}

:root[data-font-level="2"] {
  font-size: 22px;
}

:root[data-font-level="3"] {
  font-size: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:target,
section[id],
[id] {
  scroll-margin-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--teal-dark);
  text-decoration-thickness: 0.1em;
  text-decoration-color: var(--coral);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.2em;
}

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

p,
li {
  max-width: 70ch;
}

button,
.button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 0.45rem;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #0A1E4D;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #F5A623;
}

.skip-link {
  background: var(--gold);
  color: #0A1E4D;
  font-weight: 800;
  left: 1rem;
  padding: 0.6rem 0.9rem;
  position: fixed;
  top: 1rem;
  /* Move it fully above the viewport: the top offset (1rem) has to be cleared
     too, or its bottom edge shows as a thin gold bar at the top left. */
  transform: translateY(calc(-100% - 2rem));
  z-index: 200;
}

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

.site-header {
  background: var(--nav);
  box-shadow: 0 4px 12px rgba(10, 30, 77, 0.18);
  position: sticky;
  top: 0;
  z-index: 100;
}

:root[data-theme="dark"] .site-header {
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.22);
}

.header-inner,
.section-inner,
.footer-inner {
  margin: 0 auto;
  max-width: var(--max);
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.header-inner {
  align-items: center;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: auto 1fr auto;
  max-width: min(100%, 1680px);
  min-height: 5.6rem;
  padding-left: clamp(1rem, 2vw, 2.5rem);
  padding-right: clamp(1rem, 2vw, 2.5rem);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  height: 3.6rem;
  width: auto;
}

.brand-name {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.menu-button {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  display: none;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  justify-content: center;
}

.site-nav a,
.site-nav summary {
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  padding: 0.45rem 0.35rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav summary:hover,
.site-nav a:focus-visible,
.site-nav summary:focus-visible,
.learn-menu[open] > summary {
  background: var(--surface-strong);
  border-color: var(--teal);
  color: var(--teal-dark);
}

.learn-menu summary::after {
  content: "v";
  font-size: 0.74rem;
  font-weight: 800;
  margin-left: 0.35rem;
}

.site-nav a[aria-current="page"] {
  background: var(--coral);
  border-color: #0A1E4D;
  color: #0A1E4D;
}

.learn-menu {
  position: relative;
}

.learn-menu summary {
  list-style: none;
}

.learn-menu summary::-webkit-details-marker {
  display: none;
}

.learn-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.2rem;
  left: 0;
  min-width: 17rem;
  padding: 0.5rem;
  position: absolute;
  top: calc(100% + 0.6rem);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.text-controls {
  align-items: center;
  display: inline-flex;
  gap: 0.25rem;
}

.control-button {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  min-width: 2.45rem;
  padding-left: 0.45rem;
  padding-right: 0.45rem;
}

.control-button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
}

.control-button:hover:not(:disabled),
.control-button:focus-visible:not(:disabled) {
  background: var(--surface-strong);
  border-color: var(--teal);
}

.control-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.button-primary {
  background: var(--coral);
  color: #0A1E4D;
  border-color: #0A1E4D;
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

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

.hero {
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
  position: relative;
}

:root[data-theme="dark"] .hero {
  background: var(--bg);
}

.hero::before {
  display: none;
}

.hero .section-inner {
  align-items: center;
  display: flex;
  min-height: min(620px, 76vh);
  padding-bottom: clamp(2.4rem, 6vw, 4.4rem);
  padding-top: clamp(2.4rem, 6vw, 4.4rem);
  position: relative;
}

.hero-copy {
  max-width: 60rem;
}

.landing-hero-inner {
  justify-content: flex-start;
}

.hero-tagline {
  color: var(--teal-dark);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  margin: 0 0 0.9rem;
}

.eyebrow {
  color: var(--ink);
  display: inline-block;
  border-bottom: 3px solid var(--coral);
  padding-bottom: 0.2rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5.8vw, 4.6rem);
  letter-spacing: 0;
  max-width: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 22ch;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  max-width: none;
}

h3 {
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}

.lead {
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  max-width: 54rem;
}

.hero .lead {
  color: var(--muted-strong);
  font-weight: 700;
  margin-top: 1.2rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.trust-note {
  color: var(--muted-strong);
  font-weight: 700;
  margin-top: 1.2rem;
}

.trust-panel {
  max-width: 62rem;
}

.trust-panel p:not(.eyebrow) {
  margin-top: 1.1rem;
}

.section {
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
  padding-top: clamp(2.4rem, 5vw, 4rem);
}

.section-alt {
  background: var(--surface-strong);
}

.section-header {
  display: block;
  margin-bottom: 1.35rem;
  max-width: 58rem;
}

.section-header p {
  margin: 0.85rem 0 0;
}

.page-hero {
  background: var(--surface-strong);
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
  padding-top: clamp(2.4rem, 5vw, 4rem);
}

.page-hero .lead {
  margin-top: 1.2rem;
}

.grid {
  display: grid;
  gap: 0.8rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.fact-box,
.callout,
.demo-panel,
.sample-card,
.timeline-item,
.price-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(0.85rem, 1.8vw, 1.1rem);
}

.card strong,
.fact-box strong {
  color: var(--ink);
}

.card p,
.sample-card p,
.timeline-item p {
  margin-bottom: 0;
}

.icon {
  align-items: center;
  background: var(--coral);
  border: 2px solid #0A1E4D;
  border-radius: var(--radius);
  color: #0A1E4D;
  display: inline-flex;
  font-weight: 800;
  height: 2.35rem;
  justify-content: center;
  margin-bottom: 0.8rem;
  width: 2.35rem;
}

.icon-svg {
  color: var(--coral);
  height: 1.8rem;
  margin-bottom: 0.5rem;
  width: 1.8rem;
}

.demo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr);
}

.video-frame {
  background: #111513;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.video-frame img {
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  width: 100%;
}

.video-caption {
  background: rgba(0, 0, 0, 0.75);
  bottom: 0;
  color: #ffffff;
  left: 0;
  padding: 0.55rem 0.75rem;
  position: absolute;
  right: 0;
}

.script-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0;
}

.script-list li {
  border-left: 4px solid var(--teal);
  list-style: none;
  padding-left: 0.8rem;
}

.audio-status {
  color: var(--muted-strong);
  font-weight: 700;
  margin-top: 0.8rem;
}

.steps {
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
}

.step::before {
  display: none;
}

.step .icon-svg {
  margin-left: 2.1rem;
}

.list-check {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
}

.list-check li {
  list-style: none;
  padding-left: 1.6rem;
  position: relative;
}

.list-check li::before {
  color: var(--teal-dark);
  content: "\2713";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.article-body {
  display: grid;
  gap: 1.2rem;
  max-width: 1040px;
}

.article-body h2 {
  margin-top: 1rem;
}

.article-body p,
.article-body li {
  max-width: 92ch;
}

.fact-box {
  border-left: 4px solid var(--teal);
}

.facts-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

.fact-box {
  display: grid;
  gap: 0.35rem;
}

.fact-box span {
  color: var(--muted-strong);
}

.section-note {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1rem;
}

.description-preview {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 0.85rem;
  padding: 0.85rem;
}

.audience-card {
  display: grid;
  gap: 0.25rem;
}

.audience-card p {
  margin: 0;
}

.description-preview h4 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.contact-form-public {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.85rem;
  max-width: 600px;
  padding: clamp(0.9rem, 2vw, 1.2rem);
  padding-bottom: 0.4rem;
}

.form-grid {
  align-items: start;
  gap: 0.85rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-weight: 800;
}

.optional,
.help-text,
.character-count {
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.textarea-wrap {
  position: relative;
}

.textarea-wrap .character-count {
  bottom: 0.45rem;
  margin: 0;
  pointer-events: none;
  position: absolute;
  right: 0.7rem;
}

.contact-form-public .textarea-wrap textarea {
  padding-bottom: 1.7rem;
}

.contact-form-public input,
.contact-form-public select,
.contact-form-public textarea {
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 2.45rem;
  padding: 0.5rem 0.65rem;
  width: 100%;
}

.contact-form-public textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.contact-form-public input:focus,
.contact-form-public select:focus,
.contact-form-public textarea:focus {
  border-color: var(--teal);
  outline: 3px solid #0A1E4D;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px #F5A623;
}

.contact-form-public textarea:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.contact-form-public .section-actions {
  margin-top: 0.3rem;
}

.contact-form-public .field-error {
  min-height: 0.5rem;
}

.contact-form-public .form-status {
  min-height: 0.5rem;
  padding: 0.1rem 0;
}

.field-error {
  color: #b42318;
  font-weight: 800;
  margin: 0;
  min-height: 1rem;
}

:root[data-theme="dark"] .field-error {
  color: #ffb4a8;
}

.form-status {
  border-radius: var(--radius);
  font-weight: 800;
  margin: 0;
  min-height: 1.5rem;
  padding: 0.2rem 0;
}

.form-status[data-state="success"] {
  color: var(--teal-dark);
}

.form-status[data-state="error"] {
  color: #b42318;
}

:root[data-theme="dark"] .form-status[data-state="error"] {
  color: #ffb4a8;
}

.honeypot {
  display: none !important;
}

.source-list {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  width: 100%;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 0.5rem 0 0;
  max-width: none;
}

.step-number {
  align-items: center;
  background: var(--coral);
  border: 2px solid #0A1E4D;
  border-radius: 999px;
  color: #0A1E4D;
  display: inline-flex;
  font-weight: 800;
  height: 1.95rem;
  justify-content: center;
  margin-bottom: 0.55rem;
  width: 1.95rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.site-footer {
  background: #0A1E4D;
  color: #ffffff;
  padding-bottom: 1.8rem;
  padding-top: 2.4rem;
}

.site-footer a {
  color: #F5A623;
}

.footer-inner {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(12rem, 1.2fr) repeat(4, minmax(8rem, 0.8fr));
}

.demo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.demo-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.demo-caption {
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
}

.demo-player {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  width: 100%;
}

.demo-player video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 18rem;
  object-fit: contain;
  background: #000;
}

.cta-center .section-inner.cta-center-inner {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-center .lead {
  margin-top: 0.8rem;
}

.cta-center-actions {
  justify-content: center;
}

.creator-plan-form .form-field {
  margin-top: 0.8rem;
}

.creator-plan-form .section-actions {
  margin-top: 1rem;
}

.creator-plan-points {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.creator-plan-points li {
  margin-top: 0.3rem;
}

.creator-plan-notify {
  max-width: 36rem;
  margin-top: 1.4rem;
}

.footer-logo {
  filter: brightness(0) invert(1);
  max-width: 13rem;
}

.footer-list {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-small {
  align-items: center;
  border-top: 1px solid #F5A623;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  margin: 1.4rem auto 0;
  max-width: var(--max);
  padding: 1rem clamp(1rem, 4vw, 2rem) 0;
}

.footer-credit {
  margin-left: auto;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

@media (max-width: 1240px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    justify-content: start;
    padding: 0.8rem;
  }

  .site-nav[data-open] {
    display: flex;
  }

  /* The floating assistant button must not cover the open menu's last links. */
  body:has(.site-nav[data-open]) .athina-assistant .aa-launcher {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }
}

@media (max-width: 1280px) {
  .facts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .learn-panel {
    box-shadow: none;
    position: static;
  }

  .section-header,
  .landing-hero-inner,
  .demo-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .facts-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    padding-bottom: 0.55rem;
    padding-top: 0.55rem;
  }

  .brand img {
    height: 3rem;
  }

  .brand-name {
    display: none;
  }

  .menu-button {
    justify-self: end;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .header-actions .button-primary {
    display: none;
  }

  .header-actions .button-secondary {
    display: none;
  }

  .control-button {
    min-width: 2.35rem;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .hero .section-inner {
    min-height: auto;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .section-actions .button {
    width: 100%;
  }
}

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

/* Cookie notice — informational bar for the single strictly necessary session
   cookie. Uses theme tokens so it adapts to light/dark automatically. */
.cookie-notice {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1000;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.cookie-notice-text a { color: var(--teal); }
.cookie-notice-dismiss { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 560px) {
  /* Compact on phones: the notice stays a short strip instead of a third of the
     screen. The text and the button sit side by side. */
  .cookie-notice {
    bottom: 8px;
    gap: 10px;
    padding: 8px 10px;
    width: calc(100% - 16px);
    text-align: left;
  }
  .cookie-notice-text { font-size: 0.78rem; line-height: 1.35; }
  .cookie-notice-dismiss { min-height: 2.75rem; padding: 0.4rem 0.85rem; font-size: 0.9rem; }
}
