/* TankWar portal / legal pages */
:root { --bg: #0c0d09; --ink: #e8ecdc; --muted: #9ca38b; --accent: #f2c14e; --olive: #4d5a3c; --line: rgba(170,180,140,0.18); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.nav { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 12px max(20px, env(safe-area-inset-left)); background: rgba(12,13,9,0.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { font: 800 22px system-ui; letter-spacing: 0.14em; color: var(--ink); text-decoration: none; } .logo span, h1 span { color: var(--accent); }
.nav nav { display: flex; gap: 18px; align-items: center; } .nav nav a { color: var(--ink); text-decoration: none; font-size: 14px; } .nav nav a:hover { color: var(--accent); }
.btn { display: inline-flex; flex-direction: column; align-items: center; padding: 14px 26px; border: 1px solid var(--line); background: #22281a; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; transition: transform 0.15s, filter 0.15s; }
.btn small { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--muted); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.15); }
.btn.primary { background: linear-gradient(#d6a233, #9b6f16); color: #140f02; border-color: var(--accent); } .btn.primary small { color: #3a2a06; }
.btn.small { padding: 6px 14px; flex-direction: row; background: var(--olive); }
.hero { position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,13,9,0.3), rgba(12,13,9,0.55) 60%, var(--bg)), url(../img/hero.jpg) center/cover no-repeat, radial-gradient(ellipse at 50% 40%, #3b4428, #0c0d09 70%); transform: scale(1.05); }
.hero-in { position: relative; max-width: 860px; padding: 40px 20px; }
.kicker { letter-spacing: 0.3em; text-transform: uppercase; font-size: 13px; color: var(--muted); margin: 0; }
h1 { font: 900 clamp(64px, 12vw, 140px)/1 system-ui; letter-spacing: 0.08em; margin: 10px 0 18px; text-shadow: 0 6px 40px rgba(0,0,0,0.7); }
.lead { font-size: clamp(16px, 2.2vw, 20px); color: #d8dccb; text-shadow: 0 2px 10px #000; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 28px 0 10px; }
.note { color: var(--muted); font-size: 13px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 70px 20px 20px; }
h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 6px; letter-spacing: 0.02em; } .sub { color: var(--muted); margin: 0 0 28px; }
.grid { display: grid; gap: 16px; }
.tanks { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tank { display: block; text-decoration: none; color: var(--ink); background: linear-gradient(180deg, #1a1e14, #12140e); border: 1px solid var(--line); padding: 14px; transition: border-color 0.2s, transform 0.2s; }
.tank:hover { border-color: var(--accent); transform: translateY(-3px); }
.swatch { height: 70px; background: repeating-linear-gradient(135deg, var(--c), var(--c) 14px, color-mix(in srgb, var(--c) 75%, black) 14px, color-mix(in srgb, var(--c) 75%, black) 28px); position: relative; }
.swatch span { position: absolute; right: 8px; top: 8px; font: 700 11px ui-monospace, monospace; background: rgba(0,0,0,0.55); padding: 2px 6px; letter-spacing: 0.1em; }
.tank h3 { margin: 10px 0 0; } .tank p { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.bars label { display: grid; grid-template-columns: 80px 1fr; align-items: center; font-size: 12px; color: var(--muted); gap: 8px; }
.bars i { height: 5px; background: #262b1d; display: block; } .bars em { display: block; height: 100%; background: linear-gradient(90deg, #6d8a3e, #d8d46a); }
.features { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.features article { border-left: 3px solid var(--accent); background: #13160f; padding: 16px 20px; } .features h3 { margin: 0 0 6px; } .features p { margin: 0; color: #c4c9b4; }
.iphone { display: flex; gap: 40px; align-items: center; justify-content: space-between; } .iphone img { border-radius: 44px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.appstore { display: inline-flex; align-items: center; gap: 10px; background: #000; border: 1px solid #555; border-radius: 10px; padding: 8px 16px; opacity: 0.8; cursor: default; }
.appstore span { width: 26px; height: 30px; background: #fff; clip-path: path('M18 6c1-1.3 1.6-3 1.4-4.6-1.4.1-3.1 1-4.1 2.2-.9 1-1.7 2.7-1.5 4.3 1.6.1 3.2-.8 4.2-1.9zM21.5 16.3c0-3 2.5-4.4 2.6-4.5-1.4-2.1-3.6-2.3-4.4-2.4-1.9-.2-3.6 1.1-4.6 1.1-.9 0-2.4-1.1-3.9-1-2 0-3.9 1.2-4.9 3-2.1 3.6-.5 9 1.5 12 1 1.4 2.2 3 3.7 3 1.5-.1 2-1 3.8-1s2.3 1 3.9.9c1.6 0 2.6-1.5 3.6-2.9 1.1-1.7 1.6-3.3 1.6-3.4 0 0-3-1.2-3-4.8z'); }
.appstore small { display: block; font-size: 10px; color: #ccc; } .appstore b { font-size: 20px; line-height: 1; }
ol { padding-left: 20px; color: #d0d4c2; }
footer { border-top: 1px solid var(--line); margin-top: 70px; padding: 30px 20px calc(30px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: 14px; }
footer p { margin: 4px 0; }
.legal { max-width: 820px; margin: 0 auto; padding: 50px 20px; } .legal h1 { font-size: 40px; letter-spacing: 0.02em; } .legal h2 { font-size: 22px; margin-top: 30px; } .legal p, .legal li { color: #cfd3c2; }
@media (max-width: 760px) { .iphone { flex-direction: column-reverse; text-align: center; } .iphone ol { text-align: left; } .nav nav a:not(.btn) { display: none; } }
html.native .buy-only { display: none !important; }
