/* Lumio — fictional invoicing company. Look taken from the Lumio demo mock: cream paper, deep ink,
   amber accent, serif headings. System font stacks only: no external font, no external file. */
:root {
  --ink: #1d2438;
  --ink-deep: #141926;
  --amber: #f5a623;
  --amber-deep: #b86f00;
  --amber-soft: #fff4e0;
  --cream: #fbf7f0;
  --cream-2: #f3ebdd;
  --paper: #ffffff;
  --muted: #5a6072;
  --line: #e7ddcb;
  --radius: 16px;
  --display: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --body: -apple-system, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ece7dc;
    --ink-deep: #f6f2ea;
    --amber: #f5a623;
    --amber-deep: #f7b955;
    --amber-soft: #3a2d14;
    --cream: #141926;
    --cream-2: #1b2133;
    --paper: #1d2438;
    --muted: #a7adbd;
    --line: #2f3750;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 16px/1.6 var(--body);
  padding-inline: clamp(14px, 4vw, 44px);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-deep); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; line-height: 1.12; margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.7rem, 4.6vw, 3rem); margin-bottom: .7rem; }
h2 { font-size: 1.4rem; margin: 2.1rem 0 .6rem; }
h3 { font-size: 1.1rem; margin: 1.2rem 0 .3rem; }
p, ul, ol, dl { margin: 0 0 1rem; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: .35rem; }
.muted { color: var(--muted); font-weight: 400; }

/* header */
.site-header { max-width: 1120px; margin: 0 auto; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.brand { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { flex: 0 0 auto; width: 40px; height: 40px; }
.wordmark { font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.1rem); font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.brand-sub { color: var(--muted); font-size: .95rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0 2px; border-bottom: 1px solid var(--line); }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 500; padding: 9px 10px 10px; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--amber); }

/* content */
main { max-width: 1120px; margin: 0 auto; padding-block: 24px 44px; }
main > p, main > ul, main > ol, main > h2, main > h3, .lead, .terms-section p { max-width: 72ch; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: .8rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--amber-deep); background: var(--amber-soft); border: 1px solid var(--line);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: center; }
.hero img { width: 100%; border-radius: var(--radius); }
@media (max-width: 780px) { .hero { grid-template-columns: minmax(0, 1fr); } }

.card, .facts {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(14px, 2.4vw, 24px); min-width: 0;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); gap: 16px; margin-bottom: 1rem; }
.card img { width: 132px; height: 99px; margin-bottom: 10px; border-radius: 10px; }
.card h2, .card h3 { font-size: 1.15rem; margin: 0 0 .3rem; }
.card p { margin-bottom: .5rem; }
.card ul { margin-bottom: .5rem; }
.card .meta { color: var(--muted); font-size: .9rem; }
.price, .facts dd [data-fact$=".price"] { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }

.product-top { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 780px) { .product-top { grid-template-columns: minmax(0, 1fr); } }
.product-img { width: 100%; max-width: 320px; border-radius: var(--radius); border: 1px solid var(--line); }
.product-intro { min-width: 0; }
.facts { display: grid; gap: 0; padding-block: 6px; }
.facts > div { display: flex; flex-wrap: wrap; gap: 2px 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { flex: 0 0 7rem; color: var(--muted); }
.facts dd { flex: 1 1 9rem; margin: 0; min-width: 0; }

.button {
  display: inline-block; background: var(--amber); color: #141926; border: 1px solid var(--amber);
  border-radius: 999px; padding: 10px 20px; font-weight: 600; text-decoration: none; margin: 0 6px 8px 0;
}
.button.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button:hover { filter: brightness(1.05); }

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 10px 0 10px 2.4rem; border-bottom: 1px solid var(--line); margin: 0; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 10px; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--ink); color: var(--cream); font-weight: 600; font-size: .9rem; text-align: center; line-height: 1.7rem;
}
.rates { list-style: none; padding: 0; }
.rates li { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.quote { font-family: var(--display); font-size: 1.2rem; border-left: 3px solid var(--amber); padding-left: 16px; }

.terms-section { margin-bottom: 16px; }
.terms-section h2 { margin-top: 0; }
.clause-id {
  display: inline-block; font-family: var(--body); font-size: .8rem; font-weight: 700; color: var(--amber-deep);
  background: var(--amber-soft); border-radius: 6px; padding: 1px 7px; margin-right: 6px; vertical-align: middle;
}

/* footer */
.site-footer {
  max-width: 1120px; margin: 0 auto; padding: 22px 0 36px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 18px 32px;
  color: var(--muted); font-size: .92rem;
}
.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.footer-block { min-width: 0; }
.footer-block h2 { font-family: var(--body); font-size: .95rem; font-weight: 700; letter-spacing: 0; margin: 0 0 .3rem; color: var(--ink); }
.footer-block p { margin: 0; overflow-wrap: anywhere; }
