/* Just Love Now — colors and type from Myli's guide "Come Home to Yourself" */
:root {
  --paper: #fbf8f1;
  --paper-2: #f5efe3;
  --card: #fffdf8;
  --ink: #3f3a33;
  --ink-soft: #6b645a;
  --olive: #4e5a3c;
  --olive-2: #5c6b47;
  --sage: #e7ecdc;
  --terra: #c0604a;
  --terra-dark: #a44f3b;
  --blush: #f7e3dc;
  --gold: #c39a45;
  --line: #e4d9c3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(63, 58, 51, .06), 0 6px 20px rgba(63, 58, 51, .06);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --read: 700px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: var(--terra-dark); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--olive); line-height: 1.25; margin: 1.6em 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-top: 0; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
/* Side gutter on every page; never edge to edge, and clear of notches */
:root { --gutter: max(22px, env(safe-area-inset-left), env(safe-area-inset-right)); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.read { max-width: var(--read); margin: 0 auto; }
.eyebrow { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 0 0 .6em; }
.lede { font-style: italic; color: var(--terra-dark); font-size: 1.22rem; line-height: 1.55; }
.small { font-size: .85rem; color: var(--ink-soft); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--olive); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.draft-bar { background: #fff5d8; border-bottom: 1px dashed var(--gold); font-family: var(--sans); font-size: .82rem; text-align: center; padding: 6px 16px; color: #6a5520; }
.tbd { border: 1.5px dashed var(--gold); border-radius: 6px; padding: 0 .35em; background: #fffaf0; color: #7a6326; font-family: var(--sans); font-size: .85em; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 500; font-size: .95rem; background: var(--terra); color: #fff; border: 0; border-radius: 999px; padding: .75em 1.5em; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; line-height: 1.2; }
.btn:hover { background: var(--terra-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--olive); border: 1.5px solid var(--olive-2); }
.btn-ghost:hover { background: var(--sage); color: var(--olive); }
.btn-olive { background: var(--olive-2); }
.btn-olive:hover { background: var(--olive); }
.btn-small { padding: .55em 1.1em; font-size: .85rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.2em 0; }

/* Header and nav */
.site-header { background: rgba(251, 248, 241, .96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(6px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 50% 50% 8px 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--olive); }
.brand-sub { font-family: var(--sans); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.nav-toggle { display: none; font-family: var(--sans); background: none; border: 1.5px solid var(--olive-2); color: var(--olive); border-radius: 999px; padding: .45em 1em; font-size: .9rem; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav li { position: relative; }
.site-nav a { font-family: var(--sans); font-size: .88rem; color: var(--ink); text-decoration: none; padding: .55em .7em; display: block; border-radius: 8px; }
.site-nav a:hover, .site-nav .current > a { color: var(--terra-dark); }
.site-nav .nav-cta a.btn { color: #fff; margin-left: 6px; }
.sub-toggle { display: none; }
.site-nav .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 260px; list-style: none; margin: 0; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.site-nav .has-sub:hover > .sub, .site-nav .has-sub:focus-within > .sub { display: block; }
.site-nav .sub a { font-size: .86rem; padding: .45em .7em; }
.site-nav .sub a:hover { background: var(--paper-2); }
@media (max-width: 980px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow-y: auto; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 10px 16px 18px; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { padding: .8em .4em; font-size: 1rem; }
  .has-sub { display: grid; grid-template-columns: 1fr auto; }
  .sub-toggle { display: block; width: 46px; background: none; border: 0; cursor: pointer; }
  .sub-toggle::before { content: "+"; font-family: var(--sans); font-size: 1.4rem; color: var(--olive); }
  .sub-toggle[aria-expanded="true"]::before { content: "\2212"; }
  .site-nav .sub { position: static; grid-column: 1 / -1; box-shadow: none; border: 0; background: var(--paper-2); padding: 4px 8px 8px; }
  .site-nav .has-sub:hover > .sub { display: none; }
  .site-nav .has-sub.open > .sub { display: block; }
  .site-nav .sub li { border: 0; }
  .site-nav .nav-cta { border: 0; padding-top: 10px; }
  .site-nav .nav-cta a.btn { margin: 0; text-align: center; }
}

/* Hero */
.hero { padding: 40px 0 30px; text-align: center; background: radial-gradient(ellipse at top, #fff8ec 0%, var(--paper) 70%); }
.hero-art { width: min(560px, 92%); display: block; margin: 0 auto 10px; border-radius: 280px 280px 0 0; }
.hero h1 { margin: .2em 0 .25em; }
.hero .lede { max-width: 640px; margin: 0 auto 1em; }
.hero p.intro { max-width: 640px; margin: 0 auto; }
.hero .btn-row { justify-content: center; }
.divider { display: flex; align-items: center; gap: 14px; max-width: 420px; margin: 28px auto; color: var(--terra); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .7; }

/* Sections and cards */
.band { padding: 56px 0; }
.band-alt { background: var(--paper-2); }
.band-sage { background: var(--sage); }
.band h2:first-child, .band .eyebrow + h2 { margin-top: 0; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; }
.card h3 { margin: .1em 0 .4em; font-size: 1.2rem; }
.card p { font-size: .97rem; margin-bottom: .8em; }
.card .meta { font-family: var(--sans); font-size: .75rem; color: var(--ink-soft); margin-top: auto; }
a.card { text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
a.card:hover { transform: translateY(-2px); border-color: var(--terra); }
.num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--terra); color: #fff; font-size: 1.3rem; margin-bottom: 10px; font-family: var(--serif); }
.shift-line { font-style: italic; color: var(--terra-dark); font-size: .95rem; }
.pill { display: inline-block; font-family: var(--sans); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); background: var(--sage); border-radius: 999px; padding: .2em .7em; margin: 0 4px 6px 0; }

/* Article */
.page-head { padding-top: 44px; padding-bottom: 10px; text-align: center; }
.page-head .lede { max-width: 640px; margin: .3em auto 0; }
.crumbs { font-family: var(--sans); font-size: .8rem; color: var(--ink-soft); margin-bottom: 14px; }
.crumbs a { color: var(--ink-soft); }
.article-meta { font-family: var(--sans); font-size: .8rem; color: var(--ink-soft); margin-top: 10px; }
.prose { max-width: var(--read); margin: 0 auto; padding-top: 10px; padding-bottom: 30px; overflow-wrap: anywhere; }
.wrap.prose, .wrap.read { max-width: calc(var(--read) + 2 * var(--gutter)); }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote:not(.affirm) { border-left: 3px solid var(--gold); margin: 1.4em 0; padding: .2em 0 .2em 1.2em; font-style: italic; color: var(--ink-soft); }
.try { background: var(--blush); border-left: 4px solid var(--terra); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px 8px; margin: 1.6em 0; }
.try-label, .box-label { font-family: var(--sans); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--terra-dark); font-weight: 600; margin-bottom: .4em; }
.reflect { background: var(--sage); border-radius: var(--radius); padding: 18px 22px 8px; margin: 1.8em 0; }
.reflect .box-label { color: var(--olive); }
.reflect ul { list-style: none; padding: 0; }
.reflect li { font-style: italic; padding-left: 1.4em; position: relative; }
.reflect li::before { content: "\2661"; position: absolute; left: 0; color: var(--terra); font-style: normal; }
.affirm { text-align: center; font-style: italic; font-size: 1.3rem; color: var(--olive); margin: 1.8em auto; max-width: 560px; padding: 18px 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.affirm p { margin: 0; }
.affirm::before { content: "\2665"; display: block; color: var(--terra); font-size: .9rem; font-style: normal; margin-bottom: 6px; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: calc(var(--read) + 2 * var(--gutter)); margin: 10px auto 30px; }
.prev-next a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: var(--card); }
.prev-next span { display: block; font-family: var(--sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.prev-next .next { text-align: right; }
@media (max-width: 560px) { .prev-next { grid-template-columns: 1fr; } .prev-next .next { text-align: left; } }
.care-line { max-width: var(--read); margin: 0 var(--gutter) 10px; font-size: .9rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 14px; }

/* Forms and tools */
.tool { max-width: 760px; width: calc(100% - 2 * var(--gutter)); margin: 0 auto 40px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 28px; }
@media (max-width: 560px) { .tool { padding: 20px 16px; border-radius: 16px; } }
label, .label { font-family: var(--sans); font-size: .85rem; color: var(--olive); font-weight: 500; display: block; margin: 1em 0 .35em; }
input[type=text], input[type=email], input[type=tel], textarea, select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: .7em .9em; }
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(195, 154, 69, .2); }
.step { display: none; }
.step.active { display: block; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.progress { height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; margin-bottom: 18px; }
.progress span { display: block; height: 100%; background: var(--terra); width: 0; transition: width .4s; }
.result-card { background: var(--paper); border: 1px solid var(--gold); border-radius: 16px; padding: 22px; margin: 18px 0; }
.result-card .old { text-decoration: line-through; text-decoration-color: rgba(192, 96, 74, .5); color: var(--ink-soft); }
.result-card .new { font-style: italic; font-size: 1.2rem; color: var(--olive); }
.saved-list { list-style: none; padding: 0; margin: 0; }
.saved-list li { border-bottom: 1px solid var(--line); padding: 12px 0; }
.saved-list time { font-family: var(--sans); font-size: .75rem; color: var(--ink-soft); display: block; }
.link-btn { background: none; border: 0; color: var(--terra-dark); font: inherit; font-family: var(--sans); font-size: .82rem; cursor: pointer; text-decoration: underline; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: .6em 0; }
.chip { font-family: var(--sans); font-size: .85rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: .35em .9em; cursor: pointer; color: var(--ink); }
.chip:hover, .chip[aria-pressed=true] { background: var(--blush); border-color: var(--terra); }
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.check-list input[type=checkbox] { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--olive-2); flex: none; }
.timer { font-family: var(--sans); font-variant-numeric: tabular-nums; font-size: 2rem; color: var(--olive); }

/* Tables */
table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .97rem; }
th { background: var(--olive-2); color: #fff; font-family: var(--sans); font-weight: 500; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; text-align: left; padding: 10px 12px; }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:nth-child(even) td { background: var(--sage); }
.table-scroll { overflow-x: auto; }

/* Video cards */
.video-card .thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--paper-2); margin: -6px -6px 12px; }
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .thumb::after { content: "\25B6"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; margin: -6px 0 12px; }

/* Footer */
.site-footer { background: var(--olive); color: #eef0e6; margin-top: 40px; padding: 48px 0 28px; }
.site-footer a { color: #f6ead0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-top { display: grid; grid-template-columns: 280px 1fr; gap: 30px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { border-radius: 50% 50% 8px 8px; }
.footer-name { font-style: italic; font-size: 1.4rem; margin: .3em 0 .1em; }
.tagline { font-style: italic; color: #e5e8da; }
.hashtag { font-family: var(--sans); letter-spacing: .2em; font-size: .75rem; color: #e8cf96; }
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.footer-links a { display: block; font-family: var(--sans); font-size: .86rem; padding: 3px 0; }
.footer-h { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #e8cf96; margin-bottom: .6em; }
.footer-care { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 30px; padding-top: 18px; font-size: .92rem; }
.footer-care .small { color: #d6dac8; }

/* Print: worksheets and the guide print cleanly */
@media print {
  .site-header, .site-footer, .draft-bar, .no-print, .btn, .prev-next, .care-line { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .tool, .card, .result-card { box-shadow: none; }
  a { color: inherit; text-decoration: none; }
  .print-page { page-break-after: always; }
  input, textarea { border: 0; border-bottom: 1px solid #999; border-radius: 0; }
}

/* Listen to an article; Myli's photo and welcome video (2026-10-11) */
.listen { margin-top: 16px; }
.listen-player { max-width: 520px; margin: 12px auto 0; }
.listen-player audio { width: 100%; }
.listen-speed { justify-content: center; }
.portrait { border-radius: 20px; box-shadow: var(--shadow); display: block; width: 100%; max-width: 480px; }
.welcome-video video { width: 100%; max-width: 360px; aspect-ratio: 9 / 16; height: auto; border-radius: 20px; box-shadow: var(--shadow); background: var(--paper-2); display: block; }
.welcome-row { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 36px; align-items: center; max-width: 900px; margin: 0 auto; }
@media (max-width: 720px) { .welcome-row { grid-template-columns: 1fr; text-align: center; } .welcome-row .welcome-video video { margin: 0 auto; } .welcome-row .btn-row { justify-content: center; } }
