/* Ohmwork — temporary homepage.
   Author: Steve Austen, The PCGP.  v1.0.0
   ------------------------------------------------------------------
   The identity is the application's own: warm paper, dark ink, wire
   green, one lit-LED red. Deliberately single-theme — the product's
   canvas is paper in every OS theme, and so is its homepage; every
   colour is explicit so the page holds together on any browser and
   background. Mobile-first: base styles are the phone, min-width
   queries scale up. */

:root {
    --paper: #fafaf7;
    --ink: #202020;
    --ink-soft: #52524e;
    --wire: #2e5e2e;
    --copper: #b26a00;
    --led: #d43a1f; /* the app's LED red, deepened for AA contrast on paper */
    --rule: #dddad2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    /* A faint engineering grid, like the canvas the app draws on. */
    background-image:
        linear-gradient(var(--rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--rule) 1px, transparent 1px);
    background-size: 28px 28px;
}

.page {
    max-width: 40rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 3rem;
}

/* --- Hero ---------------------------------------------------------- */

.hero {
    text-align: center;
}

.hero-circuit {
    width: 100%;
    max-width: 34rem;
    height: auto;
    overflow: visible;
    margin-bottom: 1.5rem;
}

/* The schematic's inks. Wires in the app's wire green, symbols in ink,
   the LED triangle filled with its lit red. */
.hero-circuit .wire {
    fill: none;
    stroke: var(--wire);
    stroke-width: 2.5;
    stroke-linecap: round;
}

.hero-circuit .ink {
    fill: none;
    stroke: var(--ink);
    stroke-width: 2.5;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.hero-circuit .thick {
    stroke-width: 5;
}

.hero-circuit .led-fill {
    fill: var(--led);
    stroke: var(--led);
}

.hero-circuit .arrow {
    stroke: var(--led);
    stroke-width: 2;
}

.hero-circuit .label {
    fill: var(--ink-soft);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 15px;
    stroke: none;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 0.75rem;
    padding: 0.3rem 0.9rem;
    border: 1.5px solid var(--copper);
    border-radius: 999px;
    color: var(--copper);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--paper);
}

h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 10vw, 4.5rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    text-wrap: balance;
}

.strap {
    margin: 0.5rem 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: clamp(1.15rem, 4vw, 1.4rem);
    color: var(--ink-soft);
    text-wrap: balance;
}

/* --- Body ---------------------------------------------------------- */

.what {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
}

.what > p {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
}

.points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.points li {
    padding-left: 1.6rem;
    position: relative;
}

/* A wire-green node dot as the bullet — schematic junctions, not discs. */
.points li::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.55em;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--wire);
}

.points strong {
    color: var(--ink);
}

/* --- Footer -------------------------------------------------------- */

.foot {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
    text-align: center;
    color: var(--ink-soft);
}

.foot p {
    margin: 0 0 0.5rem;
}

.small {
    font-size: 0.85rem;
}

.foot a {
    color: var(--wire);
    text-underline-offset: 3px;
}

.foot a:hover,
.foot a:focus-visible {
    color: var(--copper);
}

a:focus-visible {
    outline: 2px solid var(--copper);
    outline-offset: 2px;
}

/* --- Larger screens ------------------------------------------------ */

@media (min-width: 40rem) {
    .page {
        padding-top: 4.5rem;
    }

    .points {
        gap: 1.25rem;
    }
}
