/* ============================================================
   ORANO · Design System (landing)
   Lifted from docs/design/orano-design-system-v1.md
   Pure black · white type · gray hierarchy · Inter · no gradients
   ============================================================ */

:root {
  /* ── Color ── */
  --bg:           #000000;   /* Pure black. Always. */
  --bg-card:      #050505;   /* Only if a card is unavoidable */
  --bg-elevated:  #0a0a0a;   /* Subtle lift, used very sparingly */
  --border:       #1a1a1a;   /* The only separator (1px) */
  --border-soft:  #121212;
  --text:         #ffffff;
  --text-2:       #8a8a8a;   /* secondary */
  --text-3:       #5f5f5f;   /* muted */
  --text-4:       #3a3a3a;   /* faintest */
  --platinum:     #d8dee8;   /* the one permitted accent (state/emphasis) */

  /* ── Type ── */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ls:   -0.03em;
  --ls-tight: -0.04em;

  /* ── Motion ── */
  --ease:    cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --d-fast:  250ms;
  --d:       400ms;
  --d-slow:  600ms;

  /* ── Spacing (8pt grid) ── */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --s-8: 128px;

  /* ── Radii ── */
  --r-card: 18px;
  --r-pill: 999px;
  --r-btn: 14px;

  /* ── Layout ── */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: var(--ls);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--platinum); color: var(--bg); }

/* ── Typography scale ── */
.kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}
.h-sec {
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  line-height: 1.08;
}
.h-sec.lg { font-size: clamp(28px, 4.5vw, 44px); }
.h-sec.md { font-size: clamp(24px, 3.4vw, 34px); }
.lead {
  color: var(--text-2);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0; }

/* ── Buttons ── (per brand doc: primary = white bg/black text; secondary = outlined) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--r-btn);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform var(--d-fast) var(--ease), background var(--d-fast) var(--ease),
              color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.985); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--platinum); }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover { border-color: var(--text-2); }
/* Discord's brand color — the one deliberate exception to the monochrome
   system, so the community CTA reads as its own distinct action rather
   than blending into the app-download buttons. */
.btn-discord { background: #5865F2; color: #ffffff; border: none; }
.btn-discord:hover { background: #6d78ff; }
.btn svg { width: 18px; height: 18px; }
.btn-lg { height: 60px; padding: 0 34px; font-size: 16px; }

/* App Store badge layout — apple mark + two-line "Download on the / App Store" */
.btn-store { gap: 12px; }
.btn-store .store-mark { width: 22px; height: 22px; flex-shrink: 0; }
.btn-store .store-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-store .store-kicker { font-size: 10px; font-weight: 400; letter-spacing: 0.02em; opacity: 0.7; }
.btn-store .store-name { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-top: 1px; }

/* ── Dividers (prefer over cards) ── */
.hairline { height: 1px; background: var(--border); border: 0; }
.divider-block { height: 1px; background: var(--border-soft); }

/* ── Chips / badges (use sparingly) ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: -0.01em;
}
.chip svg { width: 14px; height: 14px; }
.chip.active { color: var(--text); border-color: var(--text-3); }

/* ── Logo ── */
.logo {
  width: 1em;
  height: 1em;
  display: inline-block;
  transform-origin: 50% 50%;
  /* breathing applied here; slow rotation layered on top via motion.js */
  animation: logo-breathe 4.5s var(--ease) infinite;
}
.logo svg { width: 100%; height: 100%; }
.logo img { width: 100%; height: 100%; object-fit: contain; }
@keyframes logo-breathe {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}

/* ── Phone device frame ── */
.device {
  position: relative;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 9 / 19.5;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 42px;
  background: var(--bg);
  padding: 10px;
  margin: 0 auto;
  /* subtle device glow — the one permitted "shadow" in the brand doc,
     lifts the phone off pure black so it doesn't read as a flat block */
  box-shadow: 0 0 60px -24px rgba(216,222,232,0.25);
}
.device::before {  /* dynamic island */
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 24px;
  border-radius: var(--r-pill);
  background: #000;
  border: 1px solid var(--border);
  z-index: 5;
}
.device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Fake iOS status bar inside screens ── */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
  height: 44px;
}
.status-bar .sb-right { display: flex; gap: 5px; align-items: center; color: var(--text-2); font-size: 11px; }

/* ── Utility ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--d-slow) var(--ease), transform var(--d-slow) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 80ms; }
.reveal[data-d="2"] { transition-delay: 160ms; }
.reveal[data-d="3"] { transition-delay: 240ms; }
.reveal[data-d="4"] { transition-delay: 320ms; }

.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ── Accessibility: skip link + focus states ── */
.skip-link {
  position: absolute;
  top: -48px; left: 12px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 600;
  transition: top var(--d-fast) var(--ease);
}
.skip-link:focus-visible { top: 12px; }

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--platinum);
  outline-offset: 3px;
  border-radius: var(--r-btn);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
