/* ===== Mudbyte / Sweeper website ===== */
:root {
  --teal: #4ecdc4;
  --teal-d: #2fb9af;
  --teal-l: #72e8e0;
  --blue: #5b8def;
  --bg: #f2fafb;
  --surface: #ffffff;
  --surface-2: #f0f7f9;
  --ink: #1a2235;
  --muted: #6b7890;
  --subtle: #9baab8;
  --divider: #e8f0f3;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(26, 34, 53, 0.08);
  --shadow-sm: 0 4px 14px rgba(26, 34, 53, 0.06);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-d); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700;
  border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-d) 100%);
  color: #fff; box-shadow: 0 10px 24px rgba(47, 185, 175, 0.35);
}
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.play-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #101826; color: #fff; padding: 12px 22px; border-radius: 14px;
  box-shadow: var(--shadow); transition: transform .15s ease;
}
.play-badge:hover { text-decoration: none; transform: translateY(-2px); }
.play-badge svg { width: 26px; height: 26px; flex: none; }
.play-badge .small { font-size: 11px; opacity: .8; line-height: 1; }
.play-badge .big { font-size: 18px; font-weight: 700; line-height: 1.1; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 250, 251, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--divider);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(91, 141, 239, 0.16), transparent 60%),
    radial-gradient(700px 380px at 5% 10%, rgba(78, 205, 196, 0.20), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal-d);
  background: rgba(78, 205, 196, 0.14); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); margin: 0 0 16px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--teal-d), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-note { font-size: 13px; color: var(--subtle); margin-top: 16px; }

/* phone mockup */
.phone {
  width: 280px; margin: 0 auto; aspect-ratio: 9 / 19;
  border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, #243042, #121a28);
  box-shadow: 0 30px 70px rgba(26, 34, 53, 0.30);
}
.phone-screen {
  height: 100%; border-radius: 28px; overflow: hidden;
  background: linear-gradient(170deg, #eafaf8, #ffffff);
  display: flex; flex-direction: column;
}
.phone-top { padding: 26px 22px 10px; }
.phone-top .icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.phone-top h3 { margin: 0; font-size: 20px; }
.phone-top span { color: var(--muted); font-size: 13px; }
.ring-wrap { flex: 1; display: flex; align-items: center; justify-content: center; }
.ring {
  width: 150px; height: 150px; border-radius: 50%;
  background:
    radial-gradient(closest-side, #fff 78%, transparent 79% 100%),
    conic-gradient(var(--teal) 0 64%, #e3eef0 64% 100%);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.ring b { font-size: 26px; }
.ring small { display: block; color: var(--muted); font-size: 12px; }
.phone-cards { padding: 14px 18px 24px; display: grid; gap: 10px; }
.mini-card { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.mini-card .dot { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.mini-card small { color: var(--muted); }

/* ===== Sections ===== */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.features { background: var(--surface); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--bg); border: 1px solid var(--divider); border-radius: var(--radius);
  padding: 26px; transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .fi {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 16px; color: #fff;
}
.feature h3 { margin: 0 0 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.fi svg { width: 26px; height: 26px; }
.g-teal { background: linear-gradient(135deg, #4ecdc4, #72e8e0); }
.g-blue { background: linear-gradient(135deg, #5b8def, #90b8f8); }
.g-violet { background: linear-gradient(135deg, #7e57c2, #b39ddb); }
.g-orange { background: linear-gradient(135deg, #ff7043, #ffab76); }
.g-green { background: linear-gradient(135deg, #26a69a, #80cbc4); }
.g-rose { background: linear-gradient(135deg, #ff5b8d, #ff9bba); }

/* privacy highlight */
.privacy-band { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-d) 100%); color: #fff; }
.privacy-band .section-head h2 { color: #fff; }
.privacy-band .pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pill { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: 10px 18px; border-radius: 999px; font-weight: 600; }

/* screenshots */
.shots { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 18px; scroll-snap-type: x mandatory; }
.shots img, .shots .shot-ph {
  flex: none; width: 230px; aspect-ratio: 9/19; border-radius: 26px; scroll-snap-align: center;
  box-shadow: var(--shadow); background: var(--surface-2); border: 1px solid var(--divider);
}
.shot-ph { display: grid; place-items: center; color: var(--subtle); font-size: 14px; text-align: center; }

/* CTA */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 14px; }
.cta-band p { color: var(--muted); font-size: 18px; margin: 0 0 26px; }

/* ===== Footer ===== */
.site-footer { background: #101826; color: #c4d0de; padding: 48px 0 30px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.site-footer .brand { color: #fff; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: #c4d0de; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 20px; font-size: 14px; color: #8493a6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ===== Legal pages ===== */
.legal { padding: 56px 0 72px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 6px; }
.legal .updated { color: var(--subtle); margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: #303a4d; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--divider); font-size: 15px; vertical-align: top; }
.legal th { background: var(--surface-2); }
.legal .note { background: var(--surface-2); border-left: 4px solid var(--teal); padding: 14px 18px; border-radius: 8px; color: var(--muted); font-size: 14px; }
.legal a { font-weight: 600; }
.back-home { display: inline-block; margin-bottom: 24px; font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 18px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--divider); box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 16px 20px; border-top: 1px solid var(--divider); }
  .nav-toggle { display: block; }
}
@media (max-width: 540px) {
  .feature-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
