/* Endurofuel site. One theme for every page.
   Design rules (layout principles taken from studying runna.com on 16 Nov 2026; colours, wording and images are our own):
   - Type: Manrope 700 for headings with tight tracking, Inter 400/500 for text. Scale 72 / 48 / 24 / 18 / 16 / 14.
   - Colour: ink #0b0b0c, paper #ffffff, mist #f2f5f7, text #333, muted #70767c, one accent (lime #c8f55a) used for the
     single highlighted word in a headline and for primary buttons. Nothing else is coloured.
   - Shape: 8px radius on buttons and cards, 48px button height. Phones always sit in a frame; the one photograph (the founder, in About) has the same 8px radius.
   - Rhythm: content max 1280px, 64px side padding (20px on phones), 96px between sections, headlines centred.
   - Page order: dark hero with phones cut by the fold, then alternating white and mist sections, dark call to action last. */
/* Fonts are served from this site (fonts/), not from Google: no third-party requests. Both are under the SIL Open Font License (fonts/OFL-*.txt). */
@font-face{font-family:"Inter";font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Manrope";font-style:normal;font-weight:700 800;font-display:swap;src:url(/fonts/manrope-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--ink:#0b0b0c;--ink2:#161616;--paper:#fff;--mist:#f2f5f7;--text:#333;--muted:#5c6268;--line:#e3e7ea;--accent:#c8f55a;--accent-ink:#10140a;
  --head:"Manrope",Arial,sans-serif;--body:"Inter",Arial,sans-serif;--max:1280px;--pad:64px;--gap:96px;--r:8px}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--body);font-size:16px;line-height:1.5;color:var(--text);background:var(--paper);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--head);font-weight:700;color:var(--ink2);text-wrap:balance}
h1{font-size:clamp(40px,6.4vw,72px);line-height:1;letter-spacing:-.045em}
h2{font-size:clamp(30px,4.2vw,48px);line-height:1.2;letter-spacing:-.045em}
h3{font-size:24px;line-height:1.3;letter-spacing:-.02em}
p{text-wrap:pretty}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}
.center{text-align:center}
.lead{font-size:18px;line-height:1.5;color:var(--muted);max-width:640px;margin:16px auto 0}
.hl{color:var(--accent)}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink2);color:#fff;padding:12px 16px;border-radius:4px;z-index:100}
.skip:focus{left:8px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 24px;border-radius:var(--r);background:var(--accent);color:var(--accent-ink);
  font-family:var(--body);font-size:16px;font-weight:500;text-decoration:none;border:0;cursor:pointer;transition:transform .15s ease,filter .15s ease}
.btn:hover{filter:brightness(1.06);transform:translateY(-1px)}
.btn:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.btn.dark{background:var(--ink2);color:#fff}
.note{font-size:14px;color:var(--muted);margin-top:12px}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:var(--ink);color:#fff}
.nav .wrap{display:flex;align-items:center;height:72px;gap:32px}
.logo{font-family:var(--head);font-weight:800;font-size:24px;letter-spacing:-.05em;text-decoration:none;color:#fff}
.logo b{color:var(--accent);font-weight:800}
.nav nav{margin-left:auto;display:flex;gap:28px}
.nav nav a{font-size:15px;color:#ededed;text-decoration:none}
.nav nav a:hover{color:var(--accent)}
.nav>.wrap>nav a{padding:10px 0}

/* phone menu (shown under 980px, where the links above are hidden). No script needed to open it. */
.menu{display:none}
.menu summary{list-style:none;width:44px;height:44px;border-radius:var(--r);border:1px solid #3a3a40;cursor:pointer;position:relative}
.menu summary::-webkit-details-marker{display:none}
.menu summary::before{content:"";position:absolute;left:12px;right:12px;top:14px;height:2px;border-radius:1px;background:#fff;box-shadow:0 6px 0 #fff,0 12px 0 #fff}
.menu[open] summary{background:#1b1b1e;border-color:var(--accent)}
.nav .menu nav{position:absolute;left:0;right:0;top:100%;margin:0;display:flex;flex-direction:column;gap:0;background:var(--ink);border-top:1px solid #26262a;padding:8px var(--pad) 16px;box-shadow:0 24px 40px rgba(0,0,0,.35)}
.nav .menu nav a{display:flex;align-items:center;min-height:48px;font-size:17px;color:#fff;border-bottom:1px solid #1f1f23}
.nav .menu nav a:last-child{border-bottom:0;color:var(--accent);font-weight:500}

/* hero */
.hero{background:var(--ink);color:#fff;text-align:center;padding:72px 0 0;overflow:hidden;position:relative}
.hero h1{color:#fff;max-width:960px;margin:0 auto}
.hero .lead{color:#c9ccd1}
.hero .btn{margin-top:28px}
.hero .note{color:#93939a}
.phones{display:flex;justify-content:center;align-items:flex-start;gap:20px;margin:56px auto -150px;padding:0 20px}
.phone{flex:0 0 220px;border-radius:34px;padding:8px;background:#1b1b1e;border:1px solid #303036;box-shadow:0 30px 60px rgba(0,0,0,.45)}
.phone picture{display:block}
.phone img{border-radius:27px;width:100%;height:auto;aspect-ratio:750/1624;object-fit:cover;object-position:top}
.phones .phone:nth-child(2),.phones .phone:nth-child(3){margin-top:-24px}
.fold{height:150px;background:var(--paper);clip-path:polygon(0 60%,100% 0,100% 100%,0 100%);position:relative;z-index:1;margin-top:-1px}
.hero .phones{position:relative;z-index:2}

/* sections */
section{padding:var(--gap) 0}
section.mist{background:var(--mist)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;margin-top:56px}
.step{text-align:center}
.step .phone{width:240px;margin:0 auto 24px;background:#1b1b1e}
.step .phone img{aspect-ratio:750/1200}
.step p{color:var(--text);max-width:300px;margin:8px auto 0}
.cta-row{text-align:center;margin-top:48px}

.why{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:72px;align-items:center}
.why .phone{width:300px;margin:0 auto}
.why ol{list-style:none;counter-reset:n;margin-top:32px}
.why li{counter-increment:n;position:relative;padding:0 0 28px 56px}
.why li::before{content:counter(n);position:absolute;left:0;top:0;width:36px;height:36px;border-radius:50%;border:1.5px solid var(--ink2);display:grid;place-items:center;
  font-family:var(--head);font-weight:700;font-size:15px;color:var(--ink2)}
.why li h3{font-size:20px}
.why li p{color:var(--muted);margin-top:4px}

.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:56px}
.cards{text-align:left}
.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:28px}
.card h3{font-size:20px}
.card p{color:var(--muted);margin-top:8px}
.tag{display:inline-block;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.tag.live{color:#3f6b00}

/* about: the founder's photo beside his story */
.about{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:72px;align-items:start}
.portrait{max-width:480px;width:100%;margin:0 auto}
.portrait img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:var(--r);background:var(--mist)}
.portrait figcaption{font-size:13px;color:var(--muted);margin-top:10px}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.story h2{font-size:clamp(28px,3.4vw,40px)}
.story>p{margin-top:18px;font-size:17px;line-height:1.6;max-width:620px}
.story .eyebrow{margin-top:0;font-size:12px}
.story .sig{margin-top:24px;color:var(--muted)}
.story .sig b{font-family:var(--head);font-weight:700;color:var(--ink2);font-size:18px}
.biz{margin-top:32px;padding:24px;border:1px solid var(--line);border-radius:var(--r);font-size:15px;max-width:620px}
.biz ul{list-style:none;margin-top:12px;display:grid;gap:6px;color:var(--muted)}
.biz a{color:var(--ink2);text-underline-offset:3px}

.how{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:56px;counter-reset:h}
.how div{counter-increment:h;border-top:2px solid var(--ink2);padding-top:20px}
.how div::before{content:"0" counter(h);font-family:var(--head);font-weight:700;font-size:15px;color:var(--muted)}
.how h3{font-size:20px;margin-top:8px}
.how p{color:var(--muted);margin-top:6px}

.faq{max-width:832px;margin:48px auto 0}
.faq details{background:var(--paper);border-radius:var(--r);margin-bottom:8px;border:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;padding:20px 56px 20px 24px;font-family:var(--head);font-weight:700;font-size:18px;color:var(--ink2);position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:24px;top:50%;transform:translateY(-50%);font-size:24px;font-weight:400;color:var(--muted)}
.faq details[open] summary::after{content:"–"}
.faq details p{padding:0 24px 22px;color:var(--text)}

.final{background:var(--ink2);color:#fff;text-align:center;padding:160px 0}
.final h2{color:#fff}
.final .lead{color:#c9ccd1}
.final .who{display:inline-block;margin-top:20px;padding:10px 16px;border:1px solid #3a3a40;border-radius:var(--r);font-size:15px;color:#c9ccd1}
.final .who b{color:#fff;font-weight:600}

/* beta sign-up form (sits in the dark closing section) */
.bform{max-width:560px;margin:36px auto 0;text-align:left;display:grid;gap:18px}
.bform .frow{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.bform label,.bform legend{display:block;font-size:14px;font-weight:500;color:#ededed}
.bform label span,.bform legend span{font-weight:400;color:#93939a;margin-left:6px}
.bform input[type=email],.bform input[type=text],.bform select,.bform textarea{display:block;width:100%;margin-top:8px;height:48px;padding:0 14px;border-radius:var(--r);
  border:1px solid #3a3a40;background:#0f0f11;color:#fff;font-family:var(--body);font-size:16px}
.bform textarea{height:auto;padding:12px 14px;resize:vertical;line-height:1.5}
.bform ::placeholder{color:#8d8d96}
.bform input:focus-visible,.bform select:focus-visible,.bform textarea:focus-visible{outline:3px solid var(--accent);outline-offset:1px;border-color:transparent}
.bform fieldset{border:0}
.bform .chk{display:inline-flex;align-items:center;gap:10px;margin:12px 24px 0 0;font-weight:400;font-size:16px;min-height:28px;cursor:pointer}
.bform .chk input{width:20px;height:20px;accent-color:var(--accent)}
.bform .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.bform .btn{width:100%;margin-top:6px}
.bform .btn:disabled{opacity:.6;cursor:default;transform:none;filter:none}
.bform .chk input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.bform .fmsg{min-height:22px;font-size:15px;color:#c9ccd1;text-align:center}
.bform .fmsg.bad{color:#ffb4a8}
.bform .note{text-align:center;color:#93939a;margin-top:0}
.bform .note a{color:#c9ccd1}
.fdone{text-align:center;padding:32px 24px;border:1px solid #3a3a40;border-radius:var(--r);outline:0}
.fdone h3{color:var(--accent)}
.fdone p{color:#c9ccd1;margin-top:8px}
@media (max-width:560px){.bform .frow{grid-template-columns:1fr}}

footer{background:var(--ink);color:#93939a;font-size:14px;padding:40px 0}
footer .wrap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap}
footer a{color:#c9ccd1;text-decoration:none}
footer a:hover{color:var(--accent)}
.flinks{display:flex;gap:20px;margin-top:10px}
.flinks a{display:inline-block;padding:6px 0}
.disclaimer{max-width:640px}

/* text pages (privacy, security, support): dark page head, then one readable column */
.pagehead{background:var(--ink);color:#fff;text-align:center;padding:72px 0 80px}
.pagehead h1{color:#fff}
.pagehead .lead{color:#c9ccd1}
.pagehead .note{color:#93939a}
.prose{max-width:calc(760px + 2*var(--pad))}
.prose h2{font-size:28px;line-height:1.25;letter-spacing:-.03em;margin:56px 0 12px}
.prose h3{font-size:18px;margin:28px 0 8px}
.prose p,.prose ul{margin-top:12px}
.prose ul{padding-left:22px}
.prose li{margin-top:8px}
.prose a{color:var(--ink2);text-decoration:underline;text-underline-offset:3px}
.prose .summary{background:var(--mist);border-radius:var(--r);padding:28px}
.prose .summary h2{margin-top:0;font-size:24px}
.tablewrap{overflow-x:auto;margin-top:16px;border:1px solid var(--line);border-radius:var(--r)}
.prose table{border-collapse:collapse;width:100%;font-size:15px;min-width:520px}
.prose th,.prose td{text-align:left;vertical-align:top;padding:12px 16px;border-bottom:1px solid var(--line)}
.prose th{font-family:var(--head);font-weight:700;color:var(--ink2);background:var(--mist)}
.prose tr:last-child td{border-bottom:0}
.prose h2:first-child{margin-top:0}
.prose ul ul{margin-top:4px}
.prose .contact{font-size:18px}
.prose .panel{border:1px solid var(--line);border-radius:var(--r);padding:24px 28px;margin-top:24px}
.prose .panel h2,.prose .panel h3{margin-top:0}
.prose address{font-style:normal}
.prose pre{margin-top:16px;padding:20px;background:var(--mist);border-radius:var(--r);overflow-x:auto;font-size:14px;line-height:1.6}
.pagenav a{display:inline-block;padding:6px 0}
.pagenav{display:flex;flex-wrap:wrap;gap:4px 24px;margin-top:56px;padding-top:24px;border-top:1px solid var(--line);font-size:15px}
/* phones: each table row becomes a small card with its column names, so nothing scrolls sideways */
@media (max-width:640px){
  .prose table{min-width:0;display:block}
  .prose thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .prose tbody,.prose tr,.prose td{display:block}
  .prose tr{padding:14px 16px;border-bottom:1px solid var(--line)}
  .prose tr:last-child{border-bottom:0}
  .prose td{padding:0;border:0}
  .prose td+td{margin-top:10px}
  .prose td::before{content:attr(data-label);display:block;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
  .prose td:first-child{font-weight:600;color:var(--ink2)}
  .prose td:first-child::before{display:none}
}
mark.todo{background:#ffe9a8;color:#5a4300;padding:1px 6px;border-radius:4px;font-size:.9em;font-weight:600}

@media (max-width:980px){
  :root{--pad:20px;--gap:64px}
  .nav>.wrap>nav{display:none}
  .nav .wrap{gap:12px}.nav .wrap>.btn{margin-left:auto;height:44px;padding:0 16px;font-size:15px}
  .menu{display:block}
  .about{grid-template-columns:1fr;gap:32px}
  .phones{gap:12px;margin-bottom:-110px}.phone{flex-basis:170px;border-radius:28px;padding:6px}.phone img{border-radius:22px}
  .phones .phone:nth-child(4){display:none}
  .fold{height:110px}
  .steps,.cards{grid-template-columns:1fr}.how{grid-template-columns:1fr 1fr}
  .why{grid-template-columns:1fr;gap:40px}
  .final{padding:96px 0}
}
@media (max-width:560px){
  .phones .phone:nth-child(3){display:none}.phone{flex-basis:46%}
  .how{grid-template-columns:1fr}
  .nav .wrap{height:64px}
}
@media (max-width:359px){.nav .wrap>.btn{display:none}.menu{margin-left:auto}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}

/* not-found page: the dark head fills the screen */
.lost{min-height:100vh;display:flex;flex-direction:column;background:var(--ink)}
.lost main{flex:1;display:grid;align-items:center}
.lost .nav .btn{margin-left:auto}
.lostlinks{margin-top:28px}
.pagehead .note a{color:#c9ccd1}

/* links that jump within a page stop below the fixed top bar */
[id]{scroll-margin-top:88px}
