:root{
  --bg:#fff;
  --fg:#0b0b0b;
  --muted:#6b6b6b;
  --line:#e9e9e9;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg);
  color:var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

.wrap{max-width:1100px;margin:0 auto;padding:28px}
.header{
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;border-bottom:1px solid var(--line);
}
.logo{height:34px;width:auto;display:block}
.nav{display:flex;gap:18px;align-items:center}
.nav a{color:var(--fg);text-decoration:none;font-weight:500;opacity:.85}
.nav a:hover{opacity:1}

.btn:visited { color: var(--bg) !important; }
.btn.ghost:visited { color: var(--fg) !important; }


.hero{padding:48px 0 28px}
.hero h1{font-size:44px;line-height:1.05;margin:0 0 14px}
.hero p{max-width:720px;color:var(--muted);font-size:16px;line-height:1.6;margin:0 0 20px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}

.btn{
  display:inline-block;
  border:1px solid var(--fg);
  background:var(--fg);
  color: var(--bg) !important;
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:600;
  line-height: 1;
}

.btn.ghost{
  background:transparent;
  color: var(--fg) !important;
}

.grid{
  display:grid;gap:14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding:18px 0 10px
}
.card{
  border:1px solid var(--line);
  border-radius:16px;padding:18px;
}
.card h2{margin:0 0 8px;font-size:16px}
.card p{margin:0;color:var(--muted);line-height:1.5}

.about, .contact{
  border-top:1px solid var(--line);
  padding:28px 0;
}
.about h2, .contact h2{margin:0 0 10px;font-size:18px}
.muted{color:var(--muted)}
.small{font-size:13px}
.hidden{display:none}

form{max-width:680px;margin-top:14px}
label{display:block;font-weight:600;margin:10px 0}
input, textarea{
  width:100%;margin-top:6px;
  padding:12px 12px;border-radius:12px;
  border:1px solid var(--line);
  font:inherit;
}
.row{display:grid;gap:12px;grid-template-columns:1fr 1fr}

.footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  color:var(--muted);
  display:flex;justify-content:space-between;align-items:center
}

@media (max-width: 900px){
  .grid{grid-template-columns:1fr}
  .hero h1{font-size:36px}
  .row{grid-template-columns:1fr}
}
