
  :root {
    --cream: #FFF6EC;
    --sand: #FBE3C8;
    --apricot: #FFB26B;
    --orange: #F76B1C;
    --rust: #C2410C;
    --burgundy: #7A2412;
    --ember: #E8590C;
    --ink: #3D1A0E;
    --muted: #7A4A32;
    --radius: 28px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html, body { height: 100%; }

  body {
    font-family: "DM Sans", system-ui, sans-serif;
    color: var(--ink);
    background:
      radial-gradient(circle at 12% 18%, rgba(255, 178, 107, .55) 0, transparent 38%),
      radial-gradient(circle at 88% 82%, rgba(247, 107, 28, .35) 0, transparent 40%),
      radial-gradient(circle at 80% 10%, rgba(255, 214, 153, .6) 0, transparent 30%),
      var(--cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }

  /* Decorative leaves / dots drifting in the background */
  .blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .5;
    pointer-events: none;
    animation: drift 18s ease-in-out infinite alternate;
    z-index: 0;
  }
  .blob.one { width: 360px; height: 360px; background: var(--apricot); top: -120px; left: -100px; }
  .blob.two { width: 280px; height: 280px; background: var(--orange); bottom: -80px; right: -60px; animation-delay: -6s; }
  .blob.three { width: 200px; height: 200px; background: #FFD08A; top: 40%; right: 15%; animation-delay: -10s; }

  @keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(40px, 30px) scale(1.08); }
  }

  header, main, footer { position: relative; z-index: 1; }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px clamp(20px, 5vw, 64px);
    max-width: 1200px;   /* nytt: samme bredde som footer */
    width: 100%;         /* nytt */
    margin: 0 auto;      /* nytt: sentrert som footer */
  }

  .logo {
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -.02em;
    color: var(--rust);
  }
  .logo span { color: var(--ink); }

  .pill {
    font-size: .85rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--cream);
    letter-spacing: .02em;
    white-space: nowrap;
  }

  main {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
    padding: clamp(12px, 3vw, 40px) clamp(20px, 5vw, 64px) 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }

  .intro { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }

  .eyebrow {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .8rem;
    color: var(--rust);
    margin-bottom: 18px;
  }

  .headline {
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    line-height: 1;
    letter-spacing: -.03em;
  }
  .headline em {
    font-style: normal;
    background: linear-gradient(160deg, var(--apricot) 0%, var(--orange) 45%, var(--rust) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .sub {
    margin-top: 22px;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--muted);
    max-width: 44ch;
    line-height: 1.55;
  }

  .sticker {
    display: inline-block;
    margin-top: 28px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 0 var(--rust);
    transform: rotate(-2deg);
  }

  /* ---------- Phone ---------- */
  .device-wrap {
    justify-self: center;
    position: relative;
    animation: rise .9s .15s cubic-bezier(.2,.8,.2,1) both;
  }

  .phone {
    --w: clamp(240px, 26vw, 300px);
    position: relative;
    width: var(--w);
    aspect-ratio: 9 / 19.5;
    padding: 12px;
    border-radius: calc(var(--w) * .17);
    background: linear-gradient(145deg, #4a2414, var(--ink) 40%, #24100a);
    box-shadow:
      inset 0 0 0 2px rgba(255, 255, 255, .08),
      inset 0 0 0 5px #1a0b06,
      0 30px 60px -20px rgba(122, 36, 18, .55),
      0 12px 0 rgba(122, 36, 18, .12);
    transform: rotate(4deg);
    animation: float 6s ease-in-out infinite;
  }

  .btn {
    position: absolute;
    width: 4px;
    border-radius: 2px;
    background: #2a120a;
  }
  .btn.side-a { left: -3px; top: 18%; height: 7%; }
  .btn.side-b { left: -3px; top: 28%; height: 11%; }
  .btn.side-c { right: -3px; top: 24%; height: 15%; }

  .screen {
    position: relative;
    height: 100%;
    border-radius: calc(var(--w) * .135);
    overflow: hidden;
    background:
      radial-gradient(circle at 20% 15%, rgba(255, 178, 107, .55) 0, transparent 45%),
      radial-gradient(circle at 85% 90%, rgba(247, 107, 28, .35) 0, transparent 45%),
      var(--cream);
    display: flex;
    flex-direction: column;
  }

  .island {
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    width: 32%; height: 24px;
    border-radius: 999px;
    background: #120604;
    z-index: 2;
  }

  .statusbar {
    display: flex;
    justify-content: space-between;
    padding: 12px 22px 0;
    font-size: .7rem;
    font-weight: 700;
    color: var(--ink);
  }
  .statusbar .dots { letter-spacing: 1px; font-size: .55rem; }

  .app {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 18px;
  }

  .app-logo {
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 800;
    font-size: calc(var(--w) * .16);
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--rust);
  }

  @keyframes squeeze {
    0%, 70%, 100% { transform: rotate(-6deg) scale(1, 1); }
    78% { transform: rotate(-6deg) scale(.92, 1.06); }
    86% { transform: rotate(-6deg) scale(1.04, .97); }
  }
  .lemon {
    width: 128%;
    max-width: none;
    margin: 6% 0 2%;
    transform: rotate(-6deg);
    animation: squeeze 5s ease-in-out infinite;
    filter: drop-shadow(0 10px 14px rgba(194, 65, 12, .25));
  }

  .app-tagline {
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 800;
    font-size: calc(var(--w) * .085);
    letter-spacing: -.02em;
  }
  .app-tagline em { font-style: normal; color: var(--orange); }

  .progress {
    margin-top: 22px;
    width: 70%;
    height: 8px;
    border-radius: 999px;
    background: rgba(122, 36, 18, .12);
    overflow: hidden;
  }
  .progress span {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: inherit;
    background: linear-gradient(90deg, #FFD08A, var(--orange));
    animation: loading 2.6s ease-in-out infinite;
  }
  @keyframes loading {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(260%); }
  }

  .app-note {
    margin-top: 12px;
    font-size: .72rem;
    line-height: 1.4;
    color: var(--muted);
  }

  .homebar {
    width: 36%;
    height: 5px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: rgba(61, 26, 14, .55);
  }

  .phone-shadow {
    width: 70%;
    height: 22px;
    margin: 28px auto 0;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(122, 36, 18, .28), transparent);
  }

  @keyframes float {
    0%, 100% { transform: rotate(4deg) translateY(0); }
    50%      { transform: rotate(3deg) translateY(-12px); }
  }

  footer {
    padding: 24px clamp(20px, 5vw, 64px) 32px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .9rem;
    color: var(--muted);
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }
  footer strong { color: var(--rust); }

footer a,
footer a:visited,
footer a:hover,
footer a:active {
  color: var(--rust);
  text-decoration: none;
  font-weight: 700;
  transition: color .2s;
}

footer a:hover {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

footer a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 4px;
}

  @keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 820px) {
    main { grid-template-columns: 1fr; text-align: center; }
    .sub { margin-left: auto; margin-right: auto; }
    .device-wrap { order: -1; }
    .phone { --w: min(68vw, 280px); }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
  }

  /* ---------- ecpc.no: knapp til appen og bunnlinje ---------- */
  .sub + .sub { margin-top: 14px; }

  a.sticker {
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
  }
  a.sticker:hover {
    background: var(--ember);
    transform: rotate(-2deg) translateY(-2px);
    box-shadow: 0 8px 0 var(--rust);
  }
  a.sticker:active {
    transform: rotate(-2deg) translateY(4px);
    box-shadow: 0 2px 0 var(--rust);
  }
  a.sticker:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 4px;
  }

  /* «by» er vanlig tekst, bare properly.design er lenke */
  footer .credit { color: var(--muted); }

  /* Bakgrunnen dekker hele siden også når den må scrolles (ellers en skjøt på mobil) */
  html, body { height: auto; }

  /* Tre nummererte steg for å legge appen på telefonen */
  .steps {
    list-style: none;
    counter-reset: step;
    margin-top: 18px;
    max-width: 46ch;
    display: grid;
    gap: 12px;
    text-align: left;
  }
  .steps li {
    counter-increment: step;
    position: relative;
    padding-left: 44px;
    min-height: 30px;
    color: var(--muted);
    font-size: clamp(.98rem, 1.6vw, 1.08rem);
    line-height: 1.5;
  }
  .steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -1px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: #fff;
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 800;
    box-shadow: 0 3px 0 var(--rust);
  }
  .steps b { color: var(--ink); font-weight: 700; }

  @media (max-width: 820px) {
    .steps { margin-left: auto; margin-right: auto; }
  }
