/* ingle.no, the front page. Ingle's look: dark, Hearth and Coal, the firelight once in the hero («Gløden»). Everything is served
   from this address: no outside fonts, scripts, cookies or trackers. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
  /* Layout: a hero where sparks rise behind the headline and «Gløden» itself is the firelight; then one stage where
     eighteen separate systems float around one Ingle panel and are pulled into it. One look only: Ingle is dark. */
  :root {
    --hearth: #0C0907;      /* the page */
    --coal: #19140F;        /* the Ingle panel */
    --soot: #241D17;        /* rows and loose tiles */
    --ash: #EBE7E2;         /* strong text, the main button */
    --muted: #A89C90;       /* quiet text */
    --line: rgba(255, 240, 225, .09);
    --mint: #6FD3A8;        /* done by itself */
    --fire: linear-gradient(100deg, #FFE7BF 0%, #FFB257 42%, #F0642E 100%);
    --display: "Inter Tight", Inter, system-ui, sans-serif;
    --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --warm: "Instrument Serif", Georgia, serif;
    color-scheme: dark;
  }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--hearth); color: var(--ash); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  .wrap { position: relative; max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  a { color: inherit; }
  :focus-visible { outline: 2px solid #FFB257; outline-offset: 3px; border-radius: 8px; }

  .wordmark { display: inline-flex; font: 600 26px/1 var(--display); letter-spacing: -.05em; text-decoration: none; color: var(--ash); }
  .wordmark .i { position: relative; display: inline-block; }
  .wordmark .ember { position: absolute; left: 50%; top: .08em; width: .2em; height: .2em; margin-left: -.065em; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #FFF3D6 0%, #FFB257 45%, #F0642E 100%); box-shadow: 0 0 .3em rgba(255, 150, 70, .6); }

  header { position: relative; z-index: 2; }
  header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
  header a.quiet { color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; }
  header a.quiet:hover { color: var(--ash); }

  /* The hero: sparks rise from below, the glow breathes, «Gløden» is the fire. */
  .hero { position: relative; overflow: hidden; margin-top: -78px; padding-top: 78px; }
  .hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .hero::before { content: ""; position: absolute; left: 50%; bottom: -380px; width: 1100px; height: 760px; margin-left: -550px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 140, 60, .26), rgba(240, 100, 46, .08) 55%, transparent 100%); pointer-events: none; animation: breathe 7s ease-in-out infinite; }
  @keyframes breathe { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
  .hero .wrap { padding-block: clamp(56px, 10vw, 128px) clamp(88px, 12vw, 160px); display: flex; flex-direction: column; gap: 30px; }
  h1 { margin: 0; font: 800 clamp(52px, 11vw, 140px)/.92 var(--display); letter-spacing: -.055em; text-wrap: balance; }
  h1 .fire { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 34px rgba(255, 130, 50, .35)); }
  h1 .warm { display: block; margin-top: .1em; font: 400 clamp(42px, 8.4vw, 104px)/1.02 var(--warm); font-style: italic; letter-spacing: -.02em; color: var(--ash); }
  .lead { margin: 0; max-width: 36ch; font-size: clamp(18px, 2.3vw, 22px); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
  .act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
  .btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 28px; border-radius: 999px; background: var(--ash); color: #15100C; font: 600 16.5px var(--body); text-decoration: none; border: 0; cursor: pointer; }
  .btn:hover { background: #FFFFFF; }
  .soon { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; font-weight: 500; }
  .soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F5B25A; box-shadow: 0 0 10px rgba(245, 178, 90, .7); }

  /* One system: the stage */
  .fold { border-top: 1px solid var(--line); }
  .fold .wrap { padding-block: clamp(64px, 9vw, 120px); display: flex; flex-direction: column; gap: 44px; }
  .fold-head { display: flex; flex-direction: column; gap: 14px; max-width: 660px; }
  h2 { margin: 0; font: 800 clamp(36px, 6vw, 68px)/1 var(--display); letter-spacing: -.05em; text-wrap: balance; }
  .fold-head p { margin: 0; color: var(--muted); font-size: 18px; text-wrap: pretty; }
  .stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; }
  .cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
  .tile { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; background: var(--soot); border: 1px solid rgba(255, 240, 225, .12); color: #D3C8BC; font: 500 14.5px var(--body); white-space: nowrap; transition: transform .9s cubic-bezier(.6, 0, .2, 1), opacity .9s ease; will-change: transform, opacity; }
  .tile i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex: none; }
  .tile.drift { animation: drift 6s ease-in-out infinite; }
  .tile.drift:nth-child(3n) { animation-duration: 7.4s; animation-delay: -2s; }
  .tile.drift:nth-child(3n+1) { animation-duration: 5.2s; animation-delay: -1s; }
  @keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 3px -6px; } }
  .panel { position: relative; width: 100%; max-width: 620px; border-radius: 26px; background: var(--coal); border: 1px solid rgba(255, 240, 225, .12); padding: 22px; box-shadow: 0 40px 110px rgba(0, 0, 0, .6); transition: box-shadow 1s ease, border-color 1s ease; }
  .panel.lit { border-color: rgba(255, 178, 87, .45); box-shadow: 0 0 0 1px rgba(255, 178, 87, .15), 0 0 90px rgba(255, 130, 50, .22), 0 40px 110px rgba(0, 0, 0, .6); }
  .panel .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .panel .top .wordmark { font-size: 22px; }
  .state { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--mint); }
  .state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(111, 211, 168, .6); }
  .rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .rows li { display: grid; grid-template-columns: 128px minmax(0, 1fr) 22px; align-items: center; gap: 12px; min-height: 46px; padding: 6px 14px; border-radius: 12px; background: var(--soot); transition: background .5s ease; }
  .rows li.tick { background: rgba(111, 211, 168, .09); }
  .rows b { font: 600 15px var(--display); letter-spacing: -.01em; color: var(--ash); }
  .rows span { min-width: 0; color: var(--muted); font-size: 14.5px; line-height: 1.35; }
  .rows svg { width: 20px; height: 20px; color: var(--mint); }
  .replay { align-self: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 500 14px var(--body); cursor: pointer; }
  .replay:hover { color: var(--ash); border-color: rgba(255, 240, 225, .22); }

.tile i.c1 { background: #8FA8C8; }
.tile i.c2 { background: #C88F9C; }
.tile i.c3 { background: #C8B48F; }
.tile i.c4 { background: #8FC8C1; }
.tile i.c5 { background: #B79BD6; }
.tile i.c6 { background: #D6A47A; }
.tile i.c7 { background: #A9C88F; }
.tile i.c8 { background: #8FB4C8; }
.tile i.c9 { background: #C8A08F; }
.tile i.c10 { background: #9CC88F; }
.tile i.c11 { background: #C8C08F; }
.tile i.c12 { background: #9C8FC8; }
.tile i.c13 { background: #8FC8A6; }
.tile i.c14 { background: #C89F8F; }
.tile i.c15 { background: #7FBFD6; }
.tile i.c16 { background: #B8B8B8; }
.tile i.c17 { background: #D69A9A; }
.tile i.c18 { background: #A3B6D6; }
  /* «Interessert?»: the one place the fire returns, on the send button. */
  .interest { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
  .interest::before { content: ""; position: absolute; right: -200px; bottom: -320px; width: 820px; height: 620px; max-width: 120%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 140, 60, .16), transparent 100%); pointer-events: none; }
  .interest .wrap { padding-block: clamp(64px, 9vw, 120px); display: grid; gap: 36px; align-items: start; }
  .interest-copy { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
  .interest-copy p { margin: 0; color: var(--muted); font-size: 18px; text-wrap: pretty; }
  .form-card { position: relative; width: 100%; max-width: 560px; padding: clamp(22px, 4vw, 34px); border-radius: 26px; background: var(--coal); border: 1px solid rgba(255, 240, 225, .12); }
  form { display: flex; flex-direction: column; gap: 18px; }
  .field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
  .field label { font-size: 14px; font-weight: 600; color: var(--ash); }
  .opt { font-weight: 500; color: var(--muted); }
  .input { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255, 240, 225, .16); background: var(--hearth); color: var(--ash); font: 400 16.5px var(--body); }
  .input:focus { border-color: var(--ash); outline: none; }
  .input:focus-visible { outline: 2px solid #FFB257; outline-offset: 2px; }
  .input[aria-invalid="true"] { border-color: #FF7B8B; }
  .error-text { margin: 0; font-size: 14px; font-weight: 600; color: #FF9DAA; }
  .honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--hearth); border: 1px solid var(--line); cursor: pointer; }
  .consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: #FFB257; cursor: pointer; }
  .consent span { font-size: 15.5px; line-height: 1.45; }
  .btn-fire { width: 100%; background: var(--fire); color: #15100C; }
  .btn-fire:hover { background: var(--fire); filter: brightness(1.05); }
  .btn-fire[disabled] { opacity: .6; cursor: progress; }
  .privacy { margin: 0; color: var(--muted); font-size: 13.5px; }
  .status { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255, 84, 104, .12); color: #FFC2CA; font-size: 15px; }
  .done { display: flex; flex-direction: column; gap: 12px; }
  .done h3 { margin: 0; font: 700 30px/1.1 var(--display); letter-spacing: -.035em; }
  .done p { margin: 0; color: var(--muted); }
  .done-mark { width: 52px; height: 52px; border-radius: 50%; background: rgba(111, 211, 168, .14); color: var(--mint); display: grid; place-items: center; }
  .done-mark svg { width: 26px; height: 26px; }
  @media (min-width: 900px) { .interest .wrap { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 64px; } }

  .name { padding-block: 8px 64px; }
  .name .wrap { display: flex; flex-direction: column; gap: 10px; }
  .name p { margin: 0; color: #857A6E; font-size: 14px; }
  .name em { font-family: var(--warm); font-size: 18px; color: #D6BF9F; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .foot-links a { color: #A89C90; }

  @media (max-width: 480px) {
    .rows li { grid-template-columns: 1fr 22px; }
    .rows li span { grid-column: 1; }
    .rows li svg { grid-row: 1 / span 2; grid-column: 2; }
    .tile { height: 36px; font-size: 13.5px; padding: 0 12px; }
  }
  @media (prefers-reduced-motion: reduce) { .hero::before, .tile.drift { animation: none; } .tile, .panel, .rows li { transition: none; } }
