/* Find the Others — styles.css
   Tokens follow README.md exactly (light / dark). No animation anywhere, by design.
   One documented exception: --muted-text (see README-DEPLOY.md, "Deviations"). */

:root {
  color-scheme: light;
  --pad: clamp(20px, 5.4vw, 64px);

  --bg: #FFFEFE;
  --ink: #001F47;
  --display: #001F47;
  --brand: #196D94;
  --brand-link: #196D94;
  --accent: #196D94;
  --muted: #4A8A96;        /* README token, kept for reference; not used on text (see README-DEPLOY.md) */
  --muted-text: #3A7280;   /* AA-safe darkening of --muted for muted text (lead-in, captions, placeholders) */
  --soft: rgba(104, 168, 180, .14);
  --line: rgba(0, 31, 71, .16);
  --field: #FFFEFE;
  --focus: #196D94;
  --hdot: #CF377A;
  --footB: var(--soft);
  --footInk: var(--ink);
  --iconRing: #196D94;
  --iconInk: #196D94;
  --iconHovBg: #196D94;
  --iconHovInk: #FFFEFE;
  --bubInk: var(--ink);
  --bubDisp: var(--display);

  --berry: #A42754;
  --teal: #196D94;
  --white: #FFFEFE;

  /* bubble tints (light: soft tint, transparent ring) */
  --tint-coral: rgba(254, 107, 74, .16);  --ring-coral: transparent;
  --tint-yellow: rgba(245, 185, 15, .22); --ring-yellow: transparent;
  --tint-sky: rgba(128, 206, 231, .26);   --ring-sky: transparent;
  --tint-green: rgba(0, 178, 121, .16);   --ring-green: transparent;
  --tint-pink: rgba(207, 55, 122, .14);   --ring-pink: transparent;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #001F47;
  --ink: #FFFEFE;
  --display: #68A8B4;
  --brand: #68A8B4;
  --brand-link: #68A8B4;
  --accent: #68A8B4;
  --muted: #68A8B4;
  --muted-text: #68A8B4;
  --soft: rgba(104, 168, 180, .12);
  --line: rgba(104, 168, 180, .4);
  --field: rgba(255, 254, 254, .06);
  --focus: #68A8B4;
  --hdot: #FFFEFE;
  --footB: rgba(104, 168, 180, .14);
  --footInk: #FFFEFE;
  --iconRing: #68A8B4;
  --iconInk: #FFFEFE;
  --iconHovBg: #68A8B4;
  --iconHovInk: #001F47;

  /* bubble tints (dark: 10% tint + 2px ring in the pure color) */
  --tint-coral: rgba(254, 107, 74, .10);  --ring-coral: #FE6B4A;
  --tint-yellow: rgba(245, 185, 15, .10); --ring-yellow: #F5B90F;
  --tint-sky: rgba(128, 206, 231, .10);   --ring-sky: #80CEE7;
  --tint-green: rgba(0, 178, 121, .10);   --ring-green: #00B279;
  --tint-pink: rgba(207, 55, 122, .10);   --ring-pink: #CF377A;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: Nunito, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--brand-link);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
input::placeholder, textarea::placeholder { color: var(--muted-text); opacity: 1; }
select option { color: #001F47; background: #FFFEFE; }
.display, h1, h2, h3 { font-family: Fredoka, system-ui, sans-serif; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 9;
  background: var(--berry);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { left: 16px; color: var(--white); }

/* ---------- header ---------- */
.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 44px; height: 44px; }
.brand .wordmark {
  font-family: Fredoka, system-ui, sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--brand);
}
.site-nav { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}
@media (hover: hover) {
  .theme-toggle:hover { border-color: var(--accent); }
}
.theme-toggle svg { width: 22px; height: 22px; }
.if-dark { display: none; }
:root[data-theme="dark"] .if-light { display: none; }
:root[data-theme="dark"] .if-dark { display: inline; }
.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;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4.8vw, 56px);
  align-items: start;
  padding-top: clamp(8px, 2vw, 24px);
  padding-bottom: 48px;
}
@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 28px);
  padding-top: clamp(0px, 1vw, 12px);
}
.hero-title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(46px, 9.5vw, 104px);
  line-height: .95;
  letter-spacing: -.025em;
  color: var(--display);
  text-wrap: balance;
}
.hero-title .lead {
  display: block;
  font-size: .42em;
  font-weight: 500;
  color: var(--muted-text);
  letter-spacing: 0;
  margin-bottom: .35em;
}
.hero-p1 { margin: 0; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; max-width: 560px; }
.hero-p2 { margin: 0; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; max-width: 560px; }
.dotted {
  text-decoration: underline dotted var(--hdot);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

/* ---------- subscribe form ---------- */
.panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--soft);
  border-radius: 26px;
  padding: clamp(20px, 2.2vw, 26px);
}
.panel h2 {
  margin: 0;
  font-weight: 500;
  font-size: 24px;
  color: var(--brand);
}
.fields { display: flex; flex-direction: column; gap: 10px; }
.legend { margin: -6px 0 0; font-size: 13.5px; color: var(--muted-text); }
.req { color: var(--berry); }
.ref-note {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted-text);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--muted-text); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.field textarea { resize: vertical; }
.err {
  margin: 2px 0 0;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.err::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--berry);
}
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.btn-submit {
  margin-top: 4px;
  width: 100%;
  background: var(--berry);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font: inherit;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
}
.btn-submit:hover { filter: brightness(.9); }
.btn-submit[disabled] { cursor: default; opacity: .75; }
.fine { margin: 0; font-size: 13.5px; color: var(--muted-text); line-height: 1.45; text-align: center; }
.status {
  margin: 0;
  font-family: Fredoka, system-ui, sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  color: var(--display);
}

/* ---------- character lineup ---------- */
.lineup { display: flex; justify-content: center; }
.lineup img { width: min(100%, 600px); }
.lineup .dark-only { display: none; }
:root[data-theme="dark"] .lineup .light-only { display: none; }
:root[data-theme="dark"] .lineup .dark-only { display: block; }

/* ---------- what's inside ---------- */
.inside { padding-top: 48px; padding-bottom: 40px; }
.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}
/* Below desktop: one left-aligned column, capped and centered. No 2-up state. */
@media (max-width: 959px) {
  .inside-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin: 0 auto;
    gap: 32px;
  }
}
.item { display: flex; flex-direction: column; gap: 10px; }
.item h3 {
  margin: 0;
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.item h3::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dot);
}
.item.green { --dot: #00B279; }
.item.yellow { --dot: #F5B90F; }
.item.sky { --dot: #80CEE7; }
.item p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink); }

/* ---------- testimonials ---------- */
.love { padding-top: clamp(24px, 5.4vw, 64px); padding-bottom: 72px; }
.love h2 {
  margin: 0 0 36px;
  text-align: center;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  color: var(--display);
}
.love h2 .dotted {
  text-decoration-thickness: 4px;
  text-underline-offset: 5px;
}
.bubbles {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.bubble {
  margin: 0;
  padding: 28px 32px;
  border-radius: 26px;
  border: 2px solid transparent;
  color: var(--bubInk);
  font-size: 19px;
  line-height: 1.6;
}
.bubble em {
  font-style: normal;
  font-family: Fredoka, system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.25em;
  line-height: 1.2;
  color: var(--bubDisp);
  text-decoration: underline dotted #FFFEFE;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.bubble.pink   { background: var(--tint-pink);   border-color: var(--ring-pink); }
.bubble.coral  { background: var(--tint-coral);  border-color: var(--ring-coral); }
.bubble.yellow { background: var(--tint-yellow); border-color: var(--ring-yellow); }
.bubble.green  { background: var(--tint-green);  border-color: var(--ring-green); }
.bubble.sky    { background: var(--tint-sky);    border-color: var(--ring-sky); }
.bubble.start { align-self: flex-start; }
.bubble.end { align-self: flex-end; }
.mw-520 { max-width: 520px; }
.mw-560 { max-width: 560px; }
.mw-640 { max-width: 640px; }

/* ---------- footer ---------- */
.site-footer { background: var(--footB); color: var(--footInk); }
.site-footer .wrap {
  padding-top: 48px;
  padding-bottom: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
/* Footer logo: resting = filled roundel; hover/focus = the outlined style of the icon buttons below it. */
.footer-logo-link { display: block; width: 64px; height: 64px; border-radius: 50%; color: var(--iconInk); }
.footer-logo-link:hover, .footer-logo-link:active { color: var(--iconInk); }
.footer-logo { display: block; width: 64px; height: 64px; }
.footer-logo .disc { fill: var(--teal); stroke: var(--teal); stroke-width: 16; }
.footer-logo .mark { fill: var(--white); }
.footer-logo-link:active .disc, .footer-logo-link:focus-visible .disc { fill: transparent; stroke: var(--iconRing); }
.footer-logo-link:active .mark, .footer-logo-link:focus-visible .mark { fill: currentColor; }
/* Hover only where a pointer can actually leave; on touch screens a tap would otherwise stick in the hover state. */
@media (hover: hover) {
  .footer-logo-link:hover .disc { fill: transparent; stroke: var(--iconRing); }
  .footer-logo-link:hover .mark { fill: currentColor; }
}
.socials { display: flex; gap: 12px; }
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid var(--iconRing);
  color: var(--iconInk);
  text-decoration: none;
}
@media (hover: hover) {
  .icon-btn:hover { background: var(--iconHovBg); color: var(--iconHovInk); }
}
.icon-btn svg { width: 22px; height: 22px; }
.footer-links { margin: 0; font-size: 15px; font-weight: 700; }
.legal { margin: 0; font-size: 15px; line-height: 1.7; font-weight: 700; }
.legal > span { display: block; }
.legal .addr { font-weight: 400; }
/* Phones: street and city on separate lines, tighter than the footer's 1.7 leading. */
@media (max-width: 599px) {
  .legal .addr { line-height: 1.35; padding-top: 4px; }
  .legal .addr-sep { display: none; }
  .legal .addr-city { display: block; }
}

/* ---------- 404 ---------- */
.nf-main { display: flex; align-items: center; }
.nf {
  padding-top: clamp(16px, 5vw, 64px);
  padding-bottom: clamp(28px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(8px, 5vw, 64px);
  align-items: center;
}
.nf-copy { display: flex; flex-direction: column; gap: clamp(16px, 2.4vw, 26px); }
.nf h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(46px, 8vw, 88px);
  line-height: .98;
  letter-spacing: -.025em;
  color: var(--display);
}
.nf p { margin: 0; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; max-width: 520px; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.btn-berry {
  display: inline-flex;
  align-items: center;
  background: var(--berry);
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 800;
  font-size: 17px;
}
.btn-berry:hover { color: var(--white); filter: brightness(.9); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--brand);
  color: var(--brand);
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 800;
  font-size: 17px;
}
.btn-outline:hover { background: var(--soft); color: var(--brand); }
.nf-art { display: flex; justify-content: center; }
.nf-art img { width: clamp(170px, 50vw, 300px); }
:root[data-theme="dark"] img[data-halo] {
  filter: drop-shadow(0 0 1.2px rgba(104, 168, 180, .95)) drop-shadow(0 0 1px rgba(104, 168, 180, .8));
}
