@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400;500;600;700&family=Noto+Serif+SC:wght@500;600;700&display=swap");

:root {
  --paper: #ecebea;
  --paper-2: #f5f4f1;
  --ink: #171717;
  --muted: #5f5d58;
  --line: rgba(23, 23, 23, 0.12);
  --green: #12d899;
  --green-dark: #0b9f73;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::selection {
  background: var(--green);
  color: var(--ink);
}

section {
  scroll-margin-top: 112px;
}

a,
button {
  cursor: pointer;
}

.site-header {
  transition: transform 220ms ease, opacity 220ms ease;
}

.is-scrolled .site-header nav {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(23, 23, 23, 0.08);
}

.brand-mark img {
  object-position: center 62%;
  transform: scale(1.95);
}

.brand-lockup span {
  letter-spacing: 0;
}

.nav-link {
  position: relative;
  border-radius: 4px;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.nav-link:hover::after,
.nav-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-switch {
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.58);
  padding: 2px;
}

.language-link {
  display: inline-flex;
  min-width: 38px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  color: #67645f;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.language-link:hover,
.language-link:focus-visible,
.language-link.is-active {
  background: var(--ink);
  color: #fff;
}

.menu-button {
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hero-section {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.9), transparent 34rem),
    linear-gradient(180deg, #f0efed 0%, var(--paper) 72%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 23, 23, 0.12) 1px, transparent 1px);
  background-position: center;
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 26%, black 70%, transparent 100%);
  opacity: 0.42;
}

.hero-canvas {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  width: 100%;
  height: 48svh;
  min-height: 360px;
  pointer-events: none;
}

.hero-static {
  position: absolute;
  right: -12%;
  bottom: 0;
  left: -12%;
  z-index: 0;
  height: 42svh;
  min-height: 320px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 15px,
      rgba(23, 23, 23, 0.2) 16px,
      transparent 17px
    ),
    radial-gradient(ellipse at center bottom, rgba(18, 216, 153, 0.12), transparent 45%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 28%, black 80%, transparent 100%);
  transform: perspective(720px) rotateX(64deg);
  transform-origin: center bottom;
}

.terrain-ready .hero-static {
  opacity: 0.18;
}

.eyebrow,
.section-kicker {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title,
.section-title,
.product-copy h3,
.contact-panel h2,
.career-card h3 {
  font-family: "Noto Serif SC", ui-serif, Georgia, serif;
  letter-spacing: 0;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
}

.hero-line {
  display: block;
}

.motion-ready .hero-line,
.motion-ready .section-title,
.motion-ready .large-copy,
.motion-ready .plain-card,
.motion-ready .product-copy,
.motion-ready .interface-shot,
.motion-ready .delivery-grid article,
.motion-ready .launch-flow article,
.motion-ready .global-cards article,
.motion-ready .career-grid article,
.motion-ready .role-strip span,
.motion-ready .career-card,
.motion-ready .contact-panel {
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}

.section-title {
  max-width: 760px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.22;
}

.large-copy {
  font-size: 17px;
  line-height: 1.8;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 22px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green);
  color: var(--ink);
}

.button-secondary {
  border: 1px solid rgba(23, 23, 23, 0.42);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--ink);
  background: #fff;
}

.button-primary,
.button-secondary,
.language-link,
.menu-button {
  transform: translateZ(0);
}

.fact-pill {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.72);
  padding: 18px;
  backdrop-filter: blur(14px);
}

.fact-pill span,
.plain-card span,
.delivery-grid span,
.global-cards span {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.fact-pill strong {
  white-space: nowrap;
  font-size: 15px;
}

.section-shell {
  background: var(--paper);
}

.plain-card {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.54);
  padding: 22px;
}

.plain-card p,
.delivery-grid p,
.global-cards p {
  margin-top: 16px;
  color: #67645f;
  line-height: 1.8;
}

.product-list {
  display: grid;
  gap: 80px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.product-row:nth-child(even) .product-copy {
  order: 2;
}

.product-row:nth-child(even) .interface-shot {
  order: 1;
}

.row-number {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--muted);
}

.product-copy h3 {
  margin-top: 22px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.16;
}

.product-copy p {
  margin-top: 22px;
  max-width: 440px;
  color: #66635e;
  font-size: 16px;
  line-height: 1.9;
}

.tag-list {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 999px;
  padding: 7px 11px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #4d4b47;
}

.case-meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-meta span {
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 10px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  font-weight: 600;
  color: #4d4b47;
}

.case-meta span:first-child {
  border-color: rgba(18, 216, 153, 0.42);
  background: rgba(18, 216, 153, 0.16);
  color: #0a7a59;
}

.interface-shot {
  min-height: 440px;
  border: 1px solid rgba(23, 23, 23, 0.18);
  border-radius: 6px;
  overflow: hidden;
  padding: 52px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transform-style: preserve-3d;
  will-change: transform;
}

.case-shot {
  display: flex;
  min-height: 500px;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.case-shot img {
  display: block;
  max-height: 560px;
  width: 100%;
  height: auto;
  border-radius: 7px;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.case-row:first-child .case-shot img {
  width: auto;
  max-width: min(100%, 360px);
}

.shot-green {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 190, 0.8), transparent 18rem),
    linear-gradient(135deg, #d5f4ec, #b7efe3 44%, #f1f0d0);
}

.shot-blue {
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 250, 189, 0.78), transparent 14rem),
    linear-gradient(135deg, #c7f4da, #bce7ff 66%, #d7d9ff);
}

.shot-sand {
  background:
    radial-gradient(circle at 68% 20%, rgba(18, 216, 153, 0.24), transparent 17rem),
    linear-gradient(135deg, #eee9cf, #d5f3ec 48%, #bcd7ff);
}

.mock-window,
.board-mock,
.device-mock {
  height: 100%;
  min-height: 336px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: #111313;
  color: white;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  transform: translateZ(24px);
}

.mock-topbar {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.mock-topbar span {
  height: 8px;
  width: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.mock-grid {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  min-height: 288px;
}

.mock-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.mock-sidebar b {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
}

.mock-sidebar i,
.mock-lines span,
.board-mock span {
  display: block;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.mock-sidebar i {
  height: 10px;
  margin-top: 12px;
}

.mock-main {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 24px;
}

.mock-search {
  border: 1px solid rgba(18, 216, 153, 0.42);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  padding: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.mock-response {
  border-radius: 5px;
  background: rgba(18, 216, 153, 0.12);
  padding: 18px;
}

.mock-response strong {
  color: #d8fff1;
}

.mock-response p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.6;
}

.mock-lines span {
  height: 9px;
  margin-top: 10px;
}

.mock-lines span:nth-child(1) {
  width: 86%;
}

.mock-lines span:nth-child(2) {
  width: 66%;
}

.mock-lines span:nth-child(3) {
  width: 48%;
}

.board-mock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
}

.board-mock div {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.055);
  padding: 16px;
}

.board-mock b {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.board-mock span {
  height: 58px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

.device-mock {
  position: relative;
  min-height: 336px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #111313;
  background-size: 34px 34px;
}

.desktop-pane {
  position: absolute;
  top: 42px;
  right: 44px;
  bottom: 54px;
  left: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(18, 216, 153, 0.2) 0 22%, transparent 22%),
    repeating-linear-gradient(180deg, transparent 0 30px, rgba(255, 255, 255, 0.07) 31px 32px);
}

.phone-pane {
  position: absolute;
  right: 52px;
  bottom: 34px;
  width: 92px;
  height: 176px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at center 20px, rgba(255, 255, 255, 0.18) 2px, transparent 3px),
    linear-gradient(180deg, rgba(18, 216, 153, 0.18), rgba(255, 255, 255, 0.06));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.delivery-grid,
.global-cards,
.career-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.launch-flow {
  display: grid;
  gap: 12px;
}

.delivery-grid article,
.launch-flow article,
.career-grid article {
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.5);
  padding: 24px;
}

.launch-flow article {
  display: grid;
  grid-template-columns: 48px minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.launch-flow h3,
.career-grid span {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.launch-flow p,
.career-grid p {
  color: #67645f;
  line-height: 1.8;
}

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

.career-grid article {
  min-height: 180px;
}

.global-section {
  isolation: isolate;
}

.global-map {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 70% 20%, rgba(18, 216, 153, 0.26), transparent 22rem),
    radial-gradient(circle at 18% 84%, rgba(125, 211, 252, 0.16), transparent 26rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  opacity: 0.9;
}

.global-cards article {
  min-height: 148px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
  backdrop-filter: blur(10px);
}

.global-cards p {
  color: rgba(255, 255, 255, 0.68);
}

.global-cards span {
  color: rgba(255, 255, 255, 0.58);
}

.role-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.role-strip span {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 600;
}

.role-strip span:last-child {
  border-right: 0;
}

.career-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.career-card {
  display: grid;
  gap: 24px;
  padding: 30px;
}

.career-card h3 {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
}

.career-card p {
  color: #66635e;
  line-height: 1.9;
}

.contact-panel {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: 52px;
}

.contact-panel h2 {
  margin-top: 18px;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.18;
}

.contact-panel p {
  max-width: 560px;
  color: #66635e;
  font-size: 18px;
  line-height: 2;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(18, 216, 153, 0.72);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .button-primary:hover,
  .button-secondary:hover,
  .language-link:hover,
  .menu-button:hover {
    transform: translateY(-1px);
  }

  .fact-pill,
  .plain-card,
    .delivery-grid article,
    .launch-flow article,
    .career-grid article,
    .global-cards article,
    .career-card,
  .contact-panel {
    transition:
      transform 220ms ease,
      box-shadow 220ms ease,
      border-color 220ms ease,
      background-color 220ms ease;
  }

  .fact-pill:hover,
  .plain-card:hover,
  .delivery-grid article:hover,
  .launch-flow article:hover,
  .career-grid article:hover,
  .career-card:hover {
    border-color: rgba(23, 23, 23, 0.2);
    box-shadow: 0 18px 36px rgba(23, 23, 23, 0.07);
    transform: translateY(-3px);
  }

  .global-cards article:hover {
    border-color: rgba(18, 216, 153, 0.34);
    background: rgba(255, 255, 255, 0.085);
    transform: translateY(-3px);
  }
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

.motion-prep [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
}

.motion-prep [data-reveal].is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

.motion-prep [data-reveal].is-visible .hero-line {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

.motion-prep [data-reveal].is-visible .button-primary,
.motion-prep [data-reveal].is-visible .button-secondary {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 72px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 96px;
  }

  .section-title {
    font-size: 54px;
  }
}

@media (max-width: 1023px) {
  .product-row,
  .product-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-row:nth-child(even) .product-copy,
  .product-row:nth-child(even) .interface-shot {
    order: initial;
  }

  .interface-shot {
    min-height: 360px;
    padding: 28px;
  }

  .case-shot {
    min-height: 360px;
  }

  .product-copy h3 {
    font-size: 40px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .contact-panel h2 {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .site-header {
    top: 12px;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-canvas,
  .hero-static {
    height: 38svh;
    min-height: 260px;
  }

  .fact-pill {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
  }

  .fact-pill strong {
    white-space: normal;
  }

  .section-title {
    font-size: 34px;
  }

  .large-copy {
    font-size: 16px;
  }

  .delivery-grid,
  .global-cards,
  .career-grid {
    grid-template-columns: 1fr;
  }

  .launch-flow article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-shot img {
    max-height: 420px;
  }

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

  .role-strip span {
    border-bottom: 1px solid var(--line);
  }

  .role-strip span:nth-child(even) {
    border-right: 0;
  }

  .role-strip span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .mock-sidebar {
    display: none;
  }

  .board-mock {
    grid-template-columns: 1fr;
  }

  .board-mock div:nth-child(3) {
    display: none;
  }

  .desktop-pane {
    right: 24px;
    left: 24px;
  }

  .phone-pane {
    right: 30px;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 40px;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .interface-shot {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-canvas {
    display: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
