/* Life Modeler website. No outside fonts, scripts, or trackers: the site keeps the promise the
   program makes. */
:root {
    --ink: #0f172a;
    --ink-soft: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --paper: #ffffff;
    --wash: #f8fafc;
    --brand: #4f46e5;
    --brand-deep: #3730a3;
    --leaf: #f59e0b;
    --good: #047857;
    --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 17px;
}
a { color: var(--brand); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

header.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; }
.brand svg { width: 36px; height: 36px; }
nav.links { display: flex; gap: 22px; flex-wrap: wrap; }
nav.links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
nav.links a:hover { color: var(--brand); }

.hero { background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%); padding: 72px 0 56px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 20px; color: var(--ink-soft); max-width: 640px; margin: 0 0 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 700; text-decoration: none; font-size: 16px; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-quiet { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--brand); }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.small { font-size: 14px; color: var(--muted); }

section { padding: 56px 0; }
section.alt { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 30px; margin: 0 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 19px; margin: 0 0 6px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 26px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--ink-soft); }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }

.shot { margin-top: 30px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.35); overflow: hidden; background: #0f172a; }
.shot img { display: block; width: 100%; height: auto; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

.download { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 24px; }
.download .card.picked { border-color: var(--brand); box-shadow: 0 0 0 3px #e0e7ff; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: #eef2ff; color: var(--brand); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.steps li p { margin: 4px 0 0; color: var(--ink-soft); }
.note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 14px; padding: 14px 16px; color: #78350f; font-size: 15px; }
.promise { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; }
.promise li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--good) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.diagram { width: 100%; height: auto; margin-top: 0; }
table.flows { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 16px; }
table.flows th, table.flows td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.flows th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--brand); }

@media (max-width: 640px) {
    body { font-size: 16px; }
    header.top .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-direction: column; align-items: flex-start; }
    nav.links { gap: 14px; }
    .hero { padding: 44px 0 36px; }
    section { padding: 40px 0; }
}
