/* ============================================================================
   DigitalWall — marketing site. Iris/violet on deep dark, glassmorphism,
   Space Grotesk + Inter. Matches the product's design language.
   ========================================================================== */
:root {
  --bg: #0a0b11;
  --bg-2: #0e1018;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f2f3f8;
  --muted: #9aa3b8;
  --faint: #6b7589;
  --primary: #7a70ff;
  --primary-2: #5546f4;
  --primary-ink: #b3abff;
  --grad: linear-gradient(135deg, #8b7dff 0%, #6f63ff 45%, #5546f4 100%);
  --grad-soft: linear-gradient(135deg, rgba(139, 125, 255, 0.18), rgba(85, 70, 244, 0.06));
  --online: #10c074;
  --amber: #f0a637;
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1180px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-primary: 0 20px 60px -16px rgba(111, 99, 244, 0.55);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Beta tag (product under development) */
.beta { display: inline-block; font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); background: rgba(240,166,55,0.14); border: 1px solid rgba(240,166,55,0.45); padding: 2px 7px; border-radius: 999px; margin-left: 9px; vertical-align: middle; position: relative; top: -1px; }
.top-ribbon { position: relative; z-index: 60; text-align: center; font-size: 13px; padding: 9px 16px; color: var(--muted); background: linear-gradient(90deg, rgba(240,166,55,0.12), rgba(111,99,244,0.14)); border-bottom: 1px solid var(--line); }
.top-ribbon b { color: var(--ink); font-weight: 600; }
.top-ribbon a { color: var(--primary-ink); font-weight: 600; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary-ink); padding: 7px 14px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid var(--line-2);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 3px rgba(16, 192, 116, 0.18); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 13px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 70px -14px rgba(111, 99, 244, 0.7); }
.btn-ghost { background: var(--surface-2); color: var(--ink); border-color: var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--primary); transform: translateY(-2px); background: rgba(255,255,255,0.07); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 15px; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------------- Background aurora ---------------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.aurora::before { width: 60vw; height: 60vw; left: -10vw; top: -20vw; background: radial-gradient(circle, rgba(111,99,244,0.5), transparent 60%); animation: drift1 22s ease-in-out infinite; }
.aurora::after { width: 50vw; height: 50vw; right: -10vw; top: 10vw; background: radial-gradient(circle, rgba(16,192,116,0.22), transparent 60%); animation: drift2 26s ease-in-out infinite; }
.grid-overlay { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 70%); opacity: 0.4; }
@keyframes drift1 { 50% { transform: translate(8vw, 6vw) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(-6vw, -4vw) scale(1.15); } }

/* ---------------- Nav ---------------- */
header.nav { position: sticky; top: 0; z-index: 50; transition: background 0.3s ease, border-color 0.3s ease; border-bottom: 1px solid transparent; }
header.nav.scrolled { background: rgba(10, 11, 17, 0.72); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand .logo { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; box-shadow: var(--shadow-primary); }
.brand .logo svg { width: 17px; height: 17px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color 0.2s; }
.nav-links a.link:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .signin { font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 9px 4px; }
.hamburger { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; }
.mobile-menu { display: none; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 70px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); margin: 22px 0 0; }
.hero .sub { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 540px; margin: 22px 0 0; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 26px; color: var(--faint); font-size: 13px; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .tick { color: var(--online); }

/* Screen-wall visual */
.screenwall { position: relative; perspective: 1400px; height: 460px; }
.screenwall-inner { position: absolute; inset: 0; transform: rotateY(-18deg) rotateX(8deg) rotate(1deg); transform-style: preserve-3d; transition: transform 0.3s ease-out; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 16px; }
.scr { border-radius: 14px; border: 1px solid var(--line-2); overflow: hidden; position: relative; background: #0d0f17; box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; }
.scr::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%); transform: translateX(-120%); animation: sheen 7s ease-in-out infinite; }
.scr .live { position: absolute; top: 7px; left: 7px; z-index: 2; display: flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 8px; letter-spacing: 0.1em; color: #fff; background: rgba(0,0,0,0.45); padding: 2px 6px; border-radius: 999px; }
.scr .live i { width: 5px; height: 5px; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 2px rgba(16,192,116,0.25); animation: pulse 2s infinite; }
.scr .fill { position: absolute; inset: 0; }
.scr.s1 .fill { background: linear-gradient(135deg, #6f63ff, #a855f7); }
.scr.s2 .fill { background: linear-gradient(135deg, #0ea5e9, #10c074); }
.scr.s3 .fill { background: linear-gradient(135deg, #f0a637, #ef4655); }
.scr.s4 .fill { background: linear-gradient(135deg, #10c074, #0ea5e9); }
.scr.s5 .fill { background: radial-gradient(circle at 30% 30%, #8b7dff, #2a2550); }
.scr.s6 .fill { background: linear-gradient(135deg, #ef4655, #f0a637); }
.scr.s7 .fill { background: linear-gradient(135deg, #5546f4, #0ea5e9); }
.scr.s8 .fill { background: linear-gradient(135deg, #10c074, #6f63ff); }
.scr.s9 .fill { background: radial-gradient(circle at 70% 70%, #f0a637, #3a1f10); }
.scr:nth-child(2n) { animation-delay: -2s; }
.scr:nth-child(3n) { animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateZ(26px); } }
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------------- Marquee ---------------- */
.marquee { margin: 54px 0 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scrollx 32s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--faint); display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "●"; color: var(--primary); font-size: 8px; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------------- Sections ---------------- */
section { position: relative; }
.section-pad { padding: 90px 0; }
.section-head { max-width: 640px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); margin-top: 16px; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 16px; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease; position: relative; overflow: hidden; }
.feature:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.feature .ficon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--primary-ink); margin-bottom: 18px; }
.feature .ficon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); font-size: 14.5px; margin-top: 9px; }
.feature.wide { grid-column: span 2; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; }
.step .num { font-family: var(--display); font-size: 15px; font-weight: 700; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-primary); }
.step h3 { font-size: 19px; margin-top: 18px; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 9px; }
.step .connector { position: absolute; top: 50px; right: -14px; color: var(--primary); opacity: 0.5; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.showcase.rev .text { order: 2; }
.showcase .text h2 { font-size: clamp(26px, 3.2vw, 38px); }
.showcase .text p { color: var(--muted); font-size: 16.5px; margin-top: 16px; }
.showcase ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.showcase li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.showcase li .tick { color: var(--online); flex-shrink: 0; margin-top: 2px; }
.mock {
  border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(160deg, #13151f, #0c0e15);
  box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2e3c; }
.mock-bar i:nth-child(1) { background: #ef4655; } .mock-bar i:nth-child(2) { background: #f0a637; } .mock-bar i:nth-child(3) { background: #10c074; }
.mock-bar .url { margin-left: 12px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-row { display: flex; gap: 12px; }
.mock-card { flex: 1; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); padding: 14px; }
.mock-card .k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase; }
.mock-card .v { font-family: var(--display); font-weight: 700; font-size: 22px; margin-top: 6px; }
.mock-card .v small { font-size: 12px; color: var(--muted); font-weight: 400; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 10px; }
.mini-bars span { flex: 1; border-radius: 4px 4px 0 0; background: var(--grad); opacity: 0.85; animation: grow 1.4s ease; }
@keyframes grow { from { height: 0; } }
.mock-screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-screens .ms { aspect-ratio: 16/9; border-radius: 9px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.mock-screens .ms .d { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; }
.mock-screens .ms .on { background: var(--online); box-shadow: 0 0 0 2px rgba(16,192,116,0.3); }
.mock-screens .ms .off { background: var(--faint); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat .n { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 44px); }
.stat .l { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Pricing */
.price-toggle { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; margin: 0 auto 36px; }
.price-toggle button { border: 0; background: none; color: var(--muted); font-family: var(--body); font-weight: 600; font-size: 14px; padding: 9px 20px; border-radius: 999px; cursor: pointer; transition: all 0.2s; }
.price-toggle button.on { background: var(--grad); color: #fff; box-shadow: var(--shadow-primary); }
.pricing { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 20px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.plan { padding: 34px 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan.featured { background: linear-gradient(170deg, rgba(111,99,244,0.14), var(--surface)); border-color: var(--primary); box-shadow: var(--shadow-primary); position: relative; }
.plan .tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; font-family: var(--mono); }
.plan h3 { font-size: 20px; }
.plan .desc { color: var(--muted); font-size: 14px; margin-top: 6px; min-height: 40px; }
.plan .price { font-family: var(--display); font-weight: 700; font-size: 46px; margin: 14px 0 2px; }
.plan .price .cur { font-size: 24px; vertical-align: super; }
.plan .price .per { font-size: 14px; color: var(--muted); font-weight: 400; font-family: var(--body); }
.plan ul { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); }
.plan li .tick { color: var(--online); flex-shrink: 0; }
.plan li.off { color: var(--faint); }
.plan li.off .tick { color: var(--faint); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--line-2); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--ink); font-family: var(--body); font-weight: 600; font-size: 16px; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .chev { transition: transform 0.25s ease; color: var(--primary-ink); flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { color: var(--muted); font-size: 15px; padding: 0 22px 20px; }

/* CTA band */
.cta-band { text-align: center; padding: 70px 40px; border-radius: var(--radius-lg); background: linear-gradient(150deg, rgba(111,99,244,0.2), rgba(85,70,244,0.05)); border: 1px solid var(--primary); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% -20%, rgba(139,125,255,0.35), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); }
.cta-band p { color: var(--muted); font-size: 17px; margin: 16px auto 28px; max-width: 480px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 60px 0 36px; margin-top: 90px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 280px; }
.foot-col h4 { font-family: var(--body); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.foot-col a, .foot-col div.fc { display: block; color: var(--muted); font-size: 14px; margin-bottom: 11px; transition: color 0.2s; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; flex-wrap: wrap; gap: 12px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.22,0.61,0.36,1), transform 0.7s cubic-bezier(0.22,0.61,0.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .screenwall { height: 360px; margin-top: 10px; }
  .features, .steps, .stats, .pricing, .showcase, .foot-grid { grid-template-columns: 1fr; }
  .feature.wide { grid-column: span 1; }
  .showcase.rev .text { order: 0; }
  .plan.featured { order: -1; }
  .nav-links { display: none; }
  .nav-cta .signin { display: none; }
  .hamburger { display: grid; }
  .step .connector { display: none; }
  .mobile-menu { position: fixed; inset: 72px 0 auto; background: rgba(10,11,17,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 20px 24px 28px; z-index: 49; transform: translateY(-120%); transition: transform 0.3s ease; }
  .mobile-menu.open { display: block; transform: none; }
  .mobile-menu a { display: block; padding: 14px 0; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { width: 100%; margin-top: 18px; }
  .foot-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .section-pad { padding: 64px 0; }
  .cta-band { padding: 48px 22px; }
}

/* ---------------- Download page ---------------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-card { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.25s ease, border-color 0.25s ease; }
.dl-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.dl-card .pic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--primary-ink); margin-bottom: 16px; }
.dl-card .pic svg { width: 26px; height: 26px; }
.dl-card h3 { font-size: 19px; }
.dl-card .tagline { color: var(--muted); font-size: 14px; margin-top: 7px; flex: 1; }
.dl-card .chip { display: inline-block; font-family: var(--mono); font-size: 11px; color: var(--primary-ink); background: var(--grad-soft); border: 1px solid var(--line-2); padding: 3px 10px; border-radius: 999px; margin: 14px 0; align-self: flex-start; }
.dl-card .btn { margin-top: 6px; }
.callout { border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--grad-soft); padding: 22px 24px; margin: 36px 0; }
.callout h3 { font-size: 17px; }
.callout p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
pre.code { background: #0c0e15; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto; margin: 14px 0; }
pre.code code { font-family: var(--mono); font-size: 12.5px; color: #cdd3e3; line-height: 1.7; }

/* ---------------- Blog ---------------- */
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post-card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform 0.25s, border-color 0.25s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.post-card .cover { height: 150px; position: relative; }
.post-card .cover.c1 { background: linear-gradient(135deg, #6f63ff, #a855f7); }
.post-card .cover.c2 { background: linear-gradient(135deg, #0ea5e9, #10c074); }
.post-card .cover.c3 { background: linear-gradient(135deg, #f0a637, #ef4655); }
.post-card .cover.c4 { background: linear-gradient(135deg, #10c074, #6f63ff); }
.post-card .pc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-ink); }
.post-card h3 { font-size: 19px; margin-top: 10px; }
.post-card p { color: var(--muted); font-size: 14px; margin-top: 8px; flex: 1; }
.post-card .read { color: var(--primary-ink); font-weight: 600; font-size: 14px; margin-top: 14px; }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 50px 0 20px; }
.article .cat { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-ink); }
.article h1 { font-size: clamp(30px, 4.6vw, 46px); margin-top: 14px; }
.article .meta { color: var(--faint); font-size: 13px; margin-top: 14px; }
.article .lede { color: var(--ink); font-size: 19px; line-height: 1.6; margin-top: 24px; }
.article h2 { font-size: 24px; margin: 38px 0 12px; }
.article h3 { font-size: 19px; margin: 26px 0 8px; }
.article p { color: var(--muted); font-size: 16.5px; margin-top: 14px; }
.article ul, .article ol { color: var(--muted); font-size: 16.5px; margin-top: 14px; padding-left: 22px; }
.article li { margin-top: 8px; }
.article a { color: var(--primary-ink); }
.article .article-cta { margin: 40px 0 10px; padding: 28px; border-radius: var(--radius); background: var(--grad-soft); border: 1px solid var(--line-2); text-align: center; }
.article .article-cta h3 { margin: 0 0 14px; }

@media (max-width: 900px) {
  .dl-grid, .blog-list { grid-template-columns: 1fr; }
}

/* ---------------- Legal pages ---------------- */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 0 40px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); }
.legal .updated { color: var(--faint); font-family: var(--mono); font-size: 12px; margin-top: 12px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; color: var(--ink); }
.legal p { color: var(--muted); font-size: 15.5px; margin-top: 12px; }
.legal a { color: var(--primary-ink); }
.back-home { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.back-home:hover { color: var(--ink); }
