/* ==========================================================================
   KA Technologies — Studio Tech site stylesheet (index.html)
   --------------------------------------------------------------------------
   C-105: extracted verbatim from index.html's <style> block (zero visual
   change to the shipped look).
   C-108: the theme system is gone — each style is its own complete site with
   its own stylesheet (handverk.css, klasse.css, temaer.css). This sheet is
   the tech site only; no attribute-keyed skin scoping remains anywhere.

   Components never hardcode colours — they read the tokens below.
   ========================================================================== */

:root {
    --base: #f8fafc;
    --base-deep: #f1f5f9;
    --surface: #ffffff;
    --ink: #0f172a;
    --muted: #475569;
    --line: #e2e8f0;
    --teal: #0d9488;
    --teal-deep: #0f5f59;
    --shadow: 0 1px 2px rgba(15,23,42,0.04);
    --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--base);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.015em; line-height: 1.15; margin: 0; }
h1 { font-size: 2.05rem; font-weight: 700; }
h2 { font-size: 1.6rem; font-weight: 600; margin-bottom: 0.6rem; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0.7rem 0 0; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 46rem; }
.small { font-size: 0.9rem; color: var(--muted); }

section { padding: 5rem 0; border-top: 1px solid var(--line); }
.band { background: var(--base-deep); }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--teal-deep); color: var(--surface);
    padding: 0.7rem 1.1rem; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --- header ---------------------------------------------------------- */
header { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; }
.wordmark { font-family: var(--display); font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
nav ul { display: flex; flex-wrap: wrap; gap: 1.1rem; list-style: none; margin: 0; padding: 0; font-size: 0.94rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a:focus { color: var(--teal-deep); }

/* --- labels + tech accents ------------------------------------------- */
.kicker {
    font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--teal-deep); margin: 0 0 0.8rem;
}
.status-pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--mono); font-size: 0.8rem; color: var(--teal-deep);
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 999px; padding: 0.35rem 0.8rem; margin: 0 0 1.1rem;
}
.status-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--teal); display: inline-block; }
.mono-note { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); margin: 1.1rem 0 0; }

/* --- hero: asymmetric split, light surface, faint grid --------------- */
#hero {
    position: relative;
    background: var(--surface);
    border-top: 0;
    overflow: hidden;
}
#hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        repeating-linear-gradient(to right, rgba(15,23,42,0.05) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(to bottom, rgba(15,23,42,0.05) 0 1px, transparent 1px 72px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 70%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 70%);
}
.hero-grid { position: relative; display: grid; gap: 2.5rem; }
.hero-panel {
    background: var(--base-deep);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.5rem;
}
.hero-panel dl { margin: 0; display: grid; gap: 1.1rem; }
.hero-panel dt { font-family: var(--display); font-weight: 600; font-size: 1.02rem; }
.hero-panel dd { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.94rem; }

/* --- CTAs ------------------------------------------------------------ */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.6rem; }
.cta-primary {
    display: inline-block; font-family: var(--display); font-weight: 600;
    background: var(--teal-deep); color: var(--surface); text-decoration: none;
    border: 1px solid var(--teal-deep); border-radius: 8px; padding: 0.8rem 1.35rem;
}
.cta-primary:hover, .cta-primary:focus { background: var(--teal-deep); border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,0.25); }
.cta-secondary {
    display: inline-block; font-family: var(--display); font-weight: 600;
    color: var(--teal-deep); background: var(--surface); text-decoration: none;
    border: 1px solid var(--line); border-radius: 8px; padding: 0.8rem 1.35rem;
}
.cta-secondary:hover, .cta-secondary:focus { border-color: var(--teal); }
.hero-phone-note { font-family: var(--mono); font-size: 0.9rem; color: var(--muted); margin: 0.9rem 0 0; }

/* --- signature element: 7-day progress timeline ---------------------- */
.timeline { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; }
.timeline li {
    position: relative;
    padding: 1.15rem 0 1.15rem 3.25rem;
    border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.step-num {
    position: absolute; left: 0; top: 1.05rem;
    width: 2.25rem; height: 2.25rem; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--mono); font-size: 0.9rem;
    color: var(--teal-deep); background: var(--surface);
    border: 1px solid var(--line);
}
.step-day { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.timeline p { margin: 0.3rem 0 0; color: var(--muted); }
.progress-track { position: relative; height: 4px; border-radius: 999px; background: var(--line); margin-top: 2rem; overflow: hidden; }
.progress-track span { position: absolute; inset: 0; background: linear-gradient(to right, var(--teal), var(--teal-deep)); }

/* --- lists: deliverables + objections -------------------------------- */
.stack { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.35rem 1.5rem;
    box-shadow: var(--shadow);
}
.panel p { color: var(--muted); }
.panel--feature {
    background: var(--base-deep);
    border: 1px solid var(--teal);
}
.panel--feature h3 { color: var(--teal-deep); }

/* --- om + kontakt ---------------------------------------------------- */
.person { display: grid; gap: 1.25rem; align-items: start; margin-top: 2rem; }
.portrait {
    width: 116px; height: 116px; border-radius: 10px;
    background: var(--base-deep); border: 1px dashed var(--line);
}
.contact-list { margin: 1.5rem 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
.contact-list dt { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0.2rem 0 0; font-family: var(--display); font-size: 1.15rem; font-weight: 600; overflow-wrap: break-word; }

footer { background: var(--surface); border-top: 1px solid var(--line); padding: 3rem 0; }
footer p { color: var(--muted); font-size: 0.92rem; }
.footer-link { color: var(--teal-deep); }

/* --- wide screens ---------------------------------------------------- */
@media (min-width: 800px) {
    h1 { font-size: 2.85rem; }
    h2 { font-size: 2rem; }
    .hero-grid { grid-template-columns: 1.35fr 0.9fr; gap: 3.5rem; align-items: center; }
    .stack { grid-template-columns: 1fr 1fr; }
    .stack .panel--feature { grid-column: 1 / -1; }
    .person { grid-template-columns: 116px 1fr; gap: 2rem; }
    section { padding: 6.5rem 0; }
}
