:root{
  --bg: #F7F1E8;
  --surface: #FFFDFB;
  --text: #1B1B1B;
  --muted: #7A6E63;
  --border: #E6DED3;

  --accent: #B1785A;
  --accent-pressed: #99664A;
  --accent-subtle: #F2E5DA;

  --shadow: 0 10px 30px rgba(17,24,39,0.08); /* uses your Ink-ish tone */
  --radius: 18px;
  --radius-sm: 14px;

  --max: 980px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

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

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 16px;
  background: rgba(255,253,251,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 14px;
  z-index: 10;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 220px;
}
.logo{
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--accent-subtle);
  border: 1px solid var(--border);
  display:grid; place-items:center;
}
.logo svg{ width: 18px; height: 18px; opacity: .9; }

.brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-title strong{ font-size: 14px; letter-spacing: .2px; }
.brand-title span{ font-size: 12px; color: var(--muted); }

.navlinks{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  color: var(--muted);
}
.pill:hover{
  border-color: var(--accent);
  color: var(--text);
  text-decoration:none;
}

.hero{
  margin-top: 22px;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(255,253,251,0.66));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero h1{
  margin: 0 0 10px;
  font-size: 36px;
  letter-spacing: -0.6px;
}
.hero p{
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 70ch;
}
.ctas{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  font-size: 14px;
}
.btn-primary{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-primary:hover{ background: var(--accent-pressed); border-color: var(--accent-pressed); }
.btn:hover{ text-decoration:none; }

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.card{
  grid-column: span 6;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 18px rgba(17,24,39,0.06);
}
.card h2{
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.2px;
}
.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section{
  margin-top: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(17,24,39,0.06);
}
.section h1{
  margin: 0 0 12px;
  font-size: 26px;
  letter-spacing: -0.4px;
}
.section h2{
  margin: 18px 0 8px;
  font-size: 16px;
}
.section p, .section li{
  color: var(--muted);
  font-size: 14px;
}
.section ul{ margin: 8px 0 0 18px; }

.footer{
  margin-top: 18px;
  padding: 14px 4px 0;
  color: var(--muted);
  font-size: 12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:space-between;
}

.small{
  font-size: 12px;
  color: var(--muted);
}

.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(242,229,218,0.65);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 8px;
  color: var(--text);
}

@media (max-width: 760px){
  .brand{ min-width: unset; }
  .hero h1{ font-size: 28px; }
  .card{ grid-column: span 12; }
}
