/* NaranzAI — ultra-lean consultation landing page (desktop + mobile consistent) */

/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

:root{
  --bg: #0b0d10;
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.74);
  --muted2: rgba(255,255,255,0.62);
  --rule: rgba(255,255,255,0.10);

  /* NaranzAI accent (locked) */
  --accent: #ff4d5a;
  --accentHover: #ff6671;
  --accentText: #0b0d10;

  /* Boxes */
  --boxBorder: rgba(255,255,255,0.14);
  --boxBg: rgba(255,255,255,0.04);

  /* Shadows */
  --shadowSoft: 0 18px 46px rgba(0,0,0,0.40);
  --shadowBtn: 0 14px 34px rgba(255, 77, 90, 0.22);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  color: var(--text);

  /* Background depth without fixed pseudo-element (more stable on mobile Safari) */
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 560px at 18% 18%, rgba(170, 40, 70, 0.26), transparent 60%),
    radial-gradient(860px 560px at 86% 16%, rgba(255, 90, 90, 0.12), transparent 55%),
    radial-gradient(820px 640px at 68% 86%, rgba(255, 190, 120, 0.09), transparent 60%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Links: prevent purple/visited weirdness; buttons handle their own styles */
a { color: rgba(255,255,255,0.88); }
a:visited { color: rgba(255,255,255,0.88); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 26px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  background: #ffffff;
  color: #000000;
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { left: 26px; }

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  background: rgba(11, 13, 16, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 10;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

/* Brand: logo + text */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--text);
}

.brand__logo {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.55);
}

.brand__name {
  font-weight: 750;
  letter-spacing: 0.01em;
  font-size: 15px;
  line-height: 1;
}

/* Hero */
.hero { padding: 60px 0 30px; }

h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 4.6vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.lead {
  margin: 0 0 14px;
  font-size: 18px;
  max-width: 66ch;
  color: var(--muted);
}

.spine {
  margin: 0 0 22px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted2);
}

.cta { margin-top: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.btn:visited { color: inherit; }

.btn--primary {
  background: linear-gradient(180deg, var(--accent), #e63f4d);
  color: var(--accentText);
  box-shadow: var(--shadowBtn), 0 2px 0 rgba(255,255,255,0.10) inset;
}

.btn--primary:hover {
  background: linear-gradient(180deg, var(--accentHover), #ee4654);
  transform: translateY(-1px);
}

.btn--primary:active { transform: translateY(0); }

.btn--primary:focus-visible {
  outline: 3px solid rgba(255, 77, 90, 0.35);
  outline-offset: 3px;
}

.btn--secondary {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.24);
  transform: translateY(-1px);
}

.btn--secondary:active { transform: translateY(0); }

.btn--secondary:focus-visible {
  outline: 3px solid rgba(255,255,255,0.20);
  outline-offset: 3px;
}

.btn--sm { padding: 10px 14px; font-weight: 720; }

/* Rules */
.rule {
  border: 0;
  height: 1px;
  margin: 28px 0;
  background: var(--rule);
}

/* Headings */
h2 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.subhead { margin: 0 0 8px; font-size: 16px; }

/* Lists */
.bullets {
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.86);
}
.bullets li { margin: 7px 0; }

/* Notes */
.note {
  margin: 12px 0 0;
  color: var(--muted2);
  max-width: 72ch;
}

.exclusion {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.72);
  max-width: 72ch;
}

.muted {
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 72ch;
}

/* Signals: boxed side-by-side */
.signals-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 14px;
}

.signal-box{
  border: 1px solid var(--boxBorder);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: var(--shadowSoft);
}

.signal-actions{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Footer */
.footer {
  margin: 46px 0 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: var(--muted2);
}

.footer-link{
  color: rgba(255,255,255,0.88);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.sep { margin: 0 8px; color: rgba(255,255,255,0.45); }

/* Responsive */
@media (max-width: 760px) {
  .signals-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { background-attachment: scroll; } /* more consistent on mobile */

  .wrap { padding: 0 18px; }

  .topbar__inner { min-height: 64px; }
  .brand__logo { width: 20px; height: 20px; }
  .brand__name { font-size: 14px; }

  .btn { padding: 12px 16px; }
  .btn--sm { width: 100%; } /* signals buttons full-width on mobile */
  .signal-actions { gap: 10px; }

  .hero { padding: 44px 0 22px; }
  h1 { font-size: clamp(30px, 9vw, 44px); }
  .lead { font-size: 16px; }
}