/*
Theme Name: MotionArc
Theme URI: https://tesrvlive.com/
Author: MotionArc Studio
Description: A precision-led, rider-first commerce theme for MotionArc.
Version: 1.0.0
Text Domain: motionarc
*/

:root {
  --ink: #111318;
  --muted: #6d737e;
  --paper: #f6f7f8;
  --white: #ffffff;
  --line: #e3e6e9;
  --accent: #c7ff3c;
  --accent-deep: #8cac11;
  --radius-lg: 32px;
  --radius-md: 20px;
  --shadow: 0 22px 60px rgba(17, 19, 24, .11);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.site-shell { overflow: hidden; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.topbar {
  min-height: 36px;
  background: var(--ink);
  color: #dfe4e7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.topbar strong { color: var(--accent); font-weight: 700; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(246,247,248,.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17,19,24,.08);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.06em; font-size: 19px; }
.brand-mark { display: block; width: 30px; height: 30px; }
.brand-word { line-height: 1; }
.nav { display: flex; gap: 26px; align-items: center; margin-left: auto; }
.nav a { font-size: 13px; color: #5e646e; transition: color .2s ease; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 18px; }
.icon-btn { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 999px; display: grid; place-items: center; background: #fff; font-size: 14px; }
.cart-count { background: var(--ink); color: var(--accent); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; font-size: 10px; display: inline-grid; place-items: center; margin-left: -19px; margin-top: -23px; position: relative; }
.mobile-toggle { display: none; border: 0; background: none; font-size: 24px; }

.hero { padding: 82px 0 42px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 36px; align-items: center; }
.eyebrow { color: var(--accent-deep); letter-spacing: .14em; text-transform: uppercase; font-size: 11px; font-weight: 800; }
.hero h1 { font-size: clamp(52px, 7vw, 94px); line-height: .94; letter-spacing: -.075em; max-width: 650px; margin: 20px 0 24px; }
.hero h1 span { color: var(--muted); }
.hero-copy { color: #69707b; font-size: 18px; line-height: 1.55; max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border-radius: 999px; font-size: 13px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(17,19,24,.12); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary svg { stroke: var(--accent); }
.btn-ghost { background: #fff; border: 1px solid var(--line); }
.hero-art { min-height: 488px; border-radius: var(--radius-lg); background: radial-gradient(circle at 30% 25%, #39414a, #191d22 56%, #0d0f12); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.hero-art::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(199,255,60,.26); border-radius: 50%; top: -110px; right: -120px; }
.hero-art::after { content: ""; position: absolute; width: 550px; height: 550px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; bottom: -340px; left: -170px; }
.art-label { position: absolute; top: 30px; left: 30px; color: rgba(255,255,255,.65); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; }
.art-mark { position: absolute; left: 50%; top: 49%; transform: translate(-50%, -50%) rotate(-7deg); width: 78%; }
.art-mark path { fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; }
.art-spec { position: absolute; bottom: 26px; left: 30px; color: #fff; display: flex; gap: 22px; align-items: end; }
.art-spec b { display: block; font-size: 28px; letter-spacing: -.06em; }
.art-spec span { display: block; color: rgba(255,255,255,.5); font-size: 11px; margin-top: 2px; }
.hero-note { margin-top: 34px; color: #878c94; font-size: 12px; display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-deep); }

.ticker { border-block: 1px solid var(--line); overflow: hidden; background: #fff; }
.ticker-track { display: flex; gap: 46px; white-space: nowrap; padding: 17px 0; color: #777d87; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.ticker-track b { color: var(--ink); }

.section { padding: 108px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 34px; }
.section h2 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -.07em; line-height: .96; margin: 10px 0 0; }
.section-intro { max-width: 360px; margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.model-card { position: relative; min-height: 210px; border-radius: var(--radius-md); overflow: hidden; background: #dfe4e6; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s ease; }
.model-card:hover { transform: translateY(-5px); }
.model-card:nth-child(2) { background: #cad2d5; }
.model-card:nth-child(3) { background: #c1c6cf; }
.model-card:nth-child(4) { background: #ddd7cd; }
.model-card:nth-child(5) { background: #bec7c0; }
.model-card:nth-child(6) { background: #c7ccd4; }
.model-card:nth-child(7) { background: #d4ccc8; }
.model-year { font-size: 11px; color: #616974; letter-spacing: .1em; text-transform: uppercase; }
.model-name { font-size: 20px; letter-spacing: -.05em; font-weight: 700; }
.model-type { font-size: 11px; color: #687079; }
.model-arrow { position: absolute; right: 18px; bottom: 18px; width: 32px; height: 32px; background: rgba(255,255,255,.55); border-radius: 50%; display: grid; place-items: center; }

.dark-band { background: var(--ink); color: #fff; }
.dark-band .eyebrow { color: var(--accent); }
.dark-band .section-intro { color: #9ea5ad; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-card { background: #1b1f24; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md); padding: 12px; display: flex; flex-direction: column; min-height: 390px; transition: transform .25s ease, background .25s ease; }
.product-card:hover { transform: translateY(-6px); background: #22272d; }
.product-visual { min-height: 194px; border-radius: 15px; background: linear-gradient(145deg, #323942, #14171b); display: grid; place-items: center; position: relative; overflow: hidden; }
.product-visual::after { content: ""; position: absolute; width: 160px; height: 160px; border: 1px solid rgba(199,255,60,.2); border-radius: 50%; }
.product-glyph { width: 112px; height: 112px; z-index: 1; }
.product-glyph path, .product-glyph circle, .product-glyph rect { stroke: var(--accent); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.product-meta { padding: 17px 6px 8px; display: flex; flex-direction: column; flex: 1; }
.product-code { color: var(--accent); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.product-title { color: #fff; margin: 8px 0 10px; font-size: 18px; letter-spacing: -.045em; }
.product-fit { color: #959da7; font-size: 11px; line-height: 1.5; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.price { color: #fff; font-weight: 700; font-size: 15px; }
.video-chip { display: inline-flex; gap: 5px; align-items: center; font-size: 10px; color: #b8c0c9; }
.video-chip svg { stroke: var(--accent); }
.mini-link { color: var(--accent); font-size: 11px; font-weight: 700; }

.fitment { background: #fff; }
.fitment-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; }
.fitment-copy p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 450px; }
.fitment-list { border-top: 1px solid var(--line); }
.fitment-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.fitment-row span { color: var(--muted); }
.fitment-row .check { color: var(--accent-deep); font-weight: 700; }
.fitment-row.head { color: #989da5; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.install-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.install-card { min-height: 256px; background: #fff; border-radius: var(--radius-md); padding: 24px; position: relative; border: 1px solid var(--line); }
.install-card.feature { background: var(--ink); color: #fff; grid-column: span 2; }
.install-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--ink); margin-bottom: 28px; }
.install-card h3 { font-size: 22px; letter-spacing: -.06em; margin: 0 0 10px; }
.install-card p { color: var(--muted); font-size: 13px; line-height: 1.55; max-width: 340px; }
.install-card.feature p { color: #9fa7b2; }
.install-duration { position: absolute; right: 22px; top: 24px; color: #9298a1; font-size: 11px; }
.play { position: absolute; right: 22px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--ink); }

.promise { padding: 0 0 108px; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.promise-card { background: #fff; border-radius: var(--radius-md); padding: 26px; min-height: 190px; border: 1px solid var(--line); }
.promise-card b { display: block; font-size: 40px; letter-spacing: -.08em; margin-bottom: 30px; }
.promise-card h3 { font-size: 17px; letter-spacing: -.04em; margin: 0 0 8px; }
.promise-card p { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0; }

.journal { background: #eef0ef; }
.journal-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.story { min-height: 360px; border-radius: var(--radius-md); padding: 28px; position: relative; overflow: hidden; background: linear-gradient(145deg, #d2dbd7, #9ba9a0); }
.story:nth-child(2) { background: linear-gradient(145deg, #d9d3c9, #b2a997); }
.story-copy { position: absolute; bottom: 26px; left: 28px; max-width: 400px; }
.story-kicker { color: rgba(17,19,24,.58); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.story h3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.07em; line-height: 1; margin: 11px 0 0; }
.story .story-arrow { position: absolute; top: 24px; right: 24px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.52); display: grid; place-items: center; }

.site-footer { background: var(--ink); color: #fff; padding: 62px 0 26px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 68px; }
.footer-top p { color: #9199a3; max-width: 280px; font-size: 13px; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(100px, 1fr)); gap: 42px; }
.footer-links h4 { color: var(--accent); margin: 0 0 14px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.footer-links a { display: block; color: #a9b0b8; font-size: 12px; margin: 10px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; color: #69717b; font-size: 11px; }

.page-hero { padding: 92px 0 52px; background: #fff; }
.page-hero h1 { font-size: clamp(52px, 8vw, 100px); letter-spacing: -.08em; line-height: .9; margin: 18px 0 0; }
.page-hero p { color: var(--muted); max-width: 520px; line-height: 1.6; margin: 24px 0 0; }
.page-content { padding: 50px 0 110px; }
.notice { padding: 18px 20px; border-radius: 16px; background: #eff7cf; color: #4d5c1b; font-size: 13px; margin-bottom: 24px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.catalog-grid .product-card { color: #fff; background: var(--ink); }

@media (max-width: 980px) {
  .hero-grid, .fitment-grid, .journal-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 380px; }
  .model-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .install-grid { grid-template-columns: repeat(2, 1fr); }
  .install-card.feature { grid-column: span 2; }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .header-inner { min-height: 64px; }
  .nav { display: none; position: absolute; left: 16px; right: 16px; top: 70px; padding: 18px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); flex-direction: column; align-items: start; }
  .nav.is-open { display: flex; }
  .header-actions { margin-left: auto; }
  .mobile-toggle { display: block; }
  .hero { padding: 58px 0 28px; }
  .hero h1 { font-size: clamp(50px, 17vw, 80px); }
  .hero-copy { font-size: 16px; }
  .hero-art { min-height: 310px; }
  .section { padding: 76px 0; }
  .section-head { display: block; }
  .section-intro { margin-top: 20px; }
  .model-grid, .product-grid, .install-grid, .promise-grid, .catalog-grid { grid-template-columns: 1fr 1fr; }
  .model-card { min-height: 170px; padding: 17px; }
  .product-card { min-height: 360px; }
  .product-visual { min-height: 150px; }
  .install-card.feature { grid-column: span 2; }
  .footer-top { display: block; }
  .footer-links { margin-top: 42px; gap: 18px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}
