:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --text:#111111;
  --muted:#444444;
  --line:#e6e6e6;
  --accent:#e11d2e; /* red */
  --max: 980px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a{ color:inherit; text-decoration: underline; text-decoration-color: rgba(0,0,0,0.25); }
a:hover{ text-decoration-color: rgba(225,29,46,0.65); }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 16px 56px;
}

.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.brand img{
  width:48px;
  height:48px;
  display:block;
}
.brand-title{ line-height:1.15; }
.brand-title strong{
  display:block;
  font-size: 14px;
  letter-spacing: .08em;
}
.brand-title span{
  display:block;
  font-size: 12px;
  color: var(--muted);
}

.nav{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  justify-content:flex-end;
}
.nav a{
  text-decoration:none;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover{
  background: rgba(0,0,0,0.04);
  color: var(--text);
  text-decoration:none;
}
.nav a[aria-current="page"]{
  background: rgba(0,0,0,0.06);
  color: var(--text);
}
.nav a.cta{
  background: rgba(225,29,46,0.10);
  color: var(--text);
  border: 1px solid rgba(225,29,46,0.25);
}
.nav a.cta:hover{
  background: rgba(225,29,46,0.14);
}

.main{
  padding: 18px 0 0;
}

.main h1{
  margin: 8px 0 10px;
  font-size: 34px;
  letter-spacing: -0.4px;
  line-height: 1.15;
}
.main h2{
  margin: 26px 0 10px;
  font-size: 20px;
}
.main h3{
  margin: 18px 0 6px;
  font-size: 16px;
}
.main p{
  margin: 10px 0;
  color: var(--text);
}
.main .muted{ color: var(--muted); }

.hr{
  height:1px;
  background: var(--line);
  border:0;
  margin: 18px 0;
}

.card{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(0,0,0,0.02);
}

.footer{
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
}

label{ display:block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; }
input, textarea{
  width: 100%;
  font: inherit;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
}
textarea{ min-height: 120px; resize: vertical; }
button{
  margin-top: 12px;
  font: inherit;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
button:hover{ filter: brightness(0.95); }

/* Mobile */
@media (max-width: 640px) {
  .container{ padding: 16px 14px 46px; }
  .header{ flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav{ justify-content:flex-start; gap: 8px; }
  .main h1{ font-size: 26px; }
}

