/* ============================================================================
   UNICRON HOLDINGS — landing page
   Compiled from a Claude Design (.dc.html) document into a standalone static
   site. The Nequity design-system tokens the source referenced
   (--font-sans, --radius-pill, --shadow-lg) are inlined below; the design's
   runtime behaviors (style-hover / style-active / style-focus, the FAQ
   accordion, the request form) are reimplemented in plain CSS + assets/app.js.
   Webfonts (Hanken Grotesk + Cormorant Garamond) are loaded via <link> in
   index.html.
   ============================================================================ */

:root {
  /* --- Design-system tokens used by this page (Nequity, dark theme) --- */
  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-pill: 9999px;
  --shadow-lg: 0 2px 4px oklch(0 0 0 / 0.45), 0 12px 28px oklch(0 0 0 / 0.52);

  /* --- Page palette --- */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --bg: oklch(0.165 0.010 66);
  --bg-2: oklch(0.200 0.012 66);
  --surface: oklch(0.238 0.014 66);
  --surface-2: oklch(0.280 0.015 66);
  --line: oklch(1 0 0 / 0.10);
  --line-2: oklch(1 0 0 / 0.17);
  --gold: oklch(0.815 0.088 82);
  --gold-2: oklch(0.720 0.098 78);
  --gold-soft: oklch(0.875 0.058 86);
  --ivory: oklch(0.952 0.010 82);
  --text: oklch(0.900 0.010 82);
  --muted: oklch(0.730 0.010 78);
  --dim: oklch(0.665 0.009 76); /* raised from 0.585 for WCAG 1.4.3 (4.5:1) on small text + placeholders */
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* clears the fixed header on in-page anchor jumps */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Hero headline — font-size lives here (not inline) so it can re-flow on
   small screens; the original was authored desktop-only with a 46px floor. */
.hero-title { font-size: clamp(34px, 7.5vw, 92px); }

::selection { background: oklch(0.815 0.088 82 / 0.30); color: var(--ivory); }
a { color: inherit; }
img, svg { display: block; }

/* Visible, branded keyboard focus (the DS removed it from the runtime) */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

::placeholder { color: var(--dim); opacity: 1; }

/* Skip link — first focusable element; off-screen until focused */
.skip-link {
  position: absolute; top: 10px; left: 10px; z-index: 100;
  transform: translateY(-200%);
  padding: 11px 18px; border-radius: 10px;
  background: var(--gold); color: oklch(0.18 0.012 66);
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: transform 160ms;
}
.skip-link:focus { transform: translateY(0); }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes uni-cue  { 0%,100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(7px); opacity: 1; } }
@keyframes uni-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ----------------------------------------------------------------------------
   Layout containers + responsive grids
   (grid definitions live here so media queries can re-flow them)
   ---------------------------------------------------------------------------- */
.cont { padding: 0 32px; }

.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.buy-3up       { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.steps         { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 60px; }
.who-grid      { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.why-grid      { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); margin-top: 48px; align-items: start; }
.stats-grid    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.testi-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.markets-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.contact-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.request-grid  { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-row      { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.footer-grid   { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 50px; }

/* ----------------------------------------------------------------------------
   Hover / active / focus — replacing the DS runtime's style-* attributes
   ---------------------------------------------------------------------------- */
.u-hover-ivory     { transition: color 160ms; }
.u-hover-ivory:hover { color: var(--ivory); }

.u-hover-goldfill:hover { background: var(--gold); color: oklch(0.18 0.01 66); }

.u-hover-bright:hover  { filter: brightness(1.06); }
.u-hover-bright:active { transform: scale(0.985); }

.u-hover-ghost:hover { background: oklch(1 0 0 / 0.1); border-color: var(--gold); }

.u-hover-goldborder:hover { border-color: var(--gold); color: var(--gold-soft); }

.u-hover-lift        { transition: border-color 200ms, transform 200ms; }
.u-hover-lift:hover  { border-color: var(--gold); transform: translateY(-3px); }

.field        { transition: border-color 150ms, box-shadow 150ms; }
.field:focus  { border-color: var(--gold); box-shadow: 0 0 0 3px oklch(0.815 0.088 82 / 0.18); }

/* ----------------------------------------------------------------------------
   Navigation (desktop links + mobile menu)
   ---------------------------------------------------------------------------- */
.nav-inner { padding: 15px 32px; }

/* Display lives here (not inline) so the max-width:900px query can hide it. */
.nav-desktop { display: flex; align-items: center; gap: 34px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; flex: none;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: oklch(1 0 0 / 0.04); color: var(--gold-soft); cursor: pointer;
  transition: border-color 160ms, background 160ms;
}
.nav-toggle:hover { border-color: var(--gold); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 6px 20px 18px;
  background: oklch(0.165 0.010 66 / 0.97);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 16px; font-weight: 500; color: var(--text);
  text-decoration: none; padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .nav-mobile-cta {
  margin-top: 16px; text-align: center; color: oklch(0.18 0.012 66);
  background: var(--gold); border-radius: var(--radius-pill);
  font-weight: 700; padding: 15px 4px;
}

/* ----------------------------------------------------------------------------
   FAQ accordion (single-open; first item open on load)
   ---------------------------------------------------------------------------- */
.faq-icon { transition: transform 240ms; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms ease;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
/* visibility:hidden takes collapsed answers out of the a11y tree (and out of tab
   order) to match aria-expanded; delayed so the collapse animation still plays. */
.faq-answer-inner { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s linear 280ms; }
.faq-item.open .faq-answer-inner { visibility: visible; transition-delay: 0s; }

/* ----------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle  { display: inline-flex; }

  .approach-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .request-grid  { grid-template-columns: 1fr; }
  .buy-3up       { grid-template-columns: repeat(2, 1fr); }
  .who-grid      { grid-template-columns: repeat(2, 1fr); }
  .testi-grid    { grid-template-columns: 1fr; }
  .markets-grid  { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .steps         { grid-template-columns: 1fr 1fr; gap: 44px 0; }
  .approach-float { position: static !important; margin-top: 16px; animation: none !important; }
}

@media (min-width: 901px) {
  .nav-mobile { display: none !important; }
}

@media (max-width: 600px) {
  .cont        { padding: 0 20px; }
  .nav-inner   { padding: 12px 20px; }
  .buy-3up      { grid-template-columns: 1fr; }
  .who-grid     { grid-template-columns: 1fr; }
  .markets-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid       { grid-template-columns: 1fr 1fr; gap: 34px 16px; }
  .stats-grid > div { border-right: none !important; }
  .form-row    { grid-template-columns: 1fr; }
  .steps       { grid-template-columns: 1fr; gap: 34px 0; }
}

@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;
  }
}
