/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== ROOT VARIABLES — extracted to design-system/tokens/{base,toyota}.css (linked in <head> above) ===== */

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--black);
  background: var(--white);
  overflow-x: clip;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); }

/* ===== TYPOGRAPHY ===== */
.h1-hero {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.display-05, .heading-02 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.heading-03 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.heading-04 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}
.heading-05 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.body-01, .body-02 {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.body-03 {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  line-height: 28px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mid-gray);
}
.eyebrow-hr {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--red-cta);
  border: none;
  margin-top: 10px;
  border-radius: 1px;
}
/* Cyan accent on dark sections */
.ext-section .eyebrow-hr,
.sp-section .eyebrow-hr,
.int-accent,
.ev-accent {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}
.spec-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

/* ===== BUTTONS ===== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
  overflow: hidden;
}
.btn-pill--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-pill--dark:hover {
  background: var(--white);
  color: var(--black);
}
.btn-pill--light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  backdrop-filter: blur(4px);
}
.btn-pill--light:hover {
  background: transparent;
  color: var(--white);
}
.btn-pill--red {
  background: var(--red-cta);
  color: var(--white);
  border-color: var(--red-cta);
}
.btn-pill--red:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}
.btn-pill--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}
.btn-pill--outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  transition: var(--transition);
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
}
.link-arrow:hover {
  color: var(--red-cta);
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.link-arrow:hover svg {
  transform: translateX(4px);
}
.link-arrow--white { color: var(--white); }
.link-arrow--white:hover { color: #ccc; }

/* ===== SECTION PADDING ===== */
.section {
  padding: var(--pad-y) var(--pad-x);
}

/* ===== SECTION DIVIDER LINE ===== */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--lighter-gray), transparent);
  border: none;
}

/* ===== GSAP HELPERS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
}

