/* Free guides. Small Cove Media design system: Deep Ocean, Soft White, Coral for emphasis, Teal for done. */
:root {
  --deep-ocean: #09213D; --soft-white: #F7F8FA; --paper: #FFFFFF; --coral: #F25C54; --teal: #1CBBB4;
  --slate: #4E5D6C; --slate-20: rgba(78,93,108,.20); --slate-10: rgba(78,93,108,.10);
  --white-60: rgba(247,248,250,.60); --white-78: rgba(247,248,250,.78);
  --font: 'DM Sans', Inter, system-ui, sans-serif; --max-read: 720px;
  --shadow: 0 2px 8px rgba(9,33,61,.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--paper); color: var(--deep-ocean);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max-read); margin: 0 auto; padding: 0 24px; }

.topbar { background: var(--deep-ocean); padding: 18px 0; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--soft-white); text-decoration: none; }
.brand svg { width: 26px; height: 26px; }
.brand-name { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.toplink { color: var(--white-78); font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.toplink:hover { color: var(--soft-white); }

header.page { padding: 48px 0 8px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); margin: 0 0 14px; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 800; text-wrap: balance; }
.lede { font-size: 19px; color: var(--slate); margin: 0; }
main { padding: 24px 0 72px; }
h2 { font-size: 20px; letter-spacing: -.015em; margin: 0 0 8px; font-weight: 700; }

.note { background: var(--soft-white); border-left: 3px solid var(--coral); border-radius: 0 12px 12px 0;
  padding: 16px 18px; margin: 8px 0 24px; font-size: 16px; }

.progress { position: sticky; top: 0; z-index: 2; background: var(--paper); margin: 0; padding: 12px 0;
  font-size: 14px; font-weight: 700; color: var(--slate); border-bottom: 1px solid var(--slate-10); }
.progress-n { color: var(--teal); font-variant-numeric: tabular-nums; }

.steps, .scripts { list-style: none; margin: 0; padding: 0; }
.step { border-bottom: 1px solid var(--slate-10); }
.step label { display: flex; gap: 16px; padding: 20px 0; cursor: pointer; align-items: flex-start; }
.step input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box { flex: none; width: 28px; height: 28px; margin-top: 2px; border: 2px solid var(--slate-20); border-radius: 8px;
  background: var(--paper); transition: background .15s, border-color .15s; position: relative; }
.step input:focus-visible + .box { outline: 2px solid var(--teal); outline-offset: 2px; }
.step input:checked + .box { background: var(--teal); border-color: var(--teal); }
.step input:checked + .box::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px;
  border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.step-body { display: block; min-width: 0; }
.step-n { display: inline-block; font-size: 12px; font-weight: 700; color: var(--slate); letter-spacing: .08em;
  margin-right: 10px; font-variant-numeric: tabular-nums; }
.step-n::before { content: "0"; }
.step:nth-child(n+10) .step-n::before { content: ""; }
.step-t { font-size: 18px; font-weight: 700; line-height: 1.3; }
.step-d { display: block; color: var(--slate); margin-top: 6px; }
.step input:checked ~ .step-body .step-t { color: var(--slate); text-decoration: line-through; text-decoration-color: var(--slate-20); }

.script { padding: 24px 0; border-bottom: 1px solid var(--slate-10); }
.when { color: var(--slate); margin: 0 0 12px; font-size: 16px; }
.bubble { background: var(--soft-white); border: 1px solid var(--slate-10); border-radius: 14px; padding: 18px 18px 14px; }
.bubble p { margin: 0 0 12px; overflow-wrap: anywhere; }
.copy { font: inherit; font-size: 14px; font-weight: 700; color: var(--deep-ocean); background: var(--paper);
  border: 1px solid var(--slate-20); border-radius: 8px; padding: 8px 16px; cursor: pointer; min-height: 40px; }
.copy:hover { border-color: var(--deep-ocean); }
.copy.done { color: var(--teal); border-color: var(--teal); }
.example { padding: 32px 0 0; }
.example .when { margin: 12px 0 0; font-size: 15px; }

.more { padding: 48px 0 0; }
.gcards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 16px; }
.gcards.hub { margin-top: 8px; }
.gcard { display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--slate-10);
  border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.gcard:hover { transform: translateY(-2px); border-color: var(--slate-20); }
.gcard-t { display: block; font-weight: 700; font-size: 18px; }
.gcard-t::after { content: " \2192"; color: var(--coral); }
.gcard-d { display: block; color: var(--slate); font-size: 15.5px; margin-top: 4px; }
.closer { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--slate-10); color: var(--slate); font-size: 16px; }

.footer { background: var(--deep-ocean); color: var(--white-78); padding: 40px 0; font-size: 14.5px; }
.footer a { color: var(--white-78); text-decoration: none; }
.footer a:hover { color: var(--soft-white); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin: 0 0 14px; }
.footer-bottom { color: var(--white-60); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Next step and email signup, under each guide. */
.next { margin-top: 48px; padding: 28px; border-radius: 14px; background: var(--deep-ocean); color: var(--soft-white) }
.next .eyebrow { color: var(--coral); margin-bottom: 10px }
.next h2 { color: var(--soft-white); font-size: 24px; line-height: 1.2; margin: 0 0 10px; text-wrap: balance }
.next p { color: var(--white-78); margin: 0 0 20px }
.next-cta { display: inline-block; background: var(--coral); color: #fff; font-weight: 700; text-decoration: none;
  padding: 13px 22px; border-radius: 10px; box-shadow: 0 8px 24px rgba(242,92,84,.35) }
.next-cta:hover { filter: brightness(1.05) }
.next-cta::after { content: " \2192" }
.signup { margin-top: 28px; padding: 26px 28px; border: 1px solid var(--slate-20); border-radius: 14px; background: var(--soft-white) }
.signup h2 { margin-bottom: 6px }
.signup > p { color: var(--slate); margin: 0 0 18px }
.sform { display: grid; gap: 6px; max-width: 420px }
.sform .fl { font-size: 14px; font-weight: 700; margin-top: 8px }
.sform input[type="text"], .sform input[type="email"] { font: inherit; font-size: 16px; color: var(--deep-ocean); background: var(--paper);
  border: 1px solid var(--slate-20); border-radius: 8px; padding: 12px 14px; width: 100% }
.sform input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent }
.sform button { margin-top: 12px; font: inherit; font-weight: 700; font-size: 16px; color: #fff; background: var(--deep-ocean);
  border: 0; border-radius: 10px; padding: 13px 20px; cursor: pointer; justify-self: start }
.sform button[disabled] { opacity: .6; cursor: wait }
.sform-note { font-size: 13px; color: var(--slate); margin: 4px 0 0 }
.sform-note a { color: var(--slate) }
.sform-done { font-weight: 700; color: var(--teal); margin: 0 }
.sform-err { color: var(--coral); margin: 8px 0 0 }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }

[hidden] { display: none !important }
