/* ============================================================================
 * site.css — the three static marketing sites (samfek.se, artistekonomi.se, grull.se), s148.
 * The app's house design (wpgmp_artist/css/design-system.css): the same tokens, the same teal, dark mode by the OS —
 * so a visitor who clicks "Logga in" lands somewhere that looks like where they came from. No web fonts, no
 * third-party anything: a static page that loads nothing from anyone else.
 * ==========================================================================*/
:root {
  --ground: #ffffff; --surface: #f5f7f8; --surface-2: #eaeff0;
  --border: #dbe3e4; --border-strong: #c4d0d2;
  --ink: #17262c; --ink-muted: #57676c; --ink-faint: #8a979b;
  --accent: #0b7a86; --accent-strong: #095e67; --accent-tint: #e2f1f2; --accent-ink: #ffffff;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 7px; --r-lg: 11px;
  --shadow-1: 0 1px 2px rgba(23,38,44,.06), 0 1px 1px rgba(23,38,44,.04);
  --ring: 0 0 0 3px rgba(11,122,134,.28);
  --wrap: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0e1618; --surface: #15201f; --surface-2: #1d2b2b;
    --border: #293a3a; --border-strong: #3a4e4e;
    --ink: #e7eeee; --ink-muted: #a1b1b2; --ink-faint: #6f8283;
    --accent: #37b6c1; --accent-strong: #5ecad2; --accent-tint: #11302f; --accent-ink: #06201f;
    --shadow-1: 0 1px 2px rgba(0,0,0,.4); --ring: 0 0 0 3px rgba(55,182,193,.34);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 8px; background: var(--ground); padding: 8px 12px; z-index: 10; }

/* ── header ─────────────────────────────────────────────────────────────── */
.site-head { border-bottom: 1px solid var(--border); background: var(--ground); position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: .2px; }
.brand small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-muted); letter-spacing: 0; }
.nav { display: flex; gap: 4px 20px; flex-wrap: wrap; margin-left: auto; align-items: center; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.nav a:hover { color: var(--accent); }

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn { display: inline-block; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .035em; line-height: 1;
  padding: 13px 20px; border-radius: var(--r); text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn--secondary { background: var(--ground); color: var(--ink); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--surface); color: var(--ink); }
.btn--small { padding: 9px 14px; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; color: #fff; background: #17262c center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,26,.82) 0%, rgba(10,22,26,.55) 55%, rgba(10,22,26,.25) 100%); }
.hero .wrap { position: relative; padding-top: 88px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 16px; max-width: 18ch; }
.hero p { font-size: clamp(17px, 2.2vw, 20px); max-width: 52ch; margin: 0; color: #e7eeee; }
.hero .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.hero .btn--secondary:hover { background: rgba(255,255,255,.12); }
.hero--band .wrap { padding-top: 64px; padding-bottom: 64px; }
.hero .credit { position: absolute; right: 12px; bottom: 8px; font-size: 12px; color: rgba(255,255,255,.8); text-decoration: none; background: rgba(10,22,26,.45); padding: 2px 8px; border-radius: 4px; }
.hero .credit:hover { color: #fff; }
.credits { padding-left: 1.1em; }
.credits li { margin-bottom: 10px; }
.hero--plain { background: var(--surface); color: var(--ink); }
.hero--plain::before { display: none; }
.hero--plain p { color: var(--ink-muted); }
.hero--plain .wrap { padding-top: 56px; padding-bottom: 48px; }

/* ── sections ───────────────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section--alt { background: var(--surface); }
.section h2 { font-size: clamp(24px, 3.2vw, 31px); line-height: 1.2; margin: 0 0 16px; }
.section h3 { font-size: 19px; margin: 28px 0 8px; }
.lead { font-size: 19px; color: var(--ink-muted); max-width: 62ch; margin: 0 0 24px; }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 14px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-strong); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.pains { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pains li { padding-left: 26px; position: relative; }
.pains li::before { content: "\2014"; position: absolute; left: 0; color: var(--ink-faint); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 8px; }
.card { background: var(--ground); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--shadow-1); }
.section--alt .card { background: var(--ground); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--ink-muted); font-size: 16px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-strong); background: var(--accent-tint); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: 2px; }
.quote { border-left: 4px solid var(--accent); padding: 4px 0 4px 20px; margin: 0; font-size: 20px; max-width: 60ch; }
.quote p { margin: 0; }
.quote cite { display: block; font-style: normal; font-size: 15px; color: var(--ink-muted); margin-top: 8px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 70ch; }
.steps li { counter-increment: step; padding-left: 48px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; }
.placeholder { background: #fbf0da; color: #8a5a12; border: 1px dashed #ecd3a3; border-radius: var(--r); padding: 2px 6px; font-size: .9em; }

/* ── tables ─────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 8px 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); font-weight: 600; background: var(--surface); }
td.num, th.num { text-align: right; white-space: nowrap; }

/* ── contact ────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.form { display: grid; gap: 14px; max-width: 520px; }
.field { display: grid; gap: 4px; font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.field input, .field textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--ground); border: 1px solid var(--border-strong); border-radius: var(--r); padding: 10px 12px; }
.field textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.check input { margin-top: 4px; accent-color: var(--accent); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--ink-muted); }
.person { display: flex; gap: 14px; align-items: center; margin-top: 24px; }
.person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.person p { margin: 0; color: var(--ink-muted); font-size: 15px; }
.big-contact { font-size: 22px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }

/* ── footer ─────────────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--border); background: var(--surface); color: var(--ink-muted); font-size: 14px; padding: 28px 0; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-foot a { color: var(--ink-muted); }

@media (max-width: 640px) {
  .site-head .wrap { gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
  .nav { margin-left: 0; width: 100%; gap: 2px 16px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .section { padding: 40px 0; }
}
