/* Especialista em Nicho, Persona e Perfil · FDExp — visual editorial, claro/escuro automático */
:root {
  --bg: #faf6f1;
  --bg2: #f3ecf6;
  --surface: #ffffff;
  --surface-2: #fbf8fd;
  --ink: #1f1530;
  --muted: #6d6482;
  --faint: #a59cb8;
  --line: #ebe3f2;
  --plum: #3a1c52;
  --rose: #d6336c;
  --violet: #7c3aed;
  --gold: #c8923a;
  --h3: #a3124f;
  --h4: #0a6a85;
  --grad: linear-gradient(135deg, #d6336c 0%, #9333ea 60%, #5b5bd6 100%);
  --grad-soft: linear-gradient(135deg, #fdecf3 0%, #f0e9fd 100%);
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(58, 28, 82, .06), 0 4px 14px rgba(58, 28, 82, .06);
  --shadow: 0 2px 4px rgba(58, 28, 82, .05), 0 18px 48px rgba(58, 28, 82, .12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #130c1d; --bg2: #1a1028; --surface: #1e1430; --surface-2: #251a39;
    --ink: #f2ecfa; --muted: #b3a8c9; --faint: #7d7294; --line: #33264a;
    --grad-soft: linear-gradient(135deg, #2c1633 0%, #241a44 100%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.3);
    --shadow: 0 2px 4px rgba(0,0,0,.4), 0 18px 48px rgba(0,0,0,.45);
    --h3: #ff8fbd; --h4: #6fe3f7; --gold: #f0b95c;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); line-height: 1.6;
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: fixed; left: -9999px; top: 0; opacity: 0; }

/* fundo: aurora suave + grão */
.bg { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; background: radial-gradient(1200px 700px at 85% -10%, var(--bg2), transparent 60%), var(--bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: float 22s ease-in-out infinite; }
.b1 { width: 420px; height: 420px; background: #f7a8c9; top: -140px; left: -100px; }
.b2 { width: 460px; height: 460px; background: #b9a2f5; bottom: -180px; right: -120px; animation-delay: -8s; }
.b3 { width: 300px; height: 300px; background: #f3d9a4; top: 45%; left: 55%; animation-delay: -14s; opacity: .35; }
@media (prefers-color-scheme: dark) { .blob { opacity: .22; } .b3 { opacity: .12; } }
.grain { position: absolute; inset: 0; opacity: .035; background-image: radial-gradient(#000 1px, transparent 1px); background-size: 3px 3px; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(34px,-28px) scale(1.07); } }

.view, .app { position: relative; z-index: 1; }
.center { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }

/* logo */
.logo { width: 64px; height: 64px; border-radius: 20px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 25px; letter-spacing: 1px; box-shadow: 0 12px 28px rgba(147, 51, 234, .38), inset 0 1px 0 rgba(255,255,255,.35); }
.logo.sm { width: 40px; height: 40px; border-radius: 13px; font-size: 16px; flex: none; box-shadow: 0 6px 16px rgba(147, 51, 234, .32), inset 0 1px 0 rgba(255,255,255,.35); }

/* tela de entrada: painel dividido */
.card { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.hero { width: min(940px, 100%); display: grid; grid-template-columns: 1.1fr 1fr; animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.hero-side { position: relative; padding: 44px 40px; color: #fff; background: radial-gradient(600px 400px at 0% 0%, rgba(214,51,108,.55), transparent 60%), radial-gradient(500px 400px at 100% 100%, rgba(91,91,214,.6), transparent 60%), linear-gradient(160deg, #2a1240 0%, #3a1c52 100%); }
.hero-side .logo { margin: 0 0 22px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.kicker { margin: 0 0 10px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: #f5c77e; }
h1 { margin: 0 0 14px; font-family: var(--serif); font-weight: 700; font-size: clamp(27px, 4.4vw, 38px); line-height: 1.12; letter-spacing: -.01em; }
.lead { margin: 0 0 24px; color: rgba(255,255,255,.82); max-width: 44ch; font-size: 15.5px; }
.lead strong { color: #fff; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.perks li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.92); }
.perks li svg { width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); color: #f5c77e; }
.hero-form { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.hero-form h2 { margin: 0 0 6px; font-family: var(--serif); font-size: 28px; letter-spacing: -.01em; }
.sub { margin: 0 0 26px; color: var(--muted); font-size: 15px; }
.login label { display: block; font-size: 12.5px; font-weight: 700; margin: 0 0 8px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.row { display: flex; gap: 10px; }
input[type=password], input[type=text] { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); font: inherit; font-size: 16px; background: var(--surface-2); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus { border-color: var(--violet); background: var(--surface); box-shadow: 0 0 0 4px rgba(124, 58, 237, .16); }
.msg { min-height: 22px; margin: 10px 2px 0; font-size: 14px; color: #e0305f; font-weight: 600; }
.byline { margin: auto 0 0; padding-top: 28px; font-size: 13px; color: var(--muted); }
.byline strong { color: var(--ink); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 650; border-radius: 14px; padding: 13px 22px; transition: transform .15s, box-shadow .25s, opacity .2s, background .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(147, 51, 234, .34), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(147, 51, 234, .44), inset 0 1px 0 rgba(255,255,255,.3); }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 9px 13px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm); }
.btn.ghost:hover { border-color: #c9b4ee; transform: translateY(-1px); }
.btn.ghost svg { color: var(--violet); }
.btn.small { padding: 7px 13px; font-size: 13px; background: var(--surface); color: #c0264f; border: 1px solid #f7c3d1; }
.btn.round { width: 52px; height: 52px; padding: 0; border-radius: 50%; flex: none; }
.btn.round svg { width: 22px; height: 22px; stroke-width: 2.2; }
button:focus-visible, textarea:focus-visible, input:focus-visible { outline: 3px solid rgba(124, 58, 237, .5); outline-offset: 2px; }

/* app */
.app { display: flex; flex-direction: column; height: 100dvh; max-width: 920px; margin: 0 auto; }
.topbar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 12px 0; padding: 11px 14px 15px; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brandtxt { display: flex; flex-direction: column; min-width: 0; }
.brandtxt strong { font-family: var(--serif); font-size: 16px; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brandtxt small { color: var(--rose); font-weight: 650; font-size: 12px; letter-spacing: .02em; }
.actions { display: flex; gap: 6px; flex: none; }
.progress { position: absolute; left: 18px; right: 18px; bottom: 6px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 3px; transition: width .7s cubic-bezier(.2,.8,.2,1); }

.chat { flex: 1; overflow-y: auto; padding: 22px 14px 10px; display: flex; flex-direction: column; gap: 18px; scroll-behavior: smooth; }
.chat::-webkit-scrollbar { width: 8px; } .chat::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.msgrow { display: flex; gap: 12px; animation: rise .4s cubic-bezier(.2,.8,.2,1) both; }
.msgrow.user { justify-content: flex-end; }
.avatar { width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 12px; display: grid; place-items: center; flex: none; margin-top: 3px; box-shadow: 0 4px 10px rgba(147,51,234,.28); }
.bubble { max-width: min(740px, 88%); padding: 16px 18px; border-radius: 20px; word-wrap: break-word; overflow-wrap: anywhere; }
.msgrow.bot .bubble { background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 6px; box-shadow: var(--shadow-sm); }
.msgrow.user .bubble { background: var(--grad); color: #fff; border-top-right-radius: 6px; white-space: pre-wrap; box-shadow: 0 10px 22px rgba(147,51,234,.26); }
.tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.llm { font-size: 11px; color: var(--faint); letter-spacing: .02em; }
.copy { background: var(--surface-2); border: 1px solid var(--line); color: var(--violet); font: inherit; font-weight: 650; font-size: 12px; border-radius: 10px; padding: 5px 12px; cursor: pointer; transition: background .2s, border-color .2s; }
.copy:hover { border-color: #c9b4ee; background: var(--grad-soft); }

/* markdown */
.md > :first-child { margin-top: 0; } .md > :last-child { margin-bottom: 0; }
.md p { margin: 0 0 11px; }
.md strong { font-weight: 700; }
.md h2, .md h3, .md h4 { margin: 24px 0 10px; line-height: 1.25; font-family: var(--serif); letter-spacing: -.005em; }
.md h2 { font-size: 19px; font-weight: 700; color: #fff; background: var(--grad); padding: 9px 15px; border-radius: 12px; box-shadow: 0 6px 16px rgba(147,51,234,.25); }
.md h3 { font-size: 18.5px; font-weight: 700; color: var(--h3); padding-left: 11px; border-left: 4px solid var(--gold); }
.md h4 { font-size: 16px; font-weight: 700; color: var(--h4); text-transform: uppercase; letter-spacing: .04em; font-family: var(--sans); font-size: 13.5px; }
.md h2:first-child, .md h3:first-child { margin-top: 2px; }
.md ul, .md ol { margin: 0 0 11px; padding-left: 22px; } .md li { margin: 4px 0; } .md li::marker { color: var(--rose); }
.md hr { border: 0; height: 1px; background: var(--line); margin: 18px 0; }
.md code { background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.md blockquote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid var(--gold); background: var(--grad-soft); border-radius: 0 12px 12px 0; color: var(--ink); }
.md .tablewrap { overflow-x: auto; margin: 10px 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.md table { border-collapse: collapse; width: 100%; font-size: 14px; }
.md th { background: var(--grad-soft); text-align: left; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.md th, .md td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.md tr:last-child td { border-bottom: 0; }
.sw { display: inline-block; width: 15px; height: 15px; border-radius: 5px; margin: 0 6px -3px 0; border: 1px solid rgba(0,0,0,.2); box-shadow: 0 1px 2px rgba(0,0,0,.15); }

/* digitando */
.typing { display: inline-flex; gap: 5px; align-items: center; padding: 4px 2px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); animation: bounce 1.1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.typinglabel { font-size: 13px; color: var(--muted); margin-left: 8px; }
@keyframes bounce { 0%,80%,100% { transform: scale(.6); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.errorbox { margin: 0 14px 8px; padding: 11px 15px; background: #fff0f3; border: 1px solid #f7c3d1; color: #a3153f; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .errorbox { background: #3a1626; border-color: #6b2540; color: #ffb3c7; } .btn.small { background: #2a1a3a; border-color: #6b2540; color: #ffb3c7; } }

/* composer */
.composer { padding: 8px 14px calc(14px + env(safe-area-inset-bottom)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; max-height: 150px; overflow-y: auto; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: all .18s; box-shadow: var(--shadow-sm); }
.chip:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-1px); }
.chip.on { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(147,51,234,.3); }
.sendrow { display: flex; gap: 10px; align-items: flex-end; padding: 8px 8px 8px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.sendrow:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,58,237,.14), var(--shadow); }
textarea { flex: 1; resize: none; max-height: 160px; padding: 13px 14px; border: 0; font: inherit; font-size: 16px; background: transparent; color: var(--ink); outline: none; line-height: 1.45; }
textarea:focus-visible { outline: none; }
.hint { margin: 8px 4px 0; font-size: 11.5px; color: var(--faint); text-align: center; }

.toast { position: fixed; left: 50%; bottom: 104px; transform: translateX(-50%); background: var(--plum); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 10; box-shadow: var(--shadow); animation: rise .25s ease both; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { padding: 30px 24px 26px; }
  .hero-form { padding: 28px 24px 26px; }
  .perks { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .perks li { font-size: 13px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .byline { padding-top: 20px; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .center { padding: 12px; }
  .bubble { max-width: 94%; padding: 14px 15px; }
  .avatar { display: none; }
  .brandtxt strong { font-size: 14px; }
  .topbar { margin: 8px 8px 0; }
  .hint { display: none; }
  .chips { max-height: 112px; }
  .row { flex-direction: column; } .row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ===== versão colorida: paleta vibrante (rosa, laranja, violeta, azul, verde-água) ===== */
:root {
  --c1: linear-gradient(135deg, #ff4d8d 0%, #ff8a3d 100%);
  --c2: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
  --c3: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --c4: linear-gradient(135deg, #f43f5e 0%, #a855f7 100%);
  --rainbow: linear-gradient(90deg, #ff4d8d, #ff8a3d, #facc15, #10b981, #06b6d4, #7c3aed);
}
.bg { background:
  radial-gradient(900px 600px at 90% -10%, rgba(124,58,237,.22), transparent 60%),
  radial-gradient(800px 600px at -10% 100%, rgba(255,77,141,.20), transparent 60%),
  radial-gradient(700px 500px at 100% 100%, rgba(6,182,212,.16), transparent 60%), var(--bg); }
.b1 { background: #ff6aa2; } .b2 { background: #8b6cf6; } .b3 { background: #34d3c0; opacity: .4; }

/* tela de entrada */
.hero-side { background:
  radial-gradient(520px 380px at 0% 0%, rgba(255,77,141,.75), transparent 62%),
  radial-gradient(480px 380px at 100% 20%, rgba(255,138,61,.45), transparent 60%),
  radial-gradient(520px 420px at 100% 100%, rgba(6,182,212,.55), transparent 60%),
  linear-gradient(160deg, #2a1240 0%, #43206a 100%); }
.hero::before { content: ""; display: block; grid-column: 1 / -1; height: 5px; background: var(--rainbow); }
.hero { grid-template-columns: 1.1fr 1fr; grid-template-rows: auto 1fr; }
.perks li:nth-child(1) svg { color: #ffd166; background: rgba(255,209,102,.18); }
.perks li:nth-child(2) svg { color: #ff8fbd; background: rgba(255,143,189,.2); }
.perks li:nth-child(3) svg { color: #7ee8d6; background: rgba(126,232,214,.2); }
.perks li:nth-child(4) svg { color: #b9a2ff; background: rgba(185,162,255,.22); }
.hero-form h2 { background: var(--c4); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 32px; }
.kicker { color: #ffd166; }

/* topo e progresso */
.topbar::before { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: var(--rainbow); opacity: .9; }
.progress { height: 5px; }
.progress i { background: var(--rainbow); }
.brandtxt small { background: var(--c4); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.logo, .avatar { background: var(--c4); }
.btn.primary { background: var(--c4); }
.btn.ghost:nth-of-type(1) svg { color: #ff4d8d; }
#newBtn svg { color: #06b6d4; } #logoutBtn svg { color: #ff8a3d; }

/* mensagens */
.msgrow.bot .bubble { position: relative; overflow: hidden; padding-left: 22px; }
.msgrow.bot .bubble::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #ff4d8d, #7c3aed, #06b6d4); }
.msgrow.user .bubble { background: var(--c2); box-shadow: 0 10px 22px rgba(59,130,246,.3); }
.sendrow:focus-within { border-color: #a855f7; }
#sendBtn { background: var(--c1); box-shadow: 0 10px 22px rgba(255,77,141,.38); }

/* títulos e textos coloridos */
.md strong { color: var(--st, #7a1fb8); }
@media (prefers-color-scheme: dark) { .md strong { color: #e9c8ff; } }
.md h2 { background: var(--c4); }
.md h2:nth-of-type(4n+2) { background: var(--c2); }
.md h2:nth-of-type(4n+3) { background: var(--c3); }
.md h2:nth-of-type(4n+4) { background: var(--c1); }
.md h3 { border-left-width: 5px; border-image: var(--c1) 1; }
.md h3:nth-of-type(3n+2) { border-image: var(--c2) 1; }
.md h3:nth-of-type(3n+3) { border-image: var(--c3) 1; }
.md li::marker { color: #ff4d8d; }
.md blockquote { border-left: 4px solid #ff8a3d; background: linear-gradient(135deg, #fff3e6, #ffe9f2); }
@media (prefers-color-scheme: dark) { .md blockquote { background: linear-gradient(135deg, #3a2318, #3a1630); } }
.md th { background: linear-gradient(135deg, #ffe0ee, #e3dcff, #d6f5fb); color: #4a2a72; }
@media (prefers-color-scheme: dark) { .md th { background: linear-gradient(135deg, #4a1f3d, #2f2459, #153a45); color: #f1e7ff; } }
.md tbody tr:nth-child(even) td { background: color-mix(in srgb, #a855f7 6%, transparent); }

/* ===== card do logo ===== */
.bubble.wide { max-width: min(860px, 96%); }
.logocard { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 22px; align-items: center; margin: 14px 0; padding: 18px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(135deg, #fff1f7 0%, #f1ecff 50%, #e6f8fc 100%); box-shadow: var(--shadow-sm); }
@media (prefers-color-scheme: dark) { .logocard { background: linear-gradient(135deg, #2e1626 0%, #221a40 50%, #12313b 100%); } }
.logo-main { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 5px #fff, 0 0 0 9px #c4a8f5, 0 18px 40px rgba(124, 58, 237, .32); }
.logo-img { display: block; width: 100%; height: 100%; }
.logo-tests { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lt { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); }
.lt.light { background: #fff; }
.lt.dark { background: #15101f; border-color: #3a2d52; }
.lt.tiny { width: 48px; height: 48px; }
.lt-img { width: 100%; height: 100%; display: block; }
.lt-cap { margin: 8px 0 14px; font-size: 13px; color: var(--muted); }
.logo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.dl { padding: 11px 16px; font-size: 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn.dl:hover { border-color: #c9b4ee; transform: translateY(-1px); }
.btn.dl.primary { background: var(--c4); color: #fff; border-color: transparent; }
.btn.dl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .logocard { grid-template-columns: 1fr; justify-items: center; } .logo-main { max-width: 280px; } .logo-right { width: 100%; } }
