/* ============================================================
   LEGENDS UNHINGED — Shared Stylesheet
   ============================================================ */

:root {
  --lu-red:      #E8201A;
  --lu-red-deep: #B0140F;
  --lu-black:    #0A0A0B;
  --lu-black-2:  #141416;
  --lu-black-3:  #1C1C20;
  --lu-blue:     #3B3B98;
  --lu-blue-br:  #4F4FD0;
  --lu-bone:     #F4E4C1;
  --lu-white:    #FFFFFF;
  --lu-grey:     #9A9AA0;
  --lu-grey-d:   #6A6A70;
  --lu-line:     #2A2A2E;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--lu-black);
  color: var(--lu-white);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.display {
  font-family: 'Arial Black', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 0.95;
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.red { color: var(--lu-red); }

/* ATMOSPHERIC BG */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232,32,26,0.15), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(59,59,152,0.10), transparent 55%); }
.bg-fx::after { content: ""; position: absolute; inset: 0; opacity: 0.035;
  background-image: repeating-linear-gradient(135deg, var(--lu-red) 0 2px, transparent 2px 40px); }

/* NAV */
nav { position: sticky; top: 0; z-index: 50; background: rgba(10,10,11,0.85);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--lu-line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 17px; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--lu-grey); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--lu-white); }
.nav-cta { background: var(--lu-red); color: #fff !important; padding: 9px 18px;
  border-radius: 8px; font-weight: 800 !important; font-size: 14px; transition: transform .15s, background .2s; }
.nav-cta:hover { background: var(--lu-red-deep); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 32px;
  border-radius: 10px; font-weight: 800; font-size: 16px;
  transition: transform .15s, box-shadow .2s, background .2s; cursor: pointer; border: 0; }
.btn-primary { background: var(--lu-red); color: #fff; box-shadow: 0 8px 30px rgba(232,32,26,0.32); }
.btn-primary:hover { background: var(--lu-red-deep); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(232,32,26,0.45); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid var(--lu-line); }
.btn-ghost:hover { border-color: var(--lu-white); transform: translateY(-2px); }

/* PAGE HEADER (interior pages) */
.page-head { position: relative; z-index: 1; padding: 64px 0 40px; text-align: center; }
.page-head .eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--lu-blue-br); margin-bottom: 16px; }
.page-head h1 { font-size: clamp(34px, 6vw, 60px); margin-bottom: 16px; }
.page-head p { color: var(--lu-grey); max-width: 640px; margin: 0 auto; font-size: 17px; }

/* SECTION */
section { position: relative; z-index: 1; padding: 56px 0; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lu-blue-br); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(28px, 5vw, 46px); }
.sec-head p { color: var(--lu-grey); max-width: 600px; margin: 14px auto 0; font-size: 16px; }

/* CARDS GENERIC */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--lu-black-2); border: 1px solid var(--lu-line); border-radius: 16px;
  padding: 28px 24px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--lu-red); }
.card .ico { font-size: 32px; margin-bottom: 14px; }
.card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--lu-grey); }

/* RATE STRIP */
.rates-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: center; }
.rate { padding: 16px 8px; background: var(--lu-black-2); border: 1px solid var(--lu-line); border-radius: 14px; }
.rate .num { font-size: clamp(28px, 4.5vw, 42px); font-weight: 900; color: var(--lu-red);
  font-family: 'Arial Black', sans-serif; line-height: 1; }
.rate .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--lu-grey); margin-top: 8px; }

/* TABLE-ISH SETTINGS LIST */
.settings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; max-width: 820px; margin: 0 auto; }
.setting { display: flex; justify-content: space-between; gap: 14px; padding: 12px 16px;
  background: var(--lu-black-2); border: 1px solid var(--lu-line); border-radius: 10px; font-size: 15px; }
.setting .k { color: var(--lu-grey); }
.setting .v { font-weight: 800; color: var(--lu-white); }

/* CTA BANNER */
.cta-box { background: linear-gradient(135deg, var(--lu-red), var(--lu-red-deep));
  border-radius: 22px; padding: 56px 36px; position: relative; overflow: hidden; text-align: center; }
.cta-box::before { content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: repeating-linear-gradient(135deg, #000 0 3px, transparent 3px 44px); }
.cta-box h2 { font-size: clamp(26px, 5vw, 44px); margin-bottom: 14px; position: relative; }
.cta-box p { font-size: 17px; margin-bottom: 28px; position: relative; opacity: .95; }
.cta-box .btn-primary { background: #fff; color: var(--lu-red); position: relative; }
.cta-box .btn-primary:hover { background: var(--lu-black); color: #fff; }

/* FOOTER */
footer { background: var(--lu-black-2); border-top: 1px solid var(--lu-line); padding: 44px 0 32px; position: relative; z-index: 1; margin-top: 40px; }
.foot-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-logo { display: flex; align-items: center; gap: 12px; font-weight: 900; margin-bottom: 8px; }
.foot-logo img { height: 44px; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--lu-grey-d); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; color: var(--lu-grey); margin-bottom: 9px; transition: color .2s; }
.foot-col a:hover { color: var(--lu-white); }
.foot-copy { text-align: center; color: var(--lu-grey-d); font-size: 13px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--lu-line); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr; }
  .rates-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .settings { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--lu-black-2); padding: 18px 24px;
    border-bottom: 1px solid var(--lu-line); gap: 16px; }
  .nav-toggle { display: block; }
  .g2, .g4 { grid-template-columns: 1fr; }
  .rates-grid { grid-template-columns: repeat(2, 1fr); }
  .btn { width: 100%; justify-content: center; }
  .foot-inner { flex-direction: column; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
