:root{
  --navy:#07113f;
  --red:#d20a2e;
  --muted:#5d6884;
  --border:#e4eaf6;
  --soft:#f5f7ff;
  --gold:#ffcf73;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  color:var(--navy);
  background:linear-gradient(135deg,#fff 0%,#f6f8ff 58%,#fff7ec 100%);
}
a{color:inherit}
.wrap{width:min(1120px,calc(100% - 32px));margin:auto}
.site-header{
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(16px);
}
.nav{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.logo-box{
  width:150px;
  height:60px;
  border:1px solid var(--border);
  border-radius:22px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 16px 36px rgba(7,17,63,.06);
}
.logo-box img{max-width:108px;max-height:48px;object-fit:contain}
.menu{
  display:flex;
  align-items:center;
  gap:8px;
  background:#d20a2e;
  padding:8px;
  border-radius:999px;
  box-shadow:0 16px 36px rgba(210,10,46,.15);
}
.menu a{
  color:#fff;
  text-decoration:none;
  font-weight:900;
  font-size:14px;
  padding:12px 18px;
  border-radius:999px;
}
.menu a:hover{background:rgba(255,255,255,.15)}
.outline-btn{
  text-decoration:none;
  font-weight:900;
  background:#fff;
  border:1px solid var(--border);
  border-radius:999px;
  padding:13px 18px;
}
.hero{padding:62px 0 28px}
.kicker{
  display:inline-flex;
  padding:8px 14px;
  border-radius:999px;
  background:#fff3d2;
  border:1px solid #ffd978;
  color:#8a5200;
  font-weight:900;
  margin-bottom:16px;
}
h1{
  margin:0 0 14px;
  font-size:clamp(42px,5.4vw,68px);
  line-height:.98;
  letter-spacing:-.06em;
}
.lead{
  color:var(--muted);
  font-size:18px;
  line-height:1.7;
  max-width:820px;
}
.grid{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:22px;
  align-items:start;
}
.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:26px;
  padding:24px;
  box-shadow:0 24px 60px rgba(7,17,63,.07);
}
label{
  display:block;
  font-weight:900;
  margin:0 0 8px;
}
input,select,textarea{
  width:100%;
  border:1px solid #dfe6f4;
  border-radius:16px;
  padding:14px 15px;
  font:inherit;
  font-weight:750;
  color:var(--navy);
  background:#fff;
  outline:none;
}
textarea{min-height:110px;resize:vertical}
input:focus,select:focus,textarea:focus{
  border-color:var(--red);
  box-shadow:0 0 0 4px rgba(210,10,46,.08);
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-bottom:16px;
}
.btn-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
button,.btn{
  border:0;
  cursor:pointer;
  border-radius:999px;
  padding:14px 20px;
  font-weight:950;
  font-size:14px;
}
.primary{
  background:var(--navy);
  color:#fff;
}
.gold{
  background:linear-gradient(135deg,#ffc66b,#ed1b2f);
  color:#07113f;
}
.light{
  background:#fff;
  color:var(--navy);
  border:1px solid var(--border);
}
button:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.side-stat{
  display:grid;
  gap:14px;
}
.stat{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:22px;
}
.stat strong{
  display:block;
  font-size:30px;
  margin-bottom:4px;
}
.stat span{color:var(--muted);font-weight:800}
.result-section{padding:24px 0 54px}
.result-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  margin-bottom:16px;
}
.result-head h2{
  margin:0;
  font-size:32px;
  letter-spacing:-.04em;
}
.logo-results{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.logo-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:18px;
  box-shadow:0 22px 50px rgba(7,17,63,.06);
}
.logo-preview{
  border-radius:20px;
  overflow:hidden;
  background:#f7f9ff;
  border:1px solid #edf1f8;
}
.logo-preview svg{
  display:block;
  width:100%;
  height:auto;
}
.logo-card h3{margin:16px 0 6px;font-size:21px}
.logo-card p{margin:0 0 14px;color:var(--muted)}
.small{font-size:13px;color:var(--muted);line-height:1.6}
.landing-result-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:14px;
  margin-bottom:18px;
}
.swatch-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.swatch{width:42px;height:42px;border-radius:13px;border:1px solid rgba(0,0,0,.08)}
.preview-shell{
  background:#fff;
  border:1px solid var(--border);
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(7,17,63,.08);
}
.preview-top{
  padding:16px 18px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  border-bottom:1px solid var(--border);
}
iframe{
  width:100%;
  min-height:720px;
  border:0;
  display:block;
  background:#fff;
}
.footer{
  border-top:1px solid var(--border);
  background:#fff;
  padding:26px 0;
  color:var(--muted);
  font-weight:800;
}
.footer-row{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
}
.matrix-brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.matrix-brand img{max-width:86px;max-height:42px;object-fit:contain}
.hidden{display:none!important}
@media(max-width:900px){
  .grid,.form-row,.logo-results,.landing-result-grid{grid-template-columns:1fr}
  .nav{align-items:flex-start;flex-direction:column;padding:14px 0}
  .menu{width:100%;overflow:auto}
}
