/* Lipbab — Bicycle Wheel Truing Diagnostics */
:root {
  --ink: #1a1d21; --ink-soft: #2c3138; --paper: #f3f2ef; --paper-deep: #e6e4df;
  --surface: #fff; --muted: #5a6068; --muted-soft: #767c85;
  --primary: #2c3e50; --primary-hover: #1e2c3a; --accent: #c45c26;
  --border: #d2cfc9; --border-strong: #beb9b1;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --max: 1040px; --header-h: 70px; --radius: 3px;
  --shadow: 0 3px 12px rgba(26,29,33,0.07); --t: 0.2s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--ink); line-height: 1.65; background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent); text-decoration: underline; }
h1,h2,h3,h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.3; color: var(--ink); }
h1 { font-size: 2.15rem; margin-bottom: 1rem; }
h2 { font-size: 1.55rem; margin-bottom: 0.85rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
p { margin-bottom: 1.1rem; }
.lead { font-size: 1.1rem; color: var(--muted); line-height: 1.7; }
ul,ol { margin-bottom: 1.1rem; padding-left: 1.35rem; }
li { margin-bottom: 0.4rem; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.2rem; }
.section { padding: 3.1rem 0; }
.section-alt { background: var(--paper-deep); }
.section-intro { max-width: 40rem; margin-bottom: 1.7rem; color: var(--muted); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(243,242,239,0.96); border-bottom: 1px solid var(--border); height: var(--header-h); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.logo:hover { text-decoration: none; color: var(--ink); }
.logo span { font-family: var(--font-sans); font-weight: 400; font-size: 0.78rem; color: var(--muted-soft); margin-left: 0.35rem; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--muted); font-size: 0.92rem; font-weight: 500; text-decoration: none; }
.nav a:hover, .nav a.active { color: var(--ink); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.45rem; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }
.hero { padding: 3.3rem 0 2.9rem; background: linear-gradient(180deg, var(--paper-deep) 0%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.hero-kicker { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent); margin-bottom: 0.7rem; }
.hero-content h1 { font-size: 2.15rem; margin-bottom: 1.1rem; }
.hero-content .lead { margin-bottom: 1.5rem; }
.hero-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-image img { width: 100%; height: 310px; object-fit: cover; }
.btn { display: inline-block; padding: 0.68rem 1.3rem; font-size: 0.93rem; font-weight: 500; border-radius: var(--radius); border: none; cursor: pointer; text-decoration: none; text-align: center; transition: background var(--t), color var(--t); font-family: inherit; }
.btn-primary { background: var(--primary); color: #f3f2ef; }
.btn-primary:hover { background: var(--primary-hover); color: #f3f2ef; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--border-strong); }
.btn-secondary:hover { background: var(--paper-deep); text-decoration: none; }
.btn-group { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--t); }
.card:hover { box-shadow: var(--shadow); }
.card-image { height: 165px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.3rem; }
.card-body p { font-size: 0.93rem; color: var(--muted); margin-bottom: 0.8rem; }
.card-link { font-size: 0.88rem; font-weight: 500; }
.note { background: var(--paper-deep); border-left: 3px solid var(--accent); padding: 1.1rem 1.35rem; margin: 1.5rem 0; font-size: 0.94rem; color: var(--muted); }
.note strong { color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
.two-col img { border-radius: var(--radius); width: 100%; height: 270px; object-fit: cover; }
.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--paper-deep); display: flex; gap: 0.65rem; align-items: flex-start; }
.feature-list li::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-top: 0.5rem; flex-shrink: 0; }
.mod-block { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; padding: 2.2rem 0; border-top: 1px solid var(--border); }
.mod-block img { width: 100%; height: 210px; object-fit: cover; border-radius: var(--radius); }
.module-meta { font-size: 0.86rem; color: var(--muted-soft); margin-top: 0.8rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; text-align: center; }
.stat-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--primary); }
.stat-label { font-size: 0.88rem; color: var(--muted); margin-top: 0.25rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 1.6rem; }
.team-member { text-align: center; }
.team-photo { width: 125px; height: 125px; border-radius: 50%; object-fit: cover; margin: 0 auto 0.85rem; border: 2px solid var(--border); }
.team-role { font-size: 0.84rem; color: var(--muted-soft); margin-bottom: 0.5rem; }
.team-bio { font-size: 0.87rem; color: var(--muted); text-align: left; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.form-group { margin-bottom: 1.05rem; }
.form-group label { display: block; font-size: 0.87rem; font-weight: 500; margin-bottom: 0.3rem; color: var(--ink); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.62rem 0.8rem; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 0.94rem; color: var(--ink); background: var(--surface); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 125px; resize: vertical; }
.contact-details { background: var(--paper-deep); padding: 1.8rem; border-radius: var(--radius); }
.contact-item { margin-bottom: 1.1rem; }
.contact-item strong { display: block; font-size: 0.76rem; color: var(--muted-soft); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.2rem; }
.page-header { padding: 2.2rem 0 1.3rem; border-bottom: 1px solid var(--border); margin-bottom: 2.2rem; }
.page-header h1 { margin-bottom: 0.45rem; }
.page-header .lead { margin-bottom: 0; max-width: 38rem; }
.breadcrumb { font-size: 0.83rem; color: var(--muted-soft); margin-bottom: 1.1rem; }
.breadcrumb a { color: var(--muted-soft); }
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; margin-bottom: 1.6rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #f3f2ef; display: grid; place-items: center; font-weight: 600; font-size: 0.92rem; }
.legal-content { max-width: 46rem; }
.legal-content h2 { margin-top: 2.1rem; margin-bottom: 0.8rem; }
.legal-content p, .legal-content li { font-size: 0.95rem; }
.success-box { text-align: center; padding: 3.6rem 1.4rem; max-width: 34rem; margin: 0 auto; }
.site-footer { background: var(--ink); color: #9aa0a8; padding: 2.6rem 0 1.6rem; margin-top: 2.6rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.1rem; margin-bottom: 2.1rem; }
.footer-brand h3 { color: var(--paper); font-size: 1.12rem; margin-bottom: 0.6rem; }
.footer-brand p { font-size: 0.88rem; color: #9aa0a8; margin-bottom: 0; }
.footer-links h4 { color: var(--paper); font-size: 0.88rem; margin-bottom: 0.85rem; font-family: var(--font-sans); }
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.38rem; }
.footer-links a { color: #9aa0a8; font-size: 0.88rem; }
.footer-links a:hover { color: var(--paper); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem; font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; }
@media (max-width: 900px) {
  .hero-grid, .two-col, .contact-grid, .footer-grid, .mod-block { grid-template-columns: 1fr; }
  .hero-image { order: -1; } .hero-image img { height: 220px; }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 1.1rem; border-bottom: 1px solid var(--border); gap: 0.85rem; }
  .nav.open { display: flex; } .nav-toggle { display: block; }
  h1 { font-size: 1.7rem; } .hero-content h1 { font-size: 1.85rem; } .section { padding: 2.2rem 0; }
}
@media (max-width: 480px) { .btn-group { flex-direction: column; } .btn { width: 100%; } }
