/* ── Landing page ────────────────────────────────────────────
   White page, red-ochre and eucalyptus accents. The background is an
   original contour-line pattern (like a topographic map of Country and the
   distances involved). It deliberately does not imitate Aboriginal art:
   that needs an Aboriginal artist's permission and credit. */

html { scroll-behavior: smooth; }
.landing { width: 100%; flex: 1; }
.landing section { scroll-margin-top: 72px; }

.lp-wrap { width: 92%; max-width: 1120px; margin: 0 auto; }
.lp-section { padding: 72px 0; }
.lp-section-sand { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-kicker { color: var(--accent); font-weight: 700; font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.lp-section h2 { font-size: 1.9rem; margin-bottom: 14px; max-width: 760px; }
.lp-intro { color: var(--text-muted); font-size: 1.02rem; max-width: 760px; margin-bottom: 28px; }
.lp-note, .lp-src { color: var(--text-dim); font-size: 0.82rem; margin-top: 12px; }

/* Hero */
.lp-hero {
    position: relative;
    padding: 88px 0 72px;
    background-color: #fff;
    background-image:
        radial-gradient(ellipse at 85% 10%, rgba(180, 83, 42, 0.10), transparent 55%),
        radial-gradient(ellipse at 5% 95%, rgba(31, 122, 110, 0.10), transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='420' viewBox='0 0 640 420' fill='none' stroke='%23b4532a' stroke-opacity='0.16' stroke-width='1.2'%3E%3Cpath d='M-20 60 C 90 20 180 110 300 70 S 520 10 660 60'/%3E%3Cpath d='M-20 95 C 100 55 190 145 310 105 S 530 45 660 95'/%3E%3Cpath d='M-20 130 C 110 95 200 175 320 140 S 540 85 660 130'/%3E%3Cpath d='M-20 260 C 80 300 170 220 290 260 S 500 330 660 270'/%3E%3Cpath d='M-20 295 C 90 335 180 255 300 295 S 510 365 660 305'/%3E%3Cpath d='M-20 330 C 100 370 190 290 310 330 S 520 400 660 340'/%3E%3Cpath d='M-20 365 C 110 405 200 325 320 365 S 530 435 660 375'/%3E%3Cpath stroke='%231f7a6e' d='M-20 190 C 120 160 230 230 360 195 S 560 150 660 190'/%3E%3C/svg%3E");
    background-size: auto, auto, 640px 420px;
    border-bottom: 1px solid var(--border);
}
.lp-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
              color: var(--teal); background: #eef6f4; border: 1px solid #c4e0da; padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.lp-hero h1 { font-size: 3.4rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; color: var(--heading); }
.lp-lead { font-size: 1.35rem; max-width: 720px; color: var(--text); line-height: 1.5; margin-bottom: 12px; }
.lp-lead strong { color: var(--accent); }
.lp-sub { color: var(--text-muted); max-width: 640px; margin-bottom: 26px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.lp-proof { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; max-width: 900px; }
.lp-proof li { background: rgba(255, 255, 255, 0.9); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px;
               color: var(--text-muted); font-size: 0.88rem; line-height: 1.45; }
.lp-proof span { display: block; font-size: 1.7rem; font-weight: 800; color: var(--accent); line-height: 1.1; margin-bottom: 4px; }

/* Problem chain */
.lp-chain { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-chain li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--accent);
               border-radius: var(--radius); padding: 22px 18px 18px; }
.lp-chain li::before { content: counter(step); position: absolute; top: -16px; left: 16px; width: 28px; height: 28px; border-radius: 50%;
                       background: var(--accent); color: #fff; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.lp-chain strong { display: block; color: var(--heading); margin-bottom: 6px; }
.lp-chain span { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

/* Figures */
.lp-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lp-fig { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 18px; }
.lp-fig-wide { grid-column: 1 / -1; }
.lp-fig { display: flex; flex-direction: column; }
.lp-fig .lp-src { margin-top: auto; padding-top: 12px; }
.lp-callout { margin: 26px 0 8px; padding: 14px 16px; background: #fdf3ee; border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0;
              color: var(--text); font-size: 0.92rem; line-height: 1.45; }
.lp-callout span { display: block; font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1.1; margin-bottom: 2px; }
.lp-fig figcaption { margin-bottom: 18px; }
.lp-fig figcaption strong { display: block; color: var(--heading); font-size: 1.02rem; line-height: 1.35; }
.lp-fig-n { display: block; color: var(--text-dim); font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.lp-figsub { display: block; color: var(--text-muted); font-size: 0.84rem; margin-top: 2px; }
.lp-legend { display: flex; gap: 14px; align-items: center; color: var(--text-muted); font-size: 0.82rem; margin-top: 8px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: -8px; }
.sw-remote, .bar.remote { background: var(--accent); }
.sw-town, .bar.town { background: var(--sky); }

.bars { display: flex; flex-direction: column; gap: 18px; }
.bar-group { display: grid; grid-template-columns: 160px 1fr; gap: 2px 14px; align-items: center; }
.bar-label { grid-row: span 2; color: var(--text); font-size: 0.88rem; font-weight: 600; line-height: 1.3; }
.bar-track { display: flex; align-items: center; gap: 8px; border-left: 1px solid var(--border-light); padding: 1px 0; }
.bar { height: 20px; width: calc(var(--v) / var(--max) * 100%); min-width: 4px; border-radius: 0 4px 4px 0; cursor: default; transition: opacity 0.15s; }
.bar:hover { opacity: 0.8; }
.bar-track b, .col b { font-size: 0.82rem; color: var(--text); font-weight: 700; white-space: nowrap; }

.cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; align-items: end; height: 220px; border-bottom: 1px solid var(--border-light); padding-bottom: 0; }
.col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; position: relative; }
.col-bar { width: 62%; height: calc(var(--v) / var(--max) * 100%); background: var(--accent); border-radius: 4px 4px 0 0; transition: opacity 0.15s; }
.col-bar:hover { opacity: 0.8; }
.col span { position: absolute; bottom: -38px; font-size: 0.76rem; color: var(--text-muted); text-align: center; line-height: 1.2; }
.lp-fig .cols + .lp-src { margin-top: auto; padding-top: 48px; }

.lp-table { margin-top: 18px; }
.lp-table summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.lp-table .data-table { margin-top: 12px; }

.lp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.lp-tile { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; color: var(--text-muted); font-size: 0.88rem; line-height: 1.45; }
.lp-tile span { display: block; font-size: 1.8rem; font-weight: 800; color: var(--heading); line-height: 1.1; margin-bottom: 6px; }

/* Solution */
.lp-fixes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-fix { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.lp-fix-find { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 700; margin-bottom: 6px; }
.lp-fix-find::before { content: 'Finding: '; color: var(--accent); }
.lp-fix h3 { color: var(--teal); font-size: 1.1rem; margin-bottom: 8px; }
.lp-fix p:last-child { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }

.lp-principles { margin-top: 32px; padding: 26px; border-radius: var(--radius); background: #eef6f4; border: 1px solid #c4e0da; }
.lp-principles h3 { color: var(--heading); margin-bottom: 14px; }
.lp-principles ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.lp-principles li { color: var(--text-muted); font-size: 0.9rem; line-height: 1.45; }
.lp-principles strong { display: block; color: var(--teal); }

/* Data sources */
.lp-sources { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-sources li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; }
.lp-sources a { font-weight: 600; display: block; line-height: 1.35; }
.lp-sources span { color: var(--text-muted); font-size: 0.85rem; }

/* Team */
.lp-team { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-team li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
              padding: 16px; font-weight: 600; color: var(--heading); }
.lp-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent);
             color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800; }

/* Try it */
.lp-try { background: var(--heading); }
.lp-try h2 { color: #fff; }
.lp-try .lp-intro { color: #d6ccc2; }
.lp-logins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.lp-logins div { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 18px; color: #f3ece5; }
.lp-logins strong { display: block; color: #f0b48f; margin-bottom: 6px; }
.lp-logins code { background: rgba(255, 255, 255, 0.12); padding: 2px 8px; border-radius: 6px; font-size: 0.92rem; }
.lp-logins span { display: block; color: #c9bdb1; font-size: 0.85rem; margin-top: 8px; }
.lp-try .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }

/* Footer acknowledgement */
.footer-ack { margin-top: 6px; color: var(--text-dim); }

/* Phones and tablets */
@media (max-width: 900px) {
    .lp-chain, .lp-tiles { grid-template-columns: 1fr 1fr; }
    .lp-fixes, .lp-principles ul { grid-template-columns: 1fr 1fr; }
    .lp-team { grid-template-columns: 1fr 1fr; }
    .lp-figs { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-section { display: none; }
}
@media (max-width: 600px) {
    .lp-hero { padding: 56px 0 48px; }
    .lp-hero h1 { font-size: 2.5rem; }
    .lp-lead { font-size: 1.12rem; }
    .lp-section { padding: 52px 0; }
    .lp-section h2 { font-size: 1.5rem; }
    .lp-proof, .lp-chain, .lp-tiles, .lp-fixes, .lp-principles ul, .lp-sources, .lp-team, .lp-logins { grid-template-columns: 1fr; }
    .lp-chain { gap: 24px; }
    .bar-group { grid-template-columns: 1fr; }
    .bar-label { grid-row: auto; }
    .col span { font-size: 0.68rem; }
}
