:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --bg-soft: #ffffff;
  --card: rgba(255, 255, 255, 0.74);
  --card-strong: rgba(255, 255, 255, 0.92);
  --line: rgba(15, 23, 42, 0.105);
  --text: #111827;
  --muted: #000000;
  --accent: #000000;
  --accent-2: #000000;
  --max: 1200px;
  --radius: 28px;
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  max-width: 100%;
  overflow-x: hidden;
}

/* Lenis-compatible state used by the inertial wheel scroller. */
html.lenis, html.lenis body {
  height: auto;
}

html.lenis.lenis-smooth {
  scroll-behavior: auto;
}

html.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  color: var(--text);
  background: radial-gradient(circle at 50% -14%, rgba(126, 160, 255, 0.34), transparent 34rem), linear-gradient(180deg, #fbfcff 0%, var(--bg) 42%, #ffffff 100%);
  font-family: var(--font-apple);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::selection {
  background: rgba(37, 99, 235, 0.18);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .012;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
}

.brand-mark {
  width: 25px;
  height: 25px;
  position: relative;
  display: inline-block;
  transform: rotate(-4deg);
}

.brand-mark i {
  position: absolute;
  width: 14px;
  height: 21px;
  border-radius: 5px;
  background: linear-gradient(145deg,#6ea8ff,#2d61d8);
  box-shadow: 0 8px 18px rgba(37,99,235,.22);
}

.brand-mark i:first-child {
  left: 0;
  top: 1px;
}

.brand-mark i:last-child {
  right: 0;
  bottom: 1px;
  background: linear-gradient(145deg,#93a4ff,#5b6ee1);
  mix-blend-mode: multiply;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 10px;
  font-weight: 650;
}

.eyebrow > span {
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg,transparent,#4078ff);
}

h1, h2 {
  margin: 0;
  font-weight: 450;
  letter-spacing: -.035em;
  line-height: .98;
}

h1 {
  font-size: clamp(58px, 7.25vw, 96px);
  margin-top: 22px;
}

h1 em, h2 em {
  font-style: normal;
  color: #000;
  background: none;
}

.scroll-fill-heading {
  position:relative;
}

.button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 650;
  transition: transform .22s, box-shadow .22s, background .22s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg,#1d1d1f,#000);
  box-shadow: 0 14px 32px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  color: #1f2937;
  backdrop-filter: blur(10px);
}

.button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.button-secondary span {
  color: #000;
}

.mockup-aura {
  position: absolute;
  inset: 10% 10% -2%;
  background: radial-gradient(ellipse,rgba(37,99,235,.16),transparent 64%);
  filter: blur(55px);
}

kbd {
  font: inherit;
}

.app-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: white;
  font-size: 10px;
  font-style: normal;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.35), 0 3px 8px rgba(0,0,0,.25);
}

.figma {
  background: linear-gradient(145deg,#ff776b,#8559e8);
}

.figma-logo {
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  transform: scale(1.14);
}

.safari {
  background: linear-gradient(145deg,#57cbff,#1978e8);
}

.terminal {
  background: linear-gradient(145deg,#434853,#111319);
}

.notes {
  color: #584b1b;
  background: linear-gradient(#fff 35%,#f8cd4f 36%);
}

.arrow {
  margin-left: auto;
  color: #bec5ff;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  grid-row: 1/3;
  border-radius: 50%;
  background: #88e4b5;
  box-shadow: 0 0 0 4px rgba(136,228,181,.1),0 0 12px #88e4b5;
}

.section-heading {
  max-width: 660px;
}

.section-heading h2 {
  margin-top: 18px;
  font-size: clamp(48px, 6vw, 74px);
}

.section-heading > p {
  color: #000;
  font-size: 15px;
  margin-top: 24px;
}

.brand-mark.large {
  scale:2.1;
}

.section-heading.centered {
  margin-inline:auto;
  text-align:center;
}

.button-large {
  min-height:56px;
  padding:0 24px;
}

/* Real Betterswitch interface — matched to the shipping app. */
.app-icon.discord {
  color:#fff;
  font-size:5px;
  letter-spacing:-1px;
  background:linear-gradient(145deg,#7d86ff,#4d42c5);
}

.app-icon.brave {
  color:#fff;
  background:linear-gradient(145deg,#ff6547,#d72c17);
}

.app-icon.manager {
  color:#596a8b;
  background:linear-gradient(145deg,#f4f7fc,#aab7cd);
}

.app-icon.cursor {
  color:#d8d8d8;
  background:linear-gradient(145deg,#3a3a36,#050505);
}

.app-icon.finder {
  color:#153f75;
  font-size:14px;
  background:linear-gradient(90deg,#29c3ff 0 50%,#dcecff 50%);
}
