/* Tiltless — the free tools (position size / R calculator, tilt test): ice, flat, rewards glow */
:root { --bg: #05080d; --card: #0c121b; --card-2: #111a26; --line: rgba(255, 255, 255, .08); --text: #eef3f8; --dim: #a3adbd; --muted: #6f7a8c; --ice: #38bdf8; --ice-2: #67e8f9; --green: #34d399; --red: #f87171; --amber: #fbbf24; --orange: #fb923c; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; background: radial-gradient(90% 50% at 50% -10%, rgba(56, 189, 248, .14), transparent 60%) no-repeat, var(--bg); color: var(--text); font: 15px/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.t-top { max-width: 880px; margin: 0 auto; padding: 20px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.t-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px "Space Grotesk", Inter, sans-serif; letter-spacing: -.02em; }
.t-logo img { filter: drop-shadow(0 0 10px rgba(103, 232, 249, .45)); }
.t-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border: 0; border-radius: 11px; text-decoration: none; font-weight: 700; font-size: 14px; color: #04121c; background: linear-gradient(135deg, #67e8f9, #38bdf8 45%, #0284c7); box-shadow: 0 10px 26px -12px rgba(56, 189, 248, .95); cursor: pointer; }
.t-btn.big { min-height: 48px; padding: 0 22px; font-size: 15px; }
.t-btn.ghost { color: var(--text); background: none; border: 1px solid var(--line); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .t-btn:hover { box-shadow: 0 16px 36px -12px rgba(103, 232, 249, 1); } .t-btn.ghost:hover { border-color: rgba(103, 232, 249, .5); box-shadow: none; } }
.t-main { max-width: 880px; margin: 0 auto; padding: 8px 16px 64px; }
.t-main h1 { margin: 6px 0 6px; font: 700 clamp(30px, 5vw, 44px)/1.1 "Space Grotesk", Inter, sans-serif; letter-spacing: -.03em; }
.t-lead { margin: 0 0 22px; color: var(--dim); max-width: 62ch; }
.t-card { border: 1px solid var(--line); border-radius: 20px; background: var(--card); padding: 22px; margin-bottom: 18px; }
.t-card h2 { margin: 0 0 14px; font: 700 20px/1.25 "Space Grotesk", Inter, sans-serif; letter-spacing: -.01em; }
.t-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.t-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--dim); }
.t-field input, .t-field select { width: 100%; height: 44px; padding: 0 12px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .12); background: var(--card-2); color: var(--text); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.t-field input:focus, .t-field select:focus { outline: none; border-color: rgba(103, 232, 249, .6); box-shadow: 0 0 0 3px rgba(56, 189, 248, .15); }
.t-row { display: flex; gap: 8px; }
.t-row input { flex: 1; }
.t-seg { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line); }
.t-seg button { padding: 7px 12px; border: 0; border-radius: 8px; background: none; font-size: 13px; font-weight: 700; color: var(--dim); cursor: pointer; }
.t-seg button.on { background: rgba(255, 255, 255, .09); color: var(--text); }
.t-hint { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.t-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.t-out > div { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: -1px 0 0 var(--line); min-width: 0; }
.t-out span { font-size: 12px; color: var(--muted); }
.t-out b { font-size: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-out small { font-size: 12px; color: var(--dim); }
.t-out .main b { color: var(--ice-2); text-shadow: 0 0 18px rgba(103, 232, 249, .45); font-size: 26px; }
.pos { color: var(--green); } .neg { color: var(--red); }
.t-cta { margin-top: 26px; text-align: center; padding: 30px 18px; border: 1px solid rgba(103, 232, 249, .22); border-radius: 20px; background: linear-gradient(180deg, rgba(56, 189, 248, .08), transparent); }
.t-cta h2 { margin: 0 0 6px; font: 700 26px/1.2 "Space Grotesk", Inter, sans-serif; letter-spacing: -.02em; }
.t-cta p { margin: 0 0 18px; color: var(--dim); }
.t-faq h3 { margin: 18px 0 4px; font-size: 16px; }
.t-faq p { margin: 0; color: var(--dim); }
.t-foot { max-width: 880px; margin: 0 auto; padding: 0 16px 40px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.t-foot a { text-decoration: none; } .t-foot a:hover { color: var(--text); }

/* tilt test */
.q-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 18px; }
.q-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #38bdf8, #67e8f9); box-shadow: 0 0 12px rgba(103, 232, 249, .6); transition: width .35s cubic-bezier(.23, 1, .32, 1); }
.q-n { font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.q-text { margin: 6px 0 18px; font: 700 clamp(20px, 3vw, 26px)/1.3 "Space Grotesk", Inter, sans-serif; letter-spacing: -.01em; }
.q-opts { display: grid; gap: 10px; }
.q-opts button { text-align: left; padding: 14px 16px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .1); background: var(--card-2); font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, transform .12s ease; }
@media (hover: hover) and (pointer: fine) { .q-opts button:hover { border-color: rgba(103, 232, 249, .5); } }
.q-opts button:active { transform: scale(.99); }
.q-opts button.on { border-color: #67e8f9; background: rgba(56, 189, 248, .12); }
.q-nav { display: flex; justify-content: space-between; margin-top: 16px; }
.r-score { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.r-score b { font: 700 64px/1 "Space Grotesk", Inter, sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.r-score span { font-size: 18px; color: var(--muted); }
.r-band { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.r-level { position: relative; height: 70px; margin: 22px 0 18px; border-radius: 20px; background: linear-gradient(180deg, #3a414c, #20262f 50%, #12161c); border: 1px solid rgba(255, 255, 255, .16); transform-origin: 50% 50%; transition: transform .9s cubic-bezier(.23, 1, .32, 1); }
.r-level::before, .r-level::after { content: ""; position: absolute; top: 8px; bottom: 8px; width: 36px; border-radius: 13px; background: linear-gradient(180deg, var(--c1), var(--c2)); }
.r-level::before { left: 8px; } .r-level::after { right: 8px; }
.r-vial { position: absolute; left: 50%; top: 50%; width: 46%; height: 38px; transform: translate(-50%, -50%); border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, var(--v1), var(--v2)); box-shadow: 0 0 28px var(--glow); }
.r-bub { position: absolute; top: 50%; left: 50%; width: 40px; height: 20px; margin: -10px 0 0 -20px; border-radius: 50%; background: radial-gradient(ellipse at 38% 32%, #fff 0 18%, rgba(255, 255, 255, .8) 30%, rgba(255, 255, 255, .3) 65%, rgba(255, 255, 255, .12)); transition: transform .9s cubic-bezier(.23, 1, .32, 1); }
.r-text { color: var(--dim); }
.r-leaks { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.r-leaks li { padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }
.r-leaks b { display: block; margin-bottom: 3px; }
.r-leaks span { color: var(--dim); font-size: 14px; }
.r-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.t-note { font-size: 12px; color: var(--muted); margin-top: 14px; }
@media (max-width: 640px) {
  .t-grid { grid-template-columns: minmax(0, 1fr); }
  .t-out { grid-template-columns: minmax(0, 1fr); }
  .t-out > div { box-shadow: 0 -1px 0 var(--line); }
}
@media (prefers-reduced-motion: reduce) { .r-level, .r-bub, .q-bar i { transition: none; } }

/* fixes: [hidden] beats display:flex; the tilted level gets room so it never covers the text */
[hidden] { display: none !important; }
.r-level { width: min(100%, 520px); margin: 48px auto 46px; }
