/* Orbbe Labs. Visual system: .claude/skills/landing-page-design (Part B).
   Type from the Tailwind scale through named text styles, spacing from the token table,
   Tailwind radii, flat backgrounds, one motion curve. */

@font-face { font-family: "Geist"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/geist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/geist-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/geist-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;

  /* colour: backgrounds only from the approved dark set */
  --bg: #000000;
  --surface: #181818;
  --surface-2: #1f1f1f;
  --line: #272727;
  --line-2: #313131;
  --text: #ffffff;
  --muted: #9b9b9b;
  --dim: #707070;
  --accent: #f5a524; /* the one amber detail in every drawing */
  --nav: rgba(24, 24, 24, 0.72);

  /* spacing tokens */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* Tailwind radii */
  --r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-full: 9999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: var(--s-200);
  --max: 1200px;
}
@media (min-width: 768px) { :root { --gutter: var(--s-400); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--s-900); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3, .line, [class^="heading-"], [class*=" heading-"], .title-1, .title-2 { text-wrap: balance; }
p, li { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #000; }

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

.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- named text styles ---------- */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.025em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.025em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.02em; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.015em; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.title-5 { font-size: 12px; line-height: 16px; font-weight: 500; }
.body-1 { font-size: 16px; line-height: 24px; font-weight: 600; }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.body-5 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.button-lg { font-size: 18px; line-height: 28px; font-weight: 600; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }

/* Small screens step big headings down the same scale */
@media (max-width: 767px) {
  .heading-1 { font-size: 36px; line-height: 40px; }
  .heading-2 { font-size: 30px; line-height: 36px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
  .heading-4 { font-size: 24px; line-height: 32px; }
}

.muted { color: var(--muted); }
.dim { color: var(--dim); }
.accent { color: var(--accent); }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color 300ms var(--ease); }
.link:hover { text-decoration-color: var(--accent); }

.icon { width: 16px; height: 16px; flex: none; }
.icon-xs { width: 12px; height: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-full);
  border: 1px solid transparent;
  font-size: 16px; line-height: 24px; font-weight: 600;
  white-space: nowrap; cursor: pointer;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), color 300ms var(--ease), transform 500ms var(--ease);
}
.btn-sm { font-size: 14px; line-height: 20px; padding: var(--s-50) var(--s-100); }
.btn-lg { padding: var(--s-75) var(--s-200); }
.btn-primary { background: var(--text); color: #000; }
.btn-primary:hover { background: #dcdcdc; transform: translateY(-1px); }
.btn-secondary { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.btn-secondary:hover { background: var(--surface-2); border-color: #3d3d3d; transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn .icon { transition: transform 500ms var(--ease); }
.btn:hover .icon { transform: translate(1px, -1px); }
.btn[href^="#"]:hover .icon { transform: translateY(2px); }

.skip { position: fixed; left: var(--s-200); top: var(--s-200); z-index: 100; transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* ---------- navigation ---------- */
.nav-wrap { position: fixed; inset: var(--s-200) 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0 var(--gutter); pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--s-300);
  padding: var(--s-50) var(--s-50) var(--s-50) var(--s-200);
  background: var(--nav);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-full);
  max-width: 100%;
}
.nav-brand { display: flex; align-items: center; padding: var(--s-75) 0; border-radius: var(--r-md); }
.nav-brand .wordmark { height: 18px; width: auto; color: var(--text); }
.nav-links { display: flex; gap: var(--s-50); }
.nav-link {
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted);
  padding: var(--s-75) var(--s-100); border-radius: var(--r-full);
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-link[aria-current="true"] { color: var(--text); }
.nav-end { display: flex; align-items: center; gap: var(--s-50); }
.nav-lang {
  font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted);
  padding: var(--s-75) var(--s-100); border-radius: var(--r-full);
  transition: color 300ms var(--ease), background-color 300ms var(--ease);
}
.nav-lang:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-toggle { display: none; position: relative; width: 40px; height: 32px; border: 0; border-radius: var(--r-full); background: transparent; cursor: pointer; }
.nav-toggle:active { transform: scale(0.98); }
.nav-toggle .bar { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform 500ms var(--ease); }
.nav-toggle .bar:first-child { transform: translateY(-3px); }
.nav-toggle .bar:last-child { transform: translateY(3px); }
.nav-toggle[aria-expanded="true"] .bar:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: -1; pointer-events: auto;
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding: 112px var(--gutter) var(--s-600);
  opacity: 0; transition: opacity 300ms var(--ease);
}
.menu[hidden] { display: none; }
.menu.open { opacity: 1; }
.menu-links { display: flex; flex-direction: column; gap: var(--s-75); }
.menu-link {
  font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.02em;
  padding: var(--s-75) 0;
  opacity: 0; transform: translateY(var(--s-300));
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.menu-link:last-child { font-size: 18px; line-height: 28px; font-weight: 500; color: var(--muted); margin-top: var(--s-300); }
.menu.open .menu-link { opacity: 1; transform: none; }

@media (max-width: 959px) {
  .nav { width: 100%; justify-content: space-between; }
  .nav-links, .nav-lang { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 389px) { .nav-cta { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 144px 0 var(--s-800); }
/* Below 1200px the drawing sits behind the copy as a faint backdrop, so the action stays in the first screen */
.hero-art { position: absolute; top: 64px; right: -40%; width: 110vw; max-width: 720px; opacity: 0.38; pointer-events: none; }
.hero-art img { width: 100%; }
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow { margin-bottom: var(--s-200); }
.hero-h {
  max-width: 680px;
  background: linear-gradient(90deg, #ffffff, #9b9b9b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-h .line { display: block; }
.hero-sub { max-width: 680px; margin-top: var(--s-300); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-top: var(--s-400); }
.hero-proof { display: flex; align-items: center; gap: var(--s-75); margin-top: var(--s-300); }
.dot { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--accent); flex: none; }

@media (min-width: 768px) { .hero-art { right: -12%; width: 70vw; opacity: 0.5; } }
@media (min-width: 1200px) {
  .hero { padding: 160px 0 var(--s-900); }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: var(--s-400); align-items: center; }
  .hero-art { position: relative; top: auto; right: auto; width: 100%; max-width: 560px; justify-self: end; opacity: 1; }
  .hero-sub { max-width: 520px; }
}

/* entrance for the hero, once */
@keyframes rise { from { opacity: 0; transform: translateY(var(--s-400)); } }
@keyframes fade { from { opacity: 0; } }
.js .hero-inner > * { animation: rise 800ms var(--ease) both; }
.js .hero-inner > :nth-child(2) { animation-delay: 80ms; }
.js .hero-inner > :nth-child(3) { animation-delay: 160ms; }
.js .hero-inner > :nth-child(4) { animation-delay: 240ms; }
.js .hero-inner > :nth-child(5) { animation-delay: 320ms; }
.js .hero-art img { opacity: 0; transition: opacity 1200ms var(--ease) 150ms; }
.js .hero-art.ready img { opacity: 1; }

/* ---------- sections ---------- */
.section { padding: var(--s-800) 0; }
@media (min-width: 768px) { .section { padding: var(--s-900) 0; } }
.section-head { max-width: 680px; margin-bottom: var(--s-600); }
.eyebrow { margin-bottom: var(--s-100); }

/* live products */
.products { display: grid; gap: var(--s-300); }
.product {
  display: grid; gap: var(--s-75);
  padding: var(--s-75);
  border: 1px solid var(--line); border-radius: var(--r-2xl);
  background: var(--bg);
}
.product-art { border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.product-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-body { display: flex; flex-direction: column; gap: var(--s-200); padding: var(--s-200) var(--s-200) var(--s-300); }
.product-name { color: var(--muted); }
.product-h { margin-top: calc(-1 * var(--s-100)); }
.points { display: grid; gap: var(--s-200); margin-top: var(--s-75); }
.points li { display: flex; gap: var(--s-100); }
.icon-check { color: var(--accent); margin-top: var(--s-25); }
.points .title-4 { margin-bottom: var(--s-25); }
.product-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-100) var(--s-200); margin-top: var(--s-75); }

@media (min-width: 960px) {
  .product { grid-template-columns: 1fr 1fr; gap: var(--s-300); align-items: center; }
  .product-flip .product-art { order: 2; }
  .product-body { padding: var(--s-400) var(--s-400) var(--s-400) var(--s-200); }
  .product-flip .product-body { padding: var(--s-400) var(--s-200) var(--s-400) var(--s-400); }
}

/* tagline reveal */
.tagline { padding: var(--s-900) 0; }
@media (min-width: 768px) { .tagline { padding: 160px 0; } }
.tagline-text { max-width: 680px; }
.tagline-text .line { display: block; }
.tagline-text .line + .line { margin-top: var(--s-200); }
.tagline-text .w { color: rgba(255, 255, 255, 0.28); transition: color 500ms var(--ease); }
.tagline-text .w.on { color: var(--text); }
.no-js .tagline-text .w, html:not(.js) .tagline-text .w { color: var(--text); }

/* in development */
.teasers { display: grid; gap: var(--s-300); }
@media (min-width: 768px) { .teasers { grid-template-columns: 1fr 1fr; } }
.teaser {
  display: flex; flex-direction: column; gap: var(--s-75);
  padding: var(--s-75);
  border: 1px solid var(--line); border-radius: var(--r-2xl);
}
.teaser-art { border-radius: var(--r-lg); overflow: hidden; }
.teaser-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: 0.85; }
.teaser-body { display: flex; flex-direction: column; gap: var(--s-75); padding: var(--s-200) var(--s-200) var(--s-300); }
.teaser-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-100); }
.teaser .title-2 { margin-top: var(--s-50); }
.badge { padding: var(--s-25) var(--s-75); border: 1px solid var(--line-2); border-radius: var(--r-full); color: var(--muted); white-space: nowrap; }

/* how we build */
.steps { display: grid; gap: var(--s-200); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: flex; flex-direction: column; gap: var(--s-75); padding: var(--s-300); background: var(--surface); border-radius: var(--r-2xl); }
.step-n { color: var(--accent); margin-bottom: var(--s-200); }

/* faq */
.faq-grid { display: grid; gap: var(--s-200); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 2fr 3fr; gap: var(--s-700); align-items: start; } }
.faq { display: grid; gap: var(--s-75); }
.qa { background: var(--surface); border-radius: var(--r-xl); transition: background-color 300ms var(--ease); }
.qa:hover { background: var(--surface-2); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
  padding: var(--s-200) var(--s-300); cursor: pointer; list-style: none; border-radius: var(--r-xl);
}
.qa summary::-webkit-details-marker { display: none; }
.icon-plus { color: var(--muted); transition: transform 500ms var(--ease), color 300ms var(--ease); }
.qa[open] .icon-plus { transform: rotate(45deg); color: var(--text); }
.qa p { padding: 0 var(--s-300) var(--s-300); max-width: 640px; }

/* final call */
.final { padding: var(--s-900) 0; }
@media (min-width: 768px) { .final { padding: 160px 0 var(--s-900); } }
.final-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-300); }
.final-mark { height: 24px; width: auto; color: var(--muted); }
.final-h { max-width: 680px; }
.final-h .line { display: block; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-100); }

/* footer */
.footer { padding: var(--s-700) 0 var(--s-400); background: var(--bg); }
.footer-grid { display: grid; gap: var(--s-400); padding-bottom: var(--s-600); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: var(--s-100); }
.footer-brand a { align-self: flex-start; border-radius: var(--r-md); }
.wordmark-foot { height: 20px; width: auto; color: var(--text); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-75); }
.footer-col h2 { margin-bottom: var(--s-50); }
.foot-link { display: inline-flex; align-items: center; gap: var(--s-50); font-size: 14px; line-height: 20px; color: var(--muted); transition: color 300ms var(--ease); }
.foot-link:hover { color: var(--text); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s-50) var(--s-300); }

/* inner pages */
.page { padding: 144px 0 var(--s-900); min-height: 70vh; }
.prose { max-width: calc(680px + 2 * var(--gutter)); display: flex; flex-direction: column; gap: var(--s-200); }
.prose .heading-3 { margin-top: var(--s-300); }
.prose-list { display: flex; flex-direction: column; gap: var(--s-75); }
.prose-list .link { display: inline-flex; align-items: center; gap: var(--s-50); }
.back { display: inline-flex; align-items: center; gap: var(--s-75); align-self: flex-start; transition: color 300ms var(--ease); }
.back:hover { color: var(--text); }
.nf-inner { display: flex; flex-direction: column; gap: var(--s-200); max-width: calc(680px + 2 * var(--gutter)); }
.nf-art { width: 100%; max-width: 480px; aspect-ratio: 16 / 9; object-fit: cover; object-position: 70% 50%; margin-bottom: var(--s-300); }
.nf-actions { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-top: var(--s-200); }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(var(--s-400)); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero-inner > * { animation: fade 600ms var(--ease) both; animation-delay: 0ms; }
  .js .hero-art img { transition-duration: 600ms; transition-delay: 0ms; }
  .js .reveal { transform: none; }
  .menu-link { transform: none; }
  .btn, .btn .icon, .nav-toggle .bar { transition-property: background-color, border-color, color, opacity; }
  .btn:hover, .btn:active { transform: none; }
  .tagline-text .w { color: var(--text); transition: none; }
}
