/* Inkfolio site — palette lifted from the app's Theme.swift so the web presence
   and the product read as the same thing. */
:root {
  --bg:        #191320;
  --bg-deep:   #0c0a10;
  --panel:     #221a2c;
  --panel-deep:#140f1c;
  --line:      #2e2438;
  --text:      #f3ecf7;
  --text-2:    #cabfd4;
  --text-3:    #a99fb5;
  --dim:       #6f6579;
  --gold:      #e6c37a;
  --gold-soft: #f2d79a;
  --gold-deep: #c9a24a;
  --on-gold:   #1a1226;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

/* ---- Header ---- */

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--panel-deep);
}

header.site .wrap {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  background: linear-gradient(160deg, var(--gold-soft), var(--gold-deep));
  display: grid;
  place-items: center;
  color: var(--on-gold);
  font-weight: 700;
  font-size: 17px;
}

.wordmark {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

header.site nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 15px;
}

header.site nav a { color: var(--text-3); text-decoration: none; }
header.site nav a:hover { color: var(--gold); }

/* ---- Type ---- */

h1 {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 56px 0 16px;
  font-weight: 700;
}

h2 {
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 52px 0 18px;
  font-weight: 600;
}

h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0 0 16px; color: var(--text-2); }

.lede { font-size: 20px; color: var(--text-2); margin-bottom: 8px; }

a { color: var(--gold); }
a:hover { color: var(--gold-soft); }

small, .fine { font-size: 14px; color: var(--dim); line-height: 1.6; }

/* ---- Cards ---- */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 14px;
}

.card p:last-child { margin-bottom: 0; }

.card ol, .card ul { margin: 0 0 4px; padding-left: 22px; color: var(--text-2); }
.card li { margin-bottom: 6px; }

/* ---- Feature list ---- */

.features { display: grid; gap: 14px; }

.feature h3 { color: var(--text); }
.feature p { margin-bottom: 0; color: var(--text-3); font-size: 16px; }

/* ---- Contact block ---- */

.contact {
  background: linear-gradient(150deg, #241b30, var(--panel-deep));
  border: 1px solid var(--gold-deep);
  border-radius: 14px;
  padding: 24px;
}

.contact .email {
  font-size: 21px;
  font-weight: 600;
  word-break: break-all;
}

/* ---- Footer ---- */

footer.site {
  border-top: 1px solid var(--line);
  background: var(--panel-deep);
  padding: 30px 0 40px;
}

footer.site .wrap { padding-bottom: 0; }

footer.site p { color: var(--dim); font-size: 14px; margin-bottom: 10px; }

footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; margin-bottom: 14px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 30px; margin-top: 40px; }
  .lede { font-size: 18px; }
  .wrap { padding: 0 18px 64px; }
}
