:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; background:#f5f6f8; color:#15171a; }
* { box-sizing: border-box; }
body { margin:0; min-height:100vh; }
a { color:inherit; }
.topbar { height:70px; display:flex; align-items:center; justify-content:space-between; padding:0 5vw; background:#fff; border-bottom:1px solid #e8e8e8; position:sticky; top:0; z-index:10; }
.brand { text-decoration:none; font-weight:800; letter-spacing:-.02em; }
nav { display:flex; gap:20px; align-items:center; font-size:14px; }
nav a { text-decoration:none; color:#4c525a; }
.identity { color:#2e6d55; }
.inline { display:inline; }
.link-btn { border:0; background:none; cursor:pointer; color:#4c525a; }
.container { width:min(1040px, 90vw); margin:0 auto; padding:68px 0 80px; }
.hero { max-width:760px; margin-bottom:42px; }
.hero.compact { margin-bottom:28px; }
.eyebrow { font-size:13px; text-transform:uppercase; letter-spacing:.12em; color:#7a818b; font-weight:700; }
h1 { font-size:clamp(38px, 7vw, 70px); line-height:1.02; letter-spacing:-.055em; margin:12px 0 16px; }
.compact h1 { font-size:clamp(34px, 5vw, 54px); }
.hero p { font-size:18px; line-height:1.7; color:#666d76; }
.platform-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.platform-card { text-decoration:none; min-height:190px; padding:28px; border-radius:24px; background:#fff; border:1px solid #e7e8ea; display:flex; gap:20px; align-items:flex-start; transition:.18s ease; }
.platform-card:hover { transform:translateY(-3px); box-shadow:0 12px 30px rgba(0,0,0,.07); }
.platform-icon { width:52px; height:52px; border-radius:16px; display:grid; place-items:center; background:#15171a; color:#fff; font-weight:900; font-size:22px; flex:0 0 auto; }
.platform-card h2 { margin:3px 0 9px; font-size:26px; }
.platform-card p { margin:0; color:#6e747d; line-height:1.6; }
.status-card { margin-top:18px; padding:22px 26px; border-radius:20px; background:#fff; border:1px solid #e7e8ea; display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.status-card span { color:#707781; }
.download-panel,.login-panel { background:#fff; border:1px solid #e4e6e8; border-radius:24px; padding:28px; box-shadow:0 14px 40px rgba(0,0,0,.04); }
label { display:block; font-weight:700; margin:0 0 10px; }
textarea,input { width:100%; border:1px solid #d9dce0; border-radius:14px; padding:14px 16px; font:inherit; background:#fbfbfc; outline:none; }
textarea:focus,input:focus { border-color:#838a94; background:#fff; }
.mode-row { display:flex; gap:22px; margin:18px 0; }
.mode-row label { display:flex; align-items:center; gap:8px; font-weight:500; }
.mode-row input { width:auto; }
button { font:inherit; }
.primary,.secondary { border:0; border-radius:14px; padding:13px 18px; cursor:pointer; font-weight:750; }
.primary { background:#15171a; color:#fff; }
.secondary { background:#eceff2; color:#23262a; white-space:nowrap; }
.primary:disabled,.secondary:disabled { opacity:.5; cursor:not-allowed; }
.quota,.fineprint { color:#747b84; font-size:13px; margin-top:14px; line-height:1.6; }
.result { margin-top:18px; padding:16px; border-radius:14px; background:#f1f3f5; line-height:1.6; white-space:pre-wrap; }
.result.error { background:#fff0f0; color:#9b2727; }
.hidden { display:none; }
.row { display:flex; gap:10px; margin-bottom:18px; }
footer { width:min(1040px,90vw); margin:0 auto; padding:28px 0 42px; border-top:1px solid #dddfe2; color:#858b93; font-size:12px; line-height:1.7; }
@media (max-width:720px){
  .platform-grid,.status-card{grid-template-columns:1fr}
  .topbar{height:auto;min-height:70px;padding:12px 4vw;gap:10px;align-items:center;flex-wrap:wrap}
  nav{gap:10px 12px;flex-wrap:wrap;justify-content:flex-end;min-width:0}
  .identity{display:inline-block;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .container{width:92vw;padding-top:42px}
  .row{flex-direction:column}
  .mode-row{flex-wrap:wrap}
  .primary,.secondary{min-height:44px}
  .secondary{width:100%}
  .result{overflow-wrap:anywhere}
}
@media (max-width:430px){
  .brand{flex:1 0 100%}
  nav{flex:1 1 100%;justify-content:flex-start}
  .identity{max-width:100%}
  .download-panel,.login-panel{padding:20px;border-radius:18px}
}
