@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Override the prebuilt landing bundle so every interface element uses the same family. */
html,
body,
button,
input,
select,
textarea {
  font-family: "Montserrat", sans-serif !important;
}

/* Keep the transparent wordmark slightly larger than the original 310px header mark. */
.site-header .brand {
  display: block;
  width: 268px !important;
  flex: 0 0 268px !important;
}

.site-header .brand img {
  display: block;
  width: 100% !important;
  height: auto;
  max-width: none;
}

.site-header .nav-enroll {
  white-space: nowrap;
}

.landing-skip {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: #f4fbf4;
  color: #071012;
  font: 800 14px/1.2 "Montserrat", sans-serif;
  text-decoration: none;
}

.landing-skip:focus {
  transform: translateY(0);
  outline: 3px solid #9bcf4d;
  outline-offset: 3px;
}

/* Keep the outcome headline readable while giving its closing thought emphasis. */
#outcomes-heading {
  font-size: 0;
}

#outcomes-heading::before,
#outcomes-heading::after {
  font-size: clamp(36px, 4vw, 57px);
  line-height: 1.02;
}

#outcomes-heading::before {
  content: "What changes when ";
  font-style: normal;
}

#outcomes-heading::after {
  content: "value is visible";
  font-style: italic;
}

@media (max-width: 760px) {
  .site-header .brand {
    width: min(268px, 68vw);
    flex-basis: min(268px, 68vw);
  }

  #outcomes-heading::before,
  #outcomes-heading::after {
    font-size: 37px;
  }
}

/* XO Automotive product-shell treatment for Image RO. The page keeps its product
   content and interactions while sharing the parent brand's visual language. */
:root {
  --ink: #03090d;
  --ink-raised: #061017;
  --ink-soft: #0a1721;
  --line: rgba(102, 163, 197, .2);
  --line-strong: rgba(119, 191, 229, .38);
  --text: #f4f7fa;
  --muted: #a7b8c3;
  --faint: #69808c;
  --lime: #23baff;
  --lime-dark: #146fcc;
  --gold: #ffd126;
  --violet: #8747ff;
  --shadow: 0 24px 60px rgba(0, 0, 0, .42);
  --radius: 8px;
}

html { background: var(--ink); }
body {
  color: var(--text);
  background:
    radial-gradient(circle at 78% 5%, rgba(27, 94, 196, .12), transparent 26rem),
    var(--ink);
}

::selection { color: #061017; background: var(--gold); }
* { scrollbar-color: #256b94 #050d12; }
*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-track { background: #050d12; }
*::-webkit-scrollbar-thumb { border: 3px solid #050d12; border-radius: 10px; background: #256b94; }

.landing-skip {
  border-radius: 3px;
  color: #050a0d;
  background: var(--gold);
}
.landing-skip:focus { outline-color: #2cbcff; }

/* Navigation inherits the XO header density and parent-brand mark. */
.site-header {
  z-index: 20;
  min-height: 76px;
  gap: clamp(22px, 3vw, 46px);
  padding: 11px max(28px, 50vw - 680px);
  border-bottom-color: rgba(89, 140, 166, .19);
  background: rgba(3, 9, 13, .92);
  box-shadow: 0 9px 28px rgba(0, 0, 0, .16);
}
.site-header .brand {
  position: relative;
  width: 140px !important;
  flex: 0 0 140px !important;
  min-height: 54px;
}
.site-header .brand img {
  width: 140px !important;
  height: 54px !important;
  content: url("/images/xo-automotive-reference-logo.png");
  object-fit: contain;
  object-position: left center;
}
.site-header .brand::before { display: none; }
.site-nav {
  gap: clamp(16px, 2.35vw, 30px);
  color: #dce8ed;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.site-nav a { position: relative; }
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  content: "";
  background: #1db6ff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.button {
  min-height: 46px;
  border-radius: 4px;
  letter-spacing: .02em;
  font-size: 11px;
  text-transform: uppercase;
}
.button:focus-visible, .site-nav a:focus-visible, .brand:focus-visible, input:focus-visible { outline-color: #2ebdff; }
.button-lime {
  color: #080b0f;
  background: var(--gold);
  box-shadow: 0 10px 25px rgba(255, 203, 23, .17);
}
.button-lime:hover { color: #05090c; background: #ffe074; }
.button-quiet { border-color: rgba(126, 183, 213, .55); background: rgba(5, 16, 23, .66); }
.button-quiet:hover { color: #f7fbfd; border-color: #27baff; background: rgba(11, 29, 41, .88); }
.nav-enroll { color: #e9f4f8; }
.nav-cta { margin-left: 0; }

/* Hero: the product proof lives inside the same luminous automotive field as the XO homepage. */
.hero {
  grid-template-columns: minmax(300px, .76fr) minmax(480px, 1.24fr);
  align-items: center;
  gap: clamp(36px, 5vw, 84px);
  min-height: min(720px, calc(100dvh - 76px));
  padding-top: clamp(56px, 7vw, 102px);
  padding-bottom: clamp(50px, 6vw, 88px);
  background:
    radial-gradient(ellipse at 78% 71%, rgba(27, 105, 255, .21), transparent 34%),
    radial-gradient(ellipse at 73% 52%, rgba(134, 51, 255, .13), transparent 36%),
    linear-gradient(112deg, #03080c 0%, #03090e 48%, #06111c 100%);
}
.hero::before {
  background:
    linear-gradient(107deg, rgba(2, 7, 11, .99) 0 43%, rgba(2, 7, 11, .63) 57%, rgba(2, 7, 11, .15) 100%),
    radial-gradient(ellipse at 77% 51%, rgba(29, 164, 255, .2), transparent 30%);
}
.hero::after {
  top: 6%;
  right: 12%;
  width: 54vw;
  height: 83%;
  border: 0;
  opacity: .86;
  background:
    linear-gradient(154deg, transparent 39%, rgba(42, 189, 255, .76) 40%, transparent 40.45%),
    linear-gradient(162deg, transparent 50%, rgba(138, 64, 255, .7) 51%, transparent 51.45%),
    linear-gradient(171deg, transparent 57%, rgba(255, 196, 28, .75) 58%, transparent 58.35%);
  filter: blur(.3px) drop-shadow(0 0 10px rgba(54, 154, 255, .44));
  transform: none;
}
.hero-copy { max-width: 575px; }
.eyebrow { color: #29baff; font-size: 10px; letter-spacing: .2em; }
.hero h1 {
  max-width: 550px;
  margin-bottom: 22px;
  font-size: clamp(43px, 4.65vw, 70px);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.hero h1 span { color: #47a8ff; }
.hero-subtext { max-width: 440px; color: #bac9d0; font-size: 15px; line-height: 1.67; }
.hero-actions { gap: 12px; }
.hero-visual { position: relative; }
.hero-parallax { min-height: 488px; }
.hero-plate {
  border: 1px solid rgba(61, 157, 233, .23);
  background:
    radial-gradient(circle at 25% 40%, rgba(47, 167, 255, .21), transparent 16%),
    radial-gradient(circle at 73% 57%, rgba(129, 48, 250, .17), transparent 28%),
    #07121b;
  box-shadow: inset 0 0 55px rgba(21, 115, 219, .12);
}
.hero-photo {
  border-color: rgba(83, 161, 207, .44);
  border-radius: 7px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, .42), 0 0 52px rgba(20, 135, 255, .1);
}
.hero-photo::after { background: linear-gradient(180deg, rgba(2, 9, 14, .02), rgba(2, 7, 12, .36)); }
.hero-story, .hero-proof {
  width: 177px;
  border: 1px solid rgba(92, 170, 212, .48);
  border-left: 1px solid rgba(92, 170, 212, .48);
  border-radius: 6px;
  background: rgba(3, 14, 21, .92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
  backdrop-filter: blur(8px);
}
.hero-story span, .hero-proof span { color: #43beff; }
.hero-caption { color: #9eb2bc; font-size: 12px; }
.hero-caption span { color: #41bcff; font-size: 10px; }
.hero-caption strong { color: #e6eff2; font-size: 12px; }

/* Existing information architecture, recast as crisp XO sections rather than green app panels. */
.signal-band { border-block: 1px solid rgba(81, 143, 172, .24); background: #071017; }
.signal-step { border-right-color: rgba(81, 143, 172, .24); }
.signal-step svg, .node-icon, .proof-list svg { color: #21baff; }
.signal-step h2 { color: #f5f8fb; font-size: 13px; letter-spacing: .01em; text-transform: uppercase; }
.signal-step p { color: #96aeba; font-size: 12px; }
.section { padding-top: clamp(76px, 8vw, 124px); padding-bottom: clamp(76px, 8vw, 124px); }
.tension-section { background: linear-gradient(113deg, #050d13, #07131c); }
.services-section { background: #050c12; }
.workflow-section { background: linear-gradient(120deg, #06131b, #040a0f 72%); }
.proof-section { background: #071017; }
.outcomes-section { background: linear-gradient(120deg, #06111a, #09121d); }
.system-section { background: #03090e; }
.tension-intro h2, .section-intro h2, .workflow-heading h2, .proof-copy h2, .outcomes-heading h2, .system-heading h2, .demo-copy h2 {
  color: #f5f8fb;
  font-size: clamp(32px, 3.75vw, 56px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.section-intro p, .workflow-heading p, .outcomes-heading p, .demo-copy p, .proof-copy > p { color: #a9bbc5; font-size: 15px; line-height: 1.7; }
.tension-visual, .proof-art { border-color: rgba(86, 153, 186, .3); border-radius: 7px; }
.tension-copy p { color: #bbcad1; font-size: 17px; }
.tension-copy .statement { border-left: 1px solid #32bcff; color: #e7f2f7; font-size: 20px; }

.service-mosaic { gap: 14px; }
.service-tile {
  min-height: 0;
  border-color: rgba(80, 144, 177, .29);
  border-radius: 7px;
  background: linear-gradient(145deg, #091823, #061018);
  box-shadow: none;
}
.service-tile:hover { border-color: rgba(62, 185, 255, .78); box-shadow: 0 18px 36px rgba(0, 0, 0, .25); }
.service-tile::after { border-color: rgba(45, 164, 255, .24); }
.service-tile svg { color: #21baff; }
.service-tile h3, .service-tires h3 { color: #f7fafb; font-size: clamp(20px, 1.6vw, 27px); text-transform: uppercase; }
.service-tile p { color: #9eb3bf; }
.service-brakes { background: linear-gradient(145deg, #10132a, #080e1a); }
.service-battery { background: linear-gradient(145deg, #0b1b27, #071018); }
.service-inspection { background: linear-gradient(145deg, #0a1821, #081018); }
.service-repair { background: linear-gradient(145deg, #131127, #090f1c); }

.workflow-path::before { background: linear-gradient(#2bbdff, #8654ff); }
.workflow-node {
  border-color: rgba(75, 145, 182, .34);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(9, 26, 38, .95), rgba(5, 13, 20, .98));
}
.workflow-node:nth-child(4) { background: linear-gradient(135deg, #10142a, #081322); }
.node-icon { border-color: #2bbdff; background: #06121a; box-shadow: 0 0 0 5px rgba(16, 120, 196, .1); }
.workflow-node h3, .outcome h3 { color: #f4f8fa; font-size: 19px; text-transform: uppercase; }
.workflow-node p, .outcome p { color: #a8bac4; }

.outcome-grid { gap: 14px; }
.outcome {
  border-color: rgba(80, 143, 177, .28);
  border-radius: 7px;
  background: linear-gradient(145deg, #0a1721, #071018);
}
.outcome svg { color: #2ebdff; }
.outcome-wide { background: linear-gradient(145deg, #071d2b, #07111b); }
.outcome-wide::after { border-color: rgba(35, 181, 255, .3); }
.outcome-photo { background: #111127; }
.outcome-tint { background: #081724; }
.outcome-dark { background: linear-gradient(145deg, #10132a, #080f1b); }
.system-map::before, .system-map::after { background: linear-gradient(90deg, rgba(26, 181, 255, .12), #2bbdff, rgba(135, 71, 255, .7)); }
.system-label {
  border-color: rgba(76, 153, 191, .36);
  border-radius: 7px;
  background: linear-gradient(145deg, #0b1a26, #06101a);
  color: #eaf4f7;
  font-size: 15px;
  text-transform: uppercase;
}
.system-label svg { color: #32bdff; }
.system-core {
  border-color: rgba(64, 175, 255, .74);
  background:
    radial-gradient(circle, rgba(35, 171, 255, .17), transparent 60%),
    #06121c;
  box-shadow: 0 0 0 15px rgba(45, 171, 255, .06), 0 0 42px rgba(42, 164, 255, .16);
}

.demo-section {
  position: relative;
  overflow: hidden;
  border-top-color: rgba(88, 150, 181, .28);
  background:
    radial-gradient(ellipse at 76% 26%, rgba(122, 52, 244, .19), transparent 34%),
    radial-gradient(ellipse at 56% 92%, rgba(26, 172, 255, .16), transparent 43%),
    #050d13;
}
.demo-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(152deg, transparent 54%, rgba(36, 181, 255, .14) 54.2%, transparent 54.8%), linear-gradient(164deg, transparent 50%, rgba(138, 72, 255, .12) 50.2%, transparent 50.7%);
}
.demo-copy, .demo-panel { position: relative; z-index: 1; }
.demo-panel { border-color: rgba(91, 165, 207, .38); border-radius: 7px; background: rgba(5, 15, 22, .88); }
.demo-form label { color: #d8e8ee; }
.form-row input { border-color: rgba(95, 164, 203, .45); border-radius: 4px; background: #06111a; }
.form-row input:focus { border-color: #30bbff; }
.form-message.success { color: #55d3ff; }

.site-footer {
  min-height: 112px;
  border-top-color: rgba(75, 144, 177, .3);
  background: #03080c;
  color: #a8bbc3;
}
.site-footer img { border-radius: 0; }
.site-footer a { color: #35bdff; }
.site-footer a:hover { color: var(--gold); }

@media (max-width: 960px) {
  .site-header .brand { width: 128px !important; flex-basis: 128px !important; }
  .site-header .brand img { width: 128px !important; height: 49px !important; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 650px; }
  .hero-visual { max-width: 700px; width: 100%; }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; padding: 8px 18px; }
  .site-header .brand { display: block !important; width: 117px !important; flex-basis: 117px !important; min-height: 44px; }
  .site-header .brand img { width: 117px !important; height: 44px !important; }
  .nav-enroll { display: none; }
  .nav-cta { min-height: 40px; padding-inline: 12px; font-size: 10px; }
  .hero { gap: 32px; padding: 52px 20px 48px; }
  .hero h1 { font-size: clamp(39px, 11vw, 52px); }
  .hero-parallax { min-height: 330px; }
  .hero-story, .hero-proof { width: 145px; }
  .hero-caption { display: block; }
  .hero-caption strong { display: block; margin-top: 5px; }
  .section { padding: 66px 20px; }
  .tension-intro h2, .section-intro h2, .workflow-heading h2, .proof-copy h2, .outcomes-heading h2, .system-heading h2, .demo-copy h2 { font-size: clamp(29px, 9vw, 42px); }
  .service-mosaic, .outcome-grid { gap: 10px; }
  .system-label { min-height: 96px; font-size: 13px; }
  .demo-section { padding: 66px 20px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::after { animation: xo-light-shift 13s ease-in-out infinite alternate; }
  .system-core { animation: xo-core-breathe 6s ease-in-out infinite; }
}
@keyframes xo-light-shift {
  from { opacity: .5; transform: translate3d(-1.5%, -1%, 0) scale(.98); }
  to { opacity: .92; transform: translate3d(1.5%, 1%, 0) scale(1.02); }
}
@keyframes xo-core-breathe {
  0%, 100% { box-shadow: 0 0 0 15px rgba(45, 171, 255, .06), 0 0 32px rgba(42, 164, 255, .12); }
  50% { box-shadow: 0 0 0 21px rgba(132, 71, 255, .08), 0 0 54px rgba(42, 164, 255, .24); }
}
