/* ==========================================================================
   Athena Digital — offer / commercial stylesheet
   Used by: training, contact, cookies, data-rights, earnings-disclaimer,
            privacy, terms
   ========================================================================== */

:root {
  --of-bg: #f7f2e8;
  --of-bg-alt: #efe7d5;
  --of-card: #fffdf8;
  --of-ink: #211d17;
  --of-ink-soft: #635c4e;
  --of-line: #ddd0ae;
  --of-dark: #171310;
  --of-dark-alt: #201a15;
  --of-accent: #a8763b;
  --of-accent-dark: #7d5726;
  --of-accent-soft: #f1e2c4;
  --of-teal: #445c56;
  --of-radius-s: 6px;
  --of-radius-m: 14px;
  --of-radius-l: 26px;
  --of-shadow: 0 20px 44px -24px rgba(23, 19, 16, 0.45);
  --of-font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --of-font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--of-bg);
  color: var(--of-ink);
  font-family: var(--of-font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--of-accent-dark); }
a:hover { color: var(--of-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--of-accent);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--of-font-display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--of-ink);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin-bottom: 0.5em; }

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

/* ---- utilities ---- */
.container { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 18px; }
.container--wide { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 18px; }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-xs { gap: 8px; }
.gap-s { gap: 14px; }
.gap-m { gap: 24px; }
.gap-l { gap: 40px; }
.text-center { text-align: center; }

.of-section { padding: 48px 0; }
.of-section--alt { background: var(--of-bg-alt); }
.of-section--dark { background: var(--of-dark); color: #efe7d5; }
.of-section--dark h2, .of-section--dark h3 { color: #fbf6ea; }
.of-section--dark p { color: #cabfa9; }

@media (min-width: 768px) {
  .of-section { padding: 76px 0; }
}

.of-eyebrow {
  display: inline-block; font-family: var(--of-font-body); font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--of-accent-dark);
  margin-bottom: 12px;
}
.of-section--dark .of-eyebrow { color: var(--of-accent); }
.of-section__title { font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.3rem); margin-bottom: 12px; }
.of-section__lead { font-size: 1.05rem; color: var(--of-ink-soft); max-width: 640px; }
.of-section--dark .of-section__lead { color: #cabfa9; }
.of-section__head { margin-bottom: 32px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 13px 26px; border-radius: var(--of-radius-s);
  font-family: var(--of-font-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--of-accent); color: #211a0f; }
.btn--primary:hover { background: var(--of-accent-dark); color: #fff; }
.btn--dark { background: #211a0f; color: #f7f2e8; }
.btn--dark:hover { background: var(--of-accent-dark); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(0,0,0,0.06); }
.btn--block { width: 100%; }

/* ---- header ---- */
.of-header { background: var(--of-dark); position: relative; z-index: 30; }
.of-header__inner { max-width: 1080px; margin: 0 auto; padding: 14px 18px; }
.of-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #f7f2e8; }
.of-brand__mark {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--of-accent), var(--of-teal));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--of-font-display); font-weight: 700; color: #14110f; font-size: 1.05rem;
}
.of-brand__name { font-family: var(--of-font-display); font-weight: 600; font-size: 1.1rem; }

.of-nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 8px; border: 1px solid rgba(247,242,232,0.3);
  background: transparent; cursor: pointer;
}
.of-nav-toggle__bar { width: 20px; height: 2px; background: #f7f2e8; margin: 0 auto; }

.of-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--of-dark);
  display: none; border-bottom: 1px solid rgba(247,242,232,0.14); }
.of-nav.is-open { display: block; }
.of-nav__list { list-style: none; margin: 0; padding: 6px 18px 18px; display: flex; flex-direction: column; gap: 2px; }
.of-nav__link { display: block; padding: 12px 8px; color: #e7ddc8; text-decoration: none; font-weight: 500; border-radius: 8px; min-height: 44px; }
.of-nav__link:hover { background: rgba(247,242,232,0.08); color: #fff; }
.of-nav__cta { margin-top: 8px; }

@media (min-width: 768px) {
  .of-header__inner { display: flex; align-items: center; justify-content: space-between; }
  .of-nav-toggle { display: none; }
  .of-nav { display: block; position: static; background: transparent; border: none; }
  .of-nav__list { flex-direction: row; padding: 0; align-items: center; gap: 6px; }
  .of-nav__cta { margin-top: 0; margin-left: 6px; }
}

/* ---- hero ---- */
.of-hero { background: var(--of-dark); color: #f2ead9; padding: 40px 0 48px; }
.of-hero__grid { display: flex; flex-direction: column; gap: 28px; }
.of-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--of-accent); margin-bottom: 14px; font-weight: 600; }
.of-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.35rem + 2.6vw, 3.2rem); margin-bottom: 0.4em; }
.of-hero__subhead { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); color: #d8cdb2; margin-bottom: 22px; max-width: 560px; }
.of-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.of-hero__note { font-size: 0.82rem; color: #a99d80; }
.of-hero__media { width: 100%; }

@media (min-width: 1024px) {
  .of-hero__grid { flex-direction: row; align-items: center; gap: 48px; }
  .of-hero__copy { flex: 1 1 52%; }
  .of-hero__media { flex: 1 1 48%; }
}

.media-frame { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--of-radius-m); background: #2a231b; box-shadow: var(--of-shadow); }
.media-frame video, .media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--wide { aspect-ratio: 16 / 9; }

/* ---- cards / grid ---- */
.of-cards { display: flex; flex-direction: column; gap: 18px; }
.of-card { background: var(--of-card); border: 1px solid var(--of-line); border-radius: var(--of-radius-m); padding: 24px; box-shadow: var(--of-shadow); }
.of-card__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--of-accent-soft); color: var(--of-accent-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--of-font-display); margin-bottom: 14px; }
.of-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.of-card p { color: var(--of-ink-soft); margin-bottom: 0; font-size: 0.98rem; }

@media (min-width: 768px) {
  .of-cards { flex-direction: row; }
  .of-card { flex: 1 1 0; }
}

/* ---- rates ---- */
.of-rates__table-wrap { overflow-x: auto; border-radius: var(--of-radius-m); border: 1px solid var(--of-line); background: var(--of-card); }
.of-rates__table { width: 100%; border-collapse: collapse; min-width: 480px; }
.of-rates__table th, .of-rates__table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--of-line); font-size: 0.98rem; }
.of-rates__table th { font-family: var(--of-font-display); font-weight: 600; background: var(--of-accent-soft); color: var(--of-accent-dark); }
.of-rates__table tr:last-child td { border-bottom: none; }
.of-rates__table td.of-rates__amount { font-weight: 600; }
.of-rates__note { font-size: 0.85rem; color: var(--of-ink-soft); margin-top: 14px; }

/* ---- compare / arithmetic ---- */
.of-compare { background: var(--of-card); border: 1px solid var(--of-line); border-radius: var(--of-radius-m); padding: 26px; }
.of-compare__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--of-line); font-size: 1rem; }
.of-compare__row:last-of-type { border-bottom: none; }
.of-compare__label { color: var(--of-ink-soft); }
.of-compare__value { font-weight: 600; font-family: var(--of-font-display); }
.of-compare__note { margin-top: 16px; font-size: 0.88rem; color: var(--of-ink-soft); }

/* ---- package / pricing ---- */
.of-package {
  background: var(--of-card); border: 2px solid var(--of-accent); border-radius: var(--of-radius-l);
  padding: 32px 26px; box-shadow: var(--of-shadow); position: relative; max-width: 560px; margin: 0 auto;
}
.of-package__badge {
  display: inline-block; background: var(--of-accent); color: #221b0f; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.of-package__name { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin-bottom: 6px; }
.of-package__price { font-family: var(--of-font-display); font-size: clamp(2.1rem, 1.7rem + 1.6vw, 2.8rem); color: var(--of-accent-dark); margin-bottom: 4px; }
.of-package__price-note { font-size: 0.88rem; color: var(--of-ink-soft); margin-bottom: 20px; }
.of-package__list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.of-package__list li { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; }
.of-package__list li::before { content: "✓"; color: var(--of-accent-dark); font-weight: 700; flex-shrink: 0; }

/* ---- add-ons ---- */
.of-addons { display: flex; flex-direction: column; gap: 16px; }
.of-addon { background: var(--of-card); border: 1px solid var(--of-line); border-radius: var(--of-radius-m); padding: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; align-items: flex-start; }
.of-addon__body { flex: 1 1 260px; }
.of-addon__name { font-family: var(--of-font-display); font-size: 1.1rem; margin-bottom: 6px; }
.of-addon__desc { color: var(--of-ink-soft); font-size: 0.95rem; margin-bottom: 0; }
.of-addon__price { font-family: var(--of-font-display); font-size: 1.3rem; color: var(--of-accent-dark); font-weight: 600; white-space: nowrap; }
.of-addon__tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--of-ink-soft); display: block; margin-bottom: 4px; }

@media (min-width: 768px) {
  .of-addons { flex-direction: row; }
  .of-addon { flex: 1 1 0; flex-direction: column; }
}

/* ---- perks ---- */
.of-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.of-perks li { margin: 0; padding: 16px 18px; background: var(--of-card); border: 1px solid var(--of-line); border-radius: var(--of-radius-s); display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; }
.of-perks li::before { content: "★"; color: var(--of-accent); flex-shrink: 0; }

@media (min-width: 768px) {
  .of-perks { flex-direction: row; flex-wrap: wrap; }
  .of-perks li { flex: 1 1 calc(50% - 12px); }
}

/* ---- curriculum ---- */
.of-curriculum { list-style: none; margin: 0; padding: 0; counter-reset: curriculum; display: flex; flex-direction: column; gap: 0; }
.of-curriculum li {
  counter-increment: curriculum; margin: 0; padding: 18px 0; display: flex; gap: 16px; align-items: flex-start;
  border-bottom: 1px solid var(--of-line);
}
.of-curriculum li:last-child { border-bottom: none; }
.of-curriculum__num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--of-accent-soft); color: var(--of-accent-dark);
  display: flex; align-items: center; justify-content: center; font-family: var(--of-font-display); font-weight: 700;
}
.of-curriculum__num::before { content: counter(curriculum); }
.of-curriculum__text { font-size: 1.02rem; padding-top: 4px; }

/* ---- limits / honest block ---- */
.of-limits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.of-limits li { margin: 0; padding-left: 26px; position: relative; font-size: 0.98rem; color: #e4dac2; }
.of-limits li::before { content: "–"; position: absolute; left: 0; color: var(--of-accent); font-weight: 700; }

/* ---- FAQ ---- */
.of-faq { display: flex; flex-direction: column; gap: 12px; }
.of-faq__item { background: var(--of-card); border: 1px solid var(--of-line); border-radius: var(--of-radius-s); padding: 4px 20px; }
.of-faq__item summary { cursor: pointer; padding: 16px 0; font-family: var(--of-font-display); font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.of-faq__item summary::-webkit-details-marker { display: none; }
.of-faq__item summary::after { content: "+"; font-size: 1.4rem; color: var(--of-accent-dark); flex-shrink: 0; }
.of-faq__item[open] summary::after { content: "–"; }
.of-faq__item p { padding-bottom: 16px; color: var(--of-ink-soft); margin-bottom: 0; }

/* ---- lead form ---- */
.of-form { background: var(--of-card); border: 1px solid var(--of-line); border-radius: var(--of-radius-l); padding: 28px 22px; box-shadow: var(--of-shadow); }
.of-form__grid { display: flex; flex-direction: column; gap: 16px; }
.of-form__field { display: flex; flex-direction: column; gap: 6px; }
.of-form__field label { font-size: 0.88rem; font-weight: 600; color: var(--of-ink); }
.of-form__field input, .of-form__field textarea {
  font-family: var(--of-font-body); font-size: 1rem; padding: 12px 14px; border-radius: var(--of-radius-s);
  border: 1px solid var(--of-line); background: #fff; min-height: 48px; color: var(--of-ink);
}
.of-form__field textarea { min-height: 110px; resize: vertical; }
.of-form__field input:focus, .of-form__field textarea:focus { border-color: var(--of-accent); }
.of-form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--of-ink-soft); }
.of-form__consent input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.of-form__note { font-size: 0.82rem; color: var(--of-ink-soft); margin-top: 14px; margin-bottom: 0; }
.of-form__submit-row { margin-top: 18px; }
.of-form__success {
  display: none; background: var(--of-accent-soft); border: 1px solid var(--of-accent); border-radius: var(--of-radius-m);
  padding: 20px; color: #4a3819; font-weight: 500;
}
.of-form__success.is-visible { display: block; }
.of-form.is-submitted .of-form__grid,
.of-form.is-submitted .of-form__consent,
.of-form.is-submitted .of-form__submit-row { display: none; }

@media (min-width: 768px) {
  .of-form__row-2 { flex-direction: row; }
  .of-form__row-2 .of-form__field { flex: 1 1 0; }
}
.of-form__row-2 { display: flex; flex-direction: column; gap: 16px; }

/* ---- legal content pages ---- */
.of-legal { padding: 44px 0 70px; }
.of-legal h1 { font-size: clamp(1.7rem, 1.35rem + 1.6vw, 2.5rem); margin-bottom: 0.3em; }
.of-legal__updated { color: var(--of-ink-soft); font-size: 0.88rem; margin-bottom: 2em; }
.of-legal__section { margin-bottom: 2em; }
.of-legal__section h2 { font-size: 1.3rem; margin-top: 0; }
.of-legal__section p, .of-legal__section li { font-size: 0.98rem; color: var(--of-ink-soft); }
.of-legal__section strong { color: var(--of-ink); }
.of-legal__box { background: var(--of-card); border: 1px solid var(--of-line); border-radius: var(--of-radius-m); padding: 20px 22px; }
.of-legal__box p:last-child { margin-bottom: 0; }

/* ---- contact page ---- */
.of-contact-card { background: var(--of-card); border: 1px solid var(--of-line); border-radius: var(--of-radius-m); padding: 26px; }
.of-contact-card dt { font-weight: 600; color: var(--of-ink); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 16px; }
.of-contact-card dt:first-child { margin-top: 0; }
.of-contact-card dd { margin: 4px 0 0; color: var(--of-ink-soft); }

/* ---- footer ---- */
.of-footer { background: var(--of-dark); color: #cabfa9; padding: 44px 0 26px; }
.of-footer__inner { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.of-footer__brand { color: #fff; font-family: var(--of-font-display); font-weight: 600; margin-bottom: 8px; font-size: 1.1rem; }
.of-footer__desc { font-size: 0.88rem; max-width: 460px; margin-bottom: 24px; }
.of-footer__cols { display: flex; flex-direction: column; gap: 22px; margin-bottom: 26px; }
.of-footer__col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; font-family: var(--of-font-body); font-weight: 600; }
.of-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.of-footer__col a { color: #cabfa9; font-size: 0.9rem; text-decoration: none; }
.of-footer__col a:hover { color: #fff; text-decoration: underline; }
.of-footer__legal { font-size: 0.78rem; color: #8c8069; border-top: 1px solid rgba(247,242,232,0.14); padding-top: 18px; }
.of-footer__legal p { margin-bottom: 4px; }

@media (min-width: 768px) {
  .of-footer__cols { flex-direction: row; justify-content: space-between; }
}

/* ---- sticky bottom CTA (training page) ---- */
.of-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--of-dark);
  border-top: 1px solid rgba(247,242,232,0.18); padding: 10px 14px;
  transform: translateY(120%); transition: transform 0.3s ease;
}
.of-sticky-cta.is-visible { transform: translateY(0); }
.of-sticky-cta__inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.of-sticky-cta__text { font-size: 0.85rem; color: #d8cdb2; display: none; }
body.has-sticky-cta { padding-bottom: 78px; }

@media (min-width: 480px) {
  .of-sticky-cta__text { display: block; }
}
