/* Strength Grade site. Design modelled on symmetry.club (owner, 29 Nov): near-black canvas, one floating pill nav,
   white pill buttons, DM Sans display + Albert Sans text, 3D grade badges. Home page scenes live in home.css. */
:root {
  --bg: #060607; --bg2: #0C0D0F; --card: #111214; --card2: #191B1F; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.16);
  --ink: #F4F5F7; --mute: #9BA1AC; --dim: #62676F; --volt: #D4FF3A; --blue: #2F6BFF; --fire: #FF5A1F;
  --sel: #16243A; --selline: #8FB8FF;
  --gF: #7B8594; --gE: #C47A45; --gD: #C9D1DB; --gC: #F0B429; --gB: #19C37D; --gA: #2F8BFF; --gS: #C8F31D;
  --r: 22px; --font: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --disp: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0 }
html { overflow-x: clip }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip }
a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
button { font: inherit; color: inherit }
h1, h2, h3, h4 { font-family: var(--disp); letter-spacing: -.02em }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px }
.mute { color: var(--mute) }

/* nav: one floating pill */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 60; width: min(900px, calc(100% - 24px));
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 999px;
  background: rgba(16,17,19,.72); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px) }
.brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap }
.brand img { width: 30px; height: 30px; border-radius: 8px }
.brand span { font: 800 16px/1 var(--disp); letter-spacing: .035em; text-transform: uppercase; color: var(--ink) }
.links { display: flex; align-items: center; gap: 2px; margin: 0 auto }
.links > a, .dd > button { padding: 7px 14px; border-radius: 999px; font: 500 14px var(--font); color: var(--mute); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px }
.links > a:hover, .dd > button:hover, .dd:focus-within > button { color: var(--ink) }
.links > a.on, .dd > button.on { background: var(--ink); color: #0A0B0D }
.dd { position: relative }
.ddm { position: absolute; top: calc(100% + 12px); left: 50%; min-width: 230px; padding: 8px; border-radius: 18px; background: rgba(18,19,22,.96); border: 1px solid var(--line);
  backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .18s, transform .18s, visibility .18s }
.ddm::before { content: ""; position: absolute; inset: -14px 0 100% 0 }
.dd:hover .ddm, .dd:focus-within .ddm { opacity: 1; visibility: visible; transform: translate(-50%, 0) }
.ddm a { display: block; padding: 9px 12px; border-radius: 12px; font-size: 14px; color: var(--mute) }
.ddm a:hover { background: var(--card2); color: var(--ink) }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: 600 15px var(--font);
  padding: 14px 26px; border-radius: 999px; background: var(--ink); color: #0A0B0D; transition: transform .15s, opacity .15s, background .15s }
.btn:hover { transform: translateY(-1px) } .btn:active { transform: scale(.98) }
.btn.sm { padding: 9px 18px; font-size: 14px }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line2) }
.btn.ghost:hover { background: var(--card2) }
.btn.volt { background: var(--volt); padding: 11px 20px }
.btn.volt.ico { padding: 11px; width: 42px }
.mnav { display: none; position: relative }
.mnav summary { list-style: none; width: 38px; height: 38px; border-radius: 99px; display: grid; place-content: center; gap: 5px; cursor: pointer; border: 1px solid var(--line) }
.mnav summary::-webkit-details-marker { display: none }
.mnav summary span { display: block; width: 16px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .2s }
.mnav[open] summary span:first-child { transform: translateY(3.3px) rotate(45deg) } .mnav[open] summary span:last-child { transform: translateY(-3.3px) rotate(-45deg) }
.msheet { position: absolute; right: -8px; top: calc(100% + 16px); width: min(300px, calc(100vw - 24px)); padding: 10px; border-radius: 22px; background: rgba(18,19,22,.97); border: 1px solid var(--line); backdrop-filter: blur(16px) }
.msheet a { display: block; padding: 12px 14px; border-radius: 14px; font-size: 16px; font-weight: 500 }
.msheet a:active { background: var(--card2) }
@media (max-width: 800px) { .links { display: none } .nav .btn.sm { margin-left: auto } .mnav { display: block } .brand span { font-size: 15px } }
@media (max-width: 380px) { .brand span { font-size: 13.5px } .nav { padding-left: 10px; gap: 8px } .nav .btn.sm { padding: 9px 14px } }

/* store badges */
.stores { position: relative; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap }
.store { display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; height: 54px; border-radius: 12px; background: #000; border: 1px solid #5d5f63; min-width: 160px; transition: transform .15s, border-color .15s }
.store:hover { transform: translateY(-1px); border-color: #9a9da3 }
.store svg { width: 27px; height: 27px; flex: none }
.store small { display: block; font-size: 10.5px; color: #fff; line-height: 1.1; letter-spacing: .01em }
.store span { display: block; font: 600 19px/1.12 var(--disp); letter-spacing: -.01em; color: #fff }
.soon { margin-top: 14px; font-size: 13px; color: var(--dim) }

/* grade badge: the 3D emblem with the grade next to it (calculator result, tables) */
.gbadge { position: relative; width: 190px; margin: 14px auto 0 }
.gbadge img { width: 100%; height: auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,.6)) }
.gbadge b { position: absolute; right: -6px; bottom: 8px; min-width: 46px; padding: 3px 10px; border-radius: 99px; background: #0A0B0D; border: 1px solid var(--line2); font: 800 20px/1.2 var(--disp); color: var(--c, var(--ink)) }

/* inner pages (tools, standards, text) */
.hero { position: relative; padding: 150px 0 40px; text-align: center }
.hero::before { content: ""; position: absolute; inset: -200px 0 auto 0; height: 760px; background: radial-gradient(ellipse at 50% 30%, rgba(120,130,150,.16), transparent 62%); pointer-events: none }
.hero h1 { position: relative; font-weight: 700; font-size: clamp(44px, 8.2vw, 96px); line-height: 1.02; letter-spacing: -.035em }
.hero p.sub { position: relative; max-width: 560px; margin: 22px auto 0; font-size: 18px; color: var(--mute) }
section.s { padding: 110px 0; position: relative }
.eyebrow { font-size: 14px; color: var(--mute); font-weight: 500; margin-bottom: 10px }
h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; line-height: 1.06; letter-spacing: -.03em }
.lead { color: var(--mute); font-size: 18px; max-width: 470px; margin-top: 16px }
.center { text-align: center } .center .lead { margin-left: auto; margin-right: auto }

.calc { position: relative; max-width: 880px; margin: 46px auto 0; display: grid; grid-template-columns: 1.05fr .95fr; gap: 16px; text-align: left }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px }
.field { margin-top: 16px }
.field label { display: block; font-size: 13px; color: var(--mute); margin-bottom: 7px; font-weight: 500 }
.seg { display: grid; grid-auto-flow: column; gap: 4px; padding: 4px; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px }
.seg button { border: 0; background: transparent; color: var(--mute); font: 600 14px var(--font); padding: 9px 10px; border-radius: 999px; cursor: pointer }
.seg button.on { background: var(--sel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--selline) }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.inp { display: flex; align-items: center; background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 0 14px; height: 52px }
.inp:focus-within { border-color: var(--selline) }
.inp input, .inp select { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink); font: 600 18px var(--font) }
.inp select { appearance: none; cursor: pointer; font-size: 16px }
.inp select option { background: var(--card) }
.inp span { color: var(--mute); font-size: 14px; font-weight: 600 }
.calc .btn { width: 100%; margin-top: 18px }
.result { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 360px }
.result .lab { font-size: 12px; letter-spacing: .12em; color: var(--mute); font-weight: 700; text-transform: uppercase }
.result .pct { margin-top: 14px; font-size: 16px } .result .pct b { color: var(--ink) }
.bar { width: 100%; height: 8px; border-radius: 99px; background: var(--bg2); overflow: hidden; margin-top: 16px }
.bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 99px; transition: width .6s ease }
.next { width: 100%; margin-top: 16px; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); font-size: 14px }
.next b { font-size: 17px }
.result .empty { color: var(--dim); max-width: 260px }
.pop { animation: pop .55s cubic-bezier(.2,1.5,.4,1) }
@keyframes pop { 0% { transform: scale(.4); opacity: 0 } 100% { transform: scale(1); opacity: 1 } }

.tbl { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 18px; font-size: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px }
.tbl th, .tbl td { padding: 11px 12px; text-align: center; border-bottom: 1px solid var(--line) }
.tbl th { background: var(--card2); font-weight: 700; color: var(--mute); font-size: 12px; letter-spacing: .05em }
.tbl td:first-child, .tbl th:first-child { text-align: left; font-weight: 700; color: var(--ink) }
.tbl tr:last-child td { border-bottom: 0 }
.tblwrap { overflow-x: auto }
.g-F { color: var(--gF) } .g-E { color: var(--gE) } .g-D { color: var(--gD) } .g-C { color: var(--gC) } .g-B { color: var(--gB) } .g-A { color: var(--gA) } .g-S { color: var(--gS) }

.page { padding: 140px 0 80px } .page h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05 }
.prose { max-width: 760px } .prose h2 { font-size: 26px; letter-spacing: -.02em; margin: 38px 0 10px } .prose p, .prose li { color: #C4C8CF; margin-top: 10px }
.prose ul { padding-left: 20px } .prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line2) }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--mute); position: relative; background: var(--bg) }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 24px }
.fgrid h5 { color: var(--ink); font: 600 14px var(--font); margin-bottom: 12px } .fgrid a:not(.brand) { display: block; margin-top: 9px } .fgrid a:hover { color: var(--ink) }
.ftag { margin-top: 14px; max-width: 220px }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim) }
@media (max-width: 860px) { .fgrid { grid-template-columns: 1fr 1fr; row-gap: 34px } .fgrid > div:first-child { grid-column: 1 / -1 } }
