/* Araibe Labs · araibe.com
   Brand: Night #0F1F1A, Light (green) #12A87B, Paper #F4F6F3, Moss #3F4F49. Font: DM Sans (OFL). */

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DMSans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DMSans-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #0F1F1A;
  --light: #12A87B;
  --paper: #F4F6F3;
  --moss: #3F4F49;
  --white: #FFFFFF;
  --rule: #DCE3DE;
  --link: #0B7A5A;
  --link-hover: #075C44;
  --on-night-soft: #A9B8B2;
  --on-night-link: #7FE0BE;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--night);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--night); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }
:focus-visible { outline: 3px solid var(--light); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Logo */
.mark { width: 32px; height: 32px; flex: none; }
.light { fill: var(--light); }
.word { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.i { position: relative; display: inline-block; }
.dot { position: absolute; left: 50%; top: 0.085em; width: 0.19em; height: 0.19em; margin-left: -0.095em; border-radius: 50%; background: var(--light); }

/* Header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--night); text-decoration: none; }
.brand:hover { color: var(--night); }
nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
nav a { color: var(--night); text-decoration: none; font-weight: 500; padding: 12px 0; }
nav a:hover { color: var(--link); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 96px; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow, .label { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--moss); }
h1 { font-size: clamp(2.75rem, 8vw, 5.25rem); line-height: 1.02; letter-spacing: -0.04em; max-width: 13ch; }
.lead { font-size: 1.25rem; color: var(--moss); max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.btn.solid { background: var(--night); color: var(--paper); }
.btn.solid:hover { background: #1C3A30; color: var(--paper); }
.btn.line { border: 1.5px solid var(--night); color: var(--night); }
.btn.line:hover { background: var(--night); color: var(--paper); }
.hero-art { flex: 1 1 240px; display: flex; justify-content: center; }
.tile { width: 260px; height: 260px; border-radius: 56px; background: var(--night); color: var(--paper); display: flex; align-items: center; justify-content: center; }
.tile svg { width: 168px; height: 168px; }
.turn { transform-origin: 24px 24.5px; animation: turn 8s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes turn {
  0%, 40% { transform: rotate(0deg); }
  50%, 90% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}
@media (max-width: 600px) {
  .hero { padding-top: 32px; padding-bottom: 72px; }
  .tile { width: 200px; height: 200px; border-radius: 44px; }
  .tile svg { width: 128px; height: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  .turn { animation: none; }
  html { scroll-behavior: auto; }
}

/* Sections */
.stack { display: flex; flex-direction: column; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
h2 { font-size: 2rem; }
.band { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--rule); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.card h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.card p { color: var(--moss); }
.card .label { color: var(--moss); }
.more { margin-top: auto; padding-top: 12px; font-weight: 700; }
.soon { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--moss); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.cols h3 { font-size: 1.25rem; margin-bottom: 8px; }
.cols p { color: var(--moss); line-height: 1.6; }

/* Footer */
.foot { background: var(--night); color: var(--paper); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.hello { display: flex; flex-direction: column; gap: 8px; }
.hello h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.hello a { color: var(--on-night-link); font-size: 1.125rem; font-weight: 500; padding: 10px 0; }
.hello a:hover { color: var(--paper); }
.small { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: var(--on-night-soft); }
.small .mark { width: 20px; height: 20px; color: var(--paper); }

/* Error page */
.lost { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-top: 48px; padding-bottom: 96px; }
.lost h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
