/* The Invoicing Shed website. Brand: Ledger Navy #1F3A5F, Shed Amber #E07A2E. */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --ink: #1d232b;
  --muted: #5b6573;
  --line: #e2e5ea;
  --brand: #1f3a5f;
  --brand-ink: #ffffff;
  --accent: #e07a2e;
  --link: #1f5fbf;
  --soft: #e8eef6;
  --todo-bg: #fff3b0;
  --todo-ink: #5c4400;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #1a1d23;
    --ink: #e8eaed;
    --muted: #9aa3af;
    --line: #2c313a;
    --brand: #3d6a9e;
    --link: #8fb8ff;
    --soft: #1c2533;
    --todo-bg: #4a3b00;
    --todo-ink: #ffe58a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
main.doc { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; }

/* Header and footer, shared by every page */
header.site { background: var(--surface); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.logo img { width: 34px; height: 34px; border-radius: 8px; }
nav.main { display: flex; gap: 20px; flex-wrap: wrap; }
nav.main a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--ink); }
footer.site { border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site nav a { color: var(--muted); margin-right: 18px; white-space: nowrap; }

/* Text pages (policies, FAQ, contact) */
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 1.3rem; margin: 32px 0 8px; }
h3 { font-size: 1.05rem; margin: 20px 0 4px; }
p, li { margin: 0 0 10px; }
.updated { color: var(--muted); margin-bottom: 24px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 20px; margin: 16px 0 8px; }
.steps li { margin-bottom: 8px; }
mark.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0 4px; border-radius: 4px; font-weight: 600; }
a.button, .button {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-ink);
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }

/* Home page */
.hero { padding: 56px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); }
.hero .lead { font-size: 1.2rem; color: var(--muted); margin: 12px 0 24px; max-width: 34ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .soon { color: var(--muted); font-size: 0.95rem; }
.phone { border-radius: 28px; border: 8px solid #11161d; box-shadow: 0 18px 40px rgba(17, 22, 29, 0.18); overflow: hidden; background: #11161d; max-width: 300px; margin: 0 auto; }
.phone.tilt { transform: rotate(2deg); }
section.band { padding: 40px 0; }
section.band h2 { font-size: 1.7rem; margin: 0 0 6px; }
section.band .sub { color: var(--muted); margin-bottom: 24px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.feature h3 { margin: 0 0 6px; }
.feature p { color: var(--muted); margin: 0; }
.feature .tag { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.showcase figure { margin: 0; }
.showcase figcaption { text-align: center; color: var(--muted); margin-top: 12px; font-size: 0.95rem; }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps-row div { background: var(--soft); border-radius: 12px; padding: 20px; }
.steps-row div::before { counter-increment: step; content: counter(step); display: inline-flex; width: 30px; height: 30px; border-radius: 15px; background: var(--brand); color: var(--brand-ink); align-items: center; justify-content: center; font-weight: 700; margin-bottom: 8px; }
.cta { background: var(--brand); color: var(--brand-ink); border-radius: 16px; padding: 32px; text-align: center; }
.cta h2 { color: var(--brand-ink); margin: 0 0 8px; }
.cta p { margin: 0 0 16px; opacity: 0.9; }
.cta a.button { background: var(--surface); color: var(--ink); }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
details summary { font-weight: 600; cursor: pointer; }
details[open] summary { margin-bottom: 8px; }

@media (max-width: 820px) {
  .hero .wrap, .features, .showcase, .steps-row { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .phone { max-width: 260px; }
  .showcase .phone { max-width: 240px; }
}
