/* chezmaurice.eu — the landing page. docs.html keeps landing.css. */
:root {
  --ink: #1c1b1a;
  --ink-2: #57534e;
  --muted: #6b655e;
  --page: #faf8f5;
  --band: #f2efe9;
  --well: #f5f3ef;
  --card: #ffffff;
  --line: #e7e2da;
  --avatar: #dcd6cc;
  --green: #1f6f5c;
  --green-deep: #16503f;
  --dark: #1c1b1a;
  --dark-card: #2a2926;
  --dark-line: #3a3835;
  --dark-pill: #45423e;
  --dark-ink: #f5f3ef;
  --dark-muted: #bdb6ab;
  --mint: #7fc4b0;
  --serif: "Newsreader", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); text-decoration: underline; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.band { background: var(--band); }

/* ---------- type ---------- */
.eyebrow { font-size: 15px; font-weight: 600; color: var(--green); }
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.display em { font-style: italic; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; font-weight: 500;
}
.btn:hover { text-decoration: none; }
.btn-primary { height: 50px; padding: 0 24px; background: var(--green); color: #fff; font-size: 17px; }
.btn-primary:hover { background: var(--green-deep); color: #fff; }
.btn-outline { height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--page); }

/* ---------- nav ---------- */
.nav { height: 76px; }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand svg { width: 30px; height: 22px; color: var(--green); }
.brand span { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 96px; }
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 88px; align-items: center;
}
.split.top { align-items: start; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.02em;
}
.hero-sub { font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.hero-cta { display: flex; align-items: center; gap: 24px; margin-top: 4px; flex-wrap: wrap; }
.hero-cta .more { font-size: 17px; font-weight: 500; }

/* ---------- cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
}
.card h3 { font-size: 20px; font-weight: 600; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-head p { font-size: 13px; color: var(--muted); }
.well { background: var(--well); border-radius: 12px; display: flex; flex-direction: column; font-size: 15px; }
.row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row .who { display: flex; flex-direction: column; gap: 2px; }
.row .who b { font-weight: 500; }
.row .who small, .row .dim { font-size: 13px; color: var(--muted); }
.row .dim { font-size: 15px; }

.bill { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; font-size: 15px; }
.bill-line { display: flex; justify-content: space-between; gap: 16px; }
.bill-line p:first-child { color: var(--ink-2); }
.bill-total {
  display: flex; justify-content: space-between; padding-top: 10px;
  border-top: 1px solid var(--line); font-size: 17px; font-weight: 600;
}
.bill-note { font-size: 13px; line-height: 1.45; color: var(--muted); }

/* ---------- three facts ---------- */
.facts { padding: 0 0 112px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.facts .grid3 { padding-top: 40px; border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; gap: 10px; }
.fact h3 { font-size: 18px; font-weight: 600; }
.fact p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-sm { display: flex; flex-direction: column; gap: 16px; }

/* your own instance */
.instance .card { padding: 24px; gap: 14px; }
.instance .card h3 { font-size: 18px; }
.instance .row { padding: 11px 16px; }
.instance .row.plain { padding: 13px 16px; }
.member { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--avatar);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}
.aside { font-size: 14px; color: var(--muted); padding-left: 4px; }

/* import */
.import-head { display: flex; flex-direction: column; gap: 20px; max-width: 720px; margin-bottom: 56px; }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--ink); }
.step .n { font-family: var(--serif); font-size: 32px; color: var(--green); }
.step h3 { font-size: 19px; font-weight: 600; }
.step p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* models (dark) */
.models { background: var(--dark); color: var(--dark-ink); }
.models .wrap { display: flex; flex-direction: column; gap: 48px; }
.models .split { align-items: end; }
.models .eyebrow { color: var(--mint); }
.models .lede { color: var(--dark-muted); }
.pills { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pills .label { font-size: 14px; color: var(--dark-muted); margin-right: 8px; }
.pill { padding: 7px 16px; border-radius: 980px; border: 1px solid var(--dark-pill); font-size: 15px; }
.pill.bare { border-color: transparent; color: var(--dark-muted); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.model {
  border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px;
  background: var(--dark-card); border: 1px solid var(--dark-line);
}
.model.is-default { border-color: var(--mint); }
.model-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.model h3 { font-size: 18px; font-weight: 600; }
.model .tag { font-size: 12px; font-weight: 600; color: var(--dark-muted); }
.model.is-default .tag { color: var(--mint); }
.model p:not(.tag) { font-size: 15px; line-height: 1.5; color: var(--dark-muted); }

/* pricing */
.also { margin-top: 16px; display: flex; flex-direction: column; gap: 20px; }
.also > div { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.also h3 { font-size: 17px; font-weight: 600; }
.also p { font-size: 16px; line-height: 1.5; color: var(--ink-2); }

.plan { padding: 40px; gap: 24px; scroll-margin-top: 24px; }
.plan h3 { font-size: 22px; }
.plan-head { display: flex; flex-direction: column; gap: 6px; }
.plan-head p { font-size: 15px; color: var(--muted); }
.price { display: flex; flex-direction: column; gap: 4px; }
.price-main { display: flex; align-items: baseline; gap: 6px; }
.price-main .amount { font-family: var(--serif); font-size: 64px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
.price-main .per { font-size: 17px; color: var(--muted); }
.price-alt { font-size: 15px; color: var(--ink-2); }
.usage { background: var(--well); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.usage b { font-size: 15px; font-weight: 600; }
.usage p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.checks li { display: flex; gap: 12px; align-items: center; }
.checks svg { flex-shrink: 0; }
.plan .btn-primary { height: 52px; width: 100%; }
.fine { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- footer ---------- */
.footer { padding: 32px 0; background: var(--band); border-top: 1px solid var(--line); }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer nav a { color: var(--ink-2); }

/* ---------- narrower screens ---------- */
@media (max-width: 1080px) {
  .split { gap: 56px; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .split, .models .split { grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
  .models .split { gap: 20px; }
  .grid3 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero { padding: 40px 0 72px; }
  .section { padding: 80px 0; }
  .facts { padding-bottom: 80px; }
  .import-head { margin-bottom: 40px; }
  .nav-links { gap: 22px; }
  .nav-links .opt { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .nav-links a:not(.btn) { display: none; }
  .grid4 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 20px; }
  .plan { padding: 24px; }
  .hero-sub { font-size: 18px; }
  .lede { font-size: 17px; }
  .row { padding: 12px 14px; }
}
