/* Nomia — nomia.money
   The app's own language: paper, ink, one calm accent. */

:root {
  --paper: #faf9f6;
  --ink: #23242a;
  --muted: #5c5f66;
  --faint: #8a8d94;
  --hair: #e8e6e1;
  --accent: #5b7b9e;
  --pos: #5b8a6b;
  --neg: #d92d20;
  --card: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Hanken Grotesk", -apple-system, system-ui, sans-serif;
  background: var(--paper) url("watermark.svg") repeat;
  background-size: 600px 600px;
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.display { font-family: "Bricolage Grotesque", "Hanken Grotesk", sans-serif; }

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

/* header */
header {
  padding: 28px 0;
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800; font-size: 20px;
}
.brand-name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
nav { display: flex; gap: 26px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 600; }
nav a:hover { color: var(--ink); }

/* hero */
.hero { padding: 96px 0 72px; text-align: center; }
.hero .mark { width: 76px; height: 76px; border-radius: 22px; font-size: 44px; margin: 0 auto 28px; }
.hero h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(38px, 7vw, 62px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
}
.hero .tagline { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 560px; margin-left: auto; margin-right: auto; }
.hero .soon {
  display: inline-block; margin-top: 34px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent); border-radius: 999px;
  padding: 9px 22px;
}

/* pillars */
.pillars { padding: 24px 0 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--card); border: 1px solid var(--hair); border-radius: 18px;
  padding: 26px 24px;
}
.pillar h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.pillar p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.pillar .glyph { font-size: 22px; margin-bottom: 12px; display: block; }

/* feature list — on a white card so the watermark stays at the edges,
   exactly like the app's white list over the currency band */
.features {
  background: var(--card); border: 1px solid var(--hair); border-radius: 18px;
  padding: 34px 32px 20px; margin-bottom: 90px;
}
.features h2, .page h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 26px;
}
.feature-row {
  display: flex; gap: 16px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--hair);
}
.feature-row:last-child { border-bottom: none; }
.feature-row .name { font-weight: 700; font-size: 15.5px; min-width: 190px; }
.feature-row .desc { color: var(--muted); font-size: 14.5px; }
@media (max-width: 600px) { .feature-row { flex-direction: column; gap: 4px; } }

/* generic content pages — white card over the watermark */
.page {
  padding: 44px 40px 52px; max-width: 720px; margin: 56px auto 90px;
  background: var(--card); border: 1px solid var(--hair); border-radius: 18px;
}
@media (max-width: 600px) { .page { padding: 32px 22px 40px; margin-top: 32px; } }
.page h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: 20px; font-weight: 800; margin: 36px 0 10px; letter-spacing: -0.01em; }
.page p, .page li { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.page ul { padding-left: 22px; }
.page .updated { font-size: 13px; color: var(--faint); margin-bottom: 34px; }
.page strong { color: var(--ink); }
.page a { color: var(--accent); }

/* footer */
footer {
  border-top: 1px solid var(--hair);
  padding: 34px 0 44px;
  color: var(--faint); font-size: 13.5px;
  background: var(--paper);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); text-decoration: none; margin-left: 18px; }
footer a:hover { color: var(--ink); }
