.ml-page {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --text: #141413;
  --text2: #5A5A56;
  --muted: #8A8A84;
  --green: #1A6B47;
  --green-dark: #134D33;
  --green-light: #E6F2EC;
  --green-glow: #22C55E;
  --border: #E4E2DE;
  --border-light: #F0EEEB;
  --warm: #F5F3EF;
  --gold: #B8860B;
  --gold-light: #FFF8E7;
  --red: #C4422B;
  --newton: #C4842D;
  --display: 'Instrument Serif', Georgia, serif;
  --body: 'DM Sans', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 17px;
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
.ml-page *, .ml-page *::before, .ml-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
.ml-page a { color: inherit; }
.ml-page img { max-width: 100%; display: block; }
.ml-container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.ml-narrow { max-width: 780px; }

.ml-breadcrumb { padding: 0.75rem 0; font-size: 0.78rem; color: var(--muted); }
.ml-breadcrumb a { color: var(--green); text-decoration: none; }
.ml-breadcrumb a:hover { text-decoration: underline; }
.ml-breadcrumb span { margin: 0 0.35em; opacity: 0.5; }

.ml-hero {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.ml-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.ml-hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.ml-hero h1 {
  font-family: var(--display);
  font-size: 2.8rem;
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.ml-hero-sub {
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 520px;
}
.ml-hero-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.ml-btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--green); color: white; font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 8px; text-decoration: none;
  transition: background 0.15s, transform 0.15s; border: none; cursor: pointer;
  font-family: var(--body);
}
.ml-btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.ml-hero-price { font-size: 0.88rem; color: var(--text2); }
.ml-hero-price strong { color: var(--text); font-weight: 700; }

.ml-quick-facts {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.ml-qf-header {
  background: var(--text);
  color: white;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.ml-qf-body { padding: 1.25rem; }
.ml-qf-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
}
.ml-qf-row:last-child { border-bottom: none; }
.ml-qf-label { color: var(--text2); }
.ml-qf-value { font-weight: 600; text-align: right; }
.ml-qf-value.highlight { color: var(--green-dark); }
.ml-qf-cta {
  display: block;
  text-align: center;
  margin-top: 1rem;
  background: var(--green);
  color: white;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.15s;
}
.ml-qf-cta:hover { background: var(--green-dark); }

.ml-elevation-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}
.ml-section-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.ml-section-title {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}
.ml-section-sub {
  font-size: 0.95rem;
  color: var(--text2);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.ml-elevation-chart {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 0.75rem;
}
.ml-elevation-chart svg { width: 100%; height: auto; }
.ml-elevation-legend {
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.ml-elevation-legend span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ml-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.ml-segments-section { padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.ml-segment-grid { display: flex; flex-direction: column; gap: 1rem; }
.ml-segment {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0 1.5rem;
  align-items: start;
}
.ml-segment.highlight-segment { border-color: var(--newton); border-width: 2px; }
.ml-seg-miles {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-dark);
}
.ml-seg-elev {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.ml-seg-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15em 0.5em;
  border-radius: 3px;
  margin-top: 0.4rem;
}
.ml-seg-tag.danger { background: #FDE8E4; color: var(--red); }
.ml-seg-tag.caution { background: var(--gold-light); color: var(--gold); }
.ml-seg-tag.special { background: #FFF0DD; color: var(--newton); }
.ml-seg-tag.go { background: var(--green-light); color: var(--green-dark); }
.ml-seg-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.ml-seg-desc {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.6;
}

.ml-segment-detail {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.ml-detail-card {
  background: var(--warm);
  border-radius: 6px;
  padding: 0.65rem 0.8rem;
}
.ml-detail-name { font-weight: 700; font-size: 0.82rem; }
.ml-detail-stats {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}
.ml-detail-note {
  font-size: 0.78rem;
  color: var(--text2);
  margin-top: 0.15rem;
}

.ml-pacing-section { padding: 3.5rem 0; background: var(--warm); border-bottom: 1px solid var(--border); }
.ml-pacing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  align-items: start;
}
.ml-pacing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.ml-pacing-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.65rem 0.9rem;
  border-bottom: 2px solid var(--border);
  background: var(--surface);
}
.ml-pacing-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
}
.ml-pacing-table tr:last-child td { border-bottom: none; }
.ml-pacing-table .p-seg { font-weight: 600; }
.ml-pacing-table .p-pace {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--green-dark);
  font-weight: 500;
}
.ml-pacing-table .p-note { color: var(--text2); font-size: 0.82rem; }

.ml-pacing-insights { }
.ml-insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
}
.ml-insight-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.ml-insight-label.warn { color: var(--gold); }
.ml-insight-label.tip { color: var(--green); }
.ml-insight-text { font-size: 0.88rem; color: var(--text2); line-height: 1.55; }
.ml-insight-text strong { color: var(--text); }

.ml-pacing-cta-inline {
  background: var(--green-light);
  border: 1px solid rgba(26,107,71,0.2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.ml-pacing-cta-inline p { font-size: 0.88rem; font-weight: 600; color: var(--green-dark); margin: 0; }
.ml-pacing-cta-inline a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
}
.ml-pacing-cta-inline a:hover { text-decoration: underline; }

.ml-included-section { padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.ml-included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.ml-inc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.ml-inc-card:hover { border-color: var(--green); }
.ml-inc-icon {
  width: 36px;
  height: 36px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}
.ml-inc-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.ml-inc-card p { font-size: 0.85rem; color: var(--text2); line-height: 1.55; }

.ml-weather-section { padding: 3.5rem 0; background: var(--surface); border-bottom: 1px solid var(--border); }
.ml-weather-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
.ml-wx-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: var(--bg);
}
.ml-wx-range {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.ml-wx-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}
.ml-wx-card p { font-size: 0.82rem; color: var(--text2); line-height: 1.5; }
.ml-wx-card.optimal { border-color: var(--green); }

.ml-cta-block {
  padding: 4rem 0;
  background: var(--text);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ml-cta-block::before {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(26,107,71,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.ml-cta-block h2 {
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  position: relative;
}
.ml-cta-block .ml-section-sub {
  color: rgba(255,255,255,0.7);
  margin: 0 auto 1.5rem;
  text-align: center;
  position: relative;
}
.ml-cta-btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  position: relative;
  font-family: var(--body);
}
.ml-cta-btn-lg:hover { background: var(--green-glow); transform: translateY(-1px); }
.ml-cta-guarantee {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  position: relative;
}

.ml-faq-section { padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.ml-faq-list { margin-top: 1.5rem; }
.ml-faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0;
}
.ml-faq-item:first-child { border-top: 1px solid var(--border); }
.ml-faq-q {
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.ml-faq-toggle {
  font-size: 1.2rem;
  color: var(--muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.ml-faq-a {
  display: none;
  padding-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.65;
}
.ml-faq-item.open .ml-faq-a { display: block; }
.ml-faq-item.open .ml-faq-toggle { transform: rotate(45deg); }

.ml-tools-section { padding: 3.5rem 0; background: var(--warm); border-bottom: 1px solid var(--border); }
.ml-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
.ml-tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s;
}
.ml-tool-card:hover { border-color: var(--green); transform: translateY(-2px); }
.ml-tool-icon { font-size: 1.3rem; margin-bottom: 0.6rem; }
.ml-tool-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.2rem; }
.ml-tool-card p { font-size: 0.78rem; color: var(--text2); line-height: 1.5; }

.ml-similar-section { padding: 3.5rem 0; }
.ml-similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
.ml-similar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s;
}
.ml-similar-card:hover { border-color: var(--green); transform: translateY(-2px); }
.ml-similar-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.15rem; }
.ml-similar-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.ml-similar-card p { font-size: 0.82rem; color: var(--text2); line-height: 1.5; }
.ml-similar-arrow {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 600;
}

@media (max-width: 960px) {
  .ml-hero-grid { grid-template-columns: 1fr; }
  .ml-pacing-grid { grid-template-columns: 1fr; }
  .ml-included-grid { grid-template-columns: 1fr; }
  .ml-weather-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-segment-detail { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  html { font-size: 16px; }
  .ml-hero h1 { font-size: 2.1rem; }
  .ml-section-title { font-size: 1.65rem; }
  .ml-segment { grid-template-columns: 1fr; gap: 0.5rem; }
  .ml-tools-grid, .ml-similar-grid { grid-template-columns: 1fr; }
  .ml-weather-grid { grid-template-columns: 1fr; }
  .ml-hero-actions { flex-direction: column; align-items: stretch; }
  .ml-btn-primary { justify-content: center; }
}

.ml-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.ml-fade-in.visible { opacity: 1; transform: translateY(0); }
