/* ==========================================================================
   Nest marketing site and help centre
   Design tokens are lifted from the app: deep-teal header, soft mint canvas,
   white rounded cards, warm orange accent.
   ========================================================================== */

:root {
  --teal-950: #053a35;
  --teal-900: #07504a;
  --teal-800: #0b645a;
  --teal-700: #0f766e;
  --teal-600: #148a7e;
  --teal-100: #d9ece8;
  --teal-50: #ebf4f2;

  --orange: #e8924f;
  --orange-soft: #fdeee3;
  --pink: #f0558a;
  --pink-soft: #ffe3ec;
  --blue: #3b63e0;
  --blue-soft: #e2e9fc;
  --purple: #8b5cf6;
  --purple-soft: #eee8fd;
  --gold: #f0b560;

  --bg: #f4f8f7;
  --card: #ffffff;
  --ink: #14261f;
  --muted: #5d706a;
  --faint: #8ea19b;
  --line: #e0ebe8;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;

  --shadow-sm: 0 1px 2px rgba(7, 80, 74, 0.06), 0 2px 8px rgba(7, 80, 74, 0.05);
  --shadow-md: 0 4px 24px rgba(7, 80, 74, 0.1);
  --shadow-lg: 0 30px 70px -20px rgba(5, 58, 53, 0.45);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --nav-h: 68px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 750; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 650; font-size: 16px; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 118, 110, 0.7); }
.btn-primary:hover { background: var(--teal-800); }
.btn-light { background: #fff; color: var(--teal-900); }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0b0f0e; color: #fff; padding: 10px 22px 10px 18px;
  border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none; min-width: 190px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.store:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.55); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: 11.5px; letter-spacing: 0.02em; opacity: 0.8; line-height: 1.1; }
.store strong { display: block; font-size: 19px; font-weight: 650; line-height: 1.2; letter-spacing: -0.01em; }
.store-row { display: flex; flex-wrap: wrap; gap: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-700);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(244, 248, 247, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; gap: 6px; margin-left: auto; align-items: center; list-style: none; }
.nav-links a:not(.btn) {
  display: block; padding: 9px 14px; border-radius: 999px; color: var(--ink);
  font-weight: 550; font-size: 15.5px;
}
.nav-links a:not(.btn):hover { background: var(--teal-50); text-decoration: none; }
.nav-links a[aria-current="page"] { background: var(--teal-100); color: var(--teal-900); }
.nav-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--teal-100); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--teal-900); border-radius: 2px;
  position: relative; transition: transform 0.2s, background 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 4px;
    margin: 0; padding: 14px 20px 22px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav-links a:not(.btn) { padding: 14px 16px; font-size: 17px; }
  .nav-links .btn { margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + 56px) 0 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(232, 146, 79, 0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(20, 138, 126, 0.55), transparent 60%),
    linear-gradient(160deg, #0f7a6e 0%, #08574f 55%, #053a35 100%);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.hero .nav-over { color: #fff; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero-copy { padding-bottom: 72px; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px; font-size: 14px; font-weight: 600; margin-bottom: 24px;
}
.hero .pill i {
  width: 22px; height: 22px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; font-style: normal; font-size: 12px;
}
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 520px; color: rgba(255, 255, 255, 0.86); }
.hero .store-row { margin-top: 34px; }
.hero .fine { margin-top: 18px; font-size: 14.5px; color: rgba(255, 255, 255, 0.7); }

.hero-art { position: relative; height: 600px; align-self: end; }
.hero-art .phone { position: absolute; }
.hero-art .p-main { left: 50%; bottom: -40px; width: 292px; transform: translateX(-50%); z-index: 3; }
.hero-art .p-left { left: 2%; bottom: -70px; width: 224px; transform: rotate(-7deg); z-index: 2; opacity: 0.98; }
.hero-art .p-right { right: 0; bottom: -90px; width: 224px; transform: rotate(7deg); z-index: 2; }
.float {
  position: absolute; z-index: 4; background: #fff; color: var(--ink);
  border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600;
  animation: bob 6s ease-in-out infinite;
}
.float .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.float.f1 { top: 70px; left: -18px; }
.float.f2 { top: 250px; right: -14px; animation-delay: -2.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 0; }
  .hero .lead { margin-inline: auto; }
  .hero .store-row { justify-content: center; }
  .hero-copy { padding-bottom: 36px; }
  .hero-art { height: 470px; width: min(100%, 520px); margin-inline: auto; }
  .hero-art .p-main { width: 240px; }
  .hero-art .p-left, .hero-art .p-right { width: 176px; }
  .float.f1 { left: 0; top: 40px; } .float.f2 { right: 0; top: 200px; }
}
@media (max-width: 520px) {
  .hero-art { height: 410px; }
  .hero-art .p-main { width: 208px; }
  .hero-art .p-left, .hero-art .p-right { width: 150px; }
  .float { padding: 9px 12px; font-size: 12.5px; }
  .float .ic { width: 30px; height: 30px; border-radius: 10px; }
  .float.f1 { left: -4px; } .float.f2 { right: -4px; }
  .store { min-width: 0; flex: 1 1 100%; justify-content: center; }
}

/* ---------- Phone mockup ---------- */
.phone {
  position: relative; aspect-ratio: 591 / 1262; border-radius: 15% / 7%;
  background: #0d1412; padding: 3.2%;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.phone::after { /* camera island */
  content: ""; position: absolute; top: 2.3%; left: 50%; transform: translateX(-50%);
  width: 24%; height: 1.9%; background: #000; border-radius: 99px; z-index: 2;
}
.phone img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  border-radius: 12.5% / 5.8%; background: var(--bg);
}
.phone.light { background: #fff; box-shadow: var(--shadow-md), 0 0 0 1px var(--line); }
.phone.light::after { background: #0d1412; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 19px; }
@media (max-width: 720px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* Proof strip */
.strip { margin-top: -1px; padding: 34px 0; }
.strip ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--teal-900); font-size: 15.5px; }
.strip li span { width: 40px; height: 40px; border-radius: 13px; background: var(--teal-100); display: grid; place-items: center; flex: none; }
.strip svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .strip ul { grid-template-columns: 1fr 1fr; } }

/* Feature bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  background: var(--card); border-radius: var(--r-lg); padding: 26px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column; gap: 10px; min-height: 210px;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile h3 { font-size: 21px; }
.tile p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.tile .ic {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
}
.tile .ic svg { width: 26px; height: 26px; }
.tile.wide { grid-column: span 2; }
.ic.teal { background: var(--teal-100); color: var(--teal-700); }
.ic.orange { background: var(--orange-soft); color: var(--orange); }
.ic.pink { background: var(--pink-soft); color: var(--pink); }
.ic.blue { background: var(--blue-soft); color: var(--blue); }
.ic.purple { background: var(--purple-soft); color: var(--purple); }
.tile.feature-dark { background: linear-gradient(160deg, var(--teal-700), var(--teal-900)); color: #fff; border: 0; }
.tile.feature-dark p { color: rgba(255, 255, 255, 0.82); }
.tile.feature-dark .ic { background: rgba(255, 255, 255, 0.16); color: #fff; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile.wide { grid-column: auto; } .tile { min-height: 0; } }

/* Showcase rows */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 56px 0; }
.showcase.flip .show-art { order: 2; }
.show-art {
  position: relative; display: grid; place-items: center; padding: 48px 20px 0;
  border-radius: var(--r-xl); overflow: hidden; min-height: 560px; align-items: end;
}
.show-art .phone { width: min(300px, 70%); margin-bottom: -60px; }
.show-art.mint { background: var(--teal-100); }
.show-art.peach { background: var(--orange-soft); }
.show-art.blue { background: var(--blue-soft); }
.show-art.rose { background: var(--pink-soft); }
.show-art .phone.second { position: absolute; width: 190px; right: 6%; bottom: -120px; transform: rotate(6deg); }
.show-copy h3 { font-size: clamp(28px, 3.2vw, 40px); margin: 14px 0 16px; }
.show-copy > p { color: var(--muted); font-size: 18.5px; }
.checks { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--teal-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat;
}
.checks b { display: block; font-weight: 650; }
.checks span { color: var(--muted); font-size: 16px; }
.type-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.chip.announce { background: var(--blue-soft); color: var(--blue); }
.chip.urgent { background: #fde7e4; color: #d4412f; }
.chip.question { background: var(--purple-soft); color: var(--purple); }
.chip.idea { background: #fdf3d6; color: #a97a0c; }
.chip.reminder { background: var(--teal-100); color: var(--teal-800); }
.chip.celebrate { background: var(--pink-soft); color: var(--pink); }
@media (max-width: 920px) {
  .showcase { grid-template-columns: 1fr; gap: 36px; padding: 32px 0; }
  .showcase.flip .show-art { order: 0; }
  .show-art { min-height: 440px; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm); counter-increment: s; position: relative;
}
.step::before {
  content: counter(s); display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--teal-700); color: #fff; font-weight: 750; font-size: 20px; margin-bottom: 20px;
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Premium */
.premium {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  background: #fff; border: 1.5px solid var(--orange); border-radius: var(--r-xl);
  padding: 56px; box-shadow: var(--shadow-md);
}
.premium .star { width: 60px; height: 60px; color: var(--orange); margin-bottom: 14px; }
.premium h2 { font-size: clamp(30px, 3.6vw, 44px); }
.premium p { color: var(--muted); font-size: 18.5px; margin-top: 14px; }
.plan-list { list-style: none; display: grid; gap: 14px; }
.plan-list li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--bg); border-radius: var(--r-md); font-weight: 600;
}
.plan-list li small { display: block; font-weight: 500; color: var(--muted); font-size: 14.5px; }
.plan-list .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.plan-list svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .premium { grid-template-columns: 1fr; padding: 32px 24px; } }

/* CTA */
.cta {
  margin: 0 auto; border-radius: var(--r-xl); color: #fff; text-align: center;
  padding: 80px 24px; overflow: hidden; position: relative;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(232, 146, 79, 0.28), transparent 60%),
    linear-gradient(160deg, #0f7a6e, #053a35);
}
.cta img.logo { width: 92px; height: 92px; margin: 0 auto 24px; border-radius: 26px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5); }
.cta h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 720px; margin-inline: auto; }
.cta p { margin: 16px auto 0; max-width: 520px; color: rgba(255, 255, 255, 0.82); font-size: 19px; }
.cta .store-row { justify-content: center; margin-top: 34px; }

/* Footer */
.footer { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer p { color: var(--muted); font-size: 15.5px; margin-top: 14px; max-width: 320px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--ink); font-weight: 550; font-size: 15.5px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--faint); font-size: 14.5px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Reveal on scroll (only when JS has opted in) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Help centre
   ========================================================================== */
.help-hero {
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + 56px) 0 64px; color: #fff; text-align: center;
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(232, 146, 79, 0.22), transparent 60%),
    linear-gradient(160deg, #0f7a6e 0%, #08574f 60%, #053a35 100%);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.help-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.035em; }
.help-hero p { margin: 14px auto 0; max-width: 560px; font-size: 19px; color: rgba(255, 255, 255, 0.85); }
.search {
  position: relative; max-width: 620px; margin: 32px auto 0;
}
.search svg { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--teal-700); pointer-events: none; }
.search input {
  width: 100%; height: 62px; border-radius: 999px; border: 0; padding: 0 56px 0 56px;
  font: inherit; font-size: 17px; color: var(--ink); background: #fff;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.5);
}
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { display: none; }
.search .clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--teal-50);
  cursor: pointer; display: none; color: var(--teal-900); font-size: 20px; line-height: 1;
}
.search.has-value .clear { display: block; }
.quick-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.quick-links a {
  padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; font-size: 14.5px; font-weight: 600;
}
.quick-links a:hover { background: rgba(255, 255, 255, 0.22); text-decoration: none; }

/* Topic cards */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 48px 0 8px; }
.topic {
  display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--r-md);
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.topic:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-100); text-decoration: none; }
.topic .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.topic .ic svg { width: 24px; height: 24px; }
.topic b { font-size: 17px; letter-spacing: -0.01em; }
.topic span.d { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 1000px) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .topics { gap: 12px; }
  .topic { padding: 16px; } .topic span.d { display: none; }
}

/* Layout: sidebar + content */
.help-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 56px; padding: 40px 0 100px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 20px); max-height: calc(100vh - var(--nav-h) - 40px); overflow: auto; padding-right: 6px; }
.toc h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin: 0 12px 12px; }
.toc ul { list-style: none; display: grid; gap: 2px; }
.toc a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
  color: var(--ink); font-weight: 550; font-size: 15.5px;
}
.toc a svg { width: 20px; height: 20px; color: var(--faint); flex: none; transition: color 0.15s; }
.toc a:hover { background: var(--teal-50); text-decoration: none; }
.toc a.active { background: var(--teal-100); color: var(--teal-900); font-weight: 700; }
.toc a.active svg { color: var(--teal-700); }

/* Mobile chip nav */
.chipnav {
  display: none; position: sticky; top: var(--nav-h); z-index: 30;
  background: rgba(244, 248, 247, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.chipnav ul { display: flex; gap: 8px; list-style: none; overflow-x: auto; padding: 12px 20px; scrollbar-width: none; }
.chipnav ul::-webkit-scrollbar { display: none; }
.chipnav a {
  white-space: nowrap; display: block; padding: 8px 15px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.chipnav a.active { background: var(--teal-700); border-color: var(--teal-700); color: #fff; text-decoration: none; }
@media (max-width: 960px) {
  .help-layout { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .toc { display: none; }
  .chipnav { display: block; }
  html { scroll-padding-top: calc(var(--nav-h) + 76px); }
}

/* Help sections */
.help-section { padding: 18px 0 44px; }
.help-section + .help-section { border-top: 1px solid var(--line); padding-top: 44px; }
.hs-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.hs-head .ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.hs-head .ic svg { width: 27px; height: 27px; }
.hs-head h2 { font-size: clamp(26px, 3vw, 34px); }
.hs-intro { color: var(--muted); font-size: 18px; margin: 10px 0 24px; max-width: 760px; }
.hs-body { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 36px; align-items: start; }
.hs-body.no-shot { grid-template-columns: minmax(0, 1fr); }
.hs-shot { position: sticky; top: calc(var(--nav-h) + 24px); }
.hs-shot figcaption { text-align: center; font-size: 13.5px; color: var(--faint); margin-top: 12px; }
.hs-shot .phone { box-shadow: var(--shadow-md), 0 0 0 1px var(--line); background: #0d1412; }
@media (max-width: 1100px) {
  .hs-body { grid-template-columns: 1fr; }
  .hs-shot { position: static; width: 200px; margin: 8px auto 0; }
}

/* Accordions */
.acc { display: grid; gap: 12px; }
.acc details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.acc details[open] { box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; font-weight: 650; font-size: 17.5px; letter-spacing: -0.01em;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; margin-left: auto; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform 0.2s;
}
.acc details[open] > summary::after { transform: rotate(180deg); }
.acc summary:hover { color: var(--teal-800); }
.acc .ans { padding: 0 20px 22px; color: #2d423a; }
.acc .ans > * + * { margin-top: 14px; }
.acc .ans p { font-size: 16.5px; }
.acc ol.how { list-style: none; counter-reset: n; display: grid; gap: 12px; }
.acc ol.how li { counter-increment: n; display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; }
.acc ol.how li::before {
  content: counter(n); flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal-100); color: var(--teal-900); font-weight: 750; font-size: 14px;
  display: grid; place-items: center; margin-top: 1px;
}
.acc ul.bullets { list-style: none; display: grid; gap: 8px; }
.acc ul.bullets li { padding-left: 22px; position: relative; font-size: 16.5px; }
.acc ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.ui {
  display: inline-block; padding: 1px 10px; border-radius: 8px; background: var(--teal-50);
  border: 1px solid var(--teal-100); font-weight: 650; font-size: 0.93em; color: var(--teal-900); white-space: nowrap;
}
.ui.plus { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.tip, .note {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); font-size: 15.5px; line-height: 1.5;
}
.tip { background: var(--orange-soft); color: #7a4614; }
.note { background: var(--blue-soft); color: #243f9c; }
.tip::before, .note::before { flex: none; font-weight: 800; }
.tip::before { content: "Tip"; }
.note::before { content: "Note"; }
.type-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.type-table div { display: flex; gap: 10px; align-items: flex-start; padding: 12px; background: var(--bg); border-radius: var(--r-sm); font-size: 15px; line-height: 1.45; }
.type-table .chip { flex: none; font-size: 11.5px; padding: 5px 10px; }
@media (max-width: 560px) { .type-table { grid-template-columns: 1fr; } }

.help-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.help-tools button {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer;
  font-weight: 600; font-size: 14.5px; color: var(--teal-900);
}
.help-tools button:hover { background: var(--teal-50); }
.result-count { color: var(--muted); font-size: 15px; }
.no-results {
  display: none; text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--teal-100);
  border-radius: var(--r-lg); margin: 24px 0;
}
.no-results.show { display: block; }
.no-results h3 { font-size: 22px; margin-bottom: 8px; }
.no-results p { color: var(--muted); }
.is-hidden { display: none !important; }
mark { background: #ffe9a8; color: inherit; border-radius: 4px; padding: 0 2px; }

/* Contact card */
.contact {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: linear-gradient(160deg, var(--teal-700), var(--teal-900)); color: #fff;
  border-radius: var(--r-lg); padding: 36px; margin-top: 12px;
}
.contact h3 { font-size: 26px; }
.contact p { color: rgba(255, 255, 255, 0.85); margin-top: 8px; max-width: 520px; }
@media (max-width: 680px) { .contact { grid-template-columns: 1fr; padding: 28px 24px; } }

/* Nav sits transparent over the teal cover until the page scrolls */
@media (min-width: 861px) {
  .nav:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav:not(.scrolled) .brand,
  .nav:not(.scrolled) .nav-links a:not(.btn) { color: #fff; }
  .nav:not(.scrolled) .nav-links a:not(.btn):hover { background: rgba(255, 255, 255, 0.14); }
  .nav:not(.scrolled) .nav-links a[aria-current="page"] { background: rgba(255, 255, 255, 0.2); color: #fff; }
  .nav:not(.scrolled) .btn-primary { background: #fff; color: var(--teal-900); box-shadow: none; }
}
@media (max-width: 860px) {
  .nav:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav:not(.scrolled) .brand { color: #fff; }
  .nav:not(.scrolled) .nav-toggle { background: rgba(255, 255, 255, 0.18); }
  .nav:not(.scrolled) .nav-toggle span,
  .nav:not(.scrolled) .nav-toggle span::before,
  .nav:not(.scrolled) .nav-toggle span::after { background: #fff; }
  .nav:not(.scrolled) .nav-toggle[aria-expanded="true"] span { background: transparent; }
}

.float { text-align: left; }
@media (max-width: 640px) { .float { display: none; } }

/* Breadcrumb in help hero */
.crumbs { display: inline-flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, 0.78); margin-bottom: 18px; }
.crumbs a { color: #fff; }
.crumbs a:hover { text-decoration: underline; }
