:root {
    --ink: #f2f4ed;
    --muted: #929a9a;
    --line: rgba(235, 241, 235, .14);
    --soft-line: rgba(235, 241, 235, .08);
    --lime: #c5f64a;
    --blue: #70c4ff;
    --bg: #090b0f;
    --panel: rgba(22, 26, 31, .75);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font-family: "DM Sans", sans-serif; min-height: 100vh; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); z-index: 5; }
.page-glow { position: fixed; border-radius: 50%; filter: blur(80px); opacity: .14; pointer-events: none; }
.page-glow-one { width: 420px; height: 420px; background: #254c5a; top: -190px; right: -80px; }
.page-glow-two { width: 340px; height: 340px; background: #5b701e; bottom: -180px; left: -100px; }
.site-nav { position: relative; z-index: 2; border-bottom: 1px solid var(--soft-line); }
.nav-inner { height: 78px; display: flex; justify-content: space-between; align-items: center; }
.brand { color: var(--ink); text-decoration: none; font: 700 1.35rem "Space Grotesk", sans-serif; letter-spacing: -.06em; display: flex; align-items: center; gap: 8px; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; color: var(--bg); background: var(--lime); border-radius: 50%; font-size: 1.15rem; }
.brand-dot { color: var(--lime); }
.nav-actions { display: flex; gap: 28px; align-items: center; }
.nav-caption, .stat-muted, .site-footer { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.export-link, .back-link, .text-link { color: var(--ink); text-decoration: none; font-size: .8rem; font-weight: 700; }
.export-link { border: 1px solid var(--line); padding: 10px 15px; border-radius: 99px; transition: .25s ease; }
.export-link span { color: var(--lime); font-size: 1rem; margin-right: 5px; }
.export-link:hover { border-color: var(--lime); color: var(--lime); }
.page-shell { position: relative; z-index: 1; }
.flash-message { margin: 20px 0 -4px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: .85rem; background: var(--panel); animation: slide-down .45s ease both; }
.flash-icon { margin-right: 9px; color: var(--lime); font-weight: 700; }
.flash-danger .flash-icon { color: #ff8478; }
.hero { min-height: 440px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; border-bottom: 1px solid var(--line); }
.hero-copy { padding: 78px 0 76px; }
.eyebrow { color: var(--muted); font-size: .67rem; letter-spacing: .17em; font-weight: 700; margin: 0 0 22px; display: flex; gap: 9px; align-items: center; }
.eyebrow-line { display: inline-block; height: 1px; width: 25px; background: var(--lime); }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; }
.hero h1 { font-size: clamp(3.6rem, 8vw, 7.2rem); line-height: .87; letter-spacing: -.09em; margin: 0; font-weight: 600; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-description { max-width: 390px; color: var(--muted); line-height: 1.65; margin: 29px 0; font-size: .95rem; }
.hero-cta, .primary-button { background: var(--lime); color: #11150d; border: 0; text-decoration: none; padding: 14px 19px; font-weight: 700; font-size: .8rem; display: inline-flex; gap: 30px; align-items: center; transition: transform .25s, box-shadow .25s; }
.hero-cta:hover, .primary-button:hover { color: #11150d; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(197, 246, 74, .16); }
.hero-visual { position: relative; min-height: 320px; border-left: 1px solid var(--line); overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(197, 246, 74, .15); border-radius: 50%; top: 5px; left: 80px; }
.hero-visual::after { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(112, 196, 255, .16); border-radius: 50%; top: 55px; left: 130px; }
.hero-visual svg { position: absolute; width: 92%; height: 270px; top: 30px; left: 5%; overflow: visible; }
.route-shadow, .route-path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route-shadow { stroke: rgba(197, 246, 74, .18); stroke-width: 13; filter: blur(12px); }
.route-path { stroke: url(#routeGradient); stroke-width: 3; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw-route 2.4s 1s ease forwards; }
.route-dot { fill: var(--lime); animation: pulse 2s infinite; }.end-dot { fill: var(--blue); animation-delay: .6s; }
.route-label { position: absolute; left: 21px; top: 28px; font-size: .61rem; letter-spacing: .15em; color: var(--muted); }
.hero-metric { position: absolute; bottom: 20px; right: 20px; display: flex; gap: 12px; align-items: flex-end; }.hero-metric strong { font: 600 2.4rem "Space Grotesk"; color: var(--lime); letter-spacing: -.08em; }.hero-metric span { color: var(--muted); text-transform: uppercase; font-size: .6rem; letter-spacing: .1em; line-height: 1.35; padding-bottom: 5px; }
.stats-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.stat-panel { background: rgba(9, 11, 15, .95); padding: 27px 28px 22px; min-height: 180px; }.stat-panel-lime { background: var(--lime); color: #11150d; }.stat-top, .stat-foot { display: flex; justify-content: space-between; align-items: center; }.stat-label, .stat-index { font-size: .63rem; letter-spacing: .14em; font-weight: 700; }.stat-index { opacity: .45; }.stat-panel strong { font: 600 clamp(2.6rem, 5vw, 4.2rem) "Space Grotesk"; letter-spacing: -.1em; display: inline-block; margin-top: 21px; }.stat-unit { font-size: .65rem; font-weight: 700; margin-left: 9px; }.stat-foot { margin-top: 18px; font-size: .65rem; }.stat-bar { height: 3px; width: 80px; background: rgba(17, 21, 13, .2); }.stat-bar i { display: block; height: 100%; background: #11150d; }.pace-stat { font-size: clamp(2.1rem, 4vw, 3.2rem) !important; }
.workspace-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; padding: 112px 0; border-bottom: 1px solid var(--line); }.section-heading h2, .history-heading h2, .edit-page h1 { font-size: clamp(2rem, 4vw, 3.7rem); line-height: .95; letter-spacing: -.08em; margin: 0 0 18px; }.section-heading > p:last-child { color: var(--muted); max-width: 260px; line-height: 1.6; font-size: .88rem; }
.run-form-card, .workspace-grid > *, .form-row > *, .edit-card { min-width: 0; }
.run-form-card { background: var(--panel); border: 1px solid var(--line); padding: 28px; backdrop-filter: blur(12px); }.form-card-top { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 28px; }.form-number { color: var(--lime); font: 700 .72rem "Space Grotesk"; letter-spacing: .1em; }.form-status { font-size: .6rem; color: var(--muted); letter-spacing: .13em; }.form-status i { background: var(--lime); width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 7px; box-shadow: 0 0 11px var(--lime); }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }.field label { display: block; color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 9px; }.field label span { opacity: .55; text-transform: none; letter-spacing: 0; }.field input, .field select, .history-tools select { width: 100%; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 3px; color: var(--ink); padding: 12px 13px; font: inherit; font-size: .84rem; outline: none; transition: border .2s, background .2s; }.field input:focus, .field select:focus, .history-tools select:focus { border-color: var(--lime); background: rgba(197, 246, 74, .045); }.field small { color: var(--muted); font-size: .62rem; display: block; margin-top: 5px; }.distance-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; }.distance-option { position: relative; cursor: pointer; margin: 0 !important; text-transform: none !important; letter-spacing: 0 !important; }.distance-option input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }.distance-option span { display: grid; place-items: center; min-height: 43px; border: 1px solid var(--line); color: var(--muted); font-size: .67rem; transition: .2s; }.distance-option input:checked + span, .distance-option:hover span { background: var(--lime); border-color: var(--lime); color: #11150d; font-weight: 700; }.custom-distance-wrap { margin-bottom: 20px; }.duration-inputs { display: flex; align-items: center; gap: 8px; }.duration-inputs input { text-align: center; }.duration-inputs span { color: var(--lime); font: 700 1.2rem "Space Grotesk"; }.primary-button { margin-top: 9px; min-width: 135px; justify-content: space-between; }.history-section { padding: 90px 0 70px; }.history-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 30px; }.history-heading h2 sup { font: 500 .9rem "DM Sans"; color: var(--lime); vertical-align: top; margin-left: 5px; }.history-tools { display: flex; gap: 8px; }.search-box { display: flex; gap: 8px; align-items: center; border-bottom: 1px solid var(--line); padding: 0 3px; }.search-box span { color: var(--lime); font-size: 1.2rem; }.search-box input { background: none; border: 0; color: var(--ink); outline: 0; padding: 9px 5px; width: 150px; font: .78rem "DM Sans"; }.history-tools select { width: auto; padding: 9px 27px 9px 11px; font-size: .72rem; }.run-list { border-top: 1px solid var(--line); }.run-item { display: grid; grid-template-columns: 70px minmax(160px, 1.5fr) repeat(3, .7fr) 65px; gap: 18px; align-items: center; min-height: 105px; border-bottom: 1px solid var(--soft-line); transition: background .25s, transform .25s; }.run-item:hover { background: rgba(197, 246, 74, .035); transform: translateX(5px); }.run-date { border-right: 1px solid var(--line); display: flex; flex-direction: column; line-height: 1; }.run-date span, .run-date small { color: var(--muted); text-transform: uppercase; font-size: .59rem; letter-spacing: .1em; }.run-date strong { font: 600 1.9rem "Space Grotesk"; letter-spacing: -.1em; margin: 5px 0; }.run-main h3 { font-size: .94rem; margin: 0; letter-spacing: -.03em; }.run-title-row { display: flex; align-items: center; gap: 8px; }.type-dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; }.run-main p { color: var(--muted); font-size: .7rem; margin: 7px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }.run-stat { border-left: 1px solid var(--soft-line); padding-left: 18px; }.run-stat span { display: block; color: var(--muted); font-size: .61rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 7px; }.run-stat strong { font: 600 1rem "Space Grotesk"; }.run-stat small { color: var(--muted); font: .62rem "DM Sans"; }.run-actions { display: flex; gap: 8px; align-items: center; }.run-actions a, .run-actions button { background: none; border: 0; color: var(--muted); font-size: 1.15rem; text-decoration: none; padding: 4px; transition: color .2s, transform .2s; }.run-actions a:hover { color: var(--lime); transform: translate(2px, -2px); }.run-actions button:hover { color: #ff8478; }.empty-state { text-align: center; border: 1px dashed var(--line); padding: 65px 20px; }.empty-icon { color: var(--lime); font-size: 2rem; }.empty-state h3 { margin: 14px 0 7px; }.empty-state p { color: var(--muted); font-size: .85rem; }.text-link { color: var(--lime); display: inline-flex; gap: 9px; margin-top: 8px; }.no-results { color: var(--muted); text-align: center; padding: 35px; border-bottom: 1px solid var(--line); }
.edit-page { max-width: 850px; margin: 65px auto 110px; }.back-link { color: var(--muted); display: inline-block; margin-bottom: 52px; }.back-link:hover, .cancel-link:hover { color: var(--lime); }.edit-page .section-heading { margin-bottom: 35px; }.edit-card { box-shadow: 0 25px 80px rgba(0,0,0,.2); }.edit-actions { display: flex; gap: 20px; align-items: center; margin-top: 15px; }.cancel-link { color: var(--muted); text-decoration: none; font-size: .8rem; }
.site-footer { display: flex; justify-content: space-between; padding: 20px 0 30px; border-top: 1px solid var(--soft-line); }.site-footer b { color: var(--lime); margin-left: 5px; }
.reveal { animation: rise-in .7s ease both; }.reveal-delay-1 { animation-delay: .1s; }.reveal-delay-2 { animation-delay: .18s; }.reveal-delay-3 { animation-delay: .25s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } } @keyframes slide-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } @keyframes draw-route { to { stroke-dashoffset: 0; } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; }.hero-visual { border-left: 0; border-top: 1px solid var(--line); }.workspace-grid { grid-template-columns: 1fr; gap: 35px; padding: 75px 0; }.distance-grid { grid-template-columns: repeat(5, 1fr); }.run-item { grid-template-columns: 55px 1.4fr repeat(2, .8fr) 55px; }.pace-column { display: none; } }
@media (max-width: 600px) { .nav-inner { height: 68px; }.nav-caption { display: none !important; }.hero-copy { padding: 60px 0 45px; }.hero h1 { font-size: 4.3rem; }.hero-visual { min-height: 265px; }.stats-grid { grid-template-columns: 1fr; background: none; gap: 1px; }.stat-panel { min-height: 145px; }.form-row { grid-template-columns: 1fr; gap: 17px; }.run-form-card { padding: 20px; }.distance-grid { grid-template-columns: repeat(3, 1fr); }.history-heading { display: block; }.history-tools { margin-top: 24px; }.search-box input { width: 130px; }.run-item { grid-template-columns: 48px 1fr 50px; gap: 12px; padding: 15px 0; }.run-stat { display: none; }.run-item .run-stat:first-of-type { display: block; border: 0; padding: 0; }.run-main p { max-width: 170px; }.run-actions { grid-column: 3; grid-row: 1; }.site-footer { font-size: .56rem; }.site-footer span:last-child { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
