*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --nav-h: 52px;
  --radius-tile: 28px;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --fg: #1d1d1f;
  --fg-2: #6e6e73;
  --fg-3: #86868b;
  --hairline: #d2d2d7;
  --brand: #8b5cf6;
  --accent: #1d1d1f;
  --accent-fill: #1d1d1f;
  --accent-fill-hover: #000000;
  --on-accent: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.78);
  --tile-edge: transparent;
  --icon-edge: transparent;
  --glass: rgba(255, 255, 255, 0.64);
  --glass-edge: rgba(0, 0, 0, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --night: #0c1029;
  --on-night: #f5f5f7;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #161617;
    --fg: #f5f5f7;
    --fg-2: #a1a1a6;
    --fg-3: #86868b;
    --hairline: #424245;
    --brand: #a78bfa;
    --accent: #f5f5f7;
    --accent-fill: #f5f5f7;
    --accent-fill-hover: #ffffff;
    --on-accent: #1d1d1f;
    --nav-bg: rgba(22, 22, 23, 0.78);
    --tile-edge: rgba(255, 255, 255, 0.09);
    --icon-edge: rgba(255, 255, 255, 0.14);
    --glass: rgba(36, 36, 38, 0.66);
    --glass-edge: rgba(255, 255, 255, 0.1);
  }
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
  scrollbar-gutter: stable;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.25s;
}

body {
  font: 400 17px/1.47 var(--font);
  letter-spacing: -0.012em;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection {
  background: color-mix(in srgb, var(--fg) 16%, transparent);
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 10px;
  inset-inline-start: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--fg);
  color: var(--bg);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

.skip:focus-visible {
  transform: none;
}

.lang-en [data-only="de"],
.lang-de [data-only="en"],
html[lang="en"] [data-only="de"],
html[lang="de"] [data-only="en"] {
  display: none !important;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.3s ease;
  view-transition-name: site-nav;
}

.nav.sc,
.nav.scrolled {
  box-shadow: 0 1px 0 var(--hairline);
}

.nav__in {
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 19px/1 var(--font-display);
  letter-spacing: -0.022em;
}

.nav__logo em {
  font-style: normal;
  color: var(--brand);
}

.nav__mark {
  width: 26px;
  height: 26px;
}

.nav__links {
  display: flex;
  gap: 34px;
  margin-inline-start: auto;
  list-style: none;
}

.lang {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-2);
  transition: color 0.2s ease;
}

.lang[hidden] {
  display: none;
}

.lang:hover,
.lang:focus-within {
  color: var(--fg);
}

.lang:has(.lang__select:focus-visible) {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
  border-radius: 4px;
}

.lang__icon {
  flex: none;
  width: 12px;
  height: 12px;
}

.lang__select {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  font-size: 16px;
  cursor: pointer;
}

.nav__links a {
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--fg);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nav__links a:hover {
  opacity: 1;
}

.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-inline-end: -12px;
}

.nav__burger span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--fg);
  transition: transform 0.35s var(--ease-out);
}

.nav__burger span:nth-child(1) {
  top: 18px;
}

.nav__burger span:nth-child(2) {
  top: 25px;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mob {
  display: none;
}

.section-title {
  font: 700 clamp(34px, 4.6vw, 56px)/1.07 var(--font-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.section-lead {
  margin-top: 18px;
  max-width: 640px;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.38;
  letter-spacing: -0.016em;
  color: var(--fg-2);
  text-wrap: pretty;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  background: var(--accent-fill);
  color: var(--on-accent);
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.01em;
  transition:
    background-color 0.2s ease,
    transform 0.12s ease-out;
}

.btn:hover {
  background: var(--accent-fill-hover);
}

.btn:active {
  transform: scale(0.97);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-size: 17px;
  line-height: 1.2;
}

.link:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.chev {
  width: 7px;
  height: 12px;
  flex: none;
}

.hero {
  padding: calc(var(--nav-h) + clamp(52px, 10vh, 124px)) 20px clamp(64px, 9vh, 96px);
  overflow-x: clip;
  text-align: center;
}

.hero__title {
  font: 700 clamp(44px, 7.4vw, 92px)/1.03 var(--font-display);
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero__soft {
  color: var(--fg-3);
}

.hero__lead {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.38;
  letter-spacing: -0.016em;
  color: var(--fg-2);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 30px;
  margin-top: 34px;
}

.dock {
  --dock-size: clamp(24px, calc((100vw - 110px) / 9.6), 58px);
  --dock-gap: clamp(5px, 0.9vw, 10px);
  display: inline-block;
  margin-top: clamp(56px, 9vh, 88px);
}

.dock__list {
  display: flex;
  align-items: flex-end;
  gap: var(--dock-gap);
  height: var(--dock-size);
  list-style: none;
}

.dock__item {
  position: relative;
  display: block;
  width: calc(var(--dock-size) * var(--s, 1));
  transition: width 0.32s var(--ease-out);
}

.dock.is-tracking .dock__item {
  transition: width 0.09s linear;
}

.dock__icon {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 22.5%;
  outline: 1px solid var(--icon-edge);
  outline-offset: -1px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.12),
    0 10px 24px -10px rgba(0, 0, 0, 0.3);
}

.dock__item:active .dock__icon {
  filter: brightness(0.82);
}

.dock__label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(40, 40, 42, 0.92);
  color: #f5f5f7;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition:
    opacity 0.15s ease,
    transform 0.25s var(--ease-out);
}

.dock__item:hover .dock__label,
.dock__item:focus-visible .dock__label {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (hover: none) {
  .dock__label {
    display: none;
  }
}

.dock--floating {
  --dock-size: 44px;
  --dock-gap: 8px;
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  margin: 0;
  padding: 8px 10px 13px;
  border-radius: 22px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  box-shadow:
    inset 0 0 0 1px var(--glass-edge),
    0 18px 44px -18px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(100% + 32px));
  transition:
    transform 0.4s var(--ease-out),
    opacity 0.25s ease,
    visibility 0s linear 0.4s;
}

.dock--floating.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition:
    transform 0.4s var(--ease-out),
    opacity 0.25s ease;
}

.dock--floating .dock__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--fg);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dock--floating .dock__item.is-active::after {
  opacity: 0.7;
}

.dock__sep {
  align-self: stretch;
  width: 1px;
  margin: 3px calc(var(--dock-gap) * 0.4);
  background: var(--hairline);
}

.apps {
  padding: 0 clamp(16px, 4vw, 48px) clamp(24px, 3vw, 40px);
}

.apps__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.banner {
  --surface: #0b0b0d;
  --glow: transparent;
  --glow-at: 50% 100%;
  --ink: #f5f5f7;
  --ink-2: rgba(245, 245, 247, 0.7);
  --hue: #f5f5f7;
  --face: var(--font-display);
  --face-text: var(--font);
  --face-weight: 700;
  --face-track: -0.03em;
  --edge: var(--tile-edge);
  --w: clamp(150px, 15.5vw, 204px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(40px, 4.4vw, 56px) 28px 0;
  border-radius: var(--radius-tile);
  background:
    radial-gradient(ellipse 72% 58% at var(--glow-at), var(--glow), transparent 72%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--edge);
  color: var(--ink);
  text-align: center;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.banner ::selection {
  background: color-mix(in srgb, var(--hue) 34%, transparent);
  color: var(--ink);
}

.banner__text {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 460px;
}

.banner__app {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 22.5%;
  outline: 1px solid rgba(255, 255, 255, 0.16);
  outline-offset: -1px;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5);
}

.banner__name {
  font: var(--face-weight) clamp(20px, 1.75vw, 24px)/1.1 var(--face);
  letter-spacing: -0.02em;
}

.banner__claim {
  margin-top: clamp(18px, 2vw, 26px);
  font: var(--face-weight) clamp(30px, 3vw, 42px)/1.06 var(--face);
  letter-spacing: var(--face-track);
  text-wrap: balance;
}

.banner__claim em {
  display: inline-block;
  font-style: normal;
  color: var(--hue);
}

.banner__tagline {
  max-width: 38ch;
  margin-top: 14px;
  font: 400 clamp(16px, 1.3vw, 18px)/1.45 var(--face-text);
  letter-spacing: -0.01em;
  color: var(--ink-2);
  text-wrap: pretty;
}

.banner__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.store {
  display: block;
  border-radius: 8px;
  transition: transform 0.12s ease-out;
}

.store:active {
  transform: scale(0.97);
}

.store img {
  width: auto;
  height: 40px;
}

.banner__devices {
  position: relative;
  z-index: 2;
  flex: none;
  width: calc(100% + 56px);
  height: calc(var(--w) * 1.42 + 44px);
  margin: auto -28px 0;
}

.device {
  position: absolute;
  left: 50%;
  height: auto;
  user-select: none;
}

.device--front {
  z-index: 2;
  top: 44px;
  width: var(--w);
  margin-left: calc(var(--w) * -0.5);
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.55));
}

.device--left,
.device--right {
  top: calc(44px + var(--w) * 0.24);
  width: calc(var(--w) * 0.86);
}

.device--left {
  margin-left: calc(var(--w) * -1.1);
}

.device--right {
  margin-left: calc(var(--w) * 0.24);
}

.banner--wide {
  --w: clamp(160px, 16vw, 222px);
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: stretch;
  min-height: clamp(500px, 44vw, 600px);
  padding: 0;
  text-align: start;
}

.banner--reverse {
  flex-direction: row-reverse;
}

.banner--wide .banner__text {
  flex: 0 1 46%;
  justify-content: center;
  align-items: flex-start;
  max-width: none;
  padding: clamp(44px, 5vw, 76px);
}

.banner--wide .banner__claim {
  max-width: 12em;
  font-size: clamp(40px, 4.4vw, 62px);
}

.banner--wide .banner__stores {
  justify-content: flex-start;
}

.banner--wide .banner__devices {
  flex: 1 1 54%;
  width: auto;
  height: auto;
  margin: 0;
}

.banner--wide .device--front {
  top: clamp(52px, 6vw, 80px);
}

.banner--wide .device--left,
.banner--wide .device--right {
  top: calc(clamp(52px, 6vw, 80px) + var(--w) * 0.24);
}

.banner__devices--mac {
  display: grid;
  place-items: center;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px);
}

.device--mac {
  position: static;
  width: min(100%, 680px);
  filter: drop-shadow(0 34px 40px rgba(0, 0, 0, 0.6));
}

.banner__visual {
  flex: 1 1 54%;
  display: grid;
  place-items: center;
  padding: 48px;
}

.banner__hero-icon {
  width: clamp(140px, 15vw, 208px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 22.5%;
  outline: 1px solid rgba(255, 255, 255, 0.14);
  outline-offset: -1px;
  box-shadow: 0 40px 70px -28px rgba(0, 0, 0, 0.8);
}

.banner__status {
  margin-top: 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.008em;
  color: var(--ink-2);
}

.banner__link {
  margin-top: 10px;
  color: var(--ink);
}

.banner__note {
  margin-top: 30px;
  font-size: 13px;
  color: var(--ink-2);
}

.banner--been {
  --surface: #040a07;
  --glow: rgba(72, 219, 142, 0.3);
  --glow-at: 76% 4%;
  --ink: #f3fcf7;
  --ink-2: #9db1a6;
  --hue: #48db8e;
  --face: "Space Grotesk", var(--font-display);
  --face-text: "Instrument Sans", var(--font);
  --face-track: -0.035em;
}

.banner--been::before {
  top: 50%;
  left: var(--motif-x, 76%);
  width: clamp(520px, 56vw, 760px);
  aspect-ratio: 1;
  translate: -50% -38%;
  background: url("/assets/apps/been/motif.svg") center / contain no-repeat;
  opacity: 0.3;
}

.banner--belegpilot {
  --surface: #17110f;
  --glow: rgba(176, 27, 34, 0.42);
  --glow-at: 50% 100%;
  --ink: #17110f;
  --ink-2: #6b605d;
  --hue: #b01b22;
  --edge: rgba(23, 17, 15, 0.1);
  --face: "Plus Jakarta Sans", var(--font-display);
  --face-text: "Plus Jakarta Sans", var(--font);
  --face-weight: 800;
  --face-track: -0.035em;
}

.banner--belegpilot {
  background:
    radial-gradient(ellipse 72% 58% at var(--glow-at), var(--glow), transparent 72%),
    linear-gradient(#ffffff 0 48px, var(--surface) 48px);
  box-shadow: none;
}

.banner--belegpilot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--edge);
  pointer-events: none;
}

.banner--belegpilot .banner__text {
  z-index: auto;
}

@media (prefers-color-scheme: dark) {
  .banner--belegpilot {
    --edge: var(--tile-edge);
  }
}

.banner--belegpilot .banner__text::before {
  --tooth: 14px;
  content: "";
  position: absolute;
  z-index: -1;
  inset: -200px -100vw calc(var(--tooth) * -1 - 34px);
  background: #ffffff;
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth) + 1px) no-repeat,
    conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x;
  mask:
    linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth) + 1px) no-repeat,
    conic-gradient(from -45deg at 50% 100%, #000 90deg, #0000 0) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x;
}

.banner--belegpilot .banner__icon {
  outline-color: rgba(23, 17, 15, 0.08);
  box-shadow: 0 6px 16px -8px rgba(176, 27, 34, 0.55);
}

.banner--dartbuddy {
  --surface: #0c0406;
  --glow: rgba(240, 56, 78, 0.34);
  --glow-at: 50% 100%;
  --ink: #fbf3f4;
  --ink-2: #bba7aa;
  --hue: #f2475b;
  --face: "Sora", var(--font-display);
  --face-text: "Inter", var(--font);
  --face-track: -0.04em;
}

.banner--dartbuddy::before {
  bottom: 0;
  left: 50%;
  width: clamp(560px, 62vw, 820px);
  aspect-ratio: 1;
  translate: -50% 58%;
  background: url("/assets/apps/dartbuddy/motif.svg") center / contain no-repeat;
  opacity: 0.5;
}

.banner--habitcraft {
  --surface: #0c0906;
  --glow: rgba(251, 170, 82, 0.24);
  --glow-at: 26% 0%;
  --ink: #f4f1ec;
  --ink-2: #b4aba1;
  --hue: #fbaa52;
  --face: "Fredoka", var(--font-display);
  --face-text: "Nunito", var(--font);
  --face-weight: 700;
  --face-track: -0.02em;
}

.banner--habitcraft::before {
  inset-block: 0;
  inset-inline: 0 46%;
  background: url("/assets/apps/habitcraft/motif.svg") 50% 28px / auto no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 34%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse 62% 70% at 50% 34%, #000 18%, transparent 76%);
  opacity: 0.42;
}

.banner--highmate {
  --surface: #07100b;
  --glow: rgba(52, 211, 153, 0.24);
  --glow-at: 50% 0%;
  --ink: #f3fbf6;
  --ink-2: #93a69b;
  --hue: #34d399;
  --face-weight: 800;
  --face-track: -0.035em;
}

.banner--weightlog {
  --surface: #0b0812;
  --glow: rgba(228, 114, 240, 0.24);
  --glow-at: 50% 0%;
  --ink: #f7f3fa;
  --ink-2: #b3aabd;
  --hue: #e979f3;
  --face: "Fredoka", var(--font-display);
  --face-text: "Nunito", var(--font);
  --face-weight: 700;
  --face-track: -0.02em;
}

.banner--weightlog::before {
  left: 0;
  right: 0;
  bottom: calc(var(--w) * 0.62);
  height: calc(var(--w) * 1.25);
  background: url("/assets/apps/weightlog/motif.svg") center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
  opacity: 0.6;
}

.banner--sobercoach {
  --surface: #100d0b;
  --glow: rgba(247, 187, 67, 0.2);
  --glow-at: 50% 100%;
  --ink: #f8f2e9;
  --ink-2: #c2b5a4;
  --hue: #f7bb43;
  --face: "Bricolage Grotesque", var(--font-display);
  --face-text: "Inter", var(--font);
  --face-weight: 800;
  --face-track: -0.035em;
}

.banner--sobercoach::before {
  bottom: calc(30px - var(--w) * 1.01);
  left: 50%;
  width: calc(var(--w) * 2.6);
  aspect-ratio: 1;
  translate: -50% 0;
  background: url("/assets/apps/sobercoach/motif.svg") center / contain no-repeat;
  opacity: 0.5;
}

.banner--mathly {
  --surface: #06070b;
  --glow: rgba(244, 117, 43, 0.3);
  --glow-at: 50% 100%;
  --ink: #f5f1ea;
  --ink-2: #a8a096;
  --hue: #f4752b;
  --face: "Space Grotesk", var(--font-display);
  --face-text: "Inter", var(--font);
  --face-track: -0.035em;
}

.banner--mathly::before {
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--w) * 1.42 + 20px);
  background: url("/assets/apps/mathly/motif.svg") 50% 0 / auto calc(var(--w) * 1.1) repeat-x;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  opacity: 0.32;
}

.banner--unpuffed {
  --surface: #050b10;
  --glow: rgba(44, 151, 211, 0.32);
  --glow-at: 76% 50%;
  --ink: #f2f8fc;
  --ink-2: #9fb1be;
  --hue: #3b9ee0;
  --face-track: -0.02em;
}

.banner--storeshot {
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.72);
  --hue: #7cf5d2;
  background:
    radial-gradient(ellipse 80% 90% at 34% 46%, #1b2858, #050914 82%);
}

.banner--storeshot::before {
  inset: 0;
  background: url("/assets/apps/storeshot/grid.svg") 0 0 / 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 34% 46%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 80% at 34% 46%, #000, transparent 80%);
}

.banner--shotowl {
  --surface: #140904;
  --glow: rgba(238, 74, 23, 0.34);
  --glow-at: 74% 54%;
  --ink: #fff7f2;
  --ink-2: #e9c6b2;
  --hue: #ff9442;
  --face-track: -0.038em;
}

.capture {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 16 / 11;
  font-size: clamp(8px, 0.95vw, 12px);
  direction: ltr;
  text-align: left;
}

.capture__win {
  position: absolute;
  inset: 0 5% 13% 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fbfbfd;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
}

.capture__bar {
  display: flex;
  align-items: center;
  gap: 0.55em;
  height: 2.4em;
  padding: 0 1em;
  background: #ececef;
  border-bottom: 1px solid #dcdce0;
}

.capture__bar i {
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: #ff5f57;
}

.capture__bar i:nth-child(2) {
  background: #febc2e;
}

.capture__bar i:nth-child(3) {
  background: #28c840;
}

.capture__body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2em;
  padding: 2.2em 2.2em;
}

.capture__list,
.capture__card {
  display: flex;
  flex-direction: column;
}

.capture__list i,
.capture__card > i,
.capture__card > b {
  display: block;
  height: 0.9em;
  border-radius: 3px;
  background: #e3e3e8;
}

.capture__list i {
  margin-bottom: 1.6em;
}

.capture__list i:first-child {
  width: 62%;
  height: 1.5em;
  background: #c9c9cf;
}

.capture__list i:nth-child(3) {
  width: 84%;
}

.capture__card {
  position: relative;
  align-self: start;
  padding: 1.3em;
  border: 1px solid #e6e6ea;
  border-radius: 10px;
}

.capture__card > i:first-child {
  width: 55%;
  height: 1.6em;
  margin-bottom: 1.2em;
  background: #c9c9cf;
}

.capture__card > b {
  height: 2.6em;
  border-radius: 8px;
  background: #8e8e96;
}

.capture__card > .capture__err {
  width: 88%;
  margin-top: 1em;
  background: #e0533a;
}

.capture__sel {
  position: absolute;
  inset: -0.9em;
  border-radius: 4px;
  box-shadow: 0 0 0 9999px rgba(20, 9, 4, 0.4);
}

.capture__sel i {
  position: absolute;
  width: 2.2em;
  height: 2.2em;
  border: 0 solid #ffffff;
  filter: drop-shadow(0 2px 4px rgba(122, 30, 0, 0.45));
}

.capture__sel i:nth-child(1) {
  left: -0.4em;
  top: -0.4em;
  border-width: 0.38em 0 0 0.38em;
  border-top-left-radius: 0.9em;
}

.capture__sel i:nth-child(2) {
  right: -0.4em;
  top: -0.4em;
  border-width: 0.38em 0.38em 0 0;
  border-top-right-radius: 0.9em;
}

.capture__sel i:nth-child(3) {
  left: -0.4em;
  bottom: -0.4em;
  border-width: 0 0 0.38em 0.38em;
  border-bottom-left-radius: 0.9em;
}

.capture__sel i:nth-child(4) {
  right: -0.4em;
  bottom: -0.4em;
  border-width: 0 0.38em 0.38em 0;
  border-bottom-right-radius: 0.9em;
}

.capture__size {
  position: absolute;
  left: 50%;
  bottom: -2.7em;
  translate: -50% 0;
  padding: 0.25em 0.75em;
  border-radius: 999px;
  background: rgba(20, 9, 4, 0.82);
  color: #ffffff;
  font: 600 1em/1.4 ui-monospace, "SF Mono", Menlo, monospace;
  white-space: nowrap;
}

.capture__flash {
  position: absolute;
  inset: 0;
  background: #ffffff;
  opacity: 0;
}

.capture__toast {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(300px, 64%);
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(36, 20, 12, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 220, 200, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  color: var(--ink);
}

.capture__thumb {
  flex: none;
  width: 60px;
  aspect-ratio: 16 / 10;
  border-radius: 7px;
  background:
    linear-gradient(#e0533a, #e0533a) 18% 76% / 50% 12% no-repeat,
    linear-gradient(#c9c9cf, #c9c9cf) 18% 24% / 40% 14% no-repeat,
    #fbfbfd;
}

.capture__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.capture__t {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.capture__t svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-inline-end: 6px;
  vertical-align: -2px;
  color: var(--hue);
}

.capture__url {
  margin-top: 2px;
  overflow: hidden;
  font: 12px/1.3 ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--ink-2);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.capture.is-ready .capture__sel {
  clip-path: inset(0 100% 100% 0);
  box-shadow: 0 0 0 9999px rgba(20, 9, 4, 0);
}

.capture.is-ready .capture__size,
.capture.is-ready .capture__toast {
  opacity: 0;
}

.capture.is-playing .capture__sel {
  animation: capture-select 0.9s var(--ease-out) 0.3s both;
}

.capture.is-playing .capture__size {
  animation: capture-label 0.4s var(--ease-out) 1.05s both;
}

.capture.is-playing .capture__flash {
  animation: capture-flash 0.42s ease-out 1.7s both;
}

.capture.is-playing .capture__toast {
  animation: capture-toast 0.6s var(--ease-out) 1.95s both;
}

@keyframes capture-select {
  from {
    clip-path: inset(0 100% 100% 0);
    box-shadow: 0 0 0 9999px rgba(20, 9, 4, 0);
  }
  to {
    clip-path: inset(-9999px);
    box-shadow: 0 0 0 9999px rgba(20, 9, 4, 0.4);
  }
}

@keyframes capture-label {
  from {
    opacity: 0;
    translate: -50% -4px;
  }
  to {
    opacity: 1;
    translate: -50% 0;
  }
}

@keyframes capture-flash {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
  }
}

@keyframes capture-toast {
  from {
    opacity: 0;
    transform: translate(16px, 12px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.banner--travelwithme {
  --surface: #040306;
  --glow: rgba(120, 40, 150, 0.3);
  --glow-at: 76% 50%;
  --ink: #ffffff;
  --ink-2: #c9c2ce;
  --hue: #ffffff;
}

.banner--travelwithme .banner__name {
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.banner--travelwithme .banner__tagline {
  margin-top: 14px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(8px);
  }
}

@keyframes icon-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes fan-open {
  from {
    transform: translate(-50%, -44%) rotate(0deg) scale(0.9);
  }
}

@keyframes banner-grow {
  from {
    scale: 0.96;
  }
  to {
    scale: 1;
  }
}

@keyframes device-rise {
  from {
    translate: 0 12%;
  }
}

@keyframes fan-left {
  from {
    translate: 64% 6%;
  }
}

@keyframes fan-right {
  from {
    translate: -64% 6%;
  }
}

.work,
.why,
.process {
  padding: clamp(88px, 12vw, 150px) 20px;
}

.figs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px) clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 6vw, 80px);
}

.fig {
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.fig__num {
  font: 700 clamp(56px, 8.4vw, 104px)/0.95 var(--font-display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.fig__text {
  margin-top: 18px;
  max-width: 32ch;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.4;
  color: var(--fg-2);
  text-wrap: pretty;
}

.fig__src {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  color: var(--fg-2);
}

.fig__src sup {
  margin-inline-start: 1px;
  font-size: 0.8em;
  line-height: 0;
  vertical-align: super;
}

.versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 32px 56px;
  align-items: start;
  margin-top: clamp(72px, 9vw, 112px);
}

.versus__title {
  font: 600 21px/1.25 var(--font-display);
  letter-spacing: -0.02em;
}

.versus__text {
  margin-top: 8px;
  max-width: 40ch;
  color: var(--fg-2);
  text-wrap: pretty;
}

.bars {
  display: grid;
  gap: 24px;
  list-style: none;
}

.bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px 16px;
}

.bar__label {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-2);
}

.bar__value {
  grid-area: 1 / 2;
  font: 700 21px/1 var(--font-display);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.bar__track {
  grid-column: 1 / -1;
  display: block;
  height: 14px;
}

.bar__fill {
  display: block;
  height: 100%;
  border-radius: 7px;
  background: var(--fg);
}

.bar__fill--top {
  width: 89%;
}

.bar__fill--median {
  width: 28%;
}

.bar__fill--mail {
  width: 22%;
  background: none;
  box-shadow: inset 0 0 0 1.5px var(--fg-3);
}

.bar--muted .bar__value {
  color: var(--fg-2);
}

.versus__note {
  grid-column: 2;
  font-size: 12px;
  color: var(--fg-2);
}

.sources {
  display: grid;
  gap: 4px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-inline-start: 1.5em;
  font-size: 12px;
  color: var(--fg-2);
}

.sources a {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.2em;
}

.sources a:hover {
  color: var(--fg);
  text-decoration-color: currentColor;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px 32px;
  margin-top: clamp(44px, 5vw, 64px);
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 64px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-fill);
  color: var(--on-accent);
  font: 600 17px/1 var(--font-display);
  font-variant-numeric: tabular-nums;
}

.step::after {
  content: "";
  position: absolute;
  top: 20px;
  inset-inline: 40px -32px;
  height: 1px;
  background: var(--hairline);
}

.step:last-child::after {
  display: none;
}

.step__title {
  font: 600 21px/1.25 var(--font-display);
  letter-spacing: -0.02em;
}

.step__text {
  margin-top: 8px;
  color: var(--fg-2);
  text-wrap: pretty;
}

.work__in,
.why__in,
.process__in,
.faq__in {
  max-width: 980px;
  margin: 0 auto;
}

.work__in {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px clamp(40px, 6vw, 88px);
  align-items: center;
}

.work__list {
  margin-top: clamp(36px, 4vw, 52px);
  border-bottom: 1px solid var(--hairline);
  list-style: none;
}

.work__item {
  padding: 20px 0 22px;
  border-top: 1px solid var(--hairline);
}

.work__visual {
  --w: clamp(150px, 17vw, 220px);
  position: relative;
  height: calc(var(--w) * 2.45);
}

.work__shot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--w);
  height: auto;
  aspect-ratio: 560 / 1224;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.32));
  transform: translate(-50%, -50%);
}

.work__shot--outer-left {
  transform: translate(-196%, -42%) rotate(-11deg);
}

.work__shot--outer-right {
  transform: translate(96%, -42%) rotate(11deg);
}

.work__shot--left {
  z-index: 1;
  transform: translate(-128%, -48%) rotate(-5deg);
}

.work__shot--right {
  z-index: 1;
  transform: translate(28%, -48%) rotate(5deg);
}

.work__shot--center {
  z-index: 2;
  transform: translate(-50%, -53%);
}

.work__item h3 {
  font: 600 21px/1.25 var(--font-display);
  letter-spacing: -0.02em;
}

.work__item p {
  margin-top: 6px;
  max-width: 48ch;
  color: var(--fg-2);
}

.why {
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px);
}

.why__in {
  --fg: var(--on-night);
  --fg-2: color-mix(in srgb, var(--on-night) 66%, transparent);
  --fg-3: color-mix(in srgb, var(--on-night) 50%, transparent);
  --hairline: color-mix(in srgb, var(--on-night) 18%, transparent);
  --accent: var(--on-night);
  max-width: 1180px;
  padding: clamp(64px, 9vw, 124px) clamp(24px, 8vw, 100px);
  border-radius: var(--radius-tile);
  background: var(--night);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--tile-edge);
}

.why__in ::selection {
  background: color-mix(in srgb, var(--on-night) 24%, transparent);
}

.work__in {
  max-width: 1180px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 0;
  text-align: center;
}

.work__copy {
  display: contents;
}

.work .section-title {
  font-size: clamp(40px, 6.2vw, 80px);
  letter-spacing: -0.035em;
}

.work .section-lead {
  margin-inline: auto;
}

.work__visual {
  --w: clamp(112px, 15vw, 210px);
  order: 1;
  width: 100%;
  height: calc(var(--w) * 2.35);
  margin-top: clamp(40px, 5vw, 72px);
}

.work__list {
  order: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 40px);
  width: 100%;
  margin-top: clamp(40px, 5vw, 72px);
  border-bottom: 0;
  text-align: start;
}

.work__item {
  padding: 22px 0 0;
}

.process__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 clamp(40px, 6vw, 88px);
  align-items: end;
}

.process .section-lead {
  margin-top: 0;
  padding-bottom: 6px;
}

.process .steps {
  --num: clamp(64px, 7.4vw, 96px);
  grid-column: 1 / -1;
  margin-top: clamp(56px, 7vw, 96px);
}

.process .step {
  padding-top: calc(var(--num) + 28px);
}

.process .step::before {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--fg);
  font: 700 var(--num)/0.82 var(--font-display);
  letter-spacing: -0.04em;
}

.process .step::after {
  top: calc(var(--num) * 0.4);
  inset-inline: calc(var(--num) * 0.78) 8px;
}

.faq {
  padding: clamp(88px, 12vw, 150px) 20px;
}

.faq__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 36px 64px;
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.faq__more {
  margin-top: 18px;
  color: var(--fg-2);
}

.faq__list {
  border-bottom: 1px solid var(--hairline);
}

.faq-i {
  border-top: 1px solid var(--hairline);
}

.faq-h {
  font: inherit;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 0;
  text-align: start;
  font: 600 clamp(17px, 1.6vw, 21px)/1.36 var(--font-display);
  letter-spacing: -0.018em;
}

.faq-q svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--fg-2);
  transition: transform 0.4s var(--ease-out);
}

.faq-q.open svg {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}

.faq-a.open {
  grid-template-rows: 1fr;
}

.faq-a__in {
  overflow: hidden;
}

.faq-a__text {
  max-width: 62ch;
  padding-bottom: 26px;
  color: var(--fg-2);
  line-height: 1.55;
}

.contact {
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px) clamp(88px, 11vw, 140px);
}

.contact__tile {
  --accent-fill: var(--night);
  --on-accent: var(--on-night);
  --accent: var(--on-night);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(80px, 11vw, 150px) 24px;
  border-radius: var(--radius-tile);
  background: var(--accent-fill);
  color: var(--on-accent);
  text-align: center;
  box-shadow: inset 0 0 0 1px var(--tile-edge);
}

.contact__mark {
  --m: clamp(300px, 40vw, 500px);
  position: absolute;
  z-index: -1;
  inset-inline-end: calc(var(--m) * -0.2);
  bottom: calc(var(--m) * -0.5);
  width: var(--m);
  height: auto;
}

.contact__tile .section-title {
  font-size: clamp(40px, 6.4vw, 80px);
  letter-spacing: -0.035em;
}

.contact__tile .section-lead {
  margin-inline: auto;
  color: color-mix(in srgb, var(--on-accent) 68%, transparent);
}

.contact__tile .btn {
  margin-top: 38px;
  background: var(--on-accent);
  color: var(--accent-fill);
}

.contact__tile .btn:hover {
  background: color-mix(in srgb, var(--on-accent) 88%, var(--accent-fill));
}

.contact__alt {
  margin-top: 20px;
  font-size: 14px;
  color: color-mix(in srgb, var(--on-accent) 68%, transparent);
}

.contact__alt a {
  color: var(--on-accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.2em;
}

.contact__alt a:hover {
  text-decoration-color: currentColor;
}

.ft {
  padding: clamp(48px, 6vw, 72px) 20px 28px;
  border-top: 1px solid var(--hairline);
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.ft__in {
  max-width: 980px;
  margin: 0 auto;
}

.ft__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px 64px;
  padding-bottom: clamp(36px, 4vw, 48px);
  border-bottom: 1px solid var(--hairline);
}

.ft__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 700 19px/1 var(--font-display);
  letter-spacing: -0.022em;
  color: var(--fg);
}

.ft__logo em {
  font-style: normal;
  color: var(--brand);
}

.ft__logo svg {
  width: 26px;
  height: 26px;
}

.ft__tag {
  margin-top: 14px;
}

.ft__mail {
  margin-top: 2px;
}

.ft__mail a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.2em;
}

.ft__mail a:hover {
  text-decoration-color: currentColor;
}

.ft__dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, auto));
  gap: 32px clamp(40px, 7vw, 96px);
}

.ft__h {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--fg);
}

.ft__col ul {
  display: grid;
  gap: 2px;
  list-style: none;
}

.ft__col a {
  display: inline-block;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.ft__col a:hover {
  color: var(--fg);
}

.ft__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  font-size: 12px;
  color: var(--fg-2);
}

.legal-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(56px, 9vh, 96px)) 20px clamp(32px, 5vw, 48px);
}

.legal-hero__title {
  font: 700 clamp(40px, 6vw, 64px)/1.05 var(--font-display);
  letter-spacing: -0.032em;
}

.legal-hero__sub {
  margin-top: 16px;
  max-width: 640px;
  font-size: clamp(19px, 1.9vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.016em;
  color: var(--fg-2);
}

.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}

.legal-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
}

.legal-layout {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px clamp(80px, 10vw, 120px);
}

.legal-section {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.legal-card {
  padding: clamp(32px, 4vw, 44px) 0;
  border-top: 1px solid var(--hairline);
}

.legal-card .section-title {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.022em;
}

.accent {
  color: inherit;
}

.legal-text {
  max-width: 66ch;
  color: var(--fg);
  line-height: 1.6;
}

.legal-text p + p {
  margin-top: 14px;
}

.legal-text strong {
  font-weight: 600;
}

.legal-text a,
.contact-block__row a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.2em;
}

.legal-text a:hover,
.contact-block__row a:hover {
  text-decoration-color: currentColor;
}

.legal-text ul:not(.data-list) {
  margin: 14px 0;
  padding-inline-start: 1.2em;
}

.legal-text ul:not(.data-list) li + li {
  margin-top: 6px;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 24px 0;
}

.info-box svg {
  flex: none;
  margin-top: 2px;
  color: var(--fg-2);
}

.info-box__content {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
}

.info-box__content strong {
  color: var(--fg);
  font-weight: 600;
}

.data-list {
  margin: 18px 0;
  list-style: none;
  border-bottom: 1px solid var(--hairline);
}

.data-list li {
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
  color: var(--fg-2);
}

.data-list--rich li {
  display: grid;
  grid-template-columns: minmax(0, 13em) minmax(0, 1fr);
  gap: 4px 24px;
}

.data-list__name {
  font-weight: 600;
  color: var(--fg);
}

.data-list__desc {
  line-height: 1.5;
}

.contact-block {
  margin: 18px 0;
}

.contact-block__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}

.contact-block__row svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--fg-3);
}

.contact-block__row strong {
  font-weight: 600;
}

.err {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: calc(var(--nav-h) + 24px) 20px 64px;
  text-align: center;
}

.err__title {
  font: 700 clamp(34px, 5vw, 56px)/1.08 var(--font-display);
  letter-spacing: -0.03em;
}

.err__text {
  margin-bottom: 18px;
  font-size: 19px;
  color: var(--fg-2);
}

@media (max-width: 1068px) {
  .banner {
    padding-inline: 22px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(2n)::after {
    display: none;
  }

  .work__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 833px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: block;
  }

  .mob {
    position: fixed;
    inset: var(--nav-h) 0 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: 20px 32px 40px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s ease,
      visibility 0s linear 0.25s;
  }

  .mob.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease;
  }

  .mob a {
    padding: 8px 0;
    font: 600 28px/1.25 var(--font-display);
    letter-spacing: -0.02em;
    transform: translateY(-8px);
    transition: transform 0.45s var(--ease-out);
  }

  .mob.open a {
    transform: none;
  }

  .work__in {
    grid-template-columns: 1fr;
  }

  .work__visual {
    --w: 20vw;
  }

  .process__in {
    grid-template-columns: 1fr;
  }

  .process .section-lead {
    margin-top: 18px;
  }

  .nav__burger {
    margin-inline-start: auto;
  }

  .versus,
  .faq__in {
    grid-template-columns: 1fr;
  }

  .versus__note {
    grid-column: auto;
  }

  .faq__intro {
    position: static;
  }
}

@media (max-width: 734px) {
  :root {
    --radius-tile: 24px;
  }

  .apps__grid {
    grid-template-columns: 1fr;
  }

  .banner,
  .banner--wide,
  .banner--reverse {
    --w: 38vw;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 44px 20px 0;
    text-align: center;
  }

  .banner--wide .banner__text {
    flex: none;
    align-items: center;
    padding: 0;
  }

  .banner--wide .banner__claim {
    font-size: clamp(34px, 9vw, 44px);
  }

  .banner--wide .banner__stores {
    justify-content: center;
  }

  .banner__devices,
  .banner--wide .banner__devices {
    flex: none;
    width: calc(100% + 40px);
    height: calc(var(--w) * 1.42 + 40px);
    margin: auto -20px 0;
  }

  .banner--wide .device--front {
    top: 40px;
  }

  .banner--wide .device--left,
  .banner--wide .device--right {
    top: calc(40px + var(--w) * 0.24);
  }

  .banner__devices--mac,
  .banner--wide .banner__devices--mac {
    height: auto;
    padding: 36px 0 32px;
  }

  .banner--been::before {
    top: auto;
    bottom: 0;
    left: 50%;
    width: 150vw;
    translate: -50% 62%;
  }

  .banner--habitcraft::before {
    inset: auto 0 0;
    height: calc(var(--w) * 1.42 + 16px);
    background-position: 50% 0;
    background-size: auto 100%;
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
    mask-image: linear-gradient(to bottom, #000 30%, transparent);
  }

  .dock--floating {
    display: none;
  }

  .banner__visual {
    padding: 40px 0 48px;
  }

  .banner--shotowl .banner__visual {
    align-self: stretch;
  }

  .capture {
    font-size: 2.3vw;
  }

  .capture__body {
    grid-template-columns: 1fr 1.4fr;
  }

  .capture__toast {
    width: 82%;
  }

  .data-list--rich li {
    grid-template-columns: 1fr;
  }

  .figs {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .work__list {
    grid-template-columns: 1fr;
  }

  .process .steps {
    --num: 52px;
  }

  .process .step {
    padding: 2px 0 0 76px;
  }

  .process .step::after,
  .process .step:nth-child(2n)::after {
    display: block;
    top: calc(var(--num) + 14px);
    bottom: -26px;
    inset-inline: 18px auto;
    width: 1px;
    height: auto;
  }

  .contact__mark {
    --m: 340px;
    inset-inline-end: 50%;
    margin-inline-end: calc(var(--m) * -0.5);
  }

  .contact__tile {
    padding-bottom: 168px;
  }

  .step:last-child::after {
    display: none;
  }
  .ft__top {
    grid-template-columns: 1fr;
  }

  .ft__dir {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .intro .hero__title,
  .intro .hero__lead,
  .intro .hero__actions {
    animation: rise-in 0.65s var(--ease-out) both;
  }

  .intro .hero__lead {
    animation-delay: 60ms;
  }

  .intro .hero__actions {
    animation-delay: 120ms;
  }

  .intro .hero .dock__list > li {
    animation: icon-in 0.42s var(--ease-out) both;
    animation-delay: 200ms;
  }

  .intro .hero .dock__list > li:nth-child(2) {
    animation-delay: 230ms;
  }

  .intro .hero .dock__list > li:nth-child(3) {
    animation-delay: 260ms;
  }

  .intro .hero .dock__list > li:nth-child(4) {
    animation-delay: 290ms;
  }

  .intro .hero .dock__list > li:nth-child(5) {
    animation-delay: 320ms;
  }

  .intro .hero .dock__list > li:nth-child(6) {
    animation-delay: 350ms;
  }

  .intro .hero .dock__list > li:nth-child(7) {
    animation-delay: 380ms;
  }

  .intro .hero .dock__list > li:nth-child(8) {
    animation-delay: 410ms;
  }

  .intro .hero .dock__list > li:nth-child(9) {
    animation-delay: 440ms;
  }

  .intro .hero .dock__list > li:nth-child(10) {
    animation-delay: 470ms;
  }

  @supports (animation-timeline: view()) {
    .banner {
      animation: banner-grow linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }

    .device--front,
    .device--mac {
      animation: device-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 40%;
    }

    .device--left,
    .device--right {
      animation: fan-left linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 45%;
    }

    .device--right {
      animation-name: fan-right;
    }

    .why__in,
    .contact__tile {
      animation: banner-grow linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }

    .work__shot {
      animation: fan-open linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 50%;
    }
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] .is-in .fig {
    transition:
      opacity 0.7s var(--ease-out),
      transform 0.7s var(--ease-out),
      filter 0.7s var(--ease-out);
  }

  [data-reveal] .figs:not(.is-in) .fig {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(6px);
  }

  [data-reveal] .is-in .fig:nth-child(2) {
    transition-delay: 80ms;
  }

  [data-reveal] .is-in .fig:nth-child(3) {
    transition-delay: 160ms;
  }

  [data-reveal] .is-in .fig:nth-child(4) {
    transition-delay: 240ms;
  }

  [data-reveal] .is-in .bar__fill {
    transition: clip-path 1.2s var(--ease-out);
  }

  [data-reveal] .versus:not(.is-in) .bar__fill {
    clip-path: inset(0 100% 0 0);
  }

  [dir="rtl"] [data-reveal] .versus:not(.is-in) .bar__fill {
    clip-path: inset(0 0 0 100%);
  }

  [data-reveal] .is-in .bar:nth-child(2) .bar__fill {
    transition-delay: 120ms;
  }

  [data-reveal] .is-in .bar:nth-child(3) .bar__fill {
    transition-delay: 240ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] .is-in .fig {
    transition: opacity 0.3s ease;
  }

  [data-reveal] .figs:not(.is-in) .fig {
    opacity: 0;
  }

  @view-transition {
    navigation: none;
  }

  .intro .hero__title,
  .intro .hero__lead,
  .intro .hero__actions,
  .intro .hero .dock {
    animation: fade-in 0.3s ease both;
  }

  .dock--floating,
  .dock--floating.is-shown {
    transform: translate(-50%, 0);
    transition:
      opacity 0.2s ease,
      visibility 0s linear 0.2s;
  }

  .dock--floating.is-shown {
    transition: opacity 0.2s ease;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .dock--floating {
    background: var(--bg-alt);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

[dir="rtl"] .banner--been {
  --motif-x: 24%;
}

[dir="rtl"] .chev {
  scale: -1 1;
}

:lang(ar),
:lang(ur),
:lang(he),
:lang(hi),
:lang(bn),
:lang(gu),
:lang(kn),
:lang(ml),
:lang(mr),
:lang(or),
:lang(pa),
:lang(ta),
:lang(te),
:lang(th) {
  letter-spacing: 0 !important;
}

:lang(ta) .hero__title,
:lang(ml) .hero__title {
  font-size: clamp(30px, 6vw, 80px);
}

:lang(ta) .section-title,
:lang(ml) .section-title {
  font-size: clamp(26px, 3.8vw, 48px);
}
