/* ============================================================
   PunsQ — self-hosted webfonts (latin subset)
   Montserrat = display / headings / UI labels
   DM Sans    = body copy
   ------------------------------------------------------------
   Prefer this over the Google Fonts CDN: no third-party request,
   no CLS from a late stylesheet, and it satisfies EU privacy rules.
   To use the CDN instead, drop this file and add to <head>:
   <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=DM+Sans:wght@400;500;700&display=swap" rel="stylesheet">
   ============================================================ */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================================================
   PunsQ — Design System
   Playful 3D / glassmorphic light theme
   ------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Typography
   5.  Buttons
   6.  Header & navigation
   7.  Floating 3D background
   8.  Hero
   9.  Cards (generator / category / testimonial)
   10. How it works
   11. CTA banner
   12. Footer
   13. Interior pages
   14. Motion & responsive
   ============================================================ */

/* 1. TOKENS ------------------------------------------------ */
:root {
  /* Brand hues */
  --violet-700: #6D28D9;
  --violet-600: #7C3AED;
  --violet-500: #8B5CF6;
  --violet-300: #C4B5FD;
  --violet-100: #EDE6FE;
  --violet-050: #F6F2FF;

  --indigo-600: #4F46E5;
  --indigo-500: #5B4BFB;

  --pink-600: #D63FC4;
  --pink-500: #E252A8;
  --pink-400: #EC72BA;

  --amber-400: #FBBF24;
  --amber-500: #F5B300;
  --orange-500: #F97316;
  --blue-500:   #3B82F6;

  /* Signature gradients */
  --grad-brand:   linear-gradient(90deg, #D63FC4 0%, #9333EA 46%, #4F46E5 100%);
  --grad-button:  linear-gradient(95deg, #7C3AED 0%, #B45CE0 58%, #EC69B4 100%);
  --grad-pill:    linear-gradient(95deg, #E15BBB 0%, #A96BEE 52%, #7A4EF7 100%);
  --grad-banner:  linear-gradient(92deg, #E263C8 0%, #9C48E5 36%, #7654F0 68%, #6E4BEE 100%);
  --grad-soft:    linear-gradient(160deg, #FFFFFF 0%, #FBF8FF 100%);

  /* Ink */
  --ink-900: #0B0B23;
  --ink-800: #151338;
  --ink-700: #252352;
  --ink-600: #45446C;
  --ink-500: #5D5C82;
  --ink-400: #6E6D8A;

  /* Surfaces */
  --bg:            #FBFAFE;
  --surface:       #FFFFFF;
  --surface-glass: rgba(255, 255, 255, .70);
  --border:        #EFEAF9;
  --border-strong: #E1D8F6;
  --footer-bg:     #F5F4FA;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-2xl: 34px;
  --r-full: 999px;

  /* Elevation — always violet-tinted, never neutral black */
  --sh-xs: 0 1px 2px rgba(20, 16, 60, .05);
  --sh-sm: 0 2px 10px rgba(84, 52, 168, .06);
  --sh-md: 0 8px 26px rgba(84, 52, 168, .08);
  --sh-lg: 0 18px 46px rgba(84, 52, 168, .11);
  --sh-btn: 0 10px 24px rgba(124, 58, 237, .30);
  --sh-pill: 0 10px 26px rgba(190, 70, 190, .26);
  --sh-banner: 0 24px 60px rgba(140, 70, 240, .28);

  /* Space — 4px base scale */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-7: 28px;  --sp-12: 48px; --sp-14: 56px; --sp-16: 64px; --sp-20: 80px;
  --sp-24: 96px; --sp-28: 112px;

  /* Layout */
  --container: 1240px;
  --gutter: 24px;
  --section-y: clamp(48px, 5.4vw, 88px);
  --header-h: 84px;

  /* Type */
  --font-display: "Montserrat", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.35rem, 4.4vw, 3.9rem);
  --fs-h1:      clamp(2.1rem, 4vw, 3.25rem);
  --fs-h2:      clamp(1.75rem, 2.6vw, 2.25rem);
  --fs-h3:      clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-h4:      1.1875rem;
  --fs-lead:    clamp(1rem, 1.15vw, 1.125rem);
  --fs-body:    1rem;
  --fs-sm:      .9375rem;
  --fs-xs:      .875rem;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. RESET & BASE ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

/* overflow-x lives on the root, never on body: setting it on body turns body
   into its own scroll container, which breaks window.scrollTo(), anchor jumps
   and IntersectionObserver against the viewport. `clip` is preferred over
   `hidden` because it does not establish a scroll container at all, so the
   sticky header keeps working. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  html { overflow-x: clip; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-600);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Soft radial wash that sits under the floating 3D props */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(58rem 34rem at 82% -6%,  rgba(168, 85, 247, .10), transparent 62%),
    radial-gradient(46rem 30rem at 6% 22%,   rgba(236, 114, 186, .07), transparent 60%),
    radial-gradient(52rem 34rem at 50% 108%, rgba(99, 102, 241, .08), transparent 62%);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--violet-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--pink-500); }

ul { margin: 0; padding: 0; list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

:focus-visible {
  outline: 3px solid var(--violet-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.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: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--violet-600); color: #fff;
  padding: 12px 20px; border-radius: 0 0 var(--r-md) var(--r-md); font-weight: 700;
}
.skip-link:focus { top: 0; color: #fff; }

/* 3. LAYOUT PRIMITIVES ------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .68); }

.section-head { text-align: center; margin-bottom: var(--sp-10); }
.section-head p { margin: var(--sp-3) auto 0; max-width: 46ch; color: var(--ink-500); font-size: var(--fs-lead); }

.grid { display: grid; gap: var(--sp-6); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* 4. TYPOGRAPHY -------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-800);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.015em;
  margin: 0;
}

.display {
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -.028em;
  color: var(--ink-900);
}

h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: var(--fs-lead); color: var(--ink-600); max-width: 46ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--violet-600);
  background: var(--violet-050);
  border: 1px solid var(--violet-100);
  padding: 7px 14px; border-radius: var(--r-full);
}

.nowrap { white-space: nowrap; }

/* Hand-drawn underline swoosh under the last words of a gradient headline */
.swoosh { position: relative; display: inline-block; }
.swoosh::after {
  content: "";
  position: absolute; left: 31%; right: -1%; bottom: -.14em;
  height: .26em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 26' preserveAspectRatio='none'%3E%3Cpath d='M4 17C58 6 214 2 296 9' stroke='%23FBBF24' stroke-width='5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M14 24C70 15 210 12 286 18' stroke='%23FBBF24' stroke-width='3.5' fill='none' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  pointer-events: none;
}

/* 5. BUTTONS ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: -.005em;
  line-height: 1;
  padding: 16px 26px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease), color .22s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 17px; height: 17px; flex: none; }

.btn--primary { background: var(--grad-button); color: #fff; box-shadow: var(--sh-btn); }
.btn--primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(124, 58, 237, .38); }

.btn--pill {
  background: var(--grad-pill); color: #fff;
  border-radius: var(--r-full); padding: 15px 24px;
  box-shadow: var(--sh-pill);
}
.btn--pill:hover { color: #fff; box-shadow: 0 14px 32px rgba(190, 70, 190, .34); }

.btn--ghost {
  background: var(--surface); color: var(--ink-800);
  border-color: var(--border); box-shadow: var(--sh-sm);
}
.btn--ghost:hover { color: var(--violet-600); border-color: var(--border-strong); box-shadow: var(--sh-md); }

.btn--outline {
  background: rgba(255, 255, 255, .6); color: var(--violet-600);
  border-color: var(--violet-300); border-radius: var(--r-md);
}
.btn--outline:hover { background: #fff; border-color: var(--violet-500); color: var(--violet-700); box-shadow: var(--sh-md); }

.btn--white { background: #fff; color: var(--violet-600); box-shadow: 0 12px 26px rgba(60, 20, 120, .22); }
.btn--white:hover { color: var(--violet-700); }

.btn--lg { padding: 18px 30px; font-size: var(--fs-body); }
.btn--block { width: 100%; }

/* Small circular "go" affordance in the corner of a card */
.arrow-btn {
  width: 34px; height: 34px; border-radius: var(--r-full);
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border);
  color: var(--violet-600); box-shadow: var(--sh-xs);
  transition: background-color .25s var(--ease), color .25s var(--ease),
              transform .25s var(--ease), box-shadow .25s var(--ease);
}
.arrow-btn svg { width: 15px; height: 15px; }

/* 6. HEADER & NAVIGATION ----------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 254, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(84, 52, 168, .07);
  background: rgba(251, 250, 254, .92);
}

.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: var(--sp-8);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--ink-900); line-height: 1; flex: none;
}
.logo span { color: var(--violet-600); }
.logo:hover { color: var(--ink-900); }

.nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink-600); padding: 8px 2px;
}
.nav-link:hover { color: var(--violet-600); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; border-radius: 3px; background: var(--violet-600);
  transform: scaleX(0); transform-origin: center;
  transition: transform .25s var(--ease);
}
.nav-link:hover::after { transform: scaleX(.6); }
.nav-item.is-active > .nav-link { color: var(--ink-900); font-weight: 700; }
.nav-item.is-active > .nav-link::after { transform: scaleX(1); }
.nav-link .chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }

/* Dropdown */
.nav-item.has-menu { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px; padding: 10px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-item.has-menu:hover .nav-menu,
.nav-item.has-menu:focus-within .nav-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-item.has-menu:hover .chev { transform: rotate(180deg); }
.nav-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-700);
}
.nav-menu a:hover { background: var(--violet-050); color: var(--violet-700); }
.nav-menu img { width: 26px; height: 26px; object-fit: contain; }

.header-cta { flex: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; flex: none;
  border-radius: var(--r-md); border: 1px solid var(--border);
  background: #fff; box-shadow: var(--sh-sm);
  place-items: center; color: var(--ink-800);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* 7. FLOATING 3D BACKGROUND -------------------------------- */
.bg-decor {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
  z-index: 0;
}
.bg-decor img {
  position: absolute;
  width: var(--w, 90px);
  opacity: var(--o, .55);
  filter: saturate(.92);
  will-change: transform;
  animation: float var(--dur, 16s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  33%      { transform: translate3d(6px, -14px, 0) rotate(4deg) scale(1.03); }
  66%      { transform: translate3d(-8px, 8px, 0) rotate(-3deg) scale(.985); }
}

/* Sections sit above the decor layer */
.section > .container,
.hero > .container { position: relative; z-index: 1; }

/* 8. HERO --------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(28px, 3.4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 64px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.hero-copy .display { margin-bottom: var(--sp-6); }
.hero-copy .lead { margin: 0 0 var(--sp-10); max-width: 41ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-bottom: var(--sp-10); }

.social-proof { display: flex; align-items: center; gap: var(--sp-4); }
.avatars { display: flex; }
.avatars img {
  width: 46px; height: 46px; border-radius: var(--r-full);
  border: 3px solid #fff; box-shadow: var(--sh-sm);
  margin-left: -14px; background: var(--violet-100);
}
.avatars img:first-child { margin-left: 0; }
.social-proof .stars { display: flex; gap: 2px; color: var(--amber-400); }
.social-proof .stars svg { width: 17px; height: 17px; }
.social-proof p { margin: 2px 0 0; font-size: var(--fs-xs); color: var(--ink-500); font-weight: 500; }

/* Hero artwork with text baked on top of the 3D bubble */
.hero-art { position: relative; }
.hero-art > img { width: 100%; filter: drop-shadow(0 30px 60px rgba(124, 58, 237, .18)); }
.hero-art .bubble-text,
.hero-art .lol-text {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.0;
  pointer-events: none;
}
.hero-art .bubble-text {
  left: 20%; right: 12%; top: 27%;
  font-size: clamp(1.6rem, 4.6vw, 3.4rem);
  letter-spacing: -.02em;
  transform: rotate(-4deg);
  text-shadow: 0 4px 0 rgba(88, 28, 165, .30), 0 10px 22px rgba(60, 12, 120, .32);
}
.hero-art .lol-text {
  right: 6%; top: 9%;
  font-size: clamp(.9rem, 2.1vw, 1.6rem);
  color: var(--violet-600);
  transform: rotate(-9deg);
  text-shadow: 0 2px 0 rgba(124, 58, 237, .18);
}

/* 9. CARDS -------------------------------------------------- */
.card {
  position: relative;
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--border-strong); }

/* Featured generator card */
.gen-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: var(--sp-7, 28px) var(--sp-5) var(--sp-4);
  color: inherit;
}
.gen-card:hover { color: inherit; }
.gen-card .icon { height: 84px; display: grid; place-items: center; margin-bottom: var(--sp-4); }
.gen-card .icon img {
  max-height: 88px; width: auto;
  filter: drop-shadow(0 10px 18px rgba(124, 58, 237, .18));
  transition: transform .35s var(--ease);
}
.gen-card:hover .icon img { transform: translateY(-5px) scale(1.06) rotate(-3deg); }
.gen-card h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.gen-card p { margin: 0 0 var(--sp-5); font-size: var(--fs-xs); color: var(--ink-500); line-height: 1.6; }
.gen-card .arrow-btn { align-self: flex-end; margin-top: auto; }
.gen-card:hover .arrow-btn {
  background: var(--grad-button); color: #fff;
  border-color: transparent; transform: translateX(3px); box-shadow: var(--sh-btn);
}

/* Category card */
.cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--r-lg);
  color: inherit;
}
.cat-card:hover { color: inherit; }
.cat-card .icon { height: 66px; display: grid; place-items: center; margin-bottom: var(--sp-3); }
.cat-card .icon img {
  max-height: 68px; width: auto;
  filter: drop-shadow(0 8px 14px rgba(124, 58, 237, .16));
  transition: transform .35s var(--ease);
}
.cat-card:hover .icon img { transform: translateY(-4px) scale(1.07); }
.cat-card h3 { font-size: var(--fs-body); margin-bottom: 4px; }
.cat-card span { font-size: var(--fs-xs); color: var(--ink-400); }

.center-action { display: flex; justify-content: center; margin-top: var(--sp-8); }

/* Testimonial card */
.t-card { padding: var(--sp-6) var(--sp-6); display: flex; flex-direction: column; }
.t-card .quote-mark {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
  line-height: .7; color: var(--violet-500); margin-bottom: var(--sp-3);
}
.t-card blockquote { margin: 0 0 var(--sp-4); font-size: var(--fs-sm); color: var(--ink-600); line-height: 1.65; }
.t-card .stars { display: flex; gap: 3px; color: var(--amber-400); margin-bottom: var(--sp-4); }
.t-card .stars svg { width: 17px; height: 17px; }
.t-person { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.t-person img { width: 46px; height: 46px; border-radius: var(--r-full); border: 2px solid #fff; box-shadow: var(--sh-sm); }
.t-person strong { display: block; font-family: var(--font-display); font-size: var(--fs-sm); color: var(--ink-800); }
.t-person span { font-size: var(--fs-xs); color: var(--ink-400); }

/* 10. HOW IT WORKS ------------------------------------------ */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); }
.step { text-align: center; position: relative; }
.step-art { position: relative; display: inline-grid; place-items: center; margin-bottom: var(--sp-5); }
/* Height-locked so orbs of different aspect ratios share one baseline */
.step-art img {
  height: clamp(96px, 10vw, 130px); width: auto;
  filter: drop-shadow(0 14px 26px rgba(124, 58, 237, .20));
  transition: transform .4s var(--ease);
}
.step:hover .step-art img { transform: translateY(-6px) scale(1.05); }
.step-badge {
  position: absolute; left: 4px; bottom: 2px;
  width: 30px; height: 30px; border-radius: var(--r-full);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 700; color: #fff;
  border: 3px solid var(--bg);
  box-shadow: var(--sh-sm);
}
.step:nth-child(1) .step-badge { background: var(--violet-600); }
.step:nth-child(3) .step-badge { background: var(--orange-500); }
.step:nth-child(5) .step-badge { background: var(--blue-500); }
.step h3 { margin-bottom: var(--sp-2); }
.step p { margin: 0 auto; max-width: 26ch; font-size: var(--fs-sm); color: var(--ink-500); }

/* Dashed connector between steps */
.step-link { align-self: start; margin-top: clamp(42px, 4.6vw, 58px); display: block; }
.step-link svg { width: 100%; height: 22px; overflow: visible; }
.step-link path { stroke: var(--violet-300); stroke-width: 2.5; stroke-dasharray: 7 9; stroke-linecap: round; fill: none; }
.step-link circle { fill: var(--violet-500); }

.steps--linked { grid-template-columns: minmax(0, 1fr) 12% minmax(0, 1fr) 12% minmax(0, 1fr); }

/* 11. CTA BANNER -------------------------------------------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--grad-banner);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-banner);
  padding: clamp(28px, 3.4vw, 46px) clamp(24px, 3vw, 48px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  text-align: center;
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(24rem 14rem at 18% 120%, rgba(255, 255, 255, .22), transparent 60%),
    radial-gradient(18rem 12rem at 74% -20%, rgba(255, 255, 255, .18), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-emoji { width: clamp(76px, 9vw, 128px); filter: drop-shadow(0 14px 26px rgba(70, 20, 130, .35)); }
.cta-copy h2 { color: #fff; margin-bottom: var(--sp-2); }
.cta-copy p { margin: 0 0 var(--sp-6); color: rgba(255, 255, 255, .92); font-size: var(--fs-lead); }
.cta-bubble { position: relative; width: clamp(160px, 17vw, 230px); flex: none; }
.cta-bubble img { width: 100%; }
.cta-bubble span {
  position: absolute; left: 10%; right: 22%; top: 4%; bottom: 30%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(.78rem, 1.15vw, 1.06rem);
  line-height: 1.25; color: var(--ink-800); text-align: center;
  transform: rotate(-4deg);
}

/* 12. FOOTER ------------------------------------------------ */
.site-footer { position: relative; background: var(--footer-bg); padding-top: var(--sp-14); margin-top: var(--sp-4); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--sp-8);
  padding-bottom: var(--sp-10);
}
.footer-brand .logo { display: inline-block; margin-bottom: var(--sp-4); }
.footer-brand p { margin: 0 0 var(--sp-5); font-size: var(--fs-xs); color: var(--ink-500); max-width: 34ch; line-height: 1.7; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px; border-radius: var(--r-full);
  display: grid; place-items: center; color: #fff;
  transition: transform .22s var(--ease), filter .22s var(--ease);
}
.socials a:hover { transform: translateY(-3px); filter: brightness(1.08); }
.socials svg { width: 16px; height: 16px; }
.s-fb { background: #1877F2; }
.s-tw { background: #1DA1F2; }
.s-ig { background: linear-gradient(45deg, #F9CE34, #EE2A7B 55%, #6228D7); }
.s-pi { background: #E60023; }

.footer-col h2 {
  font-size: var(--fs-sm); font-weight: 700; color: var(--ink-800);
  line-height: 1.3; letter-spacing: -.005em;
  margin-bottom: var(--sp-4);
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: var(--fs-xs); color: var(--ink-500); font-weight: 500; }
.footer-col a:hover { color: var(--violet-600); }

.footer-bottom {
  border-top: 1px solid #E9E7F2;
  padding-block: var(--sp-6);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--ink-400);
}

/* 13. INTERIOR PAGES ---------------------------------------- */
.page-hero { position: relative; text-align: center; padding-block: clamp(40px, 5vw, 76px) clamp(24px, 3vw, 40px); }
.page-hero .lead { margin: var(--sp-4) auto 0; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: var(--fs-xs); color: var(--ink-400); margin-bottom: var(--sp-4); }
.breadcrumb a { color: var(--ink-500); font-weight: 500; }

/* Generator */
.gen-panel { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-2xl); background: var(--surface); box-shadow: var(--sh-md); }
.gen-form { display: grid; gap: var(--sp-5); }
.field label { display: block; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); color: var(--ink-800); margin-bottom: 8px; }
.input, .select, .textarea {
  width: 100%; padding: 15px 16px;
  background: #fff; border: 1px solid var(--border-strong);
  border-radius: var(--r-md); color: var(--ink-800);
  font-size: var(--fs-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--violet-500);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, .16);
}
.textarea { min-height: 130px; resize: vertical; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--border-strong);
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink-600);
  font-family: var(--font-display);
  transition: all .22s var(--ease);
}
.chip img { width: 18px; height: 18px; object-fit: contain; }
.chip:hover { border-color: var(--violet-300); color: var(--violet-600); transform: translateY(-2px); }
.chip.is-active { background: var(--grad-button); color: #fff; border-color: transparent; box-shadow: var(--sh-btn); }

.results { display: grid; gap: var(--sp-4); margin-top: var(--sp-8); }
.pun-item {
  display: flex; align-items: flex-start; gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-xs);
  animation: rise .4s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pun-item p { margin: 0; flex: 1; color: var(--ink-700); font-size: var(--fs-sm); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 700;
  color: var(--violet-600); padding: 8px 13px; border-radius: var(--r-full);
  background: var(--violet-050); border: 1px solid var(--violet-100);
  transition: all .2s var(--ease);
}
.copy-btn:hover { background: var(--violet-100); }
.copy-btn.is-done { background: #E8F8F0; border-color: #C6EBDA; color: #15916A; }
.copy-btn svg { width: 14px; height: 14px; }

.empty-state { text-align: center; padding: var(--sp-12) var(--sp-6); color: var(--ink-400); }
.empty-state img { width: 92px; margin: 0 auto var(--sp-4); opacity: .85; }

/* FAQ accordion */
.faq-list { display: grid; gap: var(--sp-4); max-width: 820px; margin-inline: auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-xs); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6); text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); color: var(--ink-800);
}
.faq-q .plus { flex: none; width: 26px; height: 26px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--violet-050); color: var(--violet-600); transition: transform .3s var(--ease), background-color .3s var(--ease); }
.faq-q .plus svg { width: 13px; height: 13px; }
.faq-item.is-open .plus { transform: rotate(45deg); background: var(--grad-button); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 var(--sp-6) var(--sp-6); font-size: var(--fs-sm); color: var(--ink-500); }

/* Blog */
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-thumb { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--grad-soft); border-bottom: 1px solid var(--border); }
.post-thumb img { width: 42%; filter: drop-shadow(0 12px 22px rgba(124, 58, 237, .18)); }
.post-body { padding: var(--sp-6); display: flex; flex-direction: column; flex: 1; }
.post-tag { align-self: flex-start; font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet-600); background: var(--violet-050); border-radius: var(--r-full); padding: 5px 11px; margin-bottom: var(--sp-3); }
.post-body h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.post-body p { margin: 0 0 var(--sp-5); font-size: var(--fs-xs); color: var(--ink-500); }
.post-meta { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--ink-400); }

/* About / value grid */
.value-card { padding: var(--sp-8) var(--sp-6); text-align: center; }
.value-card .icon img { height: 72px; width: auto; margin: 0 auto var(--sp-4); filter: drop-shadow(0 10px 18px rgba(124, 58, 237, .18)); }
.value-card h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.value-card p { margin: 0; font-size: var(--fs-xs); color: var(--ink-500); }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-6); }
.stat { text-align: center; padding: var(--sp-6) var(--sp-4); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; line-height: 1; }
.stat span { font-size: var(--fs-xs); color: var(--ink-500); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-item { display: flex; gap: var(--sp-4); padding: var(--sp-5) 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ico-box { flex: none; width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--violet-050); color: var(--violet-600); border: 1px solid var(--violet-100); }
.contact-item .ico-box svg { width: 20px; height: 20px; }
.contact-item h3 { font-size: var(--fs-sm); margin-bottom: 2px; }
.contact-item p { margin: 0; font-size: var(--fs-xs); color: var(--ink-500); }

.form-note { font-size: var(--fs-xs); color: var(--ink-400); margin: 0; }
.form-status { margin: var(--sp-4) 0 0; font-size: var(--fs-xs); font-weight: 600; color: #15916A; }

/* Reveal-on-scroll.
   Fail-safe: content is visible by default. main.js adds .js to <html>, and only
   then does the hidden start-state apply. If the script 404s or is blocked, the
   page still renders fully instead of going blank. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 14. RESPONSIVE -------------------------------------------- */
@media (max-width: 1100px) {
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto;
    margin: 0; padding: var(--sp-5) var(--gutter) var(--sp-8);
    background: rgba(251, 250, 254, .98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { justify-content: space-between; padding: 14px 4px; font-size: var(--fs-body); border-bottom: 1px solid var(--border); }
  .nav-link::after { display: none; }
  .nav-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; min-width: 0; padding: 4px 0 10px 10px;
    display: none;
  }
  .nav-item.has-menu.is-open .nav-menu { display: block; }
  .nav-toggle { display: grid; margin-left: auto; }
  .header-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .social-proof { justify-content: center; }
  .hero-art { order: -1; max-width: 560px; margin-inline: auto; }

  .steps--linked { grid-template-columns: 1fr; }
  .step-link { display: none; }
  .steps { gap: var(--sp-10); }

  .cta-banner { grid-template-columns: 1fr; text-align: center; }
  .cta-emoji, .cta-bubble { margin-inline: auto; }

  .contact-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .grid--5, .grid--6, .grid--3, .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8) var(--sp-6); }
  .footer-brand { grid-column: 1 / -1; }
  .section-head { margin-bottom: var(--sp-8); }
  .btn { width: auto; }
  .hero-actions .btn { flex: 1 1 200px; }
}

@media (max-width: 520px) {
  .grid--5, .grid--3 { grid-template-columns: 1fr; }
  /* below ~400px the nowrap headline sets a min-content width wider than the column */
  .nowrap { white-space: normal; }
  .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avatars img { width: 40px; height: 40px; }
  .cta-emoji { width: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   15. INTERIOR PAGE SECTIONS
   Components introduced by the About / Contact / FAQ / Blog
   designs. Everything below reuses the tokens in :root — no new
   colours, radii, shadows or spacing values are invented here.
   ============================================================ */

/* Short violet rule under a centred section heading */
.section-head--bar h2,
.title-left { position: relative; }
.section-head--bar h2::after {
  content: ""; position: absolute; left: 50%; bottom: -12px;
  width: 46px; height: 3px; border-radius: 3px;
  background: var(--violet-600); transform: translateX(-50%);
}
.section-head--bar { margin-bottom: var(--sp-12); }

/* Left-aligned block heading with the same rule */
.title-left {
  font-size: var(--fs-h3); margin-bottom: var(--sp-6); padding-bottom: 10px;
}
.title-left::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 34px; height: 3px; border-radius: 3px; background: var(--violet-600);
}

/* ---------- Interior split hero (copy left, 3D art right) ---------- */
.hero--page { padding-top: clamp(20px, 2.6vw, 40px); }
.hero--page .display { margin-bottom: var(--sp-5); }
.hero--page .lead { margin: 0 0 var(--sp-8); max-width: 44ch; }
.hero--page .hero-art > img { filter: drop-shadow(0 26px 52px rgba(124, 58, 237, .16)); }

/* ---------- Our Story ---------- */
.story {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.story-art {
  background: var(--surface-glass); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--sh-sm);
  padding: var(--sp-5); display: grid; place-items: center;
}
.story-art img { width: 100%; max-width: 340px; }
.story-copy p { margin: 0 0 var(--sp-4); color: var(--ink-600); }
.story-copy p:last-child { margin-bottom: 0; }

/* ---------- Icon-beside-text card (Our Mission) ---------- */
.row-card { display: flex; align-items: flex-start; gap: var(--sp-4); padding: var(--sp-6); }
.row-card .ico { flex: none; width: 54px; display: grid; place-items: center; }
.row-card .ico img { max-height: 52px; width: auto; filter: drop-shadow(0 8px 14px rgba(124, 58, 237, .16)); }
.row-card h3 { font-size: var(--fs-h4); margin-bottom: 4px; }
.row-card p { margin: 0; font-size: var(--fs-xs); color: var(--ink-500); line-height: 1.6; }

/* ---------- Four-up strip inside one card (Why Choose / Still Need Help) ---------- */
.strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: var(--sp-6) var(--sp-4);
}
.strip > * { padding-inline: var(--sp-4); }
.strip > * + * { border-left: 1px solid var(--border); }

.strip-item { display: flex; align-items: flex-start; gap: var(--sp-3); }
.strip-item .ico { flex: none; width: 42px; display: grid; place-items: center; }
.strip-item .ico img { max-height: 42px; width: auto; filter: drop-shadow(0 6px 12px rgba(124, 58, 237, .16)); }
.strip-item h3 { font-size: var(--fs-sm); margin-bottom: 3px; }
.strip-item p { margin: 0; font-size: var(--fs-xs); color: var(--ink-500); line-height: 1.55; }
.strip-item a { font-size: var(--fs-xs); font-weight: 700; font-family: var(--font-display); }
.strip-item .socials { margin-top: 8px; }
.strip-item .socials a { width: 26px; height: 26px; }
.strip-item .socials svg { width: 13px; height: 13px; }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: var(--sp-5) var(--sp-4);
}
.stat-strip > * + * { border-left: 1px solid var(--border); }
.stat-item { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); padding-inline: var(--sp-4); }
.stat-item img { flex: none; height: 40px; width: auto; filter: drop-shadow(0 6px 12px rgba(124, 58, 237, .16)); }
.stat-item strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.1; color: var(--ink-900);
}
.stat-item span { font-size: var(--fs-xs); color: var(--ink-500); }

/* ---------- Search bar ---------- */
.searchbar {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
}
.searchbar .mag {
  flex: none; width: 40px; height: 40px; border-radius: var(--r-full);
  display: grid; place-items: center; background: var(--violet-050); color: var(--violet-600);
}
.searchbar .mag svg { width: 19px; height: 19px; }
.searchbar .field { flex: 1; min-width: 0; }
.searchbar input {
  width: 100%; border: 0; background: none; padding: 0;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-body); color: var(--ink-800);
}
.searchbar input::placeholder { color: var(--ink-800); }
.searchbar input:focus { outline: none; }
.searchbar .hint { display: block; font-size: var(--fs-xs); color: var(--ink-400); }
.searchbar .btn { flex: none; }

.searchbar--pill { border-radius: var(--r-full); padding: 10px 10px 10px var(--sp-5); }
.searchbar--pill .mag { width: 22px; height: 22px; background: none; }
.searchbar--pill input { font-weight: 400; font-family: var(--font-body); font-size: var(--fs-sm); }
.searchbar--pill input::placeholder { color: var(--ink-400); }

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.blog-toolbar {
  display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: var(--sp-5); align-items: center; margin-bottom: var(--sp-10);
}

/* ---------- FAQ two-column, answers visible (matches the mockup) ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.faq-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-xs);
  padding: var(--sp-5) var(--sp-6);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-4);
  align-items: start;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.faq-card:hover { box-shadow: var(--sh-md); border-color: var(--border-strong); }
.faq-card h3 { font-size: var(--fs-sm); margin-bottom: 6px; }
.faq-card .faq-a { grid-column: 1 / -1; grid-template-rows: 1fr; }
.faq-card.is-closed .faq-a { grid-template-rows: 0fr; }
.faq-card .faq-a p { padding: 0; font-size: var(--fs-xs); color: var(--ink-500); line-height: 1.6; }
.faq-toggle {
  flex: none; width: 26px; height: 26px; border-radius: var(--r-full);
  display: grid; place-items: center; color: var(--violet-600);
  background: #fff; border: 1px solid var(--violet-100);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.faq-toggle svg { width: 12px; height: 12px; }
.faq-toggle:hover { background: var(--violet-050); }

/* ---------- Quick-answers banner ---------- */
.quick-banner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 2.5vw, 32px); align-items: center;
  padding: var(--sp-6) clamp(20px, 3vw, 36px);
  background: linear-gradient(100deg, #F7F1FF 0%, #FBF7FF 55%, #FDF5FB 100%);
  border: 1px solid var(--violet-100); border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
}
.quick-banner img { height: 62px; width: auto; }
.quick-banner h3 { font-size: var(--fs-h4); margin-bottom: 2px; }
.quick-banner p { margin: 0; font-size: var(--fs-xs); color: var(--ink-500); }
.quick-banner .actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ---------- Contact info cards ---------- */
.info-card { display: flex; align-items: flex-start; gap: var(--sp-4); padding: var(--sp-5) var(--sp-6); }
.info-card .ico-tile {
  flex: none; width: 54px; height: 54px; border-radius: var(--r-md);
  display: grid; place-items: center; background: var(--violet-050);
  border: 1px solid var(--violet-100);
}
.info-card .ico-tile img { max-height: 32px; width: auto; }
.info-card h3 { font-size: var(--fs-sm); margin-bottom: 2px; }
.info-card p { margin: 0 0 2px; font-size: var(--fs-xs); color: var(--ink-500); }
.info-card a { font-size: var(--fs-xs); font-weight: 600; }
.info-card .big { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-body); color: var(--ink-800); }
.tile--pink   { background: #FFF1F7; border-color: #FBD9E8; }
.tile--amber  { background: #FFF8EA; border-color: #F8E4BE; }
.tile--blue   { background: #EFF6FF; border-color: #D3E4FB; }

/* ---------- Blog: featured + sidebar ---------- */
.featured { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--sp-6); }
.featured-main {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  gap: var(--sp-6); align-items: center; padding: var(--sp-6);
}
.featured-art { display: grid; place-items: center; }
.featured-art img { width: 100%; max-width: 290px; }
.featured-main h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.15; margin-bottom: var(--sp-3); }
.featured-main > div > p { margin: var(--sp-3) 0 var(--sp-5); font-size: var(--fs-sm); color: var(--ink-500); }
.mini-stack { display: grid; gap: var(--sp-4); align-content: start; }
.mini-post { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); }
.mini-post .thumb { flex: none; width: 72px; display: grid; place-items: center; }
.mini-post .thumb img { max-height: 66px; width: auto; }
.mini-post h3 { font-size: var(--fs-sm); line-height: 1.3; margin-bottom: 6px; }

.post-meta { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--ink-400); flex-wrap: wrap; }
.post-meta svg { width: 13px; height: 13px; flex: none; }
.post-meta .dot { opacity: .6; }
.read-more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: var(--sp-3);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); color: var(--violet-600);
}
.read-more svg { width: 14px; height: 14px; transition: transform .22s var(--ease); }
.read-more:hover svg { transform: translateX(3px); }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: var(--sp-6); align-items: start; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.post-tile { display: flex; flex-direction: column; padding: var(--sp-5); }
.post-tile .art { height: 130px; display: grid; place-items: center; margin-bottom: var(--sp-4); }
.post-tile .art img { max-height: 126px; width: auto; transition: transform .35s var(--ease); }
.post-tile:hover .art img { transform: translateY(-4px) scale(1.04); }
.post-tile h3 { font-size: var(--fs-sm); line-height: 1.3; margin-bottom: var(--sp-3); }

.side-stack { display: grid; gap: var(--sp-5); }
.side-card { padding: var(--sp-5) var(--sp-6); }
.side-card > h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-4); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink-600);
  padding: 6px 13px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--violet-100);
  transition: all .2s var(--ease);
}
.tag:hover { color: var(--violet-600); border-color: var(--violet-300); transform: translateY(-2px); }
.tag--pink { border-color: #FBD9E8; }
.tag--blue { border-color: #D3E4FB; }

.trend-item { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) 0; }
.trend-item + .trend-item { border-top: 1px solid var(--border); }
.trend-item .thumb {
  flex: none; width: 58px; height: 58px; border-radius: var(--r-md);
  background: var(--violet-050); border: 1px solid var(--violet-100);
  display: grid; place-items: center; overflow: hidden;
}
.trend-item .thumb img { max-height: 42px; width: auto; }
.trend-item h4 { font-size: var(--fs-xs); font-weight: 700; line-height: 1.35; margin-bottom: 4px; color: var(--ink-800); }

.subscribe {
  padding: var(--sp-6); border-radius: var(--r-xl);
  background: linear-gradient(155deg, #F6EEFF 0%, #FBF4FF 48%, #FFF1F8 100%);
  border: 1px solid var(--violet-100); box-shadow: var(--sh-sm);
}
.subscribe-head { display: flex; align-items: flex-start; gap: var(--sp-3); }
.subscribe-head h3 { font-size: var(--fs-h4); line-height: 1.2; margin-bottom: 6px; }
.subscribe-head p { margin: 0; font-size: var(--fs-xs); color: var(--ink-500); }
.subscribe-head img { flex: none; width: 78px; margin-top: -6px; }
.subscribe form { margin-top: var(--sp-4); display: grid; gap: var(--sp-3); }

/* ---------- Testimonial with the avatar on the trailing side ---------- */
.t-card--row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-4); align-items: center; }
.t-card--row .quote-mark { grid-column: 1; margin-bottom: var(--sp-2); }
.t-card--row blockquote { grid-column: 1; margin-bottom: var(--sp-3); }
.t-card--row .stars { grid-column: 1; margin: 0; }
.t-card--row .t-person { grid-column: 2; grid-row: 1 / -1; margin: 0; }
.t-card--row .t-person div { display: none; }

/* Photo avatars keep a white ring like the mockups */
.t-person img, .avatars img { object-fit: cover; background: var(--violet-100); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .featured { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip, .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--sp-5); }
  .strip > *:nth-child(3), .stat-strip > *:nth-child(3) { border-left: 0; }
  .strip > * + *, .stat-strip > * + * { border-left: 1px solid var(--border); }
  .strip > *:nth-child(odd), .stat-strip > *:nth-child(odd) { border-left: 0; }
}

@media (max-width: 960px) {
  .hero--page .hero-art { max-width: 520px; }
  .story { grid-template-columns: 1fr; }
  .story-art { max-width: 420px; margin-inline: auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .featured-main { grid-template-columns: 1fr; }
  .featured-art img { max-width: 240px; }
  .blog-toolbar { grid-template-columns: 1fr; }
  .quick-banner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .quick-banner .actions { justify-content: center; }
}

@media (max-width: 720px) {
  .post-grid { grid-template-columns: 1fr; }
  .strip, .stat-strip { grid-template-columns: 1fr; }
  .strip > *, .stat-strip > * { border-left: 0 !important; }
  .strip > * + *, .stat-strip > * + * { border-top: 1px solid var(--border); padding-top: var(--sp-5); }
  .stat-item { justify-content: flex-start; }
  .searchbar { flex-wrap: wrap; }
  .searchbar .btn { width: 100%; }
  .t-card--row { grid-template-columns: 1fr; }
  .t-card--row .t-person { grid-column: 1; grid-row: auto; margin-top: var(--sp-4); }
  .t-card--row .t-person div { display: block; }
  .subscribe-head img { width: 60px; }
}

/* Swoosh under a single word (interior hero titles) */
.swoosh--full::after { left: 0; right: 0; }

/* Four-across grid used by Values / Why Reach Out / More Ways / Why Read */
.grid--4-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid--4-up { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .grid--4-up { grid-template-columns: 1fr; } }

/* ---------- Page-wide floating prop layer (interior pages) ----------
   One layer per page instead of one per section: the mockups scatter props
   continuously down the whole page, and a single layer keeps the markup small.
   It sits at z-index 0 and is first in the DOM, so every following section
   (position: relative, z-index auto) paints above it. */
main { position: relative; }
.bg-decor--page { position: absolute; inset: 0; height: 100%; }

/* ---------- Testimonial with trailing avatar (Blog) ---------- */
.t-card--row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-4); align-items: center; }
.t-card--row .t-body { display: flex; flex-direction: column; }
.t-card--row .t-avatar {
  width: 54px; height: 54px; border-radius: var(--r-full);
  border: 2px solid #fff; box-shadow: var(--sh-sm); object-fit: cover;
}
.t-name { margin-top: var(--sp-3); }
.t-name strong { display: block; font-family: var(--font-display); font-size: var(--fs-sm); color: var(--ink-800); }
.t-name span { font-size: var(--fs-xs); color: var(--ink-400); }

/* Blog toolbar: all nine topic chips on one line — desktop only, so the
   stacking rule in the 960px query still wins on small screens. */
@media (min-width: 961px) {
  .blog-toolbar { grid-template-columns: minmax(190px, 250px) minmax(0, 1fr); }
  .contact-grid--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
.filter-row .chip { padding: 8px 13px; }

/* CTA band copy needs the full column so the heading stays on one line */
.cta-emoji { width: clamp(72px, 7.6vw, 112px); }
.cta-bubble { width: clamp(150px, 14.5vw, 196px); }
.cta-copy h2 { font-size: clamp(1.5rem, 2.35vw, 2.05rem); }

/* Interior pages sit a little tighter than the home page, as in the mockups */
.section--tight { padding-block: calc(var(--section-y) * .58); }
.section-head--bar { margin-bottom: var(--sp-10); }

/* Interior heroes give the artwork a little more room, as in the mockups.
   Scoped to desktop: an unscoped `.hero--page .hero-grid` rule would out-specify
   the single-column stack in the 960px query and keep two columns on phones. */
@media (min-width: 961px) {
  .hero--page .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.1fr); }
}


/* Small screens: hero actions stack full width instead of forcing a min-content
   overflow from the nowrap button labels. */
@media (max-width: 560px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; padding-inline: var(--sp-4); }
  .btn { white-space: normal; text-align: center; }
  .quick-banner .actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .quick-banner .actions .btn { width: 100%; }
  .info-card { flex-direction: column; }
}
