/* Retakes Tools: the public site */
:root { --bg: #0b0b0f; --panel: #15141b; --panel2: #1b1a22; --line: #26242f; --text: #ECEAF2; --muted: #9a96a8; --accent: #F0E9B0; --good: #7BE0A0;
  --pride: linear-gradient(90deg, #D76E6B 0 16.6%, #E9BE94 0 33.3%, #F0E9B0 0 50%, #6EAA78 0 66.6%, #4A7BE0 0 83.3%, #9445A4 0); }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 Inter, system-ui, 'Segoe UI', sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.site-top { position: sticky; top: 0; z-index: 10; background: rgba(11,11,15,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-top::after { content: ''; display: block; height: 3px; background: var(--pride); }
.site-top .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.logo img { width: 36px; height: 36px; }
.logo span { font-size: 19px; letter-spacing: .04em; } .logo b { font-weight: 800; } .logo i { font-style: normal; font-weight: 400; color: var(--muted); }
.site-top nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.site-top nav a { color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.site-top nav a:hover, .site-top nav a.on { color: var(--text); background: var(--panel); }
.hero { padding: 72px 0 36px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; background: var(--pride); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 18px; }
.filters button { background: var(--panel); color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.filters button.on { background: var(--accent); color: #111; border-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; padding-bottom: 60px; }
.tool { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; overflow: hidden; }
.tool::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pride); background-size: 100% 100%;
  background: linear-gradient(#D76E6B 0 16.6%, #E9BE94 0 33.3%, #F0E9B0 0 50%, #6EAA78 0 66.6%, #4A7BE0 0 83.3%, #9445A4 0); opacity: .9; }
.tool:hover { transform: translateY(-3px); border-color: #3a3846; }
.tool.soon { opacity: .75; }
.tool-head { display: flex; align-items: center; gap: 12px; }
.tool-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--panel2); display: flex; align-items: center; justify-content: center; color: var(--accent); flex: none; }
.tool-icon svg { width: 24px; height: 24px; }
.tool h2 { font-size: 19px; margin: 0; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.badge.live { color: var(--good); border-color: #2d5a3e; } .badge.soon { color: #F2C14E; border-color: #5a4a22; }
.tool .short { font-weight: 600; margin: 0; } .tool .desc { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.tool .who { display: flex; gap: 6px; flex-wrap: wrap; } .tool .who span { font-size: 12px; color: var(--muted); background: var(--panel2); padding: 2px 8px; border-radius: 6px; }
.site-foot { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
/* tool pages */
.page { padding: 48px 0 60px; }
.page-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.page-head img { width: 64px; height: 64px; }
.page-head h1 { margin: 0; font-size: clamp(28px, 4vw, 42px); }
.lead { font-size: 18px; color: var(--muted); max-width: 760px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #111; text-decoration: none; font-weight: 700; padding: 11px 18px; border-radius: 10px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.demo { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #2c3442, #1a1f28 45%, #3b3326); }
.demo iframe { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; border: 0; transform-origin: 0 0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 30px 0; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.box h3 { margin: 0 0 8px; font-size: 16px; } .box p, .box li { color: var(--muted); font-size: 14px; margin: 0; } .box ul, .box ol { padding-left: 18px; margin: 0; }
.box li + li { margin-top: 6px; }
code { background: var(--panel2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 13px; color: var(--text); }
.soon-box { text-align: center; padding: 60px 20px; }
