/* ==========================================================================
   Scribbaware main stylesheet (playful studio style)
   ========================================================================== */

:root {
  --bg: #2b2c3a;
  --bg-band: #32333f;
  --surface: #3a3b4a;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f5fa;
  --text-muted: #b9bacb;
  --ink: #23243a;            /* text on white */
  --ink-muted: #6d6f88;
  --card: #ffffff;
  --mint: #5ee6c4;
  --purple: #9b87f5;
  --pink: #f48fb1;
  --yellow: #f7cf5a;
  --blue: #6b8cff;
  --radius: 20px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Nunito", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--mint); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--text-muted); font-weight: 700; font-size: .7em; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 800 16px/1 var(--font-head); letter-spacing: .01em;
  padding: 15px 28px; border-radius: 999px; cursor: pointer;
  border: 0; transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 8px 24px -10px rgba(0,0,0,.6); }
.btn-white:hover { color: var(--ink); box-shadow: 0 12px 30px -10px rgba(0,0,0,.7); }
.btn-glow {
  color: var(--ink);
  border: 3px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(100deg, var(--mint), var(--purple) 55%, var(--pink)) border-box;
  box-shadow: 0 0 22px -4px rgba(94, 230, 196, .55), 0 0 30px -6px rgba(244, 143, 177, .45);
  padding: 13px 24px;
}
.btn-glow:hover { color: var(--ink); box-shadow: 0 0 28px -2px rgba(94, 230, 196, .7), 0 0 36px -4px rgba(244, 143, 177, .6); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 2px var(--mint); }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(43, 44, 58, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,0,0,.8); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 800 24px/1 var(--font-head); }
.brand:hover { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) { color: var(--text); font-weight: 500; font-size: 16px; opacity: .9; }
.site-nav a:not(.btn):hover { color: var(--mint); opacity: 1; }
.site-nav a.active { color: var(--mint); opacity: 1; }
.site-nav .btn { margin-left: 24px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 3.6vw, 50px); letter-spacing: -.01em; }
.lead { font-size: 18px; color: var(--text-muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-visual { position: relative; height: 440px; }
.shape { position: absolute; border-radius: 50%; }
.s-mint   { width: 92px; height: 92px; left: 2%; top: 6%; background: var(--mint); opacity: .85; }
.s-purple { width: 64px; height: 64px; left: 58%; top: -2%; background: var(--purple); opacity: .8; }
.s-pink   { width: 16px; height: 16px; left: 0; top: 34%; background: var(--pink); }
.s-yellow { width: 70px; height: 70px; right: -2%; top: 58%; background: var(--yellow); opacity: .9; }
.s-ring   { width: 28px; height: 28px; right: -4%; top: 82%; border: 5px solid var(--yellow); }
.s-dot    { width: 10px; height: 10px; right: 2%; top: 22%; background: var(--blue); }
.s-blue   { width: 80px; height: 80px; left: 52%; bottom: -2%; background: var(--blue); opacity: .55; filter: blur(1px); }
.squiggle { position: absolute; width: 46px; fill: none; stroke-width: 5; stroke-linecap: round; }
.squiggle.q1 { right: 2%; top: 4%; stroke: var(--yellow); transform: rotate(-30deg); }
.squiggle.q2 { left: 6%; bottom: 16%; stroke: var(--blue); transform: rotate(30deg); }

.device { position: absolute; background: #f2f2f7; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.device .screen { position: relative; height: 100%; overflow: hidden; background: #fff; }
.tablet { left: 7%; top: 9%; width: 78%; height: 300px; border-radius: 18px; padding: 8px; z-index: 1; }
.tablet .screen { display: flex; border-radius: 12px; }
.phone { right: 3%; top: 20%; width: 150px; height: 300px; border-radius: 26px; padding: 7px; z-index: 2; animation: float 6s ease-in-out infinite; }
.phone .screen { border-radius: 20px; padding: 16px 12px; }
@keyframes float { 50% { transform: translateY(-10px); } }

.t-side { width: 20%; padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid #eeeef5; }
.t-side img { margin-bottom: 6px; }
.t-side b { height: 8px; border-radius: 4px; background: #e6e6f0; }
.t-side b.on { background: var(--blue); opacity: .85; height: 14px; border-radius: 6px; }
.t-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.t-top { display: flex; align-items: center; gap: 8px; }
.t-top span { height: 9px; border-radius: 5px; background: #e1e1ec; margin-right: auto; }
.t-top i { width: 10px; height: 10px; border-radius: 50%; background: #e6e6f0; }
.t-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.t-cards div { display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 10px; border: 1px solid #eeeef5; }
.t-cards span { flex: 1; height: 6px; border-radius: 3px; background: #e6e6f0; }
.t-chart { flex: 1; border: 1px solid #eeeef5; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.t-chart span { height: 7px; border-radius: 4px; background: #e1e1ec; }
.t-chart svg { flex: 1; width: 100%; }
.t-bottom { display: flex; gap: 8px; }
.t-bottom span { flex: 1; height: 22px; border-radius: 8px; border: 1px solid #eeeef5; }
.t-bottom .accent { background: rgba(247, 207, 90, .35); border: 0; }
.t-bottom .btnish { flex: .6; background: var(--blue); border: 0; opacity: .85; }
.avatar { width: 18px; height: 18px; border-radius: 50%; flex: none; display: inline-block; }
.a1 { background: radial-gradient(circle at 50% 38%, #f3c6a5 32%, transparent 34%), var(--mint); }
.a2 { background: radial-gradient(circle at 50% 38%, #e8b08b 32%, transparent 34%), var(--purple); }
.a3 { background: radial-gradient(circle at 50% 38%, #f6d2b5 32%, transparent 34%), var(--yellow); }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; }

.p-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.p-title span { height: 9px; border-radius: 5px; background: #d9d9e6; }
.p-card { padding: 10px; border-radius: 12px; background: linear-gradient(135deg, rgba(107,140,255,.14), rgba(155,135,245,.18)); }
.p-card span { display: block; height: 6px; border-radius: 3px; background: #c8c6e8; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; margin-top: 8px; }
.bars i { flex: 1; height: var(--h); border-radius: 3px; background: linear-gradient(to top, var(--purple), var(--pink)); }
.p-icons { display: flex; justify-content: space-between; margin: 12px 0; }
.p-icons i { width: 30px; height: 30px; border-radius: 10px; }
.p-icons .c1 { background: rgba(247, 207, 90, .45); } .p-icons .c2 { background: rgba(94, 230, 196, .45); } .p-icons .c3 { background: rgba(155, 135, 245, .4); }
.p-row { display: flex; align-items: center; gap: 8px; margin: 9px 0; }
.p-row span { flex: 1; height: 6px; border-radius: 3px; background: #e6e6f0; }

/* ---------- Sections ---------- */
.band { background: var(--bg-band); }
.section { padding: 90px 0; }
.section-title { font-size: clamp(28px, 3.2vw, 38px); }
.section-title.center, .section-sub.center { text-align: center; }
.section-sub { color: var(--text-muted); margin: -4px 0 32px; max-width: 560px; }
.section-sub.center { margin-left: auto; margin-right: auto; }

/* Apps + vibe side by side */
.band .play-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 70px; padding-bottom: 90px; align-items: start; }

/* App cards (white with color blob behind) */
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 26px; padding: 8px 10px 0; }
.project { position: relative; display: block; color: var(--ink); isolation: isolate; transition: transform .2s ease; }
.project::before {
  content: ""; position: absolute; inset: 14px -10px -10px 14px; z-index: -1;
  border-radius: 26px; transform: rotate(3deg); opacity: .9;
  background: var(--blob, var(--mint));
}
.project:nth-child(4n+1) { --blob: var(--mint); }
.project:nth-child(4n+2) { --blob: var(--purple); }
.project:nth-child(4n+3) { --blob: var(--pink); }
.project:nth-child(4n+4) { --blob: var(--yellow); }
.project:nth-child(even)::before { transform: rotate(-3deg); inset: 12px 12px -12px -10px; }
.project-inner { background: var(--card); border-radius: var(--radius); padding: 12px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.7); }
a.project:hover { transform: translateY(-4px) rotate(-.5deg); color: var(--ink); }
.project-thumb {
  aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; display: grid; place-items: center;
  background: center / cover no-repeat, linear-gradient(140deg, #eefbf7, #efeafd);
}
.project:nth-child(4n+2) .project-thumb { background-color: transparent; background-image: linear-gradient(140deg, #2f3145, #3d3a5e); }
.project:nth-child(4n+3) .project-thumb { background-image: linear-gradient(140deg, #fdf0f5, #eef0ff); }
.project:nth-child(4n+4) .project-thumb { background-image: linear-gradient(140deg, #fff8e3, #eefbf7); }
.project-thumb.has-img { background-size: cover; }
.project-body { padding: 12px 6px 6px; }
.project-tag { display: flex; align-items: center; gap: 8px; font: 800 14px/1 var(--font-head); color: var(--ink); margin-bottom: 8px; }
.project-tag img { width: 22px; height: 22px; }
.project-body h3 { font-size: 17px; margin: 0 0 4px; }
.project-body p { font-size: 14px; color: var(--ink-muted); margin: 0 0 6px; }
.project-link { font-size: 13.5px; font-weight: 600; color: var(--ink-muted); }
a.project:hover .project-link { color: var(--ink); }
.plus {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); font: 400 30px/1 var(--font-body);
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.35);
}

/* Vibe cluster */
.vibe-cluster { position: relative; height: 470px; }
.vibe-art { position: absolute; left: 50%; top: 50%; width: 64%; transform: translate(-50%, -50%); }
.bubble {
  position: absolute; max-width: 172px; text-align: center;
  padding: 12px 18px; border-radius: 26px;
  background: #ecebf6; color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.6);
  animation: bob 7s ease-in-out infinite;
}
.bubble strong { display: block; font: 800 16px/1.25 var(--font-head); }
.bubble span { display: block; font-size: 12.5px; line-height: 1.4; color: var(--ink-muted); margin-top: 2px; }
.bubble::after { /* little thought dots */
  content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #ecebf6;
}
.b1 { left: 0;   top: 13%; }               .b1::after { right: 6px; bottom: -14px; }
.b2 { left: 50%; top: 0; transform: translateX(-50%); animation-delay: -2s; } .b2::after { left: 50%; bottom: -14px; }
.b3 { right: 0;  top: 13%; animation-delay: -4s; }  .b3::after { left: 10px; bottom: -14px; }
.b4 { left: 0;   top: 60%; animation-delay: -1s; } .b4::after { right: -12px; top: 10px; }
.b5 { right: 0;  top: 60%; animation-delay: -3s; } .b5::after { left: -12px; top: 10px; }
.b6 { left: 50%; bottom: 0; transform: translateX(-50%); animation-delay: -5s; } .b6::after { display: none; }
@keyframes bob { 50% { translate: 0 -6px; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.step-n {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font: 900 20px/1 var(--font-head); color: var(--ink);
}
.n1 { background: var(--mint); } .n2 { background: var(--purple); } .n3 { background: var(--pink); } .n4 { background: var(--yellow); }
.steps h3 { font-size: 20px; margin: 16px 0 6px; }
.steps p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* Support card */
.support-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
  padding: 52px; border-radius: 28px; background: var(--card); color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.blob { position: absolute; border-radius: 50%; z-index: -1; }
.b-mint { width: 240px; height: 240px; left: -80px; bottom: -110px; background: rgba(94, 230, 196, .35); }
.b-purple { width: 200px; height: 200px; right: -60px; top: -80px; background: rgba(155, 135, 245, .3); }
.support-card h2 { font-size: clamp(26px, 3vw, 36px); }
.support-card p { color: var(--ink-muted); font-size: 17px; margin-bottom: 28px; }
.coffee {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--yellow); transform: rotate(-6deg);
}
.coffee svg { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.support-card .btn-glow { box-shadow: 0 0 18px -4px rgba(94, 230, 196, .7), 0 0 26px -6px rgba(244, 143, 177, .6); }
.uses { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.uses li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: #f4f3fb; }
.uses strong { display: block; font: 800 16px/1.3 var(--font-head); }
.uses span { color: var(--ink-muted); font-size: 14.5px; }
.dot { flex: none; width: 14px; height: 14px; border-radius: 50%; margin-top: 4px; }
.d1 { background: var(--mint); } .d2 { background: var(--purple); } .d3 { background: var(--pink); } .d4 { background: var(--yellow); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-mail { display: inline-flex; align-items: center; gap: 14px; margin-top: 10px; font: 800 20px/1 var(--font-head); color: var(--text); }
.contact-mail:hover { color: var(--mint); }
.mail-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--mint); }
.mail-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.small-note { margin-top: 24px; font-size: 14px; color: var(--text-muted); padding: 14px 18px; border-radius: 16px; background: var(--surface); }
.contact-form { padding: 32px; border-radius: 26px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.field { margin-bottom: 18px; }
.field label { display: block; font: 700 14px/1 var(--font-head); margin-bottom: 8px; color: var(--text); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 2px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(94, 230, 196, .25); }
.field input.invalid, .field textarea.invalid { border-color: var(--pink); }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236d6f88' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.contact-form .btn { width: 100%; }
.form-note { margin: 12px 0 0; font-size: 13px; color: var(--text-muted); text-align: center; }
.form-note.error { color: var(--pink); }

/* ---------- Footer ---------- */
.site-footer { padding: 0 0 30px; }
.site-footer .container > * { border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 32px; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-grid nav a { color: var(--text-muted); font-size: 15px; }
.footer-grid nav a:hover { color: var(--mint); }
.footer-icons { display: flex; gap: 14px; }
.footer-icons a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--text); }
.footer-icons a:hover { background: var(--mint); color: var(--ink); }
.footer-icons svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copyright { margin-top: 24px; padding-top: 20px; font-size: 13px; color: var(--text-muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .band .play-grid { grid-template-columns: 1fr; gap: 70px; }
  .vibe-cluster { max-width: 620px; margin: 0 auto; }
  .site-nav { gap: 24px; }
  .site-nav .btn { margin-left: 8px; }
}

@media (max-width: 980px) {
  .hero-grid, .contact-grid, .support-card { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .support-card { padding: 38px; gap: 32px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 22px; background: rgba(43, 44, 58, .98); box-shadow: 0 20px 30px -20px rgba(0,0,0,.8);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin: 18px 0 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .band .play-grid { padding-top: 56px; padding-bottom: 64px; }
  .hero-visual { height: 330px; }
  .tablet { left: 0; top: 8%; width: 84%; height: 220px; }
  .t-side { display: none; }
  .phone { width: 116px; height: 236px; top: 22%; right: 0; }
  .bars { height: 40px; }
  .s-mint { width: 64px; height: 64px; }
  .steps { grid-template-columns: 1fr; }
  .app-grid { gap: 26px 18px; padding: 0 8px 0 4px; }
  .project-inner { padding: 8px; border-radius: 16px; }
  .project-body { padding: 10px 4px 4px; }
  .project-tag { font-size: 12px; }
  .project-tag img { width: 18px; height: 18px; }
  .plus { width: 40px; height: 40px; font-size: 24px; }
  .vibe-cluster { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .vibe-art { position: static; transform: none; width: 100%; max-width: 300px; margin: 0 auto 8px; grid-column: 1 / -1; }
  .bubble { position: static; transform: none; max-width: none; animation: none; padding: 12px; }
  .bubble::after { display: none; }
  .support-card { padding: 28px 20px; }
  .btn-lg { width: 100%; padding: 16px 18px; }
  .contact-form { padding: 22px; }
  .lead { font-size: 17px; }
}

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

/* ---------- Legal pages (privacy policies) ---------- */
.btn-sm { padding: 11px 18px; font-size: 14px; }
.legal-page { padding: 40px 0 80px; }
.legal {
  max-width: 820px; margin: 0 auto; padding: 48px 56px;
  background: var(--card); color: var(--ink); border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.7);
}
.legal a { color: #3a5bd9; text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--ink); }
.legal-kicker { display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; background: var(--mint); font: 800 13px/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-muted); font-size: 14.5px; margin-bottom: 28px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal p, .legal li { color: #3d3f58; font-size: 16px; }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal-summary { padding: 22px 26px; border-radius: 20px; background: #eefbf7; margin-bottom: 28px; }
.legal-summary h2 { margin-top: 0; }
.legal-summary ul { margin: 0; }
.legal-contact { padding: 18px 22px; border-radius: 16px; background: #f4f3fb; }
@media (max-width: 600px) {
  .legal { padding: 28px 20px; border-radius: 22px; }
  .legal-summary { padding: 18px; }
}
