/* GENERATED by scripts/build-brand-css.mjs from src/lib/ui/theme.ts — do not edit.
 * Ariantra brand kit v1. Tokens as CSS vars + the shared header (.ar-nav) and
 * wordmark (.ar-logo) rules. Requires Inter (weights 300–800) loaded by the page. */

:root {
  --ar-bg: #f7f8fa;
  --ar-surface: #ffffff;
  --ar-surface2: #f3f4f6;
  --ar-border: #e5e7eb;
  --ar-border-strong: #d1d5db;
  --ar-text: #111827;
  --ar-dim: #6b7280;
  --ar-accent: #ff5c00;
  --ar-accent-soft: rgba(255, 92, 0, 0.10);
  --ar-ok: #059669;
  --ar-ok-soft: rgba(5, 150, 105, 0.10);
  --ar-warn: #b45309;
  --ar-warn-soft: rgba(217, 119, 6, 0.12);
  --ar-danger: #dc2626;
  --ar-danger-soft: rgba(220, 38, 38, 0.10);
  --ar-on-accent: #ffffff;
  --ar-nav-bg: rgba(255, 255, 255, 0.75);
  --ar-radius-sm: 8px;
  --ar-radius-md: 12px;
  --ar-radius-lg: 16px;
  --ar-radius-pill: 999px;
  --ar-shadow-card: 0 1px 2px rgba(16, 24, 40, 0.06);
  --ar-shadow-lift: 0 18px 40px rgba(16, 24, 40, 0.12);
  --ar-shadow-accent: 0 6px 18px rgba(255, 92, 0, 0.25);
  --ar-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ar-dark-bg: #0f172a;
  --ar-dark-text: #ffffff;
  --ar-dark-body: #cbd5e1;
  --ar-dark-dim: #94a3b8;
  --ar-dark-faint: #64748b;
  --ar-dark-border: rgba(255, 255, 255, 0.1);
}

/* Stop iOS Safari inflating text on rotation to landscape (all surfaces
   include this stylesheet, so the guard applies platform-wide). */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Ambient page background (soft radial brand glows) — apply to full pages. */
.ar-page-bg {
  background: radial-gradient(900px 500px at 80% -10%, rgba(255, 92, 0, 0.06), transparent 60%),radial-gradient(700px 500px at 0% 0%, rgba(99, 102, 241, 0.05), transparent 55%), #f7f8fa;
}

/* ── Shared sticky header — classic ariantra.com style (2026-07-03) ────── */
.ar-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eee;
  font-family: var(--ar-font);
}
.ar-nav-inner {
  /* Full-bleed like ariantra.com: logo hard left, menu hard right (no
     max-width container — the landing set the pattern, all surfaces follow). */
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ar-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  /* Menu sits CENTERED in the bar (logo left, CTA right) — the three-child
     space-between layout does this; matches ariantra.com. */
}
.ar-link {
  color: var(--ar-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.15s;
}
.ar-link:hover {
  color: var(--ar-accent);
}
.ar-link.on {
  color: var(--ar-accent);
}
.ar-signin {
  color: var(--ar-dim);
}
.ar-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ar-cta {
  color: var(--ar-on-accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: var(--ar-radius-pill);
  background: var(--ar-accent);
  white-space: nowrap;
  transition: background 0.15s;
  display: inline-block;
}
.ar-cta:hover {
  background: #e65300;
}

/* Mobile: links collapse behind a checkbox-pattern hamburger (no JS — the
   same markup works in React and in the static partial). CTA stays visible. */
.ar-nav-toggle { display: none; }
/* Icon-only account link — mobile-only (see @media below); the desktop menu
   already has a text "Log in" link, so this stays hidden there to avoid a
   duplicate (2026-07-08 bug: this was unscoped and showed on both). */
.ar-account-icon { display: none; align-items: center; gap: 4px; }
.ar-nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  /* border-box: hosts without a global reset (the Next apps) would otherwise
     add padding+border on top of 40px and push the burger past the viewport. */
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
}
.ar-nav-burger span {
  display: block;
  height: 2px;
  background: var(--ar-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.ar-nav-toggle:checked ~ .ar-nav-right .ar-nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ar-nav-toggle:checked ~ .ar-nav-right .ar-nav-burger span:nth-child(2) { opacity: 0; }
.ar-nav-toggle:checked ~ .ar-nav-right .ar-nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  /* App-like mobile nav (2026-07-08): the bottom tab bar (.ar-tabbar below)
     replaces the burger/dropdown as primary navigation on mobile — desktop
     keeps the classic top menu untouched. Burger markup stays in the DOM
     (older cached partials still reference it) but is hidden here. */
  .ar-nav-burger { display: none; }
  .ar-nav-links { display: none; }
  .ar-cta { padding: 9px 14px; font-size: 13px; }
  /* Account/sign-in collapses to an icon-only tap target next to the CTA. */
  .ar-account-icon { display: inline-flex; }
  .ar-signin-label { display: none; }
}

/* ── Bottom tab bar (mobile "app" nav, 2026-07-08) ─────────────────────
   Fixed, thumb-reachable, icon+label per tab — the native-app pattern.
   Desktop keeps the top .ar-nav-links menu; this is mobile-only. */
.ar-tabbar { display: none; }
@media (max-width: 860px) {
  .ar-tabbar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--ar-border);
    box-shadow: 0 -4px 16px rgba(16, 24, 40, 0.08);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    font-family: var(--ar-font);
  }
  /* Every page under a sticky top nav + fixed bottom tab bar needs room at
     the bottom so content/footer isn't hidden behind the bar. */
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}
.ar-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px;
  color: var(--ar-dim);
  text-decoration: none;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: var(--ar-radius-sm);
  transition: color 0.15s;
}
.ar-tab-icon { font-size: 20px; line-height: 1; }
.ar-tab.on { color: var(--ar-accent); }

/* ── Wordmark (stacked: ARIANTRA / line·dot·line / AI FOUNDRY) ────────── */
.ar-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  gap: 0;
  font-family: var(--ar-font);
}
.ar-logo-word {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--ar-text);
  line-height: 1;
}
.ar-logo-divider {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 5px;
  margin: 4px 0 3px;
}
.ar-logo-line {
  flex: 1;
  height: 1px;
  background: var(--ar-text);
  opacity: 0.3;
}
.ar-logo-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ar-accent);
  flex-shrink: 0;
}
.ar-logo-sub {
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ar-dim);
  line-height: 1;
}

/* ── Dark hero (signature pattern: white header + dark hero banner) ───── */
.ar-hero-dark {
  background:
    radial-gradient(900px 480px at 80% -10%, rgba(255, 92, 0, 0.14), transparent 60%),
    var(--ar-dark-bg);
  color: var(--ar-dark-text);
}

/* ── Shared footer (dark, from ariantra.com) — one footer on EVERY surface */
.ar-footer {
  background: var(--ar-dark-bg);
  color: var(--ar-dark-body);
  padding: 56px 24px 28px;
  font-family: var(--ar-font);
}
.ar-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ar-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--ar-dark-border);
}
@media (max-width: 720px) {
  .ar-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.ar-footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--ar-dark-text);
  letter-spacing: -0.5px;
}
.ar-footer-logo span { color: var(--ar-accent); }
.ar-footer-tag {
  font-size: 13px;
  color: var(--ar-dark-dim);
  margin: 6px 0 14px;
}
.ar-footer-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ar-dark-dim);
  max-width: 360px;
}
.ar-footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ar-dark-text);
  margin: 0 0 14px;
}
.ar-footer-col a, .ar-footer-col p {
  display: block;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ar-dark-dim);
  text-decoration: none;
  margin: 0 0 10px;
}
.ar-footer-col a:hover { color: var(--ar-accent); }
.ar-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.ar-footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ar-dark-body);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--ar-dark-border);
  border-radius: var(--ar-radius-pill);
  transition: color 0.15s, border-color 0.15s;
}
.ar-footer-social a:hover { color: var(--ar-accent); border-color: var(--ar-accent); }
.ar-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  font-size: 12px;
  color: var(--ar-dark-faint);
}
.ar-footer-bottom a { color: var(--ar-dark-faint); text-decoration: none; }
.ar-footer-bottom a:hover { color: var(--ar-accent); }
