@font-face {
  font-family: Roboto;
  src: url("/assets/fonts/roboto.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0d1c2a;
  --ink-2: #47545f;
  --muted: #66727c;
  --line: #e4e6e3;
  --bg: #ffffff;
  --surface: #ffffff;
  --panel: #f1f5f6;
  --tint: #e6f2f4;
  --accent: #0b6f8a;
  --accent-hover: #084f64;
  --footer: #0d1c2a;
  --gutter: clamp(20px, 4vw, 112px);
  --section: clamp(48px, 5.4vw, 84px);
  --brand: linear-gradient(135deg, #03465d 0%, #087f95 58%, #12bfc5 100%);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --header-h: 68px;
  --font: Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure {
  margin: 0;
}

/* One type scale for the whole site. */
h1,
.display {
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

h3,
.claim {
  font-size: clamp(18px, 1.35vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.006em;
  text-wrap: balance;
}

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

main:focus {
  outline: none;
}

.wrap {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--ink);
  border-radius: var(--r-sm);
  color: #fff;
  transform: translateY(-200%);
}

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

/* Header: brand left, menu in the centre, one action right. */
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 34px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: var(--r-sm);
  transition: background-color 0.15s;
}

.nav-item:hover {
  background: rgb(13 28 42 / 5%);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 12px;
  color: var(--ink-2);
  font-size: 14.5px;
  text-decoration: none;
}

.nav-item[data-menu] .nav-link {
  padding-right: 0;
}

.nav-link:hover {
  color: var(--ink);
}

/* The current section is a filled shape, so colour is not the only signal. */
.nav-item:has(> .nav-link[aria-current]) {
  background: rgb(13 28 42 / 6%);
}

.nav-link[aria-current] {
  color: var(--ink);
  font-weight: 500;
}

.nav-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink-2);
  cursor: pointer;
}

.nav-caret svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.15s;
}

.nav-item.is-open .nav-caret svg {
  transform: rotate(180deg);
}

/* Closes after a short delay, so a diagonal pointer path does not lose it. */
.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  gap: 2px;
  width: 300px;
  margin-top: 8px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 24px 48px -24px rgb(3 40 56 / 25%);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.12s, visibility 0s 0.18s;
}

.nav-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 10px;
}

/* Centred under the header (fixed sits at the header's edge either way, since
   the header is always at the top), so it fits at any width. */
.nav-menu-wide {
  position: fixed;
  top: var(--header-h);
  left: 50%;
  width: min(860px, calc(100vw - 2 * var(--gutter)));
  max-height: calc(100svh - var(--header-h) - 16px);
  margin-top: 0;
  padding: 0;
  overflow-y: auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 0;
  translate: -50% 0;
}

/* Bridges the gap between a menu label and its panel. */
.nav-item[data-menu]::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 16px;
}

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

.nav-sections {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  padding: 16px;
}

.nav-section {
  display: grid;
  align-content: start;
  gap: 2px;
}

.nav-section-title {
  padding: 4px 10px 8px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.nav-side {
  display: flex;
  flex-direction: column;
  padding: 16px 6px 0;
  background: var(--tint);
}

.nav-side-text {
  padding: 0 16px 0 10px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.45;
}

.nav-menu .nav-side-link {
  display: inline-block;
  min-height: 0;
  margin: 8px 16px 14px 0;
  padding: 4px 10px;
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 500;
}

.nav-menu .nav-side-link:hover {
  background: none;
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-menu .nav-side img {
  flex: none;
  width: calc(100% - 20px);
  margin: auto 10px 16px;
  border-radius: 8px;
}

.nav-item.is-open .nav-menu {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

@media (hover: hover) and (min-width: 1101px) {
  .nav-item:hover:not(.is-dismissed) .nav-menu {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
  }
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  text-decoration: none;
}

.nav-menu a:hover {
  background: var(--panel);
}

.nav-menu img {
  flex: none;
  border-radius: 9px;
}

.nav-menu b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.nav-menu small {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.35;
}

.nav-menu .nav-menu-all {
  justify-content: center;
  background: var(--panel);
  border-radius: 0;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-mobile-only {
  display: none;
}

.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
  transition: transform 0.2s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

/* Buttons */
.button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font: 500 15px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-ghost {
  background: var(--surface);
  border-color: #cfd5d6;
  color: var(--ink);
}

.button-ghost:hover {
  border-color: var(--ink);
}

.button-plain {
  background: transparent;
  color: var(--ink);
}

.button-plain:hover {
  color: var(--accent);
}

.button-compact {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14.5px;
}

.button-small {
  min-height: 40px;
  margin-top: 12px;
  padding: 7px 14px;
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lede {
  max-width: 36em;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* Wave accent: the site's signature. It opens every page behind the first message,
   fading out so it never competes with the content below. */
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/assets/brand/wave.webp") center top / cover no-repeat;
  mask-image: linear-gradient(to bottom, #000 62%, transparent);
}

/* Home hero: one message on the left, a mosaic of real screens and photos on the right. */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-top: 14px;
}

.hero-copy .lede {
  margin-top: 16px;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  height: clamp(520px, calc(100svh - var(--header-h) - 28px), 720px);
}

.m-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.m-cell {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: 20px;
  text-decoration: none;
}

.m-tall {
  flex: 7;
  /* Lets the phone size itself from the cell's height. */
  container-type: size;
}

.m-short {
  flex: 3;
}

.m-brand {
  background: var(--brand);
  color: #fff;
}

.m-tint {
  background: var(--tint);
}

.m-ink {
  background: var(--footer);
  color: #fff;
}

.m-label {
  position: absolute;
  top: 12px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
}

.m-label img {
  border-radius: 7px;
}

/* The whole phone always fits below the label, whatever the cell's size. */
.m-phone {
  position: absolute;
  top: 52px;
  left: 50%;
  width: min(84%, calc((100cqh - 66px) * 0.5));
  aspect-ratio: 1 / 2;
  padding: 5px;
  background: #121a22;
  border-radius: 22px;
  box-shadow: 0 18px 32px -18px rgb(3 30 42 / 60%);
  translate: -50% 0;
  transition: translate 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.m-phone-talk {
  width: min(84%, calc((100cqh - 66px) * 0.459));
  aspect-ratio: 540 / 1176;
}

.m-ink .m-phone {
  background: #52626e;
}

.m-cell:hover .m-phone {
  translate: -50% -4px;
}

.m-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 17px;
}

.m-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Application tiles: name, category, icon. The grid takes any number of them. */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 14px;
}

/* Beside the company panel: fixed columns, rows share the panel's height. */
.app-browser {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app-browser .tile-grid {
  flex: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

.tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 148px;
  padding: 18px 16px 18px 20px;
  overflow: hidden;
  background: linear-gradient(100deg, #fff 45%, var(--tint));
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tile b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.008em;
}

.tile small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

/* The mark needs no tile of its own: it is coloured, large and sits on the right. */
.tile > img {
  flex: none;
  width: clamp(84px, 7vw, 104px);
  height: auto;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tile-go {
  display: block;
  width: 20px;
  height: 20px;
  margin-top: 10px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* The closing tile is the grid's call to action, so it carries the brand colour. */
.tile-cta {
  background: var(--brand);
  border-color: transparent;
}

.tile-cta b,
.tile-cta small {
  color: #fff;
}

.tile-cta-arrow {
  flex: none;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (hover: hover) {
  .tile:hover {
    border-color: #8fc2cc;
    box-shadow: 0 20px 36px -24px rgb(3 40 56 / 60%);
    transform: translateY(-4px);
  }

  .tile:hover > img {
    transform: scale(1.08) rotate(-2deg);
  }

  .tile:hover .tile-go {
    transform: translateX(6px);
  }

  .tile-cta:hover .tile-cta-arrow {
    transform: translateX(6px);
  }
}

/* Tiles settle into place as they scroll in, where the browser supports it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes tile-settle {
      from {
        translate: 0 22px;
      }
    }

    .tile {
      animation: tile-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}

.app-section {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  align-items: stretch;
  gap: 20px;
}

.suite {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--tint);
  border-radius: var(--r-lg);
}

.suite-copy {
  padding: clamp(22px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px) 20px;
}

.suite-copy p {
  margin-top: 8px;
  color: var(--ink-2);
}

.suite-copy .text-link {
  margin-top: 12px;
}

.suite-shot {
  margin-top: auto;
  padding: 0 clamp(22px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px);
}

.suite-shot img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 18px 32px -20px rgb(3 40 56 / 45%);
}

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

.product-id img {
  flex: none;
  border-radius: 11px;
}

.product-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.product-kind {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 15px;
}

.status i {
  flex: none;
  width: 8px;
  height: 8px;
  background: #15803d;
  border-radius: 50%;
}

.status-soon i {
  background: #c2710c;
}

.status-dev i {
  background: #64748b;
}

/* Sections */
.section {
  padding-block: var(--section);
}

.section-flush {
  padding-top: 0;
}

.section-tight {
  padding-top: clamp(32px, 4vw, 56px);
}

.section-head {
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

.section-text {
  flex: 0 1 34em;
  margin-top: 0;
}

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

.section-text {
  max-width: 66rem;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}

.section-head-center .section-text {
  margin-inline: auto;
}

/* Principles: a 2×2 grid, each cell one idea beside one real screen. */
.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bento-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  height: 340px;
  padding-right: clamp(20px, 3vw, 44px);
  overflow: hidden;
  border-radius: var(--r-lg);
}

.bento-tint {
  background: var(--tint);
}

.bento-panel {
  background: var(--panel);
}

.bento-text {
  padding: 24px clamp(20px, 2.4vw, 32px);
}

.bento-text p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.bento-shot {
  height: 300px;
  aspect-ratio: 1 / 2;
  padding: 5px;
  background: #121a22;
  border-radius: 22px;
  box-shadow: 0 18px 32px -18px rgb(3 30 42 / 50%);
}

.bento-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 17px;
}

/* Owner: text left, round portrait right. The photo has no background of its own. */
.owner-photo {
  width: 100%;
  aspect-ratio: 1;
  background: #cfe6ea;
  border-radius: 50%;
}

.owner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}

.owner-hero .lede {
  margin-top: 16px;
}

.owner-name {
  margin-top: 16px;
}

.owner-hero .section-text {
  margin-top: 4px;
}

/* Definition lists */
.facts > div {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
  padding-block: 13px;
  border-top: 1px solid var(--line);
}

.facts > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.facts dt {
  color: var(--muted);
  font-size: 15px;
}

.facts dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.facts a {
  color: var(--accent);
}

/* Closing panel */
.closing {
  padding-block: 0 var(--section);
}

.closing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px clamp(24px, 5vw, 72px);
  padding: clamp(28px, 3.2vw, 44px);
  /* The same wave, closing the page in the brand colour. */
  background: url("/assets/brand/wave.webp") center / cover no-repeat, var(--brand);
  background-blend-mode: multiply;
  border-radius: var(--r-lg);
  color: #fff;
}

.closing-panel p {
  grid-column: 1;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.5;
}

.closing-panel .actions {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-top: 0;
}

.closing-panel .button-primary {
  background: #fff;
  color: var(--accent-hover);
}

.closing-panel .button-primary:hover {
  background: var(--tint);
}

.closing-panel .button-ghost {
  background: transparent;
  border-color: rgb(255 255 255 / 60%);
  color: #fff;
}

.closing-panel .button-ghost:hover {
  border-color: #fff;
}

/* Inner page heads */
.page-hero {
  padding-block: clamp(32px, 4vw, 56px) clamp(32px, 4vw, 56px);
}

/* Page openings run the full width, so the right side never reads as empty. */
.page-hero h1 {
  max-width: none;
}

.page-hero .lede {
  max-width: 66rem;
  margin-top: 14px;
  text-wrap: pretty;
}

.page-hero-center {
  display: grid;
  justify-items: center;
  text-align: center;
}

.page-hero-center .actions,
.page-hero-center .crumbs {
  justify-content: center;
}

.not-found {
  display: flex;
  align-items: center;
  min-height: 60svh;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.crumbs [aria-current] {
  color: var(--ink);
}

.page-photo {
  overflow: hidden;
  border-radius: var(--r-lg);
}

.page-photo img {
  width: 100%;
  height: clamp(240px, 38vw, 480px);
  object-fit: cover;
  object-position: 50% 35%;
}

/* Devices */
.phone {
  padding: 7px;
  background: #121a22;
  border-radius: 34px;
  box-shadow: 0 34px 60px -28px rgb(3 40 56 / 45%), 0 10px 20px -12px rgb(3 40 56 / 28%);
}

.phone img,
.phone video {
  width: 100%;
  border-radius: 27px;
}

/* Two whole phones, the front one overlapping the back one. */
.device-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 3.4vw, 44px) 16px;
}

.device-pair .phone {
  flex: 0 0 auto;
  width: clamp(140px, 15vw, 212px);
}

.device-pair .phone-back {
  width: clamp(124px, 13.5vw, 190px);
  margin-right: -24px;
}

.device-pair .phone-front {
  z-index: 1;
}

/* The whole browser window, never cropped. */
.browser-frame {
  align-self: center;
  padding: clamp(20px, 3vw, 40px);
}

.browser-frame img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 28px 50px -28px rgb(3 40 56 / 45%);
}

.shot-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
}

/* Product detail */
.product-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--tint);
  border-radius: var(--r-lg);
}

.product-copy {
  align-self: center;
  padding: clamp(28px, 4vw, 56px);
}

.product-copy h1 {
  margin-top: 20px;
  font-size: clamp(27px, 2.6vw, 38px);
}

.product-copy .lede {
  margin-top: 12px;
  font-size: 16px;
}

.product-note {
  padding: 10px clamp(4px, 1vw, 8px) 0;
  color: var(--muted);
  font-size: 13.5px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

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

.wrap.cards {
  padding-inline: var(--gutter);
}

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

.info-card {
  padding: clamp(22px, 2.2vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.info-card h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.info-card p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.card-title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.2;
}

.panel-card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.steps {
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  padding-block: 13px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.steps li:first-child {
  border-top: 0;
  padding-top: 0;
}

.steps li::before {
  content: counter(step);
  color: var(--muted);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
}

.mini-apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
}

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

.mini-app {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  transition: border-color 0.15s;
}

.mini-app:hover {
  border-color: #b9c2c5;
}

.mini-app img {
  flex: none;
  border-radius: 10px;
}

.mini-app b {
  display: block;
  font-weight: 500;
  line-height: 1.25;
}

.mini-app small {
  color: var(--muted);
  font-size: 14px;
}

.table-card {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 16px;
  text-align: left;
}

.compare th,
.compare td {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.compare thead th {
  border-top: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.compare tbody th {
  font-weight: 500;
  white-space: nowrap;
}

.compare a {
  color: var(--accent);
  text-decoration: none;
}

.compare a:hover {
  text-decoration: underline;
}

/* Service flow: stage, work and deliverable read across one row. */
.flow {
  padding: 0;
  list-style: none;
  counter-reset: flow;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.flow li {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr);
  align-items: center;
  gap: 8px 24px;
  padding: 15px 22px;
  border-top: 1px solid var(--line);
}

.flow li:not(.flow-head) {
  counter-increment: flow;
}

.flow .flow-head {
  border-top: 0;
  color: var(--muted);
  font-size: 14px;
}

.flow b {
  font-weight: 600;
}

.flow b::before {
  content: counter(flow) ".";
  margin-right: 8px;
  color: var(--accent);
}

.flow span {
  color: var(--ink-2);
}

.flow li span:last-child {
  color: var(--ink);
  font-weight: 500;
}

.flow .flow-head span,
.flow .flow-head span:last-child {
  color: var(--muted);
  font-weight: 400;
}

.info-card a {
  color: var(--accent);
}

/* Enterprise rows */
.solutions {
  display: grid;
  gap: 20px;
}

.solution {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  background: var(--panel);
  border-radius: var(--r-lg);
}

.solution-copy {
  align-self: center;
  padding: clamp(28px, 4vw, 52px);
}

.solution-copy .claim {
  margin-top: 18px;
  font-size: clamp(21px, 1.8vw, 26px);
  letter-spacing: -0.012em;
  line-height: 1.22;
}

.solution-copy p:not(.claim, .product-name, .product-kind) {
  margin-top: 12px;
  color: var(--ink-2);
}

.solution-copy .text-link {
  margin-top: 18px;
}

.solution-flip .solution-copy {
  order: 2;
}

.plain-list {
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding-block: 9px;
  border-top: 1px solid rgb(13 28 42 / 10%);
}

.process + .actions {
  margin-top: 20px;
}

.process {
  counter-reset: process;
}

.process li {
  counter-increment: process;
}

.process li::before {
  content: counter(process);
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* FAQ */
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 560px);
  min-height: 52px;
  margin-top: 24px;
  padding-inline: 16px;
  background: var(--surface);
  border: 1px solid #cfd5d6;
  border-radius: 12px;
  box-shadow: 0 14px 30px -22px rgb(3 40 56 / 45%);
}

.search:focus-within {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.search svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}

.search input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  background: none;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: 400 16px/1.4 var(--font);
}

.faq-count {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

.faq-groups {
  display: grid;
  gap: clamp(28px, 3.4vw, 44px);
}

.faq-group {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  align-items: start;
  gap: 12px clamp(24px, 4vw, 64px);
}

.faq-group h2 {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding-top: 14px;
  font-size: 20px;
}

.faq-more {
  margin-top: 12px;
}

.faq-page {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  align-items: start;
  gap: 16px clamp(24px, 4vw, 64px);
}

.faq-list {
  min-width: 0;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 15px 40px 15px 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color 0.15s;
}

summary:hover {
  color: var(--accent);
}

summary::-webkit-details-marker {
  display: none;
}

summary::before,
summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 13px;
  height: 1.6px;
  background: var(--accent);
  transition: transform 0.2s;
}

summary::after {
  transform: rotate(90deg);
}

details[open] summary::after {
  transform: rotate(0deg);
}

details p {
  max-width: 46em;
  padding: 0 40px 18px 0;
  color: var(--ink-2);
}

.faq-empty {
  padding: 24px;
  background: var(--panel);
  border-radius: var(--r);
  text-align: center;
}

details a {
  color: var(--accent);
}

.faq-empty a {
  color: var(--accent);
  font-weight: 500;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form .button {
  justify-self: start;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}

.field label {
  font-weight: 500;
}

.field small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid #cfd5d6;
  border-radius: var(--r-sm);
  color: var(--ink);
  font: 400 16px/1.45 var(--font);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.field [aria-invalid="true"] {
  border-color: #b91c1c;
}

.field-error {
  color: #b91c1c;
  font-size: 15px;
}

.form-note {
  color: var(--accent-hover);
  font-size: 15px;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.contact-side h2 {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
}

.contact-side a {
  color: var(--accent);
}

.contact-email {
  font-size: 16px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

/* Legal */
.prose h2 {
  margin-top: 28px;
  font-size: 20px;
  letter-spacing: -0.014em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h2,
.prose p {
  max-width: 46rem;
}

.prose p {
  margin-top: 10px;
  color: var(--ink-2);
}

.prose a {
  color: var(--accent);
}

.prose .legal-facts {
  max-width: 46rem;
  margin-top: 16px;
}

.prose .table-card {
  margin-top: 16px;
}

.prose .compare {
  min-width: 460px;
}

/* Footer: the page's one dark anchor. */
.site-footer {
  padding-block: clamp(48px, 5vw, 72px) 24px;
  background: var(--footer);
  color: #fff;
  font-size: 15px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: 40px 32px;
}

.footer-tagline {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.footer-address {
  margin-top: 14px;
  color: #a9b6c2;
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
}

.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 14px;
}

.footer-social a {
  display: inline-block;
  padding-block: 5px;
  color: #fff;
  text-decoration: none;
}

.footer-social a:hover {
  color: #8fdce2;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #a9b6c2;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.site-footer ul {
  padding: 0;
  list-style: none;
}

.site-footer li a {
  display: inline-block;
  padding-block: 5px;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer li a:hover {
  color: #8fdce2;
}

.site-footer :focus-visible {
  outline-color: #8fdce2;
}

.footer-legal-line {
  height: 1px;
  margin-top: clamp(36px, 4vw, 56px);
  background: rgb(255 255 255 / 14%);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 14px;
  color: #a9b6c2;
  font-size: 14px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.footer-legal a {
  display: inline-block;
  padding-block: 6px;
  color: #a9b6c2;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

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

  .m-phone,
  .tile,
  .tile > img,
  .tile-go,
  .button,
  .nav-menu,
  .nav-item,
  .nav-caret svg,
  .mini-app {
    transition: none;
  }
}

/* Wide screens: sizes stay normal, and more columns fill the extra room. */
@media (min-width: 2000px) {
  .app-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-browser .tile-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .suite {
    flex-direction: row;
    align-items: center;
  }

  .suite-copy {
    flex: 1;
  }

  .suite-shot {
    flex: none;
    width: 420px;
    margin-top: 0;
    padding-block: 24px;
  }

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

  .bento-cell {
    height: 300px;
  }

  .bento-shot {
    height: 270px;
  }

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

  .cards:has(> :nth-child(6):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

/* Tablet: the menu collapses before the links can wrap. */
@media (max-width: 1100px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100svh - var(--header-h));
    padding: 4px var(--gutter) 16px;
    overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item,
  .nav-item:hover,
  .nav-item:has(> .nav-link[aria-current]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    background: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav-link,
  .nav-item[data-menu] .nav-link {
    min-height: 52px;
    padding-inline: 0;
    font-size: 18px;
  }

  .nav-caret {
    width: 52px;
    height: 52px;
  }

  .nav-menu,
  .nav-menu-wide {
    position: static;
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    width: auto;
    max-height: none;
    overflow: visible;
    translate: none;
    margin: 0;
    padding: 0 0 8px;
    border: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transition: none;
  }

  .nav-item.is-open .nav-menu {
    display: grid;
  }

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

  .nav-side {
    margin-top: 8px;
    padding-block: 12px 2px;
    border-radius: var(--r-sm);
  }

  .nav-menu .nav-side img {
    display: none;
  }

  .nav-menu .nav-menu-all {
    border-radius: var(--r-sm);
  }

  .nav-item[data-menu]::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

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

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .tabs {
    justify-content: flex-start;
  }

  .app-section,
  .product-panel,
  .solution,
  .contact-grid,
  .cards,
  .cards-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .solution-flip .solution-copy {
    order: 0;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 24px;
  }

  .mosaic {
    height: 480px;
  }

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

  .bento-cell {
    padding-right: 20px;
  }

  .bento-shot {
    height: 280px;
  }

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

  .closing-panel .actions {
    grid-column: 1;
    grid-row: auto;
    margin-top: 16px;
  }

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

  .owner-photo {
    grid-row: 1;
    max-width: 240px;
  }

  .tile-grid,
  .app-browser .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .flow .flow-head {
    display: none;
  }

  .flow li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .flow li:first-child + li {
    border-top: 0;
  }


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

  .footer-brand,
  .footer-inner > nav:last-child {
    grid-column: 1 / -1;
  }

  .device-pair .phone {
    width: clamp(136px, 40vw, 220px);
  }

  .device-pair .phone-back {
    width: clamp(118px, 35vw, 196px);
  }

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

  .faq-group h2 {
    position: static;
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .tile-grid,
  .app-browser .tile-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile {
    min-height: 116px;
  }

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

  .m-col-c {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-mobile-only {
    display: grid;
  }

  .actions .button {
    flex: 1 1 100%;
  }

  .facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

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