/* R8ted Electrotech — one stylesheet, light and dark. Orange accent as in the RowCoMotion app. */

:root {
    --bg:        #F7F5F2;
    --surface:   #FFFFFF;
    --text:      #1C1B1A;
    --text-2:    #5E5A55;
    --border:    #E4DFD8;
    --accent:    #B35400;   /* white text on it ≥ 5:1 */
    --accent-tx: #B35400;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg:        #141312;
        --surface:   #1E1D1B;
        --text:      #F2EFEA;
        --text-2:    #ADA79F;
        --border:    #34312D;
        --accent:    #C25E00;
        --accent-tx: #FF9F2E;
    }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

a { color: var(--accent-tx); }

/* ── Header ── */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.brand { font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: -0.3px; }
.brand span { color: var(--accent-tx); }
nav { display: flex; gap: 20px; }
nav a { color: var(--text-2); text-decoration: none; font-weight: 600; padding: 10px 0; }
nav a:hover, nav a:focus-visible { color: var(--text); }

/* ── Hero ── */
.hero { padding: 72px 0 56px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -1px; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--text-2); max-width: 40em; margin: 0 0 28px; }
.button {
    display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
    font-weight: 700; padding: 12px 22px; border-radius: 999px; min-height: 44px;
}
.button:hover, .button:focus-visible { filter: brightness(1.08); }

/* ── Product ── */
.product { background: var(--surface); border-block: 1px solid var(--border); padding: 56px 0; }
.product-inner { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: start; }
.product-icon { width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.product h2, .contact h2 { font-size: 30px; margin: 0 0 8px; letter-spacing: -0.5px; }
.features { padding-left: 1.1em; margin: 16px 0 0; }
.features li { margin-bottom: 8px; }

/* ── Contact / footer ── */
.contact { padding: 56px 0; }
.site-footer { border-top: 1px solid var(--border); color: var(--text-2); font-size: 14px; padding: 24px 0 40px; }

@media (max-width: 640px) {
    .product-inner { grid-template-columns: 1fr; }
    .product-icon { width: 112px; height: 112px; border-radius: 26px; }
    .hero { padding: 48px 0 40px; }
}
