/* MyAura website. Theme: Deep Teal Night. Light mode keeps the teal bands; dark mode turns the whole page teal-night. */
:root {
  --band: #083b37; --band-2: #0e4d47; --band-line: #1b6a62; --band-ink: #e9f4f2; --band-muted: #bcd9d4;
  --amber: #f29a2e; --amber-hover: #ffad4a; --amber-ink: #2a1600;
  --mint: #58c7b9;
  --bg: #f4f8f7; --surface: #ffffff; --surface-2: #e9f2f0; --line: #d6e5e2;
  --ink: #102a28; --muted: #4a6461; --brand: #0f6b63; --accent-ink: #9a4708;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 16px; --shadow: 0 1px 2px rgba(8,59,55,.06), 0 8px 24px rgba(8,59,55,.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #062d2a; --surface: #0b3e3a; --surface-2: #0e4d47; --line: #1b6a62;
    --ink: #e9f4f2; --muted: #a9cbc6; --brand: #58c7b9; --accent-ink: #f6b465;
    --shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #062d2a; --surface: #0b3e3a; --surface-2: #0e4d47; --line: #1b6a62;
  --ink: #e9f4f2; --muted: #a9cbc6; --brand: #58c7b9; --accent-ink: #f6b465;
  --shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--amber-ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.testbar { background: var(--amber); color: var(--amber-ink); text-align: center; font-size: 14px; font-weight: 600; padding: 6px 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  background: var(--amber); color: var(--amber-ink); font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid var(--amber);
  transition: background .15s, border-color .15s, transform .15s; cursor: pointer; font-family: var(--sans); }
.btn:hover { background: var(--amber-hover); border-color: var(--amber-hover); }
.btn:active { transform: translateY(1px); }
.btn.sm { padding: 8px 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.ghost-light { background: transparent; color: var(--band-ink); border-color: var(--mint); }
.btn.ghost-light:hover { background: rgba(88,199,185,.15); }
.btn.wide { width: 100%; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* header */
.header { background: var(--band); color: var(--band-ink); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--band-line); }
.header .container { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; flex: none; }
.header .logo { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; flex: 1; }
.nav > a:not(.btn) { color: var(--band-muted); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav > a:not(.btn):hover, .nav > a[aria-current="page"] { color: #fff; }
.nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); }
.nav .sp { flex: 1; }
.nav .btn { margin-left: -8px; }
.nav .btn + .btn { margin-left: -12px; }
.theme-btn { background: transparent; border: 1px solid var(--band-line); color: var(--band-ink); width: 38px; height: 38px; border-radius: 50%;
  display: inline-grid; place-items: center; cursor: pointer; }
.theme-btn:hover { border-color: var(--mint); }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}
.menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--band-ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--band); flex-direction: column; align-items: stretch;
    gap: 4px; padding: 12px 20px 22px; border-bottom: 1px solid var(--band-line); }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 10px 0; font-size: 17px; border-bottom: 1px solid var(--band-line); }
  .nav > a[aria-current="page"] { box-shadow: none; color: var(--amber); }
  .nav .sp { display: none; }
  .nav .btn, .nav .btn + .btn { margin: 8px 0 0; }
  .theme-btn { margin-top: 10px; }
}

/* bands: hero and page heads */
.band { background: var(--band); color: var(--band-ink); }
.band h1, .band h2, .band h3 { color: #fff; }
.band p { color: var(--band-muted); }
.band a:not(.btn) { color: var(--mint); }
.hero { padding: 72px 0 84px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lede { font-size: 20px; max-width: 34ch; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.band .eyebrow { color: var(--mint); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; font-size: 15px; color: var(--band-muted); }
.hero-points li::before { content: "✓"; color: var(--mint); font-weight: 700; margin-right: 8px; }
.page-head { padding: 64px 0 56px; }
.page-head .lede { font-size: 20px; max-width: 60ch; margin: 0; }
@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero .lede { font-size: 18px; }
}

/* chat illustration */
.chat { background: var(--band-2); border: 1px solid var(--band-line); border-radius: 22px; padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.chat-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--band-line); }
.chat-top img { width: 40px; height: 40px; }
.chat-top b { color: #fff; display: block; font-size: 16px; }
.chat-top span { color: var(--band-muted); font-size: 13px; }
.bubble { padding: 11px 15px; font-size: 15px; line-height: 1.5; margin: 10px 0; max-width: 86%; width: fit-content; }
.bubble.ai { background: #13605a; color: var(--band-ink); border-radius: 16px 16px 16px 4px; }
.bubble.me { background: var(--amber); color: var(--amber-ink); border-radius: 16px 16px 4px 16px; margin-left: auto; }
.chat-foot { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pill { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--band-line); color: var(--band-muted); }
.illus { font-size: 12px; color: var(--band-muted); margin: 12px 0 0; opacity: .8; }

/* sections */
.section { padding: 80px 0; }
.section.alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 19px; }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid, .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid, .grid.two, .grid.four { grid-template-columns: 1fr; } .section { padding: 56px 0; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--band); color: var(--amber); margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding: 22px 24px 22px 84px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 22px; top: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--amber);
  color: var(--amber-ink); font: 700 20px/44px var(--serif); text-align: center; }
.steps h3 { margin-bottom: 4px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); }

/* tutors */
.tutors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .tutors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tutor { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tutor b { font-family: var(--serif); font-size: 20px; display: block; margin-bottom: 4px; }
.tutor span { color: var(--muted); font-size: 15px; }

/* pricing */
.billing { display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 600; margin: 0 0 32px; flex-wrap: wrap; }
.switch { width: 54px; height: 30px; border-radius: 999px; border: 0; background: var(--line); position: relative; cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: left .2s; }
.switch[aria-checked="true"] { background: var(--brand); }
.switch[aria-checked="true"]::after { left: 27px; }
.save { background: var(--band); color: var(--amber); font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 1060px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; box-shadow: var(--shadow); }
.plan.popular { background: var(--band); border-color: var(--amber); color: var(--band-ink); }
.plan.popular h3 { color: #fff; }
.plan.popular .blurb, .plan.popular .price small, .plan.popular .price-note { color: var(--band-muted); }
.plan.popular .ticks li::before { border-color: var(--mint); }
.plan.popular .limits { border-color: var(--band-line); }
.badge { position: absolute; top: -13px; left: 24px; background: var(--amber); color: var(--amber-ink); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price { font: 700 44px/1.1 var(--serif); margin: 6px 0 2px; }
.price small { font: 500 15px var(--sans); color: var(--muted); }
.price-note { font-size: 14px; color: var(--muted); margin: 0 0 12px; min-height: 1.4em; }
.blurb { color: var(--muted); font-size: 15px; }
.limits { list-style: none; padding: 14px 0; margin: 0 0 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.limits li { margin: 4px 0; }
.plan .ticks { font-size: 15px; flex: 1; }
.plan .btn { margin-top: 10px; }
.plan:not(.popular) .btn.ghost { color: var(--brand); }
.plans-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 22px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare th, .compare td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--serif); font-size: 18px; background: var(--surface-2); }
.compare tbody th { text-align: left; font-weight: 500; }
.compare tr:last-child > * { border-bottom: 0; }
.yes { color: var(--brand); font-weight: 700; font-size: 18px; }
.no { color: var(--muted); }
.coupon-list { padding-left: 20px; }

/* callouts, FAQ, misc */
.callout { border-left: 4px solid var(--amber); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; }
.callout p:last-child { margin: 0; }
.notice { font-size: 15px; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; padding: 14px 18px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin: 0 0 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 26px; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details > *:not(summary) { color: var(--muted); }
.faq details > p:last-child { padding-bottom: 8px; }
.faq h2 { margin-top: 40px; font-size: 28px; }
.faq h2:first-child { margin-top: 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; }
.kv dt { font-weight: 600; }
.kv dd { margin: 0; color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { text-align: center; padding: 20px 10px; border-radius: var(--radius); background: var(--band-2); border: 1px solid var(--band-line); }
.stat b { display: block; font: 700 34px/1.1 var(--serif); color: var(--amber); }
.stat span { font-size: 14px; color: var(--band-muted); }
.cta-band { padding: 72px 0; text-align: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band .ctas { justify-content: center; }
.mini-plan .row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.mini-plan .row:first-of-type { border-top: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); flex: none; }
.dot.warn { background: var(--amber); }
.bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 4px; }
.bar i.warn { background: var(--amber); }

/* footer */
.footer { background: var(--band); color: var(--band-muted); padding: 56px 0 28px; font-size: 15px; }
.footer .container { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .logo { height: 46px; width: auto; }
.footer h4 { font-family: var(--sans); color: #fff; font-size: 15px; margin: 0 0 12px; }
.footer a { color: var(--band-muted); text-decoration: none; display: block; margin: 6px 0; }
.footer a:hover { color: #fff; }
.f-brand p { margin-top: 14px; max-width: 36ch; }
.legalline { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--band-line); padding-top: 22px; font-size: 14px; }
.legalline a { display: inline; color: var(--mint); }
@media (max-width: 860px) { .footer .container { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }

/* cart: Add to cart, the − n + counter, and the bar along the bottom of the pricing page */
.addcart { margin-top: auto; }
.addcart .qty { display: flex; align-items: center; justify-content: space-between; border: 2px solid var(--amber); border-radius: 999px; overflow: hidden; }
.addcart .qty[hidden], .addcart [hidden] { display: none; }
.addcart .qty button { width: 52px; height: 46px; border: 0; background: var(--amber); color: var(--amber-ink); font-size: 22px; font-weight: 700; cursor: pointer; }
.addcart .qty button:hover { background: var(--amber-hover); }
.addcart .qty span { font-weight: 700; font-size: 18px; }
.qty-note { font-size: 13px; text-align: center; margin: 6px 0 0; color: var(--muted); }
.plan.popular .qty-note { color: var(--band-muted); }
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--band); color: var(--band-ink); border-top: 2px solid var(--amber);
  box-shadow: 0 -8px 24px rgba(0,0,0,.18); padding: 12px 0 max(12px, env(safe-area-inset-bottom)); }
.cartbar[hidden] { display: none; }
.cartbar .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; }
.cart-sum { display: flex; flex-direction: column; min-width: 0; }
.cart-sum span { color: var(--band-muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-pay { display: flex; align-items: center; gap: 16px; }
.cart-total { font: 700 22px/1 var(--serif); color: #fff; white-space: nowrap; }
.cart-hint { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--band-muted); }
body.has-cart { padding-bottom: 120px; }
@media (max-width: 600px) {
  .cartbar .container { grid-template-columns: minmax(0, 1fr); }
  .cart-pay { justify-content: space-between; }
  body.has-cart { padding-bottom: 170px; }
}

/* "I have a coupon" switch, its tooltip, and coupon prices */
.billing { gap: 14px 28px; }
.billing-period { display: inline-flex; align-items: center; gap: 12px; }
.coupon-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.coupon-toggle .switch[aria-checked="true"] { background: var(--amber); }
.tip { position: relative; display: inline-flex; }
.tip-btn { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--muted); background: transparent; color: var(--muted);
  font: italic 700 14px/1 var(--serif); cursor: pointer; padding: 0; }
.tip-btn:hover, .tip.open .tip-btn { border-color: var(--brand); color: var(--brand); }
.tip-box { display: none; position: absolute; z-index: 70; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 300px;
  background: var(--band); color: var(--band-ink); border-radius: 14px; padding: 16px 18px; box-shadow: 0 12px 30px rgba(0,0,0,.25);
  font-size: 14px; font-weight: 400; line-height: 1.5; text-align: left; }
.tip-box::before { content: ""; position: absolute; top: -7px; left: 50%; margin-left: -7px; border: 7px solid transparent; border-top: 0; border-bottom-color: var(--band); }
.tip-box b { display: block; color: #fff; margin-bottom: 6px; font-size: 15px; }
.tip-box span { display: block; margin-bottom: 8px; color: var(--band-muted); }
.tip-box a { display: block; color: var(--mint); font-weight: 600; margin-top: 4px; }
.tip:hover .tip-box, .tip:focus-within .tip-box, .tip.open .tip-box { display: block; }
.price .was, .compare .was { font: 500 22px var(--sans); color: var(--muted); margin-right: 4px; }
.compare .was { font-size: 14px; }
.plan.popular .price .was { color: var(--band-muted); }
.price-note .off { color: var(--accent-ink); font-weight: 700; }
.plan.popular .price-note .off { color: var(--amber); }
[data-coupon][hidden], [data-period][hidden] { display: none !important; }
@media (max-width: 600px) { .tip-box { left: auto; right: -12px; transform: none; width: min(300px, 86vw); } .tip-box::before { left: auto; right: 18px; } }
