/* /styles/base.css
   =========================================================
   Varmehjælp – global base + tokens
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after{
  box-sizing:border-box;
}

html,
body{
  min-height:100%;
}

body{
  margin:0;

  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  color:var(--text);
  background:var(--page-bg);

  -webkit-text-size-adjust:100%;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{
  color:inherit;
  text-decoration:none;
}

img,
svg,
video,
canvas{
  display:block;
  max-width:100%;
  height:auto;
}

button,
input,
textarea,
select{
  font:inherit;
  color:inherit;
}

ul,
ol{
  margin:0;
  padding:0;
  list-style:none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6{
  margin:0;
}


/* =========================================================
   TOKENS
   ========================================================= */

:root{
  --line:rgba(32,32,33,.10);

  --primary-1:#44484d;
  --primary-2:#5b6168;
  --primary-3:#c9c2bb;
  --primary-4:#ff5600;

  --accent:#f0b12a;
  --social:#1689b7;

  --max:1120px;
  --gutter:16px;

  --radius:18px;
  --shadow:0 18px 40px rgba(15,23,42,.12);

  --page-bg:#f6f8fb;
  --surface:#fff;

  --text:#202021;
  --muted:rgba(32,32,33,.72);

  --page-bottom-space:56px;
}


/* =========================================================
   HELPERS
   ========================================================= */

.wrap{
  width:min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin:0 auto;
}


/* Luft under hele siden */
body::after{
  content:"";
  display:block;
  height:var(--page-bottom-space);
}


/* =========================================================
   FOCUS
   ========================================================= */

:where(a,button,input,textarea,select):focus-visible{
  outline:none;

  box-shadow:0 0 0 3px rgba(68,72,77,.20);

  border-radius:10px;
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width:560px){

  :root{
    --gutter:12px;
    --page-bottom-space:44px;
  }
}