:root {
  --bg: #f6f8f7;
  --bg-2: #ffffff;
  --ink: #0f1a1d;
  --ink-2: #3b4a4f;
  --muted: #66777c;
  --line: #dfe6e4;
  --card: #ffffff;
  --accent: #d9540f;
  --accent-2: #ffa23a;
  --mint: #0f9d6b;
  --mint-bright: #34d399;
  --slate: #1e2b2f;
  --code-bg: #0f1a1d;
  --code-ink: #d9f4e8;
  --shadow: 0 1px 2px rgba(15, 26, 29, 0.06), 0 12px 40px -12px rgba(15, 26, 29, 0.18);
  --radius: 18px;
  --grad: linear-gradient(100deg, #e08a00 0%, #f06418 50%, #e0401a 100%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1315;
    --bg-2: #0f1a1d;
    --ink: #eef4f2;
    --ink-2: #c3d0cd;
    --muted: #8a9c99;
    --line: #1f2e31;
    --card: #111e21;
    --mint: #34d399;
    --code-bg: #071012;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 20px 60px -20px rgba(0, 0, 0, 0.7);
    --grad: linear-gradient(100deg, #ffc233 0%, #ff8a1f 50%, #ff5a36 100%);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 'IBM Plex Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
}
code,
pre {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}
p code,
.card code,
details code {
  font-size: 0.86em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
h1,
h2,
h3 {
  font-family: 'Bricolage Grotesque', 'IBM Plex Sans', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
  max-width: 18ch;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(760px, 100% - 32px);
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mint {
  color: var(--mint);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 20px 'Bricolage Grotesque', sans-serif;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand.small {
  font-size: 16px;
  gap: 8px;
}
.nav nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}
.nav nav a:hover {
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent) 60%, transparent);
}
.btn-primary:hover {
  box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-ghost {
  border-color: var(--line);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  color: var(--ink);
}
.btn-sm {
  padding: 8px 14px;
  font-size: 14px;
  gap: 8px;
}

/* Hero */
.hero {
  position: relative;
  padding: 88px 0 40px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  text-align: center;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.glow-a {
  width: 620px;
  height: 620px;
  left: -160px;
  top: -220px;
  background: radial-gradient(circle, #ff9a1f 0%, transparent 65%);
}
.glow-b {
  width: 560px;
  height: 560px;
  right: -140px;
  top: 40px;
  background: radial-gradient(circle, #f4511e 0%, transparent 65%);
  opacity: 0.35;
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 92px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.lede {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-2);
}
.lede em {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.fine {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Screenshot frames */
.shots {
  position: relative;
  margin: 64px auto 0;
  max-width: 1080px;
}
.frame {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.frame.desktop {
  transform: perspective(1800px) rotateX(6deg);
  transform-origin: 50% 0;
}
.frame.desktop.wide {
  transform: none;
}
.chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 92%, var(--ink));
}
.chrome i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}
.chrome span {
  margin: 0 auto;
  padding: 3px 14px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
}
.frame.phone {
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 23%;
  border-radius: 30px;
  border: 6px solid var(--slate);
}

/* Sections */
.section {
  padding: 110px 0;
}
.kicker {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (prefers-color-scheme: dark) {
  .kicker {
    color: var(--accent-2);
  }
}
.grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}
.features {
  grid-template-columns: repeat(3, 1fr);
}
.security {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.features .card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}
.card p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: 15.5px;
}
.icon {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  margin-bottom: 18px;
  border-radius: 12px;
  font: 700 17px 'IBM Plex Mono', monospace;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
@media (prefers-color-scheme: dark) {
  .icon {
    color: var(--accent-2);
  }
}

/* Screens */
.screens {
  padding-top: 20px;
}
.tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.tabs button {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.tabs button[aria-selected='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

/* Install */
.steps {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps .card {
  position: relative;
  min-width: 0;
}
.num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  font: 800 17px 'Bricolage Grotesque', sans-serif;
  color: #fff;
  background: var(--grad);
}
pre {
  position: relative;
  margin: 16px 0 0;
  padding: 16px 18px;
  padding-right: 72px;
  border-radius: 12px;
  background: var(--code-bg);
  color: var(--code-ink);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: auto;
}
pre code {
  white-space: pre;
}
.copy {
  position: absolute;
  top: 10px;
  right: 10px;
  font: 600 12px 'IBM Plex Sans', sans-serif;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #d9f4e8;
  cursor: pointer;
}
.note {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* Cost */
.cost {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--mint-bright) 7%, transparent) 30%, transparent);
}
.cost-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cost-inner > div > p {
  color: var(--ink-2);
  max-width: 540px;
}
.meters h3 {
  margin-bottom: 22px;
}
.meter {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  font-size: 14.5px;
}
.meter b {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--mint-bright) 14%, var(--line));
  overflow: hidden;
}
.meter b::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: inherit;
  background: linear-gradient(90deg, #22c58b, #34d399);
}
.meter em {
  font-style: normal;
  color: var(--muted);
  font-size: 13.5px;
  white-space: nowrap;
}
.small {
  font-size: 13.5px !important;
  color: var(--muted) !important;
  margin-top: 18px !important;
}

/* FAQ */
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
details:first-of-type {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::after {
  content: '+';
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
}
details[open] summary::after {
  content: '–';
}
details p {
  margin: 12px 0 0;
  color: var(--ink-2);
}

/* Final */
.final {
  padding-top: 40px;
}
.final-inner {
  text-align: center;
  padding: 72px 24px;
  border-radius: 28px;
  background: radial-gradient(120% 140% at 0% 0%, #c2550f 0%, #1e2b2f 55%, #0f1a1d 100%);
  color: #fff;
}
.final-inner h2 {
  margin: 0 auto;
  max-width: none;
}
.final-inner .btn-primary {
  background: #fff;
  color: #0f1a1d;
}
.final-inner .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.footer {
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Ask Flackbot */
.ask {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 6%, transparent) 40%, transparent);
}
.ask-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.ask-inner > div > p {
  color: var(--ink-2);
  max-width: 520px;
}
.ticks {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  color: var(--ink-2);
  max-width: 520px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
}
.ticks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
}
.ticks strong {
  color: var(--ink);
}
@media (max-width: 960px) {
  .ask-inner {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .features,
  .security {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps,
  .cost-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .nav nav {
    display: none;
  }
  .nav-inner {
    justify-content: space-between;
  }
  .hero {
    padding-top: 56px;
  }
  .section {
    padding: 72px 0;
  }
  .features,
  .security {
    grid-template-columns: 1fr;
  }
  .frame.phone {
    width: 34%;
    right: -8px;
    bottom: -24px;
    border-width: 4px;
    border-radius: 20px;
  }
  .frame.desktop {
    transform: none;
  }
  .meter {
    grid-template-columns: 1fr auto;
  }
  .meter b {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .cta .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .card {
    transition: none;
  }
}

/* Language switch */
.lang {
  display: inline-flex;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
}
.lang b,
.lang a {
  padding: 4px 8px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--muted);
}
.lang b {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.lang a:hover {
  color: var(--ink);
}
@media (max-width: 640px) {
  .lang {
    margin-left: auto;
  }
}

/* Flack in numbers */
.stats {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
}
.stats strong {
  display: block;
  font: 800 38px 'Bricolage Grotesque', sans-serif;
  letter-spacing: -0.02em;
}
.stats span {
  color: var(--muted);
  font-size: 14.5px;
}
@media (max-width: 960px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
