/* Brk's site: the logo's palette, light and dark, no web fonts, no scripts. */
:root {
  --blue: #1a4fe0;
  --purple: #8b45c9;
  --coral: #ff5a5f;
  --pink: #ff8fa3;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --text: #14162b;
  --muted: #5b6078;
  --line: #e3e5ef;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(26, 31, 77, 0.14);
  --accent: var(--blue);
  --gradient: linear-gradient(100deg, var(--blue) 0%, var(--purple) 40%, var(--coral) 75%, var(--pink) 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d1a;
    --bg-soft: #121528;
    --text: #eef0fa;
    --muted: #a3a8c3;
    --line: #262a45;
    --card: #151933;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    --accent: #6f93ff;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

code, kbd {
  font: 0.86em/1.3 ui-monospace, "SF Mono", Menlo, monospace;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  white-space: nowrap;
}

kbd { box-shadow: inset 0 -1px 0 var(--line); }

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px max(20px, calc((100% - 1120px) / 2));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }

.top nav { display: flex; gap: 20px; margin-left: auto; font-size: 15px; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 17px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26, 79, 224, 0.28); }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.button.small { padding: 7px 16px; font-size: 15px; }

/* Sections */

main > section { max-width: 1120px; margin: 0 auto; padding: 96px 20px 0; }

.hero { text-align: center; padding-top: 72px !important; }
.hero-icon { margin: 0 auto 20px; border-radius: 28px; box-shadow: var(--shadow); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 8vw, 84px); margin: 0 0 20px; font-weight: 800; }
h2 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 16px; font-weight: 750; }
h3 { font-size: 20px; margin: 20px 0 6px; }

.gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { font-size: 20px; color: var(--muted); max-width: 760px; margin: 0 auto 28px; }
.feature .lede { margin-left: 0; }

.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.other-mac { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

.meta { display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 15px; margin: 22px 0 48px; }
.meta span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

.badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 14px;
}

/* Screenshots keep their own width (a small recording is not blown up) and never overflow the column. */
.shot {
  width: auto;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin: 8px auto 28px;
  background: var(--bg-soft);
}
.hero-shot { border-radius: 16px; }
.shot.narrow { max-width: min(860px, 100%); }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; }

.num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
}
.num.blue { background: var(--blue); }
.num.purple { background: var(--purple); }
.num.coral { background: var(--coral); }
.num.pink { background: var(--pink); }

/* ⌘T modes */

.modes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
.modes div { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.modes dt { font-weight: 600; margin-bottom: 4px; }
.modes dd { margin: 0; color: var(--muted); font-size: 15px; }

/* Cards and two-column rows */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin: 8px 0 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px 20px; box-shadow: var(--shadow); }
.card img { border-radius: 10px; border: 1px solid var(--line); width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; }
.card p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 20px; }
.split .shot { margin: 0; width: 100%; }
.split p { color: var(--muted); margin: 0 0 8px; }
.split h3:first-child { margin-top: 0; }
.split.reverse { grid-template-columns: 1.2fr 1fr; }

figure { margin: 0; }
figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: -14px; margin-bottom: 20px; }

/* FAQ */

.faq { max-width: 820px !important; }
.faq h2 { text-align: center; margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 19px; padding: 16px 32px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* Call to action and footer */

.cta { text-align: center; padding-bottom: 96px !important; }
.cta img { margin: 0 auto 16px; border-radius: 18px; }

footer {
  border-top: 1px solid var(--line);
  padding: 32px 20px 48px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  background: var(--bg-soft);
}
footer nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; font-size: 15px; }
footer p { margin: 0 auto; max-width: 720px; }

/* Narrow windows */

@media (max-width: 820px) {
  .top nav { display: none; }
  .top .button { margin-left: auto; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 20px; }
  main > section { padding-top: 72px; }
  .lede { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
