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

@font-face {
  font-family: "Geist Mono";
  src: url("./assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #fafaf9;
  --surface: #ffffff;
  --ink: #0a0a0b;
  --ink-2: #27272a;
  --muted: #6b6b73;
  --faint: #a1a1aa;
  --line: #e8e8eb;
  --line-2: #d8d8dd;
  --accent: #ff4d17;
  --accent-text: #e2400c;
  --accent-soft: rgba(255, 77, 23, 0.1);
  --ok: #16a34a;
  --grid: rgba(10, 10, 11, 0.05);
  --night: #0c0c0e;
  --night-line: rgba(255, 255, 255, 0.09);
  --shadow: 0 1px 2px rgba(10, 10, 11, 0.04), 0 24px 60px -28px rgba(10, 10, 11, 0.28);
  --radius: 18px;
  --container: 1120px;
  --gutter: 24px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b;
    --surface: #111113;
    --ink: #f4f4f5;
    --ink-2: #e4e4e7;
    --muted: #a1a1aa;
    --faint: #71717a;
    --line: #1f1f23;
    --line-2: #2e2e34;
    --accent: #ff5a24;
    --accent-text: #ff7a4d;
    --accent-soft: rgba(255, 90, 36, 0.14);
    --grid: rgba(255, 255, 255, 0.045);
    --night: #111113;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 24px 60px -28px rgba(0, 0, 0, 0.8);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

ol,
ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

/* Icons */

.i,
.pi,
.fi {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.i {
  width: 16px;
  height: 16px;
  stroke-width: 1.6;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 15px/1 var(--font);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.14s var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn .i {
  transition: transform 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover .i {
    transform: translateX(2px);
  }
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-ink {
  background: var(--ink);
  color: var(--bg);
}

.btn-ink:hover {
  background: var(--ink-2);
}

.btn-ghost {
  border-color: var(--line-2);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--faint);
}

.btn-light {
  background: #fafafa;
  color: #0a0a0b;
}

.btn-light:hover {
  background: #ffffff;
}

/* Header */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  transition: border-color 0.25s;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.logo span {
  white-space: nowrap;
}

.mark {
  width: 34px;
  height: 28px;
  flex: none;
}

.mark path {
  fill: currentColor;
  stroke: none;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s, background-color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--line);
}

.nav-links + .btn {
  margin-left: 8px;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(720px, 86svh, 960px);
  padding: 96px 0 112px;
  isolation: isolate;
  overflow: hidden;
  background: #020203;
  color: #fafafa;
}

.hero-orb {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-orb-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-orb-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92vw, 88vh, 900px);
  height: auto;
  transform: translate(-50%, -50%);
}

.has-webgl .hero-orb-fallback {
  visibility: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 34% 24% at 50% 48%, rgba(2, 2, 3, 0.62), transparent 100%);
}

.hero .lead {
  color: #d5d5d8;
  text-shadow: 0 1px 14px #000;
}

.hero h1 {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.9);
}

.hero .btn-ink,
.nav-dark .btn-ink {
  background: #fafafa;
  color: #09090b;
}

.hero .btn-ghost {
  background: rgba(2, 2, 3, 0.68);
  border-color: #6e6e74;
  color: #fafafa;
}

@media (hover: hover) and (pointer: fine) {
  .hero .btn-ink:hover,
  .nav-dark .btn-ink:hover {
    background: #e5e5e7;
  }
  .hero .btn-ghost:hover {
    border-color: #fafafa;
  }
}

.nav-dark {
  background: #020203;
  color: #fafafa;
}

.nav-dark.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-dark .nav-links a {
  color: #c4c4c9;
}

.nav-dark .nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.orb-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #f4f4f5;
  cursor: pointer;
}

.orb-toggle[hidden],
.orb-toggle .orb-play,
.orb-toggle[aria-pressed="true"] .orb-pause {
  display: none;
}

.orb-toggle[aria-pressed="true"] .orb-play {
  display: block;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  max-width: 13ch;
  margin-top: 0;
  font-size: clamp(2.9rem, 8.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.grad {
  background: linear-gradient(100deg, var(--ink) 20%, var(--accent) 135%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}

.lead {
  max-width: 36rem;
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-inner .actions {
  justify-content: center;
}

/* Sections */

.section {
  padding: 120px 0 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--muted);
  font: 500 12.5px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label span {
  color: var(--accent-text);
}

.label span::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  background: var(--line-2);
}

.section h2 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-sub {
  max-width: 32rem;
  margin-top: 18px;
  font-size: 1.1rem;
  line-height: 1.55;
}

/* Approach */

#approach {
  padding-top: 56px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.pillar {
  padding: 32px 32px 8px 0;
}

.pillar + .pillar {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.pi {
  width: 24px;
  height: 24px;
  margin-bottom: 28px;
  color: var(--ink);
  stroke-width: 1.5;
}

.pillar h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.pillar p {
  max-width: 19rem;
  margin-top: 8px;
}

/* Product */

.product {
  --pad: 64px;
  --vocena-blue: #4d9bff;
  --vocena-pink: #f591c2;
  position: relative;
  overflow: hidden;
  padding: var(--pad) var(--pad) 0;
  border: 1px solid var(--night-line);
  border-radius: 28px;
  background: var(--night);
  color: #f4f4f5;
  isolation: isolate;
}

.product::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(42rem 30rem at 22% 100%, rgba(8, 117, 255, 0.24), transparent 70%),
    radial-gradient(36rem 26rem at 88% 62%, rgba(245, 145, 194, 0.13), transparent 70%);
}

.product p {
  color: #a1a1aa;
}

.product-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px 72px;
}

.product-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-brand img {
  width: 44px;
  height: 44px;
  margin-right: 8px;
}

.badge {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f4f4f5;
  font: 500 12.5px/1 var(--mono);
  letter-spacing: 0.02em;
}

.product-name {
  margin-top: 24px;
  font-size: clamp(3rem, 7vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.product-tag {
  margin-top: 16px;
  color: #f4f4f5 !important;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.product-tag span {
  color: var(--vocena-pink);
}

.product-lead {
  max-width: 26rem;
  margin-top: 16px;
}

.product .actions {
  margin-top: 28px;
}

.product-specs {
  padding-top: 8px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

.features li {
  display: flex;
  gap: 14px;
}

.fi {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--vocena-blue);
  stroke-width: 1.5;
}

.features strong {
  display: block;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.features p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
}

.langs {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--night-line);
}

.langs > p {
  margin-bottom: 12px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.langs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.langs li {
  padding: 4px 10px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  color: #d4d4d8;
  font-size: 13px;
}

/* Real screenshots: the Mac window bleeds off the card's right edge,
   the iPhone overlaps it from the left. */

.product-stage {
  position: relative;
  margin: 64px calc(var(--pad) * -1) 0 0;
  padding-bottom: 56px;
}

.product-stage img {
  display: block;
  height: auto;
}

.shot-mac {
  width: 74%;
  margin-left: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

.shot-ios {
  position: absolute;
  left: 4%;
  bottom: 20px;
  width: 28%;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.65));
}

/* Contact */

.contact {
  padding-bottom: 120px;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 96px;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat;
  text-align: center;
}

.contact .section-sub {
  margin-inline: auto;
}

.email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  margin-top: 36px;
}

.email {
  font-size: clamp(1.35rem, 3.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.35s;
}

.email:hover {
  background-size: 100% 1.5px;
}

/* Footer */

.footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 32px;
}

.footer-brand p {
  margin-top: 10px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 14px;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 40px;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat;
  color: var(--faint);
  font: 500 12px/1.5 var(--mono);
}

/* Documents (privacy, terms, 404) */

.doc {
  max-width: 760px;
  padding-top: 96px;
  padding-bottom: 120px;
}

.doc h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.doc-meta {
  margin-top: 20px;
  font: 500 13px/1.5 var(--mono);
}

.doc-note {
  margin-top: 40px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-size: 15px;
}

.doc-note a,
.doc-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
}

.doc-note a:hover,
.doc-body a:hover {
  text-decoration-color: currentColor;
}

.doc-body {
  margin-top: 56px;
}

.doc-body section {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.doc-body section > span {
  color: var(--faint);
  font: 500 13px/1.9 var(--mono);
}

.doc-body h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.doc-body p,
.doc-body li {
  margin-top: 10px;
  color: var(--muted);
}

.doc-body ul {
  padding-left: 18px;
  list-style: disc;
}

.doc-body li::marker {
  color: var(--faint);
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px - 120px);
  padding-top: 64px;
  padding-bottom: 64px;
  text-align: center;
}

.not-found .code {
  color: var(--accent-text);
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.1em;
}

.not-found h1 {
  margin-top: 20px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.not-found p:not(.code) {
  margin-top: 16px;
}

/* Responsive */

@media (max-width: 980px) {
  .product {
    --pad: 40px;
  }

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

  .product-stage {
    margin-top: 48px;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .nav-inner > .btn {
    margin-left: auto;
  }

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

  .pillar,
  .pillar + .pillar {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
    padding: 24px 0;
    border-left: 0;
  }

  .pillar + .pillar {
    border-top: 1px solid var(--line);
  }

  .pi {
    grid-row: span 2;
    margin: 2px 0 0;
  }

  .pillar p {
    max-width: none;
    margin-top: 4px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .hero {
    min-height: 680px;
    padding: 88px 0 96px;
  }

  .actions {
    margin-top: 28px;
  }

  .section {
    padding-top: 88px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .product {
    --pad: 20px;
    padding-top: 32px;
    border-radius: 22px;
  }

  .product-top {
    gap: 36px;
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .product-stage {
    margin-top: 40px;
    padding-top: 8px;
    padding-bottom: 28px;
  }

  .shot-mac {
    width: 96%;
  }

  .shot-ios {
    left: 0;
    bottom: 12px;
    width: 42%;
  }

  .contact {
    padding-bottom: 88px;
  }

  .contact-inner {
    padding-top: 72px;
  }

  .doc {
    padding-top: 64px;
    padding-bottom: 88px;
  }

  .doc-body section {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

@media (max-width: 420px) {
  .nav-inner {
    gap: 12px;
  }

  .logo {
    gap: 8px;
    font-size: 15px;
  }

  .mark {
    width: 30px;
    height: 25px;
  }

  .nav-inner > .btn {
    padding: 0 12px;
  }

  .nav-inner > .btn .i {
    display: none;
  }
}

@media (max-width: 350px) {
  .btn-prefix {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}
