/* ============ Reset & Base ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #F2F5F4;
  color: #10232B;
  font-family: "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Sans SC", "Source Han Sans SC", sans-serif;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: #10232B;
}
p {
  margin: 0 0 1em;
}
a {
  color: #1F6FEB;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #00C2D1;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
}
button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #00C2D1;
  outline-offset: 3px;
  border-radius: 2px;
}
::selection {
  background: #00C2D1;
  color: #1A2B33;
}
:root {
  --color-bg: #F2F5F4;
  --color-bg-2: #E0E6E5;
  --color-bg-deep: #1A2B33;
  --color-accent: #00C2D1;
  --color-tech-blue: #1F6FEB;
  --color-grass: #3E7D5A;
  --color-gold: #D4A72C;
  --color-ink: #10232B;
  --color-muted: #557A8C;
  --color-info-bg: #EEF4F6;
  --font-body: "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-data: "JetBrains Mono", monospace;
  --header-h: 72px;
  --content-max: 1280px;
  --content-pad: clamp(20px, 5vw, 48px);
}
/* ============ Layout Utilities ============ */
.container-wide {
  width: min(var(--content-max), 100% - (var(--content-pad) * 2));
  margin-inline: auto;
}
.container-narrow {
  width: min(780px, 100% - (var(--content-pad) * 2));
  margin-inline: auto;
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.grid-col-3 {
  grid-column: span 3;
}
.grid-col-9 {
  grid-column: span 9;
}
.grid-col-4 {
  grid-column: span 4;
}
.grid-col-8 {
  grid-column: span 8;
}
@media (max-width: 900px) {
  .grid-col-3,
  .grid-col-4,
  .grid-col-8,
  .grid-col-9 {
    grid-column: span 12;
  }
}
/* ============ Skip Link ============ */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: #10232B;
  color: #F2F5F4;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  color: #F2F5F4;
}
/* ============ Topbar ============ */
.topbar-grass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3E7D5A 0%, #1F6FEB 40%, #00C2D1 75%, #D4A72C 100%);
  z-index: 1001;
  pointer-events: none;
}
/* ============ Floating Header ============ */
.nav-floating {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px clamp(16px, 4vw, 40px);
  pointer-events: none;
}
.nav-capsule {
  pointer-events: auto;
  max-width: var(--content-max);
  min-height: 64px;
  margin-inline: auto;
  background: rgba(26, 43, 51, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  box-shadow: 0 8px 30px rgba(16, 35, 43, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 12px 8px 20px;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav-floating.is-scrolled .nav-capsule {
  background: rgba(26, 43, 51, 0.94);
  box-shadow: 0 12px 36px rgba(16, 35, 43, 0.2);
}
/* Brand */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #F2F5F4;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-mark {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #00C2D1 0%, #1F6FEB 60%, #3E7D5A 100%);
  border-radius: 8px 8px 8px 2px;
  box-shadow: 0 0 0 3px rgba(0, 194, 209, 0.18);
  flex-shrink: 0;
}
.nav-brand:hover .brand-mark {
  transform: rotate(10deg) scale(1.04);
}
.nav-brand:hover {
  color: #F2F5F4;
}
/* Desktop Links */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links-desktop .nav-link {
  color: rgba(242, 245, 244, 0.82);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nav-links-desktop .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #F2F5F4;
  transform: translateY(-1px);
}
.nav-links-desktop .nav-link[aria-current="page"] {
  background: linear-gradient(135deg, rgba(0, 194, 209, 0.2), rgba(31, 111, 235, 0.2));
  color: #00C2D1;
  box-shadow: inset 0 0 0 1px rgba(0, 194, 209, 0.22);
}
/* User Actions */
.user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #00C2D1, #1F6FEB);
  color: #F2F5F4;
  box-shadow: 0 4px 14px rgba(0, 194, 209, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 194, 209, 0.3);
  color: #F2F5F4;
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(16, 35, 43, 0.24);
  color: #10232B;
}
.btn-ghost:hover {
  border-color: #1F6FEB;
  color: #1F6FEB;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}
/* Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #F2F5F4;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* Mobile Nav Panel */
.mobile-nav {
  position: fixed;
  top: 82px;
  right: 16px;
  left: 16px;
  z-index: 999;
  background: rgba(26, 43, 51, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 28px 22px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 24px 48px rgba(16, 35, 43, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav[data-open] {
  display: flex;
  animation: navFadeIn 0.22s ease both;
}
@keyframes navFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mobile-nav__title {
  color: #D4A72C;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mobile-nav .nav-link {
  color: #F2F5F4;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 12px;
}
.mobile-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #00C2D1;
}
.mobile-nav .nav-link[aria-current="page"] {
  color: #00C2D1;
  background: rgba(0, 194, 209, 0.1);
}
.mobile-nav__cta {
  margin-top: 14px;
  width: 100%;
}
@media (max-width: 980px) {
  .nav-links-desktop,
  .user-actions {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-capsule {
    background: rgba(26, 43, 51, 0.9);
  }
  .nav-capsule {
    padding-left: 16px;
  }
}
@media (max-width: 480px) {
  .brand-text {
    font-size: 16px;
  }
  .nav-brand {
    font-size: 16px;
  }
  .nav-capsule {
    padding-left: 12px;
    min-height: 58px;
  }
  .nav-floating {
    top: 4px;
  }
  .mobile-nav {
    top: 74px;
  }
}
/* ============ Footer ============ */
.site-footer {
  background: var(--color-bg-deep);
  color: rgba(242, 245, 244, 0.8);
  margin-top: clamp(64px, 10vw, 120px);
  border-radius: 32px 32px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #3E7D5A, #1F6FEB, #00C2D1, #D4A72C);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-block: 64px 48px;
}
.footer-brand-text {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: #F2F5F4;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.footer-intro {
  color: #00C2D1;
  font-size: 14px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.footer-trust {
  color: rgba(242, 245, 244, 0.6);
  font-size: 13px;
  line-height: 1.7;
  max-width: 340px;
}
.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #D4A72C;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-heading::before {
  content: "◆ ";
  font-size: 10px;
  vertical-align: middle;
}
.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-list a {
  color: rgba(242, 245, 244, 0.8);
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-list a:hover {
  color: #00C2D1;
  padding-left: 4px;
}
.footer-list--contact li {
  font-size: 14px;
  color: rgba(242, 245, 244, 0.76);
  line-height: 1.6;
}
.footer-support-text {
  color: rgba(242, 245, 244, 0.7);
  font-size: 13px;
  line-height: 1.7;
}
.footer-legal-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 22px;
}
.footer-legal-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 13px;
  color: rgba(242, 245, 244, 0.52);
  align-items: center;
  justify-content: space-between;
}
.footer-legal-inner p {
  margin: 0;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding-block: 48px 36px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}
@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-legal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
/* ============ Section Tag ============ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  color: #3E7D5A;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-tag::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #00C2D1, #1F6FEB);
}
/* ============ Bracket Frame ============ */
.bracket-frame {
  position: relative;
  border: 1.5px solid rgba(16, 35, 43, 0.14);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 50px);
  background:
    linear-gradient(135deg, rgba(242, 245, 244, 0.96), rgba(238, 244, 246, 0.9));
  overflow: hidden;
}
.bracket-frame::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 80px;
  height: 80px;
  border-top: 4px solid #00C2D1;
  border-left: 4px solid #00C2D1;
  border-radius: 20px 0 0 0;
}
.bracket-frame::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 80px;
  height: 80px;
  border-bottom: 4px solid #3E7D5A;
  border-right: 4px solid #3E7D5A;
  border-radius: 0 0 20px 0;
}
/* ============ Mileage Label ============ */
.mileage-label {
  font-family: var(--font-data);
  font-size: 14px;
  font-weight: 700;
  color: #3E7D5A;
  background: rgba(62, 125, 90, 0.1);
  border-left: 3px solid #3E7D5A;
  padding: 8px 14px;
  border-radius: 0 8px 8px 0;
  display: inline-block;
}
.mileage-label--gold {
  color: #D4A72C;
  background: rgba(212, 167, 44, 0.08);
  border-left-color: #D4A72C;
}
.mileage-label--blue {
  color: #1F6FEB;
  background: rgba(31, 111, 235, 0.08);
  border-left-color: #1F6FEB;
}
.mileage-label--cyan {
  color: #00C2D1;
  background: rgba(0, 194, 209, 0.08);
  border-left-color: #00C2D1;
}
/* ============ Chart Legend ============ */
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 20px;
}
.chart-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #557A8C;
}
.chart-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00C2D1;
  flex-shrink: 0;
}
.chart-legend__dot--blue {
  background: #1F6FEB;
}
.chart-legend__dot--green {
  background: #3E7D5A;
}
.chart-legend__dot--gold {
  background: #D4A72C;
}
/* ============ Reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* ============ Page Progress ============ */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 2000;
  pointer-events: none;
}
.page-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3E7D5A, #00C2D1, #1F6FEB, #D4A72C);
  border-radius: 0 3px 3px 0;
  transition: width 0.1s linear;
}
/* ============ Body Offset for Fixed Header ============ */
#main-content {
  scroll-margin-top: calc(var(--header-h) + 20px);
}
/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .mobile-nav[data-open] {
    animation: none;
  }
}
