:root{
  --bg1:#f7f9fc;
  --bg2:#eef3ff;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#5b6478;
  --stroke: rgba(15, 23, 42, 0.10);
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --accent:#2563eb;
  --accent2:#06b6d4;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 600px at 10% 0%, var(--bg2), transparent),
              radial-gradient(900px 500px at 90% 10%, rgba(6,182,212,0.12), transparent),
              linear-gradient(180deg, var(--bg1), #fff);
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.bg{
  min-height:100%;
}

.container{
  width:min(1100px, calc(100% - 32px));
  margin:0 auto;
}

.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 0;
}

.brand{
  display:flex;
  gap:14px;
  align-items:center;
  text-decoration:none;
}

.logo{
  width:44px;
  height:44px;
  border-radius:12px;
  background:rgba(37,99,235,0.08);
  border:1px solid var(--stroke);
  padding:8px;
  object-fit:contain;
}

.brandName{
  font-weight:800;
  letter-spacing:-0.3px;
  font-size:18px;
}

.brandTag{
  font-size:13px;
  color:var(--muted);
  margin-top:2px;
}

.headerCtas{
  display:flex;
  gap:10px;
  align-items:center;
}

.cta{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:10px 12px;
  border-radius:14px;
  background:var(--card);
  border:1px solid var(--stroke);
  box-shadow: 0 8px 18px rgba(15,23,42,0.05);
  font-weight:500;
}
.cta.ghost{
  background:transparent;
  box-shadow:none;
}

.main{ padding: 10px 0 28px; }

.hero{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:16px;
  align-items:start;
}

.heroCard, .sideCard{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:20px;
  box-shadow: var(--shadow);
  padding:22px;
}

.heroCard h1{
  margin:0 0 10px;
  font-size:34px;
  line-height:1.12;
  letter-spacing:-0.6px;
}

.heroCard p{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
}

.infoGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:8px;
}

.infoItem{
  border:1px solid var(--stroke);
  border-radius:16px;
  padding:12px 12px;
  background: linear-gradient(180deg, #fff, rgba(37,99,235,0.03));
}

.label{
  color:var(--muted);
  font-size:12px;
  margin-bottom:4px;
}
.value{
  font-weight:600;
}

.note{
  margin-top:14px;
  padding:12px 12px;
  border-radius:16px;
  border:1px dashed rgba(37,99,235,0.35);
  background: rgba(37,99,235,0.06);
  color:#1f3a8a;
  font-size:13px;
  line-height:1.45;
}

.sideCard h2{
  margin:0 0 6px;
  font-size:18px;
}
.muted{ color:var(--muted); }

.form{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:13px;
  font-weight:500;
}

input, textarea{
  width:100%;
  border-radius:14px;
  border:1px solid var(--stroke);
  padding:12px 12px;
  font: inherit;
  outline:none;
  background:#fff;
}
input:focus, textarea:focus{
  border-color: rgba(37,99,235,0.45);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}

.mathRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  align-items:center;
}
.mathQ{
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:12px 12px;
  background: rgba(6,182,212,0.06);
  font-weight:600;
}

.btn{
  border:0;
  border-radius:16px;
  padding:12px 14px;
  font-weight:700;
  cursor:pointer;
  color:white;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 14px 28px rgba(37,99,235,0.18);
}
.btn:disabled{
  opacity:0.6;
  cursor:not-allowed;
}

.status{
  min-height:20px;
  font-size:13px;
  color: var(--muted);
}
.status.ok{ color: #166534; }
.status.err{ color: #991b1b; }

.privacy{
  margin-top:14px;
  font-size:12px;
  color: var(--muted);
  line-height:1.45;
}

.footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:14px;
  padding: 14px 2px;
  font-size:13px;
  color:var(--muted);
}

/* Hide honeypot visually but keep it for bots */
#company{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

@media (max-width: 920px){
  .hero{ grid-template-columns: 1fr; }
  .heroCard h1{ font-size:28px; }
  .infoGrid{ grid-template-columns: 1fr; }
  .mathRow{ grid-template-columns: 1fr; }
  .header{ gap:12px; flex-wrap:wrap; }
}