/* ============================================================
   SocialManagerAI · public landing (home of the app, /settori,
   /thank-you). Same look as the approved concept and the app:
   liquid glass, film grain, the glossy S and the Ember accent,
   in the dark theme (brand default) and the light one. The
   theme follows the app's choice: html.dark (landing/partials/theme).
   Tokens first, then layout, then each section in page order.
   ============================================================ */
:root {
  color-scheme: dark;
  --bg: #09090b; --bg-2: #0e0e11;
  --text: #f5f5f7; --text-2: #d9d9de; --label: #d4d4d8; --muted: #a1a1aa; --dim: #6b6b76;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .14); --line-3: rgba(255, 255, 255, .22); --line-4: rgba(255, 255, 255, .3);
  --glass: rgba(255, 255, 255, .045); --glass-2: rgba(255, 255, 255, .08);
  --card-top: rgba(255, 255, 255, .06); --card-bottom: rgba(255, 255, 255, .025); --rim: rgba(255, 255, 255, .07);
  --shadow: rgba(0, 0, 0, .35); --shadow-deep: rgba(0, 0, 0, .6);
  --nav-bg: rgba(14, 14, 17, .72); --menu-bg: rgba(9, 9, 11, .96); --grid-line: rgba(255, 255, 255, .035);
  --well: rgba(0, 0, 0, .25); --field: rgba(0, 0, 0, .28);
  --window: linear-gradient(180deg, #141418, #0d0d10); --window-bar: rgba(255, 255, 255, .02); --url-bg: rgba(255, 255, 255, .05); --shots-bg: #0b0b0e;
  --tab-on-bg: #f5f5f7; --tab-on-fg: #0a0a0b; --toggle-off: rgba(255, 255, 255, .14);
  --post-bg: #121215;
  --accent: #ff5a1f; --accent-2: #ff7a3d; --accent-3: #ffb07a; --accent-deep: #b83a0a; --on-accent: #fff;
  --ok: #7ee2a5; --error: #ff8a8a;
  --glow: rgba(255, 90, 31, .34); --glow-soft: rgba(255, 90, 31, .14);
  --logo: url("/images/brand/logo-ember.webp");
  --r: 22px; --r-sm: 14px;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Light: the app's paper ground and frosted white glass */
html:not(.dark) {
  color-scheme: light;
  --bg: #f3f3f5; --bg-2: #ebebef;
  --text: #0b0b10; --text-2: #2b2b33; --label: #2b2b33; --muted: #5e5e69; --dim: #8c8c97;
  --line: rgba(12, 12, 24, .08); --line-2: rgba(12, 12, 24, .14); --line-3: rgba(12, 12, 24, .22); --line-4: rgba(12, 12, 24, .3);
  --glass: rgba(255, 255, 255, .62); --glass-2: rgba(255, 255, 255, .9);
  --card-top: rgba(255, 255, 255, .92); --card-bottom: rgba(255, 255, 255, .6); --rim: rgba(255, 255, 255, .95);
  --shadow: rgba(16, 16, 28, .08); --shadow-deep: rgba(16, 16, 28, .18);
  --nav-bg: rgba(255, 255, 255, .74); --menu-bg: rgba(243, 243, 245, .97); --grid-line: rgba(12, 12, 24, .05);
  --well: rgba(12, 12, 24, .04); --field: #fff;
  --window: linear-gradient(180deg, #ffffff, #f7f7f9); --window-bar: rgba(12, 12, 24, .02); --url-bg: rgba(12, 12, 24, .04); --shots-bg: #f3f3f5;
  --tab-on-bg: #0b0b10; --tab-on-fg: #fff; --toggle-off: rgba(12, 12, 24, .14);
  --post-bg: #fff;
  --accent-2: #e2531b; --accent-3: #c2410c;
  --ok: #0f9d63; --error: #d92d45;
  --glow: rgba(255, 90, 31, .22); --glow-soft: rgba(255, 90, 31, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.skip:focus { top: 16px; }

/* Film grain over everything, like the app */
.grain { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 54px); margin: 0 0 18px; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left p { margin-left: 0; }
em { font-style: normal; color: var(--accent); }

/* Reveal on scroll. Content stays visible if scripts never run. */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; } .rv.d4 { transition-delay: .32s; }

/* Icons */
.icon { width: 20px; height: 20px; flex: none; }
.icon-box { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--line); color: var(--accent-2); }
.icon-box .icon { width: 21px; height: 21px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn .icon { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 34px var(--glow); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 16px 44px var(--glow); }
.btn-ghost { background: var(--glass); border: 1px solid var(--line-2); color: var(--text); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-ghost:hover { background: var(--glass-2); border-color: var(--line-3); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn[aria-busy="true"] { opacity: .8; pointer-events: none; }
.btn .spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn[aria-busy="true"] .spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Glass card: gradient fill, lit rim, deep shadow */
.card { background: linear-gradient(180deg, var(--card-top), var(--card-bottom)); border: 1px solid var(--line); border-radius: var(--r); box-shadow: inset 0 1px 0 var(--rim), 0 20px 60px var(--shadow); }
.blur { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }

/* Logo */
.mark { display: inline-block; width: 32px; height: 30px; background: var(--logo) center/contain no-repeat; flex: none; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; font-size: 18px; }
.wordmark b { font-weight: 600; } .wordmark b em { color: var(--accent); }

/* Platform glyphs */
.pf { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.pf svg { width: 15px; height: 15px; }
.pf.lg { width: 44px; height: 44px; border-radius: 13px; } .pf.lg svg { width: 22px; height: 22px; }
.pf-instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.pf-tiktok, .pf-x, .pf-threads { background: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.pf-linkedin { background: #0a66c2; }
.pf-youtube { background: #ff0000; }
.pf-pinterest { background: #e60023; }
.pf-facebook { background: #1877f2; }
.pf-google_business { background: #fff; color: #4285f4; box-shadow: inset 0 0 0 1px var(--line); }

/* Toggle switch (illustration only) */
.tg { width: 38px; height: 22px; border-radius: 999px; background: var(--toggle-off); position: relative; flex: none; }
.tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.tg.on { background: var(--accent); } .tg.on::after { transform: translateX(16px); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: calc(18px + env(safe-area-inset-top, 0px)) 0 18px; transition: padding .3s var(--ease); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 12px 10px 18px; border-radius: 999px; border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.nav.scrolled { padding-top: calc(10px + env(safe-area-inset-top, 0px)); padding-bottom: 10px; }
.nav.scrolled .nav-inner { background: var(--nav-bg); border-color: var(--line); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); box-shadow: 0 10px 40px var(--shadow); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--glass-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions .login { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav-actions .login:hover { color: var(--text); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; border: 1px solid var(--line-2); background: var(--glass); }
.burger .icon { width: 19px; height: 19px; }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--glass); color: var(--text); flex: none; transition: background .2s, border-color .2s; }
.theme-toggle:hover { background: var(--glass-2); border-color: var(--line-3); }
.theme-toggle .icon { width: 18px; height: 18px; }
html.dark .theme-toggle .i-moon, html:not(.dark) .theme-toggle .i-sun { display: none; }
.mobile-menu { position: fixed; inset: 0; z-index: 49; background: var(--menu-bg); display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 90px 24px 40px; }
.mobile-menu a:not(.btn) { font-size: 26px; font-weight: 600; letter-spacing: -.02em; padding: 10px 20px; border-radius: 14px; }
.mobile-menu .btn { margin-top: 12px; width: min(320px, 100%); }
body.menu-open .mobile-menu { display: flex; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .rad { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .6; }
.hero-bg .rad.a { width: 760px; height: 760px; right: -200px; top: -180px; background: radial-gradient(circle, var(--glow) 0%, transparent 62%); }
.hero-bg .rad.b { width: 520px; height: 520px; left: -220px; bottom: -160px; background: radial-gradient(circle, var(--glow-soft) 0%, transparent 65%); }
.hero-bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; }
.hero-copy { max-width: 610px; }
.hero h1 { font-size: clamp(46px, 6.4vw, 86px); letter-spacing: -.04em; line-height: .98; }
.hero .lead { margin: 26px 0 34px; font-size: 19px; color: var(--muted); max-width: 540px; line-height: 1.6; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-size: 13px; color: var(--dim); display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .icon { width: 14px; height: 14px; color: var(--accent-2); stroke-width: 2.4; }

.hero-visual { position: relative; height: 600px; }
.hero-logo { position: absolute; left: 50%; top: 50%; width: min(540px, 100%); aspect-ratio: 1000 / 929; transform: translate(-50%, -52%); }
.hero-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: float 7s ease-in-out infinite; }
.hero-logo .glow { position: absolute; left: 8%; right: 8%; bottom: -6%; height: 28%; border-radius: 50%; background: radial-gradient(ellipse at center, var(--glow) 0%, transparent 70%); filter: blur(20px); animation: float 7s ease-in-out infinite reverse; }
.hero-logo .shadow { position: absolute; left: 18%; right: 18%; bottom: -10%; height: 12%; border-radius: 50%; background: var(--shadow-deep); filter: blur(24px); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-1.2deg); } }
.fc { position: absolute; padding: 14px 16px; border-radius: 18px; min-width: 160px; animation: float 8s ease-in-out infinite; }
.fc .k { font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fc .k .icon { width: 16px; height: 16px; color: var(--accent-2); }
.fc .v { font-size: 26px; font-weight: 600; letter-spacing: -.03em; margin-top: 4px; display: flex; align-items: baseline; gap: 8px; }
.fc .v small { font-size: 13px; color: var(--accent-2); font-weight: 600; }
.fc .sub { font-size: 12px; color: var(--dim); margin-top: 2px; }
.fc .bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 10px; }
.fc .bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--accent-2), var(--accent-deep)); transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }
.fc .row { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 8px; }
.fc .row .pf { width: 22px; height: 22px; border-radius: 7px; } .fc .row .pf svg { width: 12px; height: 12px; }
.fc .row .tg { margin-left: auto; transform: scale(.85); transform-origin: right center; }
.fc .ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--ok); }
.fc .ok .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.fc-1 { left: -4%; top: 6%; animation-delay: -2s; }
.fc-2 { right: -2%; top: 16%; animation-delay: -4s; }
.fc-3 { right: 0; bottom: 10%; animation-delay: -1s; }
.fc-4 { left: -6%; bottom: 4%; animation-delay: -3s; min-width: 190px; }

/* ---------- channel strip ---------- */
.strip { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip .container { display: flex; align-items: center; gap: 40px; }
.strip .lbl { font-size: 13px; color: var(--dim); white-space: nowrap; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .item { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.marquee .item .pf { width: 24px; height: 24px; border-radius: 999px; } .marquee .item .pf svg { width: 13px; height: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- panel (real screenshots) ---------- */
.app-window { border-radius: 24px; border: 1px solid var(--line-2); background: var(--window); box-shadow: 0 40px 120px var(--shadow-deep), inset 0 1px 0 var(--rim); overflow: hidden; position: relative; }
.app-window::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, var(--glow) 0%, transparent 30%, transparent 70%, var(--glow-soft) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2; }
.app-chrome { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--window-bar); }
.dots { display: flex; gap: 6px; } .dots i { width: 11px; height: 11px; border-radius: 50%; }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.url { flex: 1; max-width: 460px; margin: 0 auto; height: 30px; border-radius: 9px; background: var(--url-bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.url .icon { width: 12px; height: 12px; color: var(--dim); }
.url b { color: var(--text); font-weight: 500; }
.shots { position: relative; aspect-ratio: 1440 / 900; background: var(--shots-bg); }
html.dark .shot-l, html:not(.dark) .shot-d { display: none; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .6s var(--ease); }
.shot.on { opacity: 1; }
.panel-tabs { display: flex; justify-content: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.panel-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); font-size: 13.5px; font-weight: 500; color: var(--muted); transition: all .2s; }
.panel-tabs button:hover { color: var(--text); border-color: var(--line-4); }
.panel-tabs button[aria-selected="true"] { background: var(--tab-on-bg); color: var(--tab-on-fg); border-color: var(--tab-on-bg); }
.panel-tabs .icon { width: 15px; height: 15px; }
.panel-caption { text-align: center; color: var(--dim); font-size: 14px; margin-top: 14px; min-height: 22px; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 28px 26px 30px; position: relative; overflow: hidden; }
.step .n { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--accent-2); margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.step .n::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.step h3 { font-size: 20px; margin: 16px 0 10px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 14.5px; }
.step::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, var(--glow-soft), transparent 65%); pointer-events: none; }

/* Steps: each one shows a small piece of the real app. */
.mini { position: relative; height: 138px; margin: 4px 0 20px; padding: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--well); font-size: 12px; }
.mi-field { min-height: 60px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--field); color: var(--text); font-size: 12.5px; line-height: 1.4; }
.mi-caret { display: inline-block; width: 1.5px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mi-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.mi-chip { display: inline-flex; align-items: center; gap: 5px; min-width: 0; padding: 5px 9px; overflow: hidden; border: 1px solid var(--line-2); border-radius: 999px; background: var(--glass); color: var(--muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.mi-chip .icon, .mi-go .icon { width: 12px; height: 12px; }
.mi-go { display: inline-flex; flex: none; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11.5px; font-weight: 600; box-shadow: 0 6px 16px var(--glow); }

.mini-posts { padding: 0; border: 0; background: none; }
.mp { position: absolute; width: 62%; height: 112px; padding: 8px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--post-bg); box-shadow: 0 10px 24px var(--shadow); }
.mp .pf { width: 18px; height: 18px; border-radius: 6px; } .mp .pf svg { width: 10px; height: 10px; }
.mp i { display: block; height: 5px; margin-top: 6px; border-radius: 3px; background: var(--line-2); }
.mp i.s { width: 60%; }
.mp-3 { right: 0; top: 0; transform: rotate(5deg); }
.mp-2 { right: 13%; top: 8px; transform: rotate(-2deg); }
.mp-1 { left: 0; top: 18px; width: 66%; }
.mp-head { display: flex; align-items: center; gap: 5px; font-size: 10px; }
.mp-head b { font-weight: 600; }
.mp-img { height: 44px; margin-top: 6px; border-radius: 8px; }
.mp-img, .bm-canvas { background: radial-gradient(90% 90% at 85% 10%, #ffb07a 0%, transparent 50%), linear-gradient(160deg, #3b1a0c, #ff5a1f); }

.mf-steps { display: flex; align-items: center; gap: 6px; }
.mf-steps .done { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(126, 226, 165, .16); color: var(--ok); }
.mf-steps .done .icon { width: 13px; height: 13px; stroke-width: 2.6; }
.mf-steps .on { padding: 5px 11px; border: 1px solid var(--accent); border-radius: 999px; background: var(--glow-soft); color: var(--text); font-size: 11.5px; font-weight: 600; }
.mf-slot { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--post-bg); }
.mf-slot > .icon { flex: none; width: 18px; height: 18px; color: var(--accent-2); }
.mf-slot > span:not(.mf-pfs) { font-size: 11px; line-height: 1.3; color: var(--muted); }
.mf-slot b { display: block; font-size: 12.5px; color: var(--text); }
.mf-pfs { display: flex; gap: 4px; margin-left: auto; }
.mf-pfs .pf { width: 20px; height: 20px; border-radius: 6px; } .mf-pfs .pf svg { width: 11px; height: 11px; }

.mb-msg, .mb-reply { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 10px; font-size: 11px; }
.mb-msg { border: 1px solid var(--line); background: var(--post-bg); color: var(--text-2); }
.mb-reply { margin: 6px 0 0 16px; background: var(--glow-soft); color: var(--text); }
.mb-msg span:last-child, .mb-reply span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mb-msg .pf { flex: none; width: 18px; height: 18px; border-radius: 6px; } .mb-msg .pf svg { width: 10px; height: 10px; }
.mb-reply .icon { flex: none; width: 12px; height: 12px; color: var(--accent-2); }
.mb-stats { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 10px; font-size: 11px; color: var(--muted); }
.mb-stats b { display: block; font-size: 16px; letter-spacing: -.02em; color: var(--text); }
.mb-bars { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.mb-bars i { width: 8px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--accent-2), var(--accent-deep)); }

/* ---------- before and after ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 980px; margin: 0 auto; }
.cmp { padding: 30px 30px 26px; }
.cmp h3 { margin-bottom: 18px; font-size: 22px; letter-spacing: -.025em; }
.cmp ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cmp li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.cmp li .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.cmp-before li { color: var(--muted); }
.cmp-before li .icon { color: var(--dim); }
.cmp-after { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(180deg, var(--glow-soft), transparent 70%), linear-gradient(180deg, var(--card-top), var(--card-bottom)); }
.cmp-after li .icon { color: var(--accent-2); stroke-width: 2.4; }
.cmp-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.cmp-after .cmp-foot { color: var(--text); font-weight: 600; }
.center-cta { display: flex; justify-content: center; margin-top: 30px; }

/* ---------- features: six equal cards, each with a small drawing of its screen ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 24px; }
.feat h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 14.5px; }

/* The drawings, all the same height. */
.bm { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 112px; margin-bottom: 20px; padding: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--well); font-size: 11px; color: var(--muted); }
.bm .pf { width: 18px; height: 18px; border-radius: 6px; } .bm .pf svg { width: 10px; height: 10px; }

/* Writing: one text per channel and the assistant's quick requests. */
.bm-tabs { display: flex; gap: 4px; }
.bm-tabs > span { display: inline-flex; align-items: center; gap: 6px; padding: 2px; border: 1px solid transparent; border-radius: 8px; }
.bm-tabs > span:not(.on) { opacity: .5; }
.bm-tabs .on { padding-right: 9px; border-color: var(--line-2); background: var(--post-bg); color: var(--text); font-weight: 600; }
.bm-text { display: -webkit-box; overflow: hidden; color: var(--text-2); font-size: 11px; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bm-chips { display: flex; gap: 5px; }
.bm-chips span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; }
.bm-chips .on { border-color: var(--accent); background: var(--glow-soft); color: var(--text); font-weight: 600; }
.bm-chips .icon { width: 11px; height: 11px; color: var(--accent-2); }

/* Plan: dates spread over the months, one tone per recurring topic. */
.bm-plan .k1 { --tone: var(--accent); } .bm-plan .k2 { --tone: var(--accent-3); } .bm-plan .k3 { --tone: var(--dim); }
.bm-months { display: flex; justify-content: space-between; font-size: 10px; color: var(--dim); }
.bm-track { position: relative; height: 10px; }
.bm-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line-2); }
.bm-track i { position: absolute; top: 50%; left: var(--x); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--tone); }
.bm-topics { display: flex; flex-wrap: wrap; gap: 3px 10px; }
.bm-topics span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.bm-topics span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }

/* Calendar: two weeks of posts, one of them moving to a new day. */
.bm-cal { justify-content: flex-start; gap: 4px; }
.bm-week, .bm-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bm-week { font-size: 9.5px; text-align: center; color: var(--dim); }
.bm-days i { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 32px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--post-bg); }
.bm-days b { height: 4px; border-radius: 2px; background: var(--accent); }
.bm-days b.d { background: var(--line-3); }
.bm-days .drop { border: 1px dashed var(--accent); background: var(--glow-soft); }
.bm-drag { position: absolute; left: calc(12px + (100% - 48px) * 2.5 / 7 + 8px); bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--post-bg); color: var(--text); font-weight: 600; white-space: nowrap; box-shadow: 0 12px 24px var(--shadow-deep); transform: rotate(-5deg); }

/* Studio: a graphic and its layers, the logo layer selected. */
.bm-studio { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
.bm-canvas { position: relative; flex: none; width: 70px; height: 88px; overflow: hidden; border-radius: 9px; }
.bm-canvas b { position: absolute; left: 7px; top: 8px; color: #fff; font-size: 10px; font-weight: 700; line-height: 1.15; }
.bm-logo { position: absolute; right: 7px; bottom: 7px; width: 20px; aspect-ratio: 1000 / 929; background: var(--logo) center / contain no-repeat; outline: 1px solid #fff; outline-offset: 2px; }
.bm-layers { display: grid; flex: 1; gap: 4px; min-width: 0; }
.bm-layers span { display: flex; align-items: center; gap: 7px; padding: 4px 6px; border: 1px solid transparent; border-radius: 8px; }
.bm-layers .on { border-color: var(--accent); background: var(--glow-soft); color: var(--text); font-weight: 600; }
.bm-layers i { display: grid; flex: none; place-items: center; width: 16px; height: 16px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--post-bg); font-size: 9px; font-style: normal; font-weight: 700; color: var(--text); }
.bm-layers i.lg { background: var(--logo) center / 70% no-repeat, var(--post-bg); }
.bm-layers i.ph { border: 0; background: linear-gradient(160deg, #3b1a0c, #ff5a1f); }

/* Voice: a sample written in the brand's tone. */
.bm-voice { justify-content: flex-start; gap: 5px; }
.bm-voice b { font-size: 11px; font-weight: 600; color: var(--accent-3); }
.bm-voice .bm-text { font-size: 11.5px; line-height: 1.45; -webkit-line-clamp: 4; }

/* Inbox: comments sorted for you, and a reply to approve. */
.bm-inbox .msg { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 3px 6px 3px 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--post-bg); color: var(--text-2); }
.bm-inbox .t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bm-inbox b { flex: none; padding: 2px 7px; border-radius: 999px; background: var(--glow-soft); color: var(--accent-3); font-size: 9.5px; font-weight: 700; }
.bm-inbox b.ok { background: rgba(126, 226, 165, .14); color: var(--ok); }
.bm-inbox .reply { margin-left: 16px; padding-block: 5px; border-color: transparent; background: var(--glow-soft); color: var(--text); }
.bm-inbox .reply .icon { flex: none; width: 12px; height: 12px; margin-left: 3px; color: var(--accent-2); }


/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq .q { border-radius: 16px; border: 1px solid var(--line); background: var(--glass); overflow: hidden; transition: border-color .3s; }
.faq .q.open { border-color: var(--line-2); }
.faq .q button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; text-align: left; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.faq .q button .icon { width: 18px; height: 18px; color: var(--muted); transition: transform .35s var(--ease), color .35s; }
.faq .q.open button .icon { transform: rotate(45deg); color: var(--accent-2); }
.faq .q .a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.no-js .faq .q .a { max-height: none; }
.faq .q .a p { padding: 0 22px 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- contact form ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-copy h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 18px; }
.contact-copy p { color: var(--muted); font-size: 17px; max-width: 460px; }
.contact-copy .cta-row { margin-top: 28px; }
.contact-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.contact-mail:hover { color: var(--text); }
.contact-mail .icon { width: 18px; height: 18px; color: var(--accent-2); }
.form { padding: 28px; display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 13px; font-weight: 560; color: var(--label); }
.form input:not([type="checkbox"]), .form textarea { width: 100%; padding: 13px 14px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--field); color: var(--text); font: 15px/1.4 var(--font); outline: none; transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 120px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--dim); }
.form input:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow-soft); }
.form .consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 450; color: var(--muted); line-height: 1.5; }
.form .consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.form .consent a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.form .btn { justify-self: start; }
.form-status { font-size: 14px; color: var(--error); min-height: 20px; }

/* ---------- final cta ---------- */
.cta { position: relative; overflow: hidden; padding: 140px 0; }
.cta .container { position: relative; z-index: 1; text-align: center; }
.cta h2 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -.04em; line-height: .98; }
.cta p { color: var(--muted); font-size: 18px; margin: 22px auto 34px; max-width: 540px; }
.cta .cta-row { justify-content: center; }
.cta .big-bean { position: absolute; right: -12%; top: 50%; width: min(560px, 46vw); aspect-ratio: 1000 / 929; transform: translateY(-50%) rotate(-8deg); background: var(--logo) center/contain no-repeat; pointer-events: none; filter: drop-shadow(0 40px 80px var(--shadow-deep)); }
.cta .big-bean-l { position: absolute; left: -16%; top: 60%; width: min(520px, 50vw); aspect-ratio: 1000 / 929; transform: translateY(-50%) rotate(14deg) scaleX(-1); background: var(--logo) center/contain no-repeat; opacity: .55; pointer-events: none; filter: blur(3px); }
.cta .rad { position: absolute; left: 50%; top: 50%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, var(--glow-soft), transparent 60%); filter: blur(40px); pointer-events: none; }

/* ---------- inner pages (sectors, thank you) ---------- */
.page-hero { padding: 170px 0 60px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -.04em; line-height: 1; max-width: 900px; }
.page-hero .lead { margin: 24px 0 32px; font-size: 19px; color: var(--muted); max-width: 640px; line-height: 1.6; }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sector { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.sector h3 { font-size: 20px; letter-spacing: -.02em; }
.sector p { color: var(--muted); font-size: 14.5px; }
.sector ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sector li { display: flex; gap: 8px; font-size: 13.5px; color: var(--label); }
.sector li .icon { width: 15px; height: 15px; margin-top: 3px; color: var(--accent-2); stroke-width: 2.4; }
.thanks { min-height: 100vh; display: grid; place-items: center; padding: 140px 0 80px; text-align: center; position: relative; overflow: hidden; }
.thanks .check { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 26px; background: var(--accent); color: var(--on-accent); box-shadow: 0 20px 50px var(--glow); }
.thanks .check .icon { width: 36px; height: 36px; stroke-width: 2.6; }
.thanks h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.04em; }
.thanks p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 20px auto 32px; }
.thanks .cta-row { justify-content: center; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 calc(34px + env(safe-area-inset-bottom, 0px)); background: var(--bg-2); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot .about p { color: var(--muted); font-size: 14px; max-width: 300px; margin-top: 14px; }
.foot h2 { margin: 0 0 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot li a { font-size: 14px; color: var(--muted); } .foot li a:hover { color: var(--text); }
.foot-b { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); flex-wrap: wrap; }
.foot-b a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { max-width: 660px; }
  .hero-visual { height: 520px; max-width: 640px; margin: 0 auto; width: 100%; }
  .sector-grid, .feats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  .container { width: min(1200px, calc(100% - 32px)); }
  .section { padding: 84px 0; }
  .nav-actions .login, .nav-actions .btn { display: none; }
  .burger { display: grid; }

  /* Titles keep their weight on a phone; each clause is balanced on its own lines. */
  .section-head { margin-bottom: 36px; }
  .section-head h2, .contact-copy h2 { font-size: clamp(34px, 9.6vw, 44px); }
  .section-head p { font-size: 16px; }

  /* Hero: full-width actions, a tidy checklist, the S and its cards smaller. */
  .hero { padding: 120px 0 40px; }
  .hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero .lead { font-size: 16.5px; }
  .hero .cta-row .btn, .page-hero .cta-row .btn { flex: 1 1 100%; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .hero-visual { height: 380px; margin-top: 24px; }
  .hero-logo { width: min(380px, 92%); }
  /* The float animation owns transform, so the size uses the separate scale property. */
  .fc { scale: .8; }
  .fc-1 { left: 0; top: 0; transform-origin: left top; }
  .fc-2 { right: 0; top: 4%; transform-origin: right top; }
  .fc-3 { right: 0; bottom: 0; transform-origin: right bottom; }
  .fc-4 { display: none; }
  .strip .lbl { display: none; }

  /* Steps and features: swipe sideways, the next card peeking in. */
  .steps, .feats { display: flex; gap: 12px; margin: 0 -16px; padding: 4px 16px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .steps::-webkit-scrollbar, .feats::-webkit-scrollbar { display: none; }
  .steps .step, .feats .feat { flex: 0 0 82%; scroll-snap-align: start; }
  .js .steps .rv, .js .feats .rv { opacity: 1; transform: none; }

  /* Panel: the app's phone screens inside a phone; the tabs stay one compact row. */
  .app-window { width: min(290px, 80vw); margin: 0 auto; padding: 8px; border-radius: 46px; }
  .app-chrome { display: none; }
  .shots { aspect-ratio: 390 / 844; border-radius: 38px; overflow: hidden; }
  .panel-tabs { justify-content: flex-start; flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin: 22px -16px 0; padding: 0 16px 6px; scrollbar-width: none; }
  .panel-tabs::-webkit-scrollbar { display: none; }
  .panel-tabs button { flex: none; padding: 7px 13px; font-size: 13px; }
  .panel-tabs .icon { width: 14px; height: 14px; }

  /* Sector cards and the before/after stack in one column. */
  .sector-grid, .compare { grid-template-columns: 1fr; }
  .cmp { padding: 24px 22px 22px; }
  .cmp li { font-size: 14.5px; }

  .form { padding: 20px; }
  .form .row2 { grid-template-columns: 1fr; }
  .cta { padding: 100px 0; }
  .cta .big-bean { right: -40%; opacity: .4; }
  .foot { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 130px 0 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.public-language { margin: 16px auto; padding: 0 20px; max-width: 1120px; }
.public-language label { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.public-language select { min-width: 145px; max-width: 100%; padding: 8px 12px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; font: inherit; }
