/* ==========================================================================
   mycliq.io: shared styles for the 2026-09 site (built from the "CLIQ Website"
   Claude Design canvas). Every page links this file; page-specific layout lives
   in a <style> block in that page. Desktop artboards are 1440 wide with a
   1180px content column; below 900px everything reflows to one column.
   ========================================================================== */

:root {
  --navy: #1B2254;
  --navy-2: #252B6B;
  --violet: #6C63FF;
  --violet-700: #5148E0;
  --ink: #1B2254;
  --muted: #474D78;
  --line: #D9D7EE;
  --bg: #FBFAFF;
  --lavender: #F1F0FF;
  --lavender-2: #E4E2F5;
  --sky: #DAE4FC;
  --sky-2: #B7CDFB;
  --sun: #FFC24D;
  --sun-soft: #FFE3A3;
  --on-navy: #DADCF5;
  --on-navy-muted: #9AA0D0;
  --white: #FFFFFF;

  /* plan colours (Plans page ladder) */
  --plan-free: #0F7359;
  --plan-essential: #252B6B;
  --plan-active: #2A6FB0;
  --plan-supported: #5148E0;
  --plan-assisted: #9A5B00;
  /* access-type colours (family map) */
  --access-alerts: #9A5B00;
  --access-guide: #0F7359;
  --access-task: #5148E0;
  --access-routines: #252B6B;

  --font-display: 'Poppins', 'Nunito Sans', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: 40px;
  --section-y: 112px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-cta: 0 10px 24px rgba(81, 72, 224, 0.3);
  --focus: 0 0 0 3px #FFFFFF, 0 0 0 6px #5148E0;
}

@media (max-width: 900px) {
  :root { --gutter: 20px; --section-y: 64px; }
}
@media (max-width: 420px) {
  :root { --gutter: 16px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--violet-700); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
/* Wide screens: above 1440px the content column scales with the window instead of
   staying 1180px wide in the middle. --z = window width / 1440px (capped at 2), and
   every .wrap is zoomed by it, so text, cards and spacing grow in proportion, just
   as full-bleed backgrounds and pictures already do. Section spacing follows. */
:root { --z: 1; }
@media (min-width: 1441px) { :root { --z: min(tan(atan2(100vw, 1440px)), 2); } }
.wrap { zoom: var(--z); }
.section { padding: calc(var(--section-y) * var(--z)) 0; }
.section--lavender { background: var(--lavender); }
.section--sky { background: linear-gradient(180deg, var(--sky), var(--bg)); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: #fff; }

/* ---------- Type ---------- */
.eyebrow { display: block; font-family: var(--font-body); font-weight: 800; font-size: calc(0.8rem + 3px); line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet-700); }
.section--navy .eyebrow { color: var(--sky-2); }
.h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.08; letter-spacing: -0.025em; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.25; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 64ch; }
.section--navy .lead { color: #E6E9FF; }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 20px; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; max-width: 820px; }
@media (max-width: 900px) { .section-head { margin-bottom: 32px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6em; min-height: 54px; padding: 0.7em 1.6em; border-radius: 999px; font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn svg { flex: none; }
.btn--primary { background: var(--violet-700); color: #fff; box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: #4239C9; color: #fff; }
.btn--teal { background: #0F7359; color: #fff; box-shadow: 0 10px 24px rgba(15, 115, 89, 0.3); }
.btn--teal:hover { background: #0B5C47; color: #fff; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--lavender); color: var(--ink); }
.btn--light { background: transparent; color: #fff; border-color: #fff; }
.btn--light:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn--lg { min-height: 58px; font-size: 1.25rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 520px) { .btn-row > .btn { width: 100%; } }

/* ---------- Header: two layers ----------
   Top layer: logo, text size, Sign in, Take the quiz.
   Lower layer: the site's pages. Below 860px (or 1000px with larger text) both
   collapse into the menu button. */
:root { --header-h: 130px; }
html { scroll-padding-top: var(--header-h); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 255, 0.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; letter-spacing: -0.05em; text-decoration: none; color: var(--navy); white-space: nowrap; }
.logo span { color: var(--violet); }
.logo--light { color: #fff; }
.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.signin-link { font-weight: 700; font-size: 0.95rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 12px 6px; white-space: nowrap; }
/* Sign in (navy, filled) and Sign up (navy outline) sit before Take the quiz. Sign up
   goes to the waitlist band (#get) while consumer sign-up is closed. */
.hdr-btn { white-space: nowrap; min-height: 48px; padding: 0.5em 1.2em; font-size: 1rem; }
.hdr-btn--signin { background: var(--navy); color: #fff; border-color: var(--navy); }
.hdr-btn--signin:hover { background: var(--navy-2); color: #fff; }
.hdr-btn--signup { background: #fff; color: var(--navy); border-color: var(--navy); }
.hdr-btn--signup:hover { background: var(--lavender); color: var(--navy); }
.mobile-menu__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mobile-menu__auth .btn { width: 100%; margin-top: 0 !important; }
.header-cta { white-space: nowrap; min-height: 48px; padding: 0.5em 1.2em; background: var(--violet); color: #fff; box-shadow: var(--shadow-cta); }
.header-cta:hover { background: var(--violet-700); color: #fff; }
.site-header__nav { background: #fff; border-top: 1px solid var(--line); }
.site-nav { display: flex; flex-wrap: wrap; align-items: stretch; gap: 4px; margin-left: -16px; }
.site-nav__link { display: flex; align-items: center; min-height: 54px; box-sizing: border-box; font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--ink); padding: 0 16px; white-space: nowrap; border-radius: 0; }
.site-nav__link:hover { background: var(--lavender); color: var(--ink); }
.site-nav__link[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -4px 0 var(--violet); }
.menu-toggle { display: none; margin-left: auto; width: 52px; height: 52px; border-radius: 14px; border: 2px solid var(--navy); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; }

@media (max-width: 859.98px) {
  :root { --header-h: 76px; }
  .site-header__nav, .site-header__actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { min-height: 66px; }
  .logo { font-size: 1.75rem; }
  .mobile-menu[data-open="true"] { display: block; border-top: 1px solid var(--line); background: var(--bg); padding: 8px 0 20px; }
  .mobile-menu nav { display: flex; flex-direction: column; }
  .mobile-menu a.site-nav__link { font-size: 1.15rem; min-height: 0; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mobile-menu a.site-nav__link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--violet); padding-left: 14px; }
  .mobile-menu .btn { width: 100%; margin-top: 16px; }
  .mobile-menu .signin-link { display: block; text-align: center; margin-top: 8px; }
}

/* ---------- Closing band + waitlist (id="get") ---------- */
.band { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right 70%; opacity: 0.45; }
.band__inner { position: relative; padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.band h2 { color: #fff; }
.band p.lead { color: #E6E9FF; font-weight: 600; }
@media (max-width: 900px) { .band__inner { padding-top: 64px; padding-bottom: 64px; } .band__bg { opacity: 0.3; } }

.ea-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; width: 100%; max-width: 640px; }
.ea-form label { flex: 0 0 100%; font-weight: 800; font-size: 1.05rem; color: #fff; }
.ea-input { flex: 1 1 280px; min-height: 58px; padding: 0 18px; border-radius: var(--radius); border: 2px solid #fff; background: #fff; color: var(--ink); font: 600 1.15rem var(--font-body); }
.ea-input::placeholder { color: #7A7FA3; }
.ea-form .btn { min-height: 58px; font-size: 1.15rem; }
.ea-error { flex: 0 0 100%; margin: 0; font-weight: 700; color: var(--sun); }
.ea-done { display: flex; gap: 10px; align-items: center; max-width: 640px; background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.5); border-radius: var(--radius); padding: 14px 18px; font-weight: 700; font-size: 1.1rem; color: #fff; }
.ea-done[hidden], .ea-error[hidden], .ea-form[hidden] { display: none; }
.band__more { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
@media (max-width: 520px) { .ea-form .btn, .band__more .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 48px 0 36px; border-top: 1px solid rgba(255,255,255,0.08); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer__tag { font: 600 1.4rem/1.25 var(--font-display); color: #fff; margin-top: 10px; }
.site-footer h2 { font: 800 0.78rem var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-navy-muted); margin: 0 0 8px; }
.site-footer a:not(.logo) { color: var(--on-navy); text-decoration: none; display: block; padding: 6px 0; }
.site-footer a:not(.logo):hover { color: #fff; text-decoration: underline; }
.site-footer__legal { margin-top: 48px; font-size: 0.95rem; line-height: 1.6; color: var(--on-navy-muted); }
.site-footer__legal a { display: inline !important; padding: 0 !important; text-decoration: underline !important; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ---------- Shared bits ---------- */
.card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card--ink { border-color: var(--navy); box-shadow: 8px 8px 0 var(--sun); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 0.85rem; background: var(--lavender); color: var(--ink); }
.sample-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--sun-soft); color: #5A3A00; }
.status-chip { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-weight: 800; font-size: 0.8rem; background: var(--sky); color: var(--navy); vertical-align: middle; }
.scroll-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.scroll-row > * { scroll-snap-align: start; flex: none; }
.phone-shot { border-radius: 28px; border: 3px solid var(--navy); overflow: hidden; background: #fff; box-shadow: 10px 10px 0 var(--sky-2); }
.phone-shot img { width: 100%; height: auto; }

/* ---------- Text size (A / A+ / A++), remembered per browser ---------- */
html[data-text="lg"] { font-size: 112.5%; }
html[data-text="xl"] { font-size: 125%; }
.textsize { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.textsize__btn { min-width: 40px; min-height: 40px; padding: 0 8px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1; cursor: pointer; }
.textsize__btn--lg { font-size: 1.1rem; }
.textsize__btn--xl { font-size: 1.25rem; }
.textsize__btn:hover { background: var(--lavender); }
.textsize__btn[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Larger text: the lower layer wraps if it has to, and the header switches to the
   menu button a little earlier. */
html[data-text] { --header-h: 150px; }
@media (max-width: 999.98px) {
  html[data-text] { --header-h: 80px; }
  html[data-text] .site-header__nav, html[data-text] .site-header__actions { display: none; }
  html[data-text] .menu-toggle { display: inline-flex; }
  html[data-text] .site-header__inner { min-height: 66px; }
  html[data-text] .logo { font-size: 1.75rem; }
  html[data-text] .mobile-menu[data-open="true"] { display: block; border-top: 1px solid var(--line); background: var(--bg); padding: 8px 0 20px; }
  html[data-text] .mobile-menu nav { display: flex; flex-direction: column; }
  html[data-text] .mobile-menu a.site-nav__link { font-size: 1.15rem; min-height: 0; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  html[data-text] .mobile-menu a.site-nav__link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--violet); padding-left: 14px; }
  html[data-text] .mobile-menu .btn { width: 100%; margin-top: 16px; }
  html[data-text] .mobile-menu .signin-link { display: block; text-align: center; margin-top: 8px; }
}

/* ---------- Text size: floating control, bottom right on every page ---------- */
.textsize-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 16px; }
.textsize-fab__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 12px; border: 2px solid #fff; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16px; cursor: pointer; box-shadow: 0 10px 24px rgba(27,34,84,.28); }
.textsize-fab__btn:hover { background: var(--navy-2); }
.textsize-fab__btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.textsize-fab__glyph { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.14); display: inline-flex; align-items: baseline; justify-content: center; line-height: 36px; font-size: 20px; letter-spacing: -0.02em; }
.textsize-fab__glyph small { font-size: 13px; margin-left: 1px; }
.textsize-fab[data-open="true"] .textsize-fab__btn { background: var(--violet-700); }
.textsize-fab__panel { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; background: #fff; border: 2px solid var(--navy); border-radius: 18px; box-shadow: 8px 8px 0 var(--sky-2); }
.textsize-fab__panel[hidden] { display: none; }
.textsize-fab__title { font-weight: 800; font-size: 16px; color: var(--navy); }
.textsize-fab .textsize__btn { min-width: 52px; min-height: 48px; font-size: 17px; }
.textsize-fab .textsize__btn--lg { font-size: 20px; }
.textsize-fab .textsize__btn--xl { font-size: 23px; }
@media (max-width: 859.98px) {
  .textsize-fab { right: 14px; bottom: 14px; }
  .textsize-fab__btn { width: 56px; padding: 0; justify-content: center; }
  .textsize-fab__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media print { .textsize-fab { display: none; } }
.site-footer__status { margin-top: 36px; font-size: 1rem; line-height: 1.6; color: #fff; }
.site-footer__status b { color: var(--sky-2, #C9D4FF); }

/* Report a scam: amber header button (Grace, 2026-10-01) */
.hdr-btn--report { background: #A65F0A; color: #fff; border-color: #A65F0A; }
.hdr-btn--report:hover { background: #8A4E06; border-color: #8A4E06; color: #fff; }
.mobile-menu .mobile-menu__report { width: 100%; justify-content: center; margin-top: 10px; }
@media (max-width: 1240px) { .site-header__actions { gap: 8px; } .site-header__actions .hdr-btn, .site-header__actions .header-cta { padding: 0.5em 0.9em; font-size: 0.95rem; } }

/* Button style from the Home "Which one sounds like you" Back/Next (2026-10-03):
   no outline border, soft drop shadow in a darker shade of the button's own fill. */
.btn { border-width: 0; }
.btn--primary, .header-cta { box-shadow: 0 5px 8px 0 #2B2385; }
.btn--teal { box-shadow: 0 5px 8px 0 #074E3B; }
.btn--outline, .hdr-btn--signup { box-shadow: 0 5px 8px 0 #A9A4D6; }
.hdr-btn--signin { box-shadow: 0 5px 8px 0 #0B0F33; }
.hdr-btn--report { box-shadow: 0 5px 8px 0 #5E3604; }
.btn--light { border-width: 2px; }

/* Floating "Report a scam" button, opens the FTC report assistant (2026-10-03) */
.report-fab { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 12px; border-radius: 999px; background: #A65F0A; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 5px 8px 0 #5E3604; }
.report-fab:hover { background: #8A4E06; color: #fff; }
.report-fab:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.report-fab__ic { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.16); display: inline-flex; align-items: center; justify-content: center; }
@media print { .report-fab { display: none; } }
/* Closing band without the waitlist form: one Pick my plan CTA (2026-10-03) */
.band__cta { display: flex; margin-top: 8px; }
@media (max-width: 520px) { .band__cta .btn { width: 100%; } }
/* Section-end CTA that walks the visitor toward picking a plan (2026-10-03) */
.sec-next { display: flex; justify-content: center; margin-top: 48px; }
.sec-next .btn { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; min-height: 64px; padding: 0.6em 1.6em; }
@media (max-width: 520px) { .sec-next { margin-top: 32px; } .sec-next .btn { width: 100%; font-size: 1.1rem; } }
