:root{
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #101214;
  --muted: #5b6168;

  --border: rgba(16,18,20,.10);
  --ring: rgba(16,18,20,.12);

  --r: 16px;
  --max: 1120px;

  --shadow: 0 10px 28px rgba(0,0,0,.06);
  --shadow-soft: 0 6px 18px rgba(0,0,0,.05);

  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 var(--sans);
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}

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

.h1{
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height:1.08;
  letter-spacing:-.02em;
}
.h2{
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height:1.18;
  letter-spacing:-.01em;
}
.muted{color:var(--muted)}

.grid{display:grid; gap:16px}
@media (min-width: 860px){ .grid.cols2{grid-template-columns:1fr 1fr} }
@media (min-width: 860px){ .grid.cols3{grid-template-columns:1fr 1fr 1fr} }

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: none;
}

.btn{
  display:inline-flex; gap:10px; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:999px;
  border:1px solid var(--border);
  background: #fff;
  color: var(--text);
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(16,18,20,.18);
  box-shadow: var(--shadow-soft);
}
.btn.primary{
  background: #101214;
  color: #fff;
  border-color: #101214;
}
.btn.primary:hover{box-shadow: var(--shadow)}

.input{
  width:100%;
  padding:12px 14px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: #fff;
  color: var(--text);
  outline:none;
}
textarea.input{border-radius: 16px;}
.input:focus{
  box-shadow: 0 0 0 4px var(--ring);
  border-color: rgba(16,18,20,.22);
}

.chips{display:flex; flex-wrap:wrap; gap:8px}
.chip{
  padding:7px 10px; border-radius:999px;
  border:1px solid var(--border);
  background: #fff;
  cursor:pointer;
}
.chip[aria-pressed="true"]{
  border-color: rgba(16,18,20,.22);
  box-shadow: 0 0 0 4px var(--ring);
}
