/* Bytetally — bytetally.app landing. Hand-crafted, dependency-free.
   Design: generous whitespace, mint-green brand, big product shots,
   light + dark (prefers-color-scheme). Simpler & cleaner than the
   category (TripMode / Little Snitch / iStat Menus). */

:root {
  --bg: #FBFBFD;
  --bg-soft: #F3F6F4;
  --card: #FFFFFF;
  --ink: #15171A;
  --ink-2: #545961;
  --ink-3: #878D95;
  --brand: #0FA36A;
  --brand-2: #19C888;
  --brand-bright: #19EF9F;
  --brand-soft: #E6F7EF;
  --brand-ink: #06built;
  --border: rgba(18, 22, 28, 0.09);
  --border-2: rgba(18, 22, 28, 0.06);
  --shadow-lg: 0 40px 80px -32px rgba(16, 40, 30, 0.28), 0 12px 28px -18px rgba(0,0,0,0.22);
  --shadow-sm: 0 2px 6px rgba(16, 24, 20, 0.06), 0 1px 2px rgba(0,0,0,0.05);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Inter", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D0E10;
    --bg-soft: #131518;
    --card: #17191D;
    --ink: #F2F4F6;
    --ink-2: #A6ADB5;
    --ink-3: #6E767F;
    --brand: #19EF9F;
    --brand-2: #19EF9F;
    --brand-soft: #0F332A;
    --border: rgba(255, 255, 255, 0.10);
    --border-2: rgba(255, 255, 255, 0.06);
    --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, 0.7), 0 10px 30px -18px rgba(0,0,0,0.6);
    --shadow-sm: 0 2px 6px rgba(0,0,0,0.4);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; border-radius: 999px;
  padding: 13px 22px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  border: 1px solid transparent; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-appstore {
  background: var(--ink); color: var(--bg);
  padding: 12px 22px; box-shadow: var(--shadow-sm);
}
.btn-appstore:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.4); }
.btn-appstore svg { width: 22px; height: 22px; }
.btn-appstore .sub { font-size: 11px; font-weight: 500; opacity: .8; line-height: 1; margin-bottom: 2px; }
.btn-appstore .lab { font-size: 17px; font-weight: 700; line-height: 1; letter-spacing: -.2px; }
.btn-ghost { color: var(--ink-2); border-color: var(--border); background: transparent; }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-3); }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border-2);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.3px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 92px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -10% 0 auto 0; height: 620px; z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 0%, color-mix(in srgb, var(--brand-bright) 26%, transparent), transparent 70%),
    radial-gradient(40% 40% at 82% 8%, color-mix(in srgb, #6EA8FF 18%, transparent), transparent 70%);
  filter: blur(6px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--brand); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 24px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
h1 {
  font-size: clamp(38px, 6vw, 68px); line-height: 1.04; letter-spacing: -1.8px;
  font-weight: 800; max-width: 16ch; margin: 0 auto;
}
h1 .g { background: linear-gradient(120deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub {
  font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); max-width: 56ch;
  margin: 22px auto 0; line-height: 1.55;
}
.cta-row { display: flex; gap: 14px; justify-content: center; align-items: center; margin: 34px 0 16px; flex-wrap: wrap; }
.req { font-size: 13px; color: var(--ink-3); }
.trust { display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.trust svg { width: 15px; height: 15px; color: var(--brand); }

/* hero screenshot */
.hero-shot { margin: 56px auto 0; max-width: 1000px; position: relative; }
.hero-shot::after {
  content: ""; position: absolute; inset: auto 8% -30px 8%; height: 60px; z-index: -1;
  background: radial-gradient(50% 100% at 50% 0, color-mix(in srgb, var(--brand-bright) 40%, transparent), transparent 70%);
  filter: blur(26px);
}
.shot-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); background: var(--card);
}
.shot-frame img { width: 100%; }

/* ---------- section heading ---------- */
.sec { padding: 88px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.sec-head .kicker { color: var(--brand); font-weight: 700; font-size: 14px; letter-spacing: .2px; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -1px; font-weight: 800; margin-top: 12px; }
.sec-head p { color: var(--ink-2); font-size: 18px; margin-top: 14px; }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 46px 0; }
.feature:nth-child(even) .f-media { order: -1; }
.f-badge {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 20px;
}
.f-badge svg { width: 24px; height: 24px; }
.feature h3 { font-size: 26px; letter-spacing: -.6px; font-weight: 750; line-height: 1.15; }
.feature p { color: var(--ink-2); font-size: 17px; margin-top: 12px; max-width: 44ch; }
.f-list { margin-top: 18px; display: grid; gap: 10px; }
.f-list li { list-style: none; display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.f-list svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 3px; }
.f-media img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 30px; padding: 34px 0; }
  .feature:nth-child(even) .f-media { order: 0; }
}

/* ---------- privacy band ---------- */
.band {
  background: linear-gradient(180deg, var(--brand-soft), color-mix(in srgb, var(--brand-soft) 40%, var(--bg)));
  border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2);
}
.band .wrap { text-align: center; padding: 80px 24px; }
.band h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.8px; font-weight: 800; max-width: 20ch; margin: 0 auto; }
.band p { color: var(--ink-2); font-size: 18px; margin: 16px auto 0; max-width: 56ch; }
.pill-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.pill { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; text-align: left; min-width: 180px; box-shadow: var(--shadow-sm); }
.pill b { display: block; font-size: 15px; }
.pill span { color: var(--ink-2); font-size: 13.5px; }

/* ---------- value trio ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trio .card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.trio .card h3 { font-size: 19px; letter-spacing: -.3px; }
.trio .card p { color: var(--ink-2); margin-top: 10px; font-size: 15px; }
.trio .n { color: var(--brand); font-weight: 800; font-size: 14px; }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 4px; font-weight: 650; font-size: 17.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { color: var(--brand); font-size: 24px; transition: transform .2s; flex: none; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .a { color: var(--ink-2); font-size: 16px; padding: 0 4px 22px; max-width: 68ch; }

/* ---------- final CTA ---------- */
.final { text-align: center; padding: 96px 0; }
.final .box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, var(--card)), var(--card));
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--border));
  border-radius: var(--radius-lg); padding: 64px 32px; box-shadow: var(--shadow-lg);
}
.final h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -1px; font-weight: 800; }
.final p { color: var(--ink-2); font-size: 18px; margin: 14px auto 0; max-width: 46ch; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border-2); padding: 48px 0 60px; color: var(--ink-2); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
footer .brand { color: var(--ink); margin-bottom: 10px; }
footer a { color: var(--ink-2); }
footer a:hover { color: var(--brand); }
.f-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.f-cols .col { display: grid; gap: 10px; }
.f-cols .col b { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.muted { color: var(--ink-3); font-size: 13px; margin-top: 26px; }

.center { text-align: center; }
.mt { margin-top: 40px; }
