/* Daltak's public site, from the designs in Docs/design: warm greys, near-black ink and one hi-vis orange used
   sparingly. Inter Tight for headings, Inter for text, JetBrains Mono for labels. */

:root {
    --ground: #F5F5F2;
    --surface: #FFFFFF;
    --concrete: #E6E5E0;
    --ink: #121212;
    --muted: #5C5C57;
    --line: #DAD9D4;
    --accent: #E8590C;
    --accent-text: #B93D0A;

    --text-lead: #45453F;
    --text-body: #4A4A46;
    --text-article: #33332F;
    --line-strong: #BDBCB6;
    --line-soft: #E6E5E0;
    --faint: #8A8984;
    --photo: #DEDDD8;
    --steel: #8FA3B0;
    --steel-text: #3F6E8C;
    --on-concrete-accent: #9A3208;

    --ink-line: #2E2E2B;
    --on-ink: #F5F5F2;
    --on-ink-muted: #B5B5AF;
    --on-ink-faint: #A3A39E;
    --on-ink-body: #C9C9C3;
    --on-ink-accent: #F08A4B;

    --heading: "Inter Tight", Inter, system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
    --gutter: clamp(16px, 4vw, 48px);
}

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

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

body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font: 16px/1.55 Inter, system-ui, sans-serif;
}

a { color: var(--ink); }
a:hover { color: var(--accent-text); }
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
[hidden] { display: none !important; }

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

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: 96px; }
.section_tall { padding-block: 104px; }
.section_bottom { padding-bottom: 96px; }
.section_short { padding-block: 80px; }

.stack_6, .stack_8, .stack_12, .stack_14, .stack_18, .stack_20, .stack_28, .stack_32, .stack_40, .stack_48, .stack_56 { display: flex; flex-direction: column; }
.stack_6 { gap: 6px; } .stack_8 { gap: 8px; } .stack_12 { gap: 12px; } .stack_14 { gap: 14px; } .stack_18 { gap: 18px; }
.stack_20 { gap: 20px; } .stack_28 { gap: 28px; } .stack_32 { gap: 32px; } .stack_40 { gap: 40px; } .stack_48 { gap: 48px; } .stack_56 { gap: 56px; }

/* ---------- Text ---------- */

.mono { font-family: var(--mono); }
.small { font-size: 14px; }
.tiny { font-size: 11px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.accent_text { color: var(--accent-text); }
.steel_text { color: var(--steel-text); }
.body_muted { color: var(--text-body); }
.body_lead { color: var(--text-lead); }
.on_ink_muted { color: var(--on-ink-muted); }

.mono_label {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kicker {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-text);
}
.kicker_rule { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.kicker_rule::before { content: ""; width: 24px; height: 2px; background: var(--accent); flex-shrink: 0; }
.kicker_on_concrete { color: var(--on-concrete-accent); }
.kicker_on_ink { color: var(--on-ink-accent); }

.display {
    font-family: var(--heading);
    font-weight: 600;
    letter-spacing: -0.035em;
    overflow-wrap: break-word;
}
.display_home { font-size: clamp(44px, 5.8vw, 88px); line-height: 1.02; max-width: 13ch; }
.display_page { font-size: clamp(40px, 5vw, 76px); line-height: 1.03; max-width: 16ch; }
.display_software { font-size: clamp(40px, 5.4vw, 84px); line-height: 1.02; max-width: 17ch; }
.display_guide { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -0.03em; max-width: 20ch; }

.title {
    font-family: var(--heading);
    font-weight: 600;
    font-size: clamp(32px, 3.4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
}
.title_small { font-size: clamp(28px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.title_newsletter { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; }
.h_small { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.h_article { font-family: var(--heading); font-weight: 600; font-size: 30px; letter-spacing: -0.015em; }

.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-lead); max-width: 40ch; }
.lead_wide { font-size: 19px; max-width: 56ch; }
.lead_18 { font-size: 18px; }
.lead_19 { font-size: 19px; max-width: 60ch; }

/* ---------- Buttons and small parts ---------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #FFFFFF;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.button:hover { color: #FFFFFF; background: #2E2E2B; }
.button:disabled { opacity: 0.6; cursor: default; }
.button_outline { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.button_outline:hover { background: var(--surface); color: var(--ink); }
.button_outline_ink { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.button_outline_ink:hover { background: var(--ink); color: #FFFFFF; }
.button_light { background: var(--on-ink); color: var(--ink); }
.button_light:hover { background: #FFFFFF; color: var(--ink); }
.button_small { min-height: 44px; padding: 0 18px; font-size: 14px; gap: 8px; }
.button_row { display: flex; flex-wrap: wrap; gap: 12px; }

.link_arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 15px; }

.square { width: 8px; height: 8px; background: var(--accent); display: inline-block; flex-shrink: 0; }

.pill, .pill_mono, .pill_concrete {
    display: inline-block;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
}
.pill_mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 8px; color: var(--muted); }
.pill_ink { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.pill_concrete { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.05em; background: var(--concrete); border-color: var(--concrete); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.placeholder {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-body);
    background: var(--ground);
    padding: 4px 8px;
    border-radius: 2px;
}

.photo {
    background: var(--photo);
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.photo_4_3 { aspect-ratio: 4 / 3; }
.photo_3_2 { aspect-ratio: 3 / 2; }

/* ---------- Header and footer ---------- */

.site_header { border-bottom: 1px solid var(--line); background: var(--ground); }
.site_header_inner {
    padding-block: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand_name { font-family: var(--heading); font-weight: 700; font-size: 20px; letter-spacing: 0.08em; }
.brand_on_ink { color: var(--on-ink); }
.brand_on_ink .brand_name { font-size: 16px; }

.site_nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.site_nav a { text-decoration: none; padding: 10px 0; }
.site_nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }

.site_header_actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.lang_switch {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px;
    background: var(--surface);
}
.lang_switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 36px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    color: #4A4A46;
    text-decoration: none;
}
.lang_switch a[aria-current="true"] { background: var(--ink); color: #FFFFFF; }

/* On a phone the menu gets its own row under the logo, and scrolls sideways if it must. */
@media (max-width: 760px) {
    .site_header_inner { gap: 12px 16px; }
    .site_nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 22px; scrollbar-width: none; }
    .site_nav a { white-space: nowrap; }
    .site_header_actions { gap: 10px; }
}

.site_footer { background: var(--ink); color: var(--on-ink-muted); font-size: 14px; }
.site_footer_inner {
    padding-block: 48px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.site_footer .mono { font-size: 12px; }

/* ---------- Bands ---------- */

.band_surface { background: var(--surface); border-block: 1px solid var(--line); }
.band_surface_top { border-bottom: 0; }
.band_concrete { background: var(--concrete); }
.band_ink { background: var(--ink); color: var(--on-ink); }
.band_ink a:not(.button):hover { color: var(--on-ink-accent); }
.band_line { border-top: 1px solid var(--line); }

.section_head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.section_head_wide { max-width: 760px; }
.section_head_row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }

/* ---------- Home ---------- */

.hero {
    padding-top: clamp(48px, 8vw, 112px);
    padding-bottom: 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 56px;
    align-items: center;
}
.hero_text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero_tags {
    list-style: none;
    margin-top: 16px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    font-size: 14px;
    font-weight: 500;
    color: #3A3A36;
}
.hero_tags li { display: flex; align-items: center; gap: 8px; }

.drawing {
    flex: 1 1 420px;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.drawing svg { width: 100%; height: auto; display: block; }
.drawing figcaption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-top: 1px solid var(--line-soft);
    padding-top: 12px;
}

.services { display: flex; flex-wrap: wrap; border-top: 1px solid var(--ink); }
.services article { flex: 1 1 300px; min-width: 0; padding: 32px 32px 8px 0; display: flex; flex-direction: column; gap: 16px; }
.services .mono { font-size: 13px; }
.services h3 { font-family: var(--heading); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; }
.services p { color: var(--text-body); max-width: 36ch; }

.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split_side { flex: 1 1 320px; min-width: 0; }
.split_side .body_muted { max-width: 38ch; }

.sectors {
    flex: 999 1 560px;
    min-width: 0;
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}
.sectors li { display: flex; align-items: baseline; gap: 20px; padding: 26px 16px 26px 0; border-bottom: 1px solid var(--line); }
.sectors .mono { font-size: 13px; min-width: 24px; }
.sectors li span:last-child { font-family: var(--heading); font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 480px) { .sectors { grid-template-columns: minmax(0, 1fr); } }

.steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.steps li { flex: 1 1 240px; min-width: 0; background: var(--ground); padding: 28px; display: flex; flex-direction: column; gap: 14px; border-radius: 4px; }
.steps_top { display: flex; justify-content: space-between; align-items: center; }
.steps_top .mono { font-size: 13px; }
.steps h3 { font-family: var(--heading); font-weight: 600; font-size: 22px; }
.steps p { color: var(--text-body); font-size: 15px; }

.project_row { display: flex; flex-wrap: wrap; gap: 24px; }
.project_row .project_card { flex: 1 1 320px; }
.project_card { min-width: 0; display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.project_card_text { display: flex; flex-direction: column; gap: 4px; }
.project_name { font-family: var(--heading); font-weight: 600; font-size: 22px; color: var(--ink); }

.app_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: var(--ink-line);
    border: 1px solid var(--ink-line);
    border-radius: 4px;
    overflow: hidden;
}
.app_grid article { flex: 1 1 300px; min-width: 0; background: var(--ink); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.app_grid h3 { font-family: var(--heading); font-weight: 600; font-size: 28px; }
.app_grid .mono_label { color: var(--on-ink-faint); }
.app_grid p:last-child { color: var(--on-ink-body); }
.app_name { display: flex; flex-direction: column; gap: 6px; }

.app_icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.app_icon svg { width: 26px; height: 26px; }
.app_icon_verk { background: var(--accent); }
.app_icon_auga { background: var(--on-ink); color: var(--ink); }
.app_icon_teikn { background: var(--steel); }

.resource_cards { display: flex; flex-wrap: wrap; gap: 24px; }
.resource_card {
    flex: 1 1 300px;
    min-width: 0;
    min-height: 220px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-decoration: none;
}
.resource_card:hover { border-color: var(--ink); color: var(--ink); }
.resource_card_top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.resource_card h3 { font-family: var(--heading); font-weight: 600; font-size: 22px; line-height: 1.25; flex-grow: 1; }
.resource_card svg { width: 20px; height: 20px; }

.contact { display: flex; flex-wrap: wrap; gap: 64px; }
.contact_side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }

.facts { border-top: 1px solid var(--line); }
.facts div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.facts dt { flex: 0 0 180px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding-top: 2px; }
.facts dd { flex: 1 1 200px; }

/* ---------- Forms ---------- */

.form { flex: 1.3 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 40px); border-radius: 4px; }
.form_ground { background: var(--ground); }
.form_surface { background: var(--surface); border: 1px solid var(--line); }
.form_row { display: flex; flex-wrap: wrap; gap: 20px; }
.form label, .newsletter_form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.form_row label { flex: 1 1 220px; min-width: 0; }

.form input[type=text], .form input[type=email], .form select, .form textarea, .newsletter_form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    padding: 0 14px;
    font: inherit;
    font-weight: 400;
    background: var(--surface);
    color: var(--ink);
}
.form textarea { padding: 12px 14px; resize: vertical; }
.form select { padding: 0 12px; }
.form [aria-invalid="true"], .newsletter_form [aria-invalid="true"] { border-color: var(--accent-text); }

.form_choices { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.form_choices legend { font-size: 14px; font-weight: 500; padding: 0 0 10px; }
.form .check_pill {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-weight: 400;
    cursor: pointer;
}
.check_pill input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }

/* The field only scripts fill in: off screen, not just hidden, as some scripts skip hidden fields. */
.form_trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form_end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form_status { font-size: 14px; color: var(--text-body); }
.form_status:empty { display: none; }
.form_status_error { color: var(--accent-text); }

/* ---------- Page heads (Projects, Resources) ---------- */

.page_head {
    padding-top: 88px;
    padding-bottom: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px 64px;
    align-items: end;
}
.page_head_resources { padding-bottom: 56px; }
.page_head_main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.page_head_main .lead_18 { max-width: 52ch; }
.page_head_side { flex: 1 1 320px; min-width: 0; }
p.page_head_side { color: var(--text-lead); }

/* ---------- Projects ---------- */

.filter_bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--ink);
    padding-top: 24px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.chip_small { padding: 0 16px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

.project_grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 40px 24px; }
.project_grid .project_card_text { gap: 6px; }

.case_study { display: flex; flex-wrap: wrap; gap: 56px; }
.case_study_photo { flex: 1 1 480px; min-width: 0; padding: 20px; }
.case_study_text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.case_facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.case_facts dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.case_facts dd { margin-top: 4px; font-weight: 500; }

.table_box { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.table thead th {
    text-align: left;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}
.table tbody th, .table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.table tbody th { font-weight: 600; }
.table td { color: var(--text-body); }
.table tbody tr:last-child > * { border-bottom: 0; }

.cta_band { padding-block: 80px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta_band .title { max-width: 22ch; }

/* ---------- Software ---------- */

.software_hero { padding-top: 96px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }

.app_jump {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    margin-top: 40px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
}
.app_jump a { flex: 1 1 260px; background: var(--surface); padding: 24px; display: flex; gap: 16px; align-items: center; text-decoration: none; }
.app_jump .app_icon { width: 44px; height: 44px; border-radius: 10px; }
.app_jump .app_icon svg { width: 22px; height: 22px; }
.app_jump .app_icon_auga { background: var(--ink); color: var(--on-ink); }
.app_jump_text { display: flex; flex-direction: column; }
.app_jump_text strong { font-family: var(--heading); font-size: 20px; }
.app_jump_text span { font-size: 14px; color: var(--muted); }

.app_section { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.app_section_text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.app_section_text .lead_18 { max-width: 48ch; }

.features { list-style: none; margin-top: 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; }
.features li { border-top: 1px solid var(--line); padding-top: 14px; }
.features strong { display: block; font-weight: 600; }
.features span { color: var(--muted); font-size: 15px; }
.features_on_ink li { border-top-color: var(--ink-line); }
.features_on_ink span { color: var(--on-ink-faint); }
@media (max-width: 480px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* The phone illustrations: a fixed-size picture, scaled down on narrow screens. */
.phone { flex: 1 1 320px; display: flex; justify-content: center; min-width: 0; }
.phone_body { width: 320px; max-width: 100%; aspect-ratio: 320 / 660; border-radius: 44px; background: var(--ink); padding: 12px; }
.phone_grey .phone_body { background: #3A3A36; }
.phone_screen { width: 100%; height: 100%; border-radius: 34px; background: var(--ground); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.phone_screen_white { background: var(--surface); }
.phone_title { font-family: var(--heading); font-weight: 600; font-size: 18px; }
.phone_small { font-size: 12px; }
.phone_button { min-height: 44px; border-radius: 999px; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; text-align: center; padding: 0 12px; }
.phone_button_accent { background: var(--accent); color: var(--ink); }

.verk_head { padding: 28px 20px 14px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.verk_head .phone_title { font-size: 20px; }
.verk_tabs { display: flex; gap: 6px; margin-top: 8px; font-size: 12px; font-weight: 500; }
.verk_tabs span { border: 1px solid var(--line-strong); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.verk_tabs .verk_tab_on { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.verk_cards { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.verk_card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.verk_card strong { font-size: 14px; }
.verk_card_row { display: flex; justify-content: space-between; align-items: center; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--concrete); font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.verk_add { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 12px; padding: 14px; font-size: 13px; color: var(--muted); text-align: center; }

.auga_photo { height: 50%; background: #9C9B95; position: relative; flex-shrink: 0; }
.auga_tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; padding: 3px; }
.auga_tiles div:nth-child(odd) { background: #B3B2AC; }
.auga_tiles div:nth-child(even) { background: #ADACA6; }
.auga_tiles div:nth-child(n+5):nth-child(-n+8):nth-child(odd) { background: #ADACA6; }
.auga_tiles div:nth-child(n+5):nth-child(-n+8):nth-child(even) { background: #B3B2AC; }
.auga_box { position: absolute; border-radius: 4px; }
.auga_box_1 { left: 11.5%; top: 36%; width: 31%; height: 21%; border: 2.5px solid var(--accent); }
.auga_box_2 { left: 66%; top: 64%; width: 19%; height: 17%; border: 2.5px solid #FFFFFF; }
.auga_tag { position: absolute; font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 3px; color: var(--ink); white-space: nowrap; }
.auga_tag_1 { left: 11.5%; top: 29%; background: var(--accent); }
.auga_tag_2 { left: 57%; top: 82%; background: #FFFFFF; }
.auga_ref { position: absolute; left: 16px; top: 24px; background: var(--ground); padding: 3px 8px; border-radius: 3px; }
.auga_list { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.auga_finding { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid var(--line-soft); background: var(--surface); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.auga_actions { display: flex; gap: 6px; }
.auga_actions span { font-size: 12px; border: 1px solid var(--line-strong); padding: 3px 8px; border-radius: 999px; }
.auga_actions .auga_confirm { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

.teikn_head { padding: 28px 20px 12px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line-soft); }
.teikn_sheet { display: block; width: 100%; height: auto; background: var(--ground); }
.teikn_list { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.teikn_finding { border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }

.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; }
.flow_box { flex: 1 1 200px; background: var(--ground); border-radius: 4px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.flow_box strong { font-family: var(--heading); font-size: 20px; }
.flow_box span { color: var(--text-body); font-size: 15px; }
.flow_box_ink { flex: 1.4 1 260px; background: var(--ink); color: var(--on-ink); }
.flow_box_ink span { color: var(--on-ink-muted); }
.flow_arrow { flex: 0 0 auto; display: flex; align-items: center; padding: 0 8px; }
@media (max-width: 760px) { .flow_arrow { width: 100%; justify-content: center; transform: rotate(90deg); } }

.licence_box { border: 1px solid var(--line); border-radius: 4px; padding: 20px; display: flex; flex-direction: column; gap: 6px; background: var(--surface); }

/* ---------- Resources ---------- */

.search { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.search_box { display: flex; align-items: center; gap: 10px; min-height: 52px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 18px; background: var(--surface); }
.search_box:focus-within { border-color: var(--ink); }
.search_box input { flex: 1; border: 0; outline: none; font: inherit; font-weight: 400; background: transparent; min-width: 0; min-height: 48px; }

.featured_wrap { padding-bottom: 72px; }
.featured { display: flex; flex-wrap: wrap; background: var(--ink); color: var(--on-ink); border-radius: 4px; overflow: hidden; text-decoration: none; }
.featured:hover { color: var(--on-ink); }
.featured_video { flex: 1.4 1 480px; min-width: 0; aspect-ratio: 16 / 9; background: var(--ink-line); display: flex; align-items: center; justify-content: center; position: relative; }
.featured_text { flex: 1 1 360px; min-width: 0; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.featured_title { font-family: var(--heading); font-weight: 600; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -0.02em; }
.featured_link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.featured:hover .featured_link { color: var(--on-ink-accent); }

.play_button { width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.play_button_big { width: 84px; height: 84px; cursor: pointer; }
.placeholder_corner { position: absolute; left: 20px; bottom: 20px; color: var(--ink); }
.placeholder_top { position: absolute; left: 20px; top: 20px; color: var(--ink); }

.library { padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 48px; }
.library_filters { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.library_filters .mono_label { font-weight: 500; letter-spacing: 0.06em; }
.topics { display: flex; flex-direction: column; gap: 4px; }
.topics h2 { margin-bottom: 8px; }
.topic {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: var(--ink);
    border-radius: 4px;
    font: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}
.topic:hover { background: var(--concrete); }
.topic .mono { font-size: 12px; color: var(--muted); }
.topic[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; font-weight: 500; }
.topic[aria-pressed="true"] .mono { color: #FFFFFF; }

.library_list { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; }
.library_head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.library_heading { font-family: var(--heading); font-weight: 600; font-size: 22px; }
.library_empty { padding: 48px 0; }

.resource_list { list-style: none; padding: 0; }
.resource_list li { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.type_icon { width: 48px; height: 48px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.resource_text { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.resource_title { font-family: var(--heading); font-weight: 600; font-size: 19px; text-decoration: none; line-height: 1.3; }
.resource_meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.lang_tags { display: flex; gap: 4px; font-family: var(--mono); font-size: 11px; }
.lang_tags span { border: 1px solid var(--line-strong); padding: 2px 6px; border-radius: 3px; }
.resource_action { min-width: 112px; }

.newsletter { padding-block: 72px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.newsletter_text { max-width: 560px; }
.newsletter_form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; flex: 0 1 480px; min-width: 0; }
.newsletter_form > label:not(.form_trap) { flex: 1 1 260px; font-size: 13px; gap: 6px; }
.newsletter_form input { border-radius: 999px; padding: 0 20px; min-height: 52px; }
.newsletter_form .form_end { flex: 0 1 auto; }

/* ---------- Guide ---------- */

.breadcrumb_wrap { padding-top: 40px; }
.breadcrumb { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-body); }

.guide_head { padding-top: 32px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.guide_head .pill_mono { font-size: 12px; padding: 4px 10px; color: var(--ink); }
.guide_head .pill_ink { color: #FFFFFF; }

.guide_video { padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 24px; }
.video_box { flex: 999 1 640px; min-width: 0; background: var(--ink); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.video_frame { aspect-ratio: 16 / 9; background: var(--ink-line); display: flex; align-items: center; justify-content: center; position: relative; }
.video_bar { padding: 14px 20px; display: flex; align-items: center; gap: 16px; color: var(--on-ink); font-size: 12px; }
.video_track { flex: 1; height: 4px; background: #3A3A36; border-radius: 2px; }
.video_progress { height: 4px; width: 4%; background: var(--accent); border-radius: 2px; transition: width 0.2s; }

.chapters { flex: 1 1 320px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; }
.chapters h2 { padding: 20px 20px 12px; letter-spacing: 0.06em; }
.chapters ol { list-style: none; padding: 0 8px 8px; }
.chapter {
    width: 100%;
    display: flex;
    gap: 14px;
    align-items: center;
    min-height: 52px;
    padding: 8px 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    font: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    color: var(--ink);
}
.chapter .mono { font-size: 12px; color: var(--muted); min-width: 40px; }
.chapter:hover { background: var(--ground); }
.chapter[aria-current="true"] { background: var(--ground); font-weight: 600; }
.chapter[aria-current="true"] .mono { color: var(--accent-text); }

.guide_body { padding-block: 80px; display: flex; flex-wrap: wrap; gap: 64px; line-height: 1.6; }
.guide_article { flex: 999 1 600px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 40px; }
.bullets { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--text-article); }
.guide_steps { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.guide_steps li { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.guide_steps .mono { font-size: 14px; min-width: 32px; }
.guide_steps h3 { font-size: 20px; font-weight: 600; }
.guide_steps p { color: var(--text-article); }

.warning { background: var(--ground); border-radius: 4px; padding: 28px; display: flex; gap: 20px; }
.warning svg { flex-shrink: 0; margin-top: 2px; }
.warning strong { font-size: 17px; }
.warning p { color: var(--text-article); }

.guide_side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.downloads { border: 1px solid var(--line); border-radius: 4px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.downloads .mono_label { letter-spacing: 0.06em; }
.download { display: flex; gap: 14px; align-items: center; min-height: 56px; text-decoration: none; border-bottom: 1px solid var(--line-soft); padding-bottom: 14px; }
.download:last-child { border-bottom: 0; padding-bottom: 0; }
.download_icon { width: 44px; height: 44px; border-radius: 6px; background: var(--ground); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.download_text { display: flex; flex-direction: column; }
.download_text strong { font-size: 15px; }
.download_text .small { font-size: 12px; }

.side_ink { background: var(--ink); color: var(--on-ink); border-radius: 4px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.side_ink strong { font-family: var(--heading); font-size: 20px; }
.side_ink p { color: var(--on-ink-muted); font-size: 15px; }

.related { display: flex; flex-wrap: wrap; gap: 20px; }
.related a { flex: 1 1 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.related a:hover { border-color: var(--ink); color: var(--ink); }
.related strong { font-family: var(--heading); font-size: 19px; }
.related .mono_label { font-weight: 400; }

/* ---------- Not found, error ---------- */

.message_page { padding-block: 120px; display: flex; flex-direction: column; gap: 24px; min-height: 50vh; }
.message_page .lead_18 { max-width: 52ch; }
