/* Trimly marketing site — design tokens mirror the app (PRD §7) */
:root {
  --primary: #5B2EE6;
  --primary-600: #6A3CF0;
  --primary-800: #4A1FC9;
  --accent: #FF5C7A;
  --accent-strong: #E5396B;
  --ink: #1A1430;
  --ink-2: #241A4D;
  --muted: #5A5670;
  --muted-2: #8A86A0;
  --bg: #F7F6FB;
  --tint: #F2EEFD;
  --tint-2: #ECE6FB;
  --line: #ECEAF3;
  --star: #FFB22C;
  --success: #1E9E63;
  --success-bg: #E4F8EE;
  --scan: #A98CFF;
  --grad: linear-gradient(135deg, #6A3CF0 0%, #5B2EE6 50%, #4A1FC9 100%);
  --grad-soft: linear-gradient(135deg, #7C4DF6 0%, #5B2EE6 100%);
  --shadow-sm: 0 2px 8px rgba(91, 46, 230, .08);
  --shadow: 0 18px 50px -18px rgba(74, 31, 201, .35);
  --shadow-lg: 0 40px 90px -30px rgba(36, 26, 77, .45);
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1140px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--primary); background: var(--tint); padding: 7px 14px; border-radius: 100px;
}
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 700; font-size: 15.5px;
  padding: 14px 26px; border-radius: var(--radius-sm); border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -20px rgba(74, 31, 201, .55); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.32); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.26); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 251, .82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(36,26,77,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand .logo-mark { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle span + span { margin-top: 5px; }

/* Hero */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow::before, .hero-glow::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
}
.hero-glow::before { width: 520px; height: 520px; background: #A98CFF; top: -160px; right: -120px; }
.hero-glow::after { width: 440px; height: 440px; background: #FF9FB4; bottom: -200px; left: -140px; opacity: .35; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; margin: 22px 0 20px; }
.hero-copy h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy .lede { font-size: 19px; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta .stat strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.hero-meta .stat span { font-size: 13.5px; color: var(--muted-2); font-weight: 600; }
.hero-meta .divider { width: 1px; height: 38px; background: var(--line); }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; perspective: 1600px; }
.phone {
  position: relative; width: 300px; height: 614px; border-radius: 46px;
  background: #0E0A1E; padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  transform: rotateY(-12deg) rotateX(4deg) rotateZ(1deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.phone:hover { transform: rotateY(-6deg) rotateX(2deg); }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); position: relative; }
.phone-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 108px; height: 26px; background: #0E0A1E; border-radius: 0 0 16px 16px; z-index: 5; }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; z-index: 6;
  font-weight: 700; font-size: 13.5px;
}
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card.fc-1 { top: 92px; left: -42px; animation: floaty 5s ease-in-out infinite; }
.float-card.fc-2 { bottom: 120px; right: -46px; animation: floaty 5s ease-in-out infinite 1.2s; }
.float-card small { display: block; font-weight: 600; color: var(--muted-2); font-size: 11px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* In-phone app UI (pure CSS) */
.app-ui { height: 100%; display: flex; flex-direction: column; font-size: 12px; }
.app-hero { background: var(--grad); padding: 52px 18px 22px; color: #fff; }
.app-hero h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.app-hero p { font-size: 12px; opacity: .85; margin-top: 3px; }
.app-search { margin-top: 16px; background: rgba(255,255,255,.18); border-radius: 12px; padding: 10px 12px; font-size: 12px; color: rgba(255,255,255,.9); display: flex; gap: 8px; align-items: center; }
.app-body { padding: 16px; flex: 1; overflow: hidden; }
.app-label { font-weight: 800; font-size: 13px; margin: 4px 0 10px; }
.app-scan { background: var(--ink-2); border-radius: 16px; padding: 16px; color: #fff; position: relative; overflow: hidden; }
.app-scan .scan-sweep { position: absolute; left: 0; right: 0; height: 40px; background: linear-gradient(180deg, transparent, rgba(169,140,255,.5), transparent); animation: sweep 2.6s ease-in-out infinite; }
@keyframes sweep { 0% { top: -40px; } 100% { top: 100%; } }
.app-scan .chip { display: inline-block; background: rgba(169,140,255,.22); color: var(--scan); font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: 100px; }
.app-scan h4 { font-size: 16px; font-weight: 800; margin: 10px 0 2px; }
.app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.app-card .thumb { height: 64px; overflow: hidden; }
.app-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.app-card .meta { padding: 8px 10px; }
.app-card .meta b { font-size: 12px; font-weight: 800; }
.app-card .meta span { display: flex; align-items: center; gap: 4px; color: var(--muted-2); font-size: 10.5px; font-weight: 600; }
.app-tabbar { height: 54px; background: #fff; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-around; padding-bottom: 6px; }
.app-tabbar .tab { width: 22px; height: 22px; border-radius: 7px; background: var(--line); }
.app-tabbar .tab.active { background: var(--primary); }

/* Logo strip */
.trust { padding: 38px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust-inner p { font-weight: 700; color: var(--muted-2); font-size: 14px; }
.trust-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.trust-stats .t strong { font-size: 30px; font-weight: 800; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.trust-stats .t span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature .f-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; }
.feature h3 { font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.feature .f-list { margin-top: 16px; display: grid; gap: 9px; }
.feature .f-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; font-weight: 600; color: var(--muted); }
.feature .f-list svg { flex: none; margin-top: 3px; }

/* How it works */
.how { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { text-align: center; padding: 8px; }
.step .num { width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 22px; box-shadow: var(--shadow); }
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; max-width: 300px; margin-inline: auto; }

/* Spotlight (AI) */
.spotlight { position: relative; }
.spotlight-card {
  background: var(--ink); border-radius: 34px; padding: 64px; color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.spotlight-card::before { content: ''; position: absolute; width: 460px; height: 460px; background: radial-gradient(circle, rgba(169,140,255,.45), transparent 70%); top: -180px; right: -120px; }
.spotlight-card .eyebrow { background: rgba(169,140,255,.16); color: var(--scan); }
.spotlight-card h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 18px 0 16px; position: relative; }
.spotlight-card p { color: rgba(255,255,255,.74); font-size: 17px; position: relative; }
.spotlight-list { margin-top: 26px; display: grid; gap: 14px; position: relative; }
.spotlight-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.spotlight-list .dot { width: 24px; height: 24px; border-radius: 8px; background: rgba(169,140,255,.18); color: var(--scan); display: grid; place-items: center; flex: none; }
.spotlight-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.face-tile { border-radius: 20px; aspect-ratio: 3/4; position: relative; overflow: hidden; background: var(--ink-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.face-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.face-tile.before img { filter: saturate(.72) brightness(.94); }
.face-tile .ft-grad { position: absolute; inset: 0; }
.face-tile .ft-grad-dark { background: linear-gradient(160deg, rgba(40,33,70,.5), rgba(20,14,40,.74)); }
.face-tile .ft-grad-ai { background: linear-gradient(160deg, rgba(106,60,240,.55), rgba(169,140,255,.3)); }
.face-tile .badge { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(14,10,30,.7); backdrop-filter: blur(6px); color: #fff; font-weight: 700; font-size: 12px; padding: 6px 11px; border-radius: 100px; border: 1px solid rgba(255,255,255,.14); }
.face-tile.before { transform: translateY(18px); }
.face-tile .tag-ai { background: var(--grad); color: #fff; }

/* CTA band */
.cta-band { padding: 0 0 96px; }
.cta-inner {
  background: var(--grad); border-radius: 34px; padding: 64px; text-align: center; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-inner::before, .cta-inner::after { content: ''; position: absolute; border-radius: 50%; filter: blur(70px); }
.cta-inner::before { width: 320px; height: 320px; background: rgba(255,255,255,.18); top: -140px; left: -80px; }
.cta-inner::after { width: 300px; height: 300px; background: rgba(255, 92, 122, .35); bottom: -160px; right: -60px; }
.cta-inner h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; letter-spacing: -.02em; position: relative; }
.cta-inner p { font-size: 19px; opacity: .9; margin: 14px auto 30px; max-width: 540px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* Store badges */
.store-badge { display: inline-flex; align-items: center; gap: 11px; background: #0E0A1E; color: #fff; padding: 11px 20px; border-radius: 14px; transition: transform .18s; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge.on-grad { background: rgba(14,10,30,.9); }
.store-badge small { display: block; font-size: 10.5px; opacity: .72; font-weight: 600; line-height: 1.2; }
.store-badge b { display: block; font-size: 16px; font-weight: 800; line-height: 1.15; }
.badge-soon { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 3px 7px; border-radius: 6px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; position: relative; width: 26px; height: 26px; border-radius: 8px; background: var(--tint); color: var(--primary); font-size: 0; transition: transform .25s, background .2s; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq-item summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14.5px; padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 13.5px; flex-wrap: wrap; gap: 12px; }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 7px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Legal pages */
.legal { max-width: 800px; margin: 0 auto; padding: 60px 24px 96px; }
.legal h1 { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.legal .updated { color: var(--muted-2); font-weight: 600; margin-bottom: 36px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal a { color: var(--primary); font-weight: 600; }

/* Responsive */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .spotlight-card { grid-template-columns: 1fr; gap: 36px; padding: 44px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0; box-shadow: var(--shadow); }
  .nav.open .nav-links a { padding: 14px 24px; width: 100%; }
  .trust-inner { flex-direction: column; text-align: center; }
  .trust-stats { justify-content: center; gap: 30px; }
  .cta-inner, .spotlight-card { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .phone { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   v2 additions — richer sections merged from new mockup
   ============================================================ */

/* Hero social proof */
.hero-social { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.avatars { display: flex; }
.avatars .av { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--bg); margin-left: -10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; }
.avatars .av:first-child { margin-left: 0; }
.hero-social .rate b { font-weight: 800; }
.hero-social .rate { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.hero-social .stars { color: var(--star); letter-spacing: 1px; }

/* In-phone result extras */
.app-result { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-top: 12px; box-shadow: var(--shadow-sm); }
.app-result .rrow { display: flex; align-items: center; justify-content: space-between; }
.app-result .rrow small { color: var(--muted-2); font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.app-result .shape { font-size: 18px; font-weight: 800; }
.app-result .mtag { background: var(--success-bg); color: var(--success); font-weight: 800; font-size: 11px; padding: 3px 9px; border-radius: 100px; }
.app-find { margin-top: 12px; background: var(--grad); color: #fff; text-align: center; font-weight: 800; font-size: 11.5px; padding: 10px; border-radius: 11px; }

/* How it works — numbered cards */
.howcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.howcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.howcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.howcard .hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.howcard .hc-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; }
.howcard .hc-num { font-size: 46px; font-weight: 800; letter-spacing: -.03em; color: var(--tint-2); line-height: 1; }
.howcard h3 { font-size: 19px; font-weight: 800; margin-bottom: 9px; }
.howcard p { color: var(--muted); font-size: 15px; }

/* Style gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gtile { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.gtile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gtile .gt-img { aspect-ratio: 3/4; position: relative; overflow: hidden; background: var(--tint-2); }
.gtile .gt-img picture, .gtile .gt-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gtile .gt-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,20,48,0) 55%, rgba(26,20,48,.28)); pointer-events: none; }
.gtile .gt-tag { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.82); backdrop-filter: blur(4px); color: var(--ink); font-weight: 700; font-size: 11px; padding: 4px 10px; border-radius: 100px; }
.gtile .gt-body { padding: 13px 14px 15px; }
.gtile .gt-body b { font-size: 15px; font-weight: 800; display: block; }
.gtile .gt-body span { font-size: 12.5px; color: var(--muted-2); font-weight: 600; }

/* Salons section */
.salons { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.salons-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.salons-copy h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.14; margin: 16px 0 14px; }
.salons-copy p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-row .pill { font-weight: 700; font-size: 13.5px; padding: 9px 16px; border-radius: 100px; background: #fff; border: 1.5px solid var(--line); color: var(--muted); }
.pill-row .pill.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.salon-list { display: grid; gap: 14px; }
.salon-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.salon-row:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.salon-av { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; flex: none; }
.salon-info { flex: 1; min-width: 0; }
.salon-info .sname { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; }
.salon-info .styp { font-size: 13px; color: var(--muted-2); font-weight: 600; }
.salon-info .smeta { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 3px; }
.salon-info .smeta .star { color: var(--star); }
.salon-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }

/* Testimonials */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tcard .tstars { color: var(--star); letter-spacing: 2px; font-size: 15px; margin-bottom: 14px; }
.tcard blockquote { font-size: 15.5px; color: var(--ink); font-weight: 600; line-height: 1.6; }
.tcard .tauthor { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tcard .tauthor .ta-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; }
.tcard .tauthor b { display: block; font-size: 14.5px; font-weight: 800; }
.tcard .tauthor span { font-size: 12.5px; color: var(--muted-2); font-weight: 600; }

/* Community coming-soon band */
.community-band { padding: 0 0 96px; }
.community-inner { background: linear-gradient(135deg, var(--tint) 0%, var(--tint-2) 100%); border: 1px solid var(--tint-2); border-radius: 30px; padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.community-inner .badge-soon { display: inline-block; margin-bottom: 16px; }
.community-inner h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 12px; }
.community-inner p { color: var(--muted); font-size: 16px; max-width: 560px; }
.community-ic { width: 96px; height: 96px; border-radius: 26px; background: var(--grad); display: grid; place-items: center; flex: none; box-shadow: var(--shadow); }

/* Responsive — v2 sections */
@media (max-width: 940px) {
  .howcards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .salons-grid { grid-template-columns: 1fr; gap: 32px; }
  .tcards { grid-template-columns: 1fr; }
  .community-inner { flex-direction: column; text-align: center; padding: 40px 28px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-social { flex-wrap: wrap; }
}

/* ============================================================
   Hairstyle guide / content pages
   ============================================================ */
.inline-link { color: var(--primary); font-weight: 700; }
.inline-link:hover { text-decoration: underline; }

.crumbs { font-size: 13.5px; color: var(--muted-2); font-weight: 600; padding-top: 20px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }

.guide-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.guide-intro h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 18px 0 16px; }
.guide-intro .lede { color: var(--muted); font-size: 18px; }
.guide-intro .lede a { color: var(--primary); font-weight: 700; }

.guide-prose { max-width: 820px; margin: 0 auto; }
.guide-prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; margin: 6px 0 14px; }
.guide-prose p { color: var(--muted); font-size: 16.5px; margin-bottom: 14px; }
.guide-prose b { color: var(--ink); }
.guide-points { display: grid; gap: 10px; margin: 4px 0 18px; }
.guide-points li { position: relative; padding-left: 26px; color: var(--muted); font-size: 16px; }
.guide-points li::before { content: ''; position: absolute; left: 6px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.guide-points b { color: var(--ink); }

.fs-list { max-width: 980px; margin: 0 auto; display: grid; gap: 26px; }
.fs-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 290px 1fr; transition: box-shadow .22s ease; }
.fs-card:hover { box-shadow: var(--shadow); }
.fs-card .fs-photo { position: relative; background: var(--tint-2); min-height: 330px; }
.fs-card .fs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-card .fs-body { padding: 30px 32px; }
.fs-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.fs-card .fs-desc { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.rec-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rec-cols h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin-bottom: 9px; }
.rec-cols ul { display: grid; gap: 8px; }
.rec-cols li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.rec-cols li::before { content: '✓'; color: var(--primary); font-weight: 800; flex: none; }
.fs-avoid { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.fs-avoid b { color: var(--accent-strong); }

@media (max-width: 760px) {
  .fs-card { grid-template-columns: 1fr; }
  .fs-card .fs-photo { min-height: 300px; }
  .rec-cols { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== Consent banner ===== */
.consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transform: translateY(140%);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.consent-banner.show { transform: translateY(0); opacity: 1; }
.consent-text {
  flex: 1 1 240px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.consent-text a { color: var(--primary); font-weight: 600; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-banner .btn { padding: 9px 18px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
  .consent-banner { transition: opacity .2s ease; transform: none; }
}
@media (max-width: 480px) {
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; }
}
