/* ============================================================
   MEETIQO — design tokens
   Pinned exactly to the app's design system
   (lib/config/theme/app_colors.dart, app_text_styles.dart).
   ============================================================ */
:root {
  --primary: #c2185b;
  --primary-dark: #5a0b28;
  --accent: #d4af37;
  --background: #fffdf9;
  --card: #ffffff;
  --card-border: rgba(212, 175, 55, 0.14);
  --text-primary: #1a0610;
  --text-secondary: #9e7d8a;
  --text-tertiary: #7a5c67;
  --divider: rgba(212, 175, 55, 0.16);
  --success: #22c55e;
  --error: #dc2626;

  --hero-gradient: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 100%);
  --primary-gradient: linear-gradient(135deg, var(--primary-dark), var(--primary));

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 24px 60px rgba(90, 11, 40, 0.10);
  --shadow-card: 0 4px 24px rgba(90, 11, 40, 0.07);
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Ambient background blobs — same soft-bubble motif the app itself
   paints behind every screen (AppBubbleBackground), recreated here
   in pure CSS so the site feels like it belongs to the same product.
   ============================================================ */
.bubble-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.bubble.b1 { width: 420px; height: 420px; top: -160px; left: -120px; background: var(--primary); }
.bubble.b2 { width: 340px; height: 340px; top: 40px; right: -140px; background: var(--accent); opacity: 0.28; }
.bubble.b3 { width: 300px; height: 300px; bottom: -140px; left: 30%; background: var(--primary-dark); opacity: 0.18; }

/* ============================================================
   Nav
   ============================================================ */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--divider);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

.brand span {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14.5px;
  opacity: 0.82;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--card);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ============================================================
   Buttons / pills
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 10px 28px rgba(194, 24, 91, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 34px rgba(194, 24, 91, 0.36);
}

.btn-ghost {
  background: var(--card);
  color: var(--text-primary);
  border-color: var(--card-border);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

/* Store badges — deliberately styled "soft-disabled": real store
   marks, honest "Coming soon" state, not a fake working download link. */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 16px;
  background: var(--text-primary);
  color: #fff;
  text-decoration: none;
  opacity: 0.94;
}

.store-badge .glyph {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: inline-flex;
}

.store-badge .glyph svg {
  width: 100%;
  height: 100%;
}

.store-badge .txt {
  text-align: left;
  line-height: 1.15;
}

.store-badge .txt .top {
  font-size: 10px;
  opacity: 0.8;
  display: block;
}

.store-badge .txt .bottom {
  font-size: 14px;
  font-weight: 700;
  display: block;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.badge-pill .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--hero-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 88px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 20px 0 18px;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  font-size: 17px;
  color: var(--text-tertiary);
  max-width: 480px;
  margin: 0 0 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-note a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.hero-note a:hover {
  text-decoration: underline;
}

/* ============================================================
   Phone mockup — hand-built in CSS to mirror the real app's UI
   (event feed card, category chip, gradient avatar, trust badge)
   rather than a screenshot.
   ============================================================ */
.phone {
  position: relative;
  margin: 0 auto;
  width: 300px;
  height: 610px;
  border-radius: 46px;
  background: #0f0710;
  padding: 14px;
  box-shadow: var(--shadow-soft), 0 0 0 2px rgba(212, 175, 55, 0.18);
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #0f0710;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--background);
}

.phone-topbar {
  background: var(--primary-gradient);
  padding: 34px 18px 20px;
  color: #fff;
}

.phone-topbar .greet {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 600;
}

.phone-topbar .title {
  font-size: 19px;
  font-weight: 800;
  margin-top: 2px;
}

.phone-chips {
  display: flex;
  gap: 8px;
  padding: 14px 16px 6px;
  overflow: hidden;
}

.mini-chip {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
}

.mini-chip.active {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
}

.mini-event-card {
  margin: 10px 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.mini-event-cover {
  height: 84px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, var(--accent));
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px;
}

.mini-event-cover .cat {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  padding: 4px 9px;
  border-radius: 999px;
}

.mini-event-cover .spots {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  padding: 4px 9px;
  border-radius: 999px;
}

.mini-event-body {
  padding: 10px 12px 12px;
}

.mini-event-body .title {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.mini-event-body .meta {
  font-size: 10.5px;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
}

.mini-avatars {
  display: flex;
  margin-top: 8px;
}

.mini-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--card);
  margin-left: -8px;
  background: var(--hero-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
}

.mini-avatar:first-child {
  margin-left: 0;
}

.phone-navbar {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  display: flex;
  justify-content: space-around;
  padding: 10px 6px;
  box-shadow: 0 6px 20px rgba(90, 11, 40, 0.14);
}

.phone-navbar .ic {
  font-size: 16px;
  opacity: 0.45;
}

.phone-navbar .ic.on {
  opacity: 1;
}

.float-card {
  position: absolute;
  width: 200px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  z-index: 2;
}

.float-card .ic {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

/* Positioned by their far edge (not left/right directly) so the card
   sits fully clear of the phone regardless of its own content width --
   `right: calc(100% + gap)` anchors the card's right edge a fixed gap
   to the left of the phone-wrap's left edge (and mirrored for the other
   card), instead of a small negative offset that assumed a fixed width. */
.float-card.request { top: 12%; right: calc(100% + 22px); left: auto; }
.float-card.trust { bottom: 16%; left: calc(100% + 22px); right: auto; }
.float-card .sub {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 11px;
}

/* ============================================================
   Section scaffolding
   ============================================================ */
section {
  position: relative;
  padding: 76px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(194, 24, 91, 0.08);
  padding: 7px 14px;
  border-radius: 999px;
}

.section-head {
  max-width: 620px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
}

.section-head p {
  color: var(--text-tertiary);
  font-size: 15.5px;
}

/* ============================================================
   How it works
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.step .num {
  position: absolute;
  top: -14px;
  left: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hero-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(194, 24, 91, 0.3);
}

.step .glyph {
  font-size: 30px;
  margin: 10px 0 14px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================================
   Feature grid
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.feature-card .ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(194, 24, 91, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================================
   Category strip
   ============================================================ */
.cat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  font-weight: 700;
  font-size: 14px;
}

.cat-pill .e {
  font-size: 17px;
}

/* ============================================================
   Safety band — visually distinct, dark gradient
   ============================================================ */
.safety {
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 40px;
  margin: 0 24px;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}

.safety::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(212, 175, 55, 0.35), transparent 55%);
  pointer-events: none;
}

.safety-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.safety .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.safety h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
}

.safety > .safety-inner > div:first-child > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  margin-bottom: 28px;
}

.safety-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.safety-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.safety-list .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.safety-list b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
}

.safety-list span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.safety-links {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.safety-links a {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}

/* mini trust card for the safety visual */
.trust-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 22px;
  backdrop-filter: blur(6px);
}

.trust-card .row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.trust-card .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #fff3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.trust-card .name {
  font-weight: 700;
  font-size: 15px;
}

.trust-card .sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.trust-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
}

.trust-score .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.trust-score .val {
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
}

.trust-actions {
  display: flex;
  gap: 8px;
}

.trust-actions span {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  padding: 9px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   FAQ (native <details>, no JS required)
   ============================================================ */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  box-shadow: var(--shadow-card);
}

.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .chev {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq details[open] summary .chev {
  transform: rotate(180deg);
}

.faq .answer {
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================================
   Closing CTA
   ============================================================ */
.closing {
  text-align: center;
  padding: 90px 0 70px;
}

.closing h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.closing p {
  color: var(--text-tertiary);
  font-size: 15.5px;
  margin: 0 0 30px;
}

.closing .hero-ctas {
  justify-content: center;
}

/* ============================================================
   Footer
   ============================================================ */
footer.site {
  border-top: 1px solid var(--divider);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 280px;
  margin-top: 10px;
}

.footer-col h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0.85;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  font-size: 12.5px;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   Legal / simple content pages
   ============================================================ */
.legal-hero {
  background: var(--primary-gradient);
  color: #fff;
  padding: 64px 0 40px;
}

.legal-hero .container {
  max-width: 760px;
}

.legal-hero a.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.legal-hero h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal-hero .updated {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 90px;
}

.legal-wrap section {
  padding: 0;
  margin-bottom: 30px;
}

.legal-wrap section h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  scroll-margin-top: 90px;
}

.legal-wrap section p {
  font-size: 14.5px;
  color: #5a3040;
  margin: 0;
}

.legal-wrap section p + p {
  margin-top: 10px;
}

.legal-wrap a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.legal-wrap a:hover {
  text-decoration: underline;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.card a.email {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(194, 24, 91, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.card .label {
  font-weight: 700;
  font-size: 15px;
}

.card .sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.note {
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 13.5px;
  margin-bottom: 24px;
  color: #5a3040;
}

.note.good {
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.note.good strong {
  color: #16803c;
}

.note.warn {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.note.warn strong {
  color: #dc2626;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.toc a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--card);
  border: 1px solid var(--card-border);
  padding: 7px 12px;
  border-radius: 999px;
  text-decoration: none;
}

.toc a:hover {
  color: var(--primary);
  border-color: rgba(194, 24, 91, 0.3);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .phone-wrap { order: -1; display: flex; justify-content: center; margin-bottom: 12px; }
  .hero h1 { font-size: 40px; }
  .steps, .features { grid-template-columns: repeat(2, 1fr); }
  .safety-inner { grid-template-columns: 1fr; }
  .safety { margin: 0 16px; padding: 44px 24px; border-radius: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .float-card { display: none; }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--card);
    border-bottom: 1px solid var(--divider);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-card);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span { transform: rotate(45deg); }
  .nav-toggle.open span::before { top: 0; transform: rotate(90deg); }
  .nav-toggle.open span::after { display: none; }
  .steps, .features { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 32px; }
  section { padding: 56px 0; }
  .section-head h2 { font-size: 26px; }
  .closing h2 { font-size: 28px; }
  .phone { width: 260px; height: 530px; }
}
