/* The public site's own parts (src/site.js), on top of landing.css: the links in the top bar, the industries in the
   side menu, the industry chips, the industry pages, and the two steps of "Prøv selv". */

/* ---- top bar and side menu ---- */
.top-right { display: flex; align-items: center; gap: 4px; justify-self: end; }
.top-link { display: inline-flex; align-items: center; min-height: 44px; font: 500 15px/1 var(--body); color: inherit; text-decoration: none; padding: 10px 14px; border-radius: 99px; transition: background .2s, transform .3s var(--spring); }
@media (hover: hover) { .top-link:hover { background: rgba(20, 19, 22, .06); } }
.top-link[aria-current="page"] { font-weight: 600; }
@media (max-width: 900px) { .top-link { display: none; } }
.drawer-nav a[aria-current="page"] { color: var(--ember); }
.drawer-sub { display: grid; gap: 2px; padding: 4px 0 14px 2px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.drawer .drawer-sub a { font: 500 17px/1.2 var(--body); letter-spacing: -0.01em; color: var(--ink-2); padding: 12px 0; border: 0; display: block; }
.drawer .drawer-sub a:hover, .drawer .drawer-sub a[aria-current="page"] { color: var(--ink); }

/* ---- shared ---- */
body.site main { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: clamp(22px, 3vw, 36px); }
.link-more { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; font: 600 15px var(--body); color: var(--ink); text-decoration: none; white-space: nowrap; }
.link-more svg { transition: transform .3s var(--spring); }
@media (hover: hover) { .link-more:hover svg { transform: translateX(3px); } }
.link-more:active { opacity: .6; }
.h-2 { margin: 0; }
.card-host { display: block; width: min(340px, 100%); margin-inline: auto; } /* the card's own width, as on the platform */
.card-host.mini { zoom: .64; pointer-events: none; }
.card-host.card-lg { width: min(400px, 100%); margin-inline: auto; }
.page-head { padding: clamp(120px, 16vh, 170px) 0 clamp(30px, 4vw, 48px); }
.page-head .lede { max-width: 54ch; margin-top: 16px; }
.intro { padding: clamp(80px, 11vw, 140px) 0 clamp(40px, 6vw, 70px); }
.intro .lede { max-width: 52ch; margin: 18px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- industries: chips and tiles ---- */
.ind-chips { position: sticky; top: 62px; z-index: 40; background: rgba(244, 241, 233, .9); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 .5px 0 var(--line), 0 12px 24px -22px rgba(60, 40, 20, .5); margin-top: 72px; }
.ind-chips-row { width: min(var(--max), 100% - 32px); margin-inline: auto; display: flex; gap: 6px; overflow-x: auto; padding: 6px 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.ind-chips-row::-webkit-scrollbar { display: none; }
.ind-chips a { flex: none; display: inline-flex; align-items: center; min-height: 44px; font: 500 15px/1 var(--body); color: var(--ink-2); text-decoration: none; padding: 10px 16px; border-radius: 99px; transition: background .2s, color .2s, transform .3s var(--spring); }
@media (hover: hover) { .ind-chips a:hover { background: rgba(20, 19, 22, .06); color: var(--ink); } }
.ind-chips a:active { transform: scale(.96); transition-duration: .1s; }
.ind-chips a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.ind-chips + .page-head, .ind-chips + .ind-hero { padding-top: clamp(48px, 7vw, 90px); }
.industries { padding: 0 0 clamp(70px, 9vw, 120px); }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind-tile { display: flex; flex-direction: column; gap: 16px; padding: 12px; border-radius: var(--r-lg); background: var(--white); color: var(--ink); text-decoration: none; transition: transform .4s var(--spring), box-shadow .4s var(--ease); }
@media (hover: hover) { .ind-tile:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -34px rgba(60, 40, 20, .45); } }
.ind-tile:active { transform: scale(.985); transition-duration: .12s; }
.ind-meta { padding: 0 12px 12px; }
.ind-card { display: grid; place-items: center; min-height: 250px; padding: 16px 12px; border-radius: 20px; background: var(--cream); }
.ind-meta b { display: block; font: 600 19px/1.2 var(--display); letter-spacing: -0.02em; }
.ind-meta span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 1000px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ind-grid { grid-template-columns: 1fr; } .ind-chips { top: 0; margin-top: 64px; } }

/* ---- how it works: number, title and a line of text, the same in every box ---- */
body.site .how { padding: clamp(50px, 7vw, 90px) 0; }
body.site .how-card { min-height: 0; justify-content: flex-start; }
body.site .how-card .n { margin: 0 0 14px; }
.how-card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 6px 0 0; }

/* ---- front page: try-it teaser ---- */
.try-teaser { padding: clamp(70px, 9vw, 120px) 0; }
.teaser-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.teaser-grid .lede { margin: 16px 0 26px; max-width: 42ch; }
.teaser-card { display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: radial-gradient(80% 70% at 30% 20%, rgba(255, 255, 255, .7), transparent 62%), linear-gradient(150deg, #f6eedf, #ecdcbc); }
@media (max-width: 900px) { .teaser-grid { grid-template-columns: 1fr; } }

/* ---- an industry page ---- */
.ind-hero { padding-bottom: clamp(30px, 4vw, 56px); }
.ind-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ind-hero .lede { margin: 18px 0 28px; max-width: 46ch; }
.ind-hero-card { position: relative; padding: clamp(28px, 5vw, 60px) clamp(18px, 4vw, 44px) clamp(70px, 8vw, 96px); border-radius: var(--r-xl); background: radial-gradient(80% 70% at 30% 20%, rgba(255, 255, 255, .75), transparent 62%), linear-gradient(150deg, #f6eedf, #ead8b4); }
.ind-hero-note { position: absolute; left: 50%; bottom: 18px; width: min(380px, calc(100% - 28px)); transform: translateX(-50%); }
.ind-cards, .ind-how { padding: clamp(50px, 6vw, 84px) 0 0; }
.ind-cards .lede { max-width: 56ch; margin: -12px 0 30px; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tpl { padding: 22px; border-radius: var(--r-lg); background: var(--white); }
.tpl .card-host { zoom: .78; margin-bottom: 22px; }
.tpl p { color: var(--ink-2); font-size: 15px; line-height: 1.45; margin: 6px 0 0; }
.point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.point { padding: 26px; border-radius: var(--r-lg); background: var(--white); }
.point .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--cream); font: 600 15px var(--body); margin-bottom: 18px; }
.point p { color: var(--ink-2); font-size: 15px; line-height: 1.5; margin: 8px 0 0; }
.ind-notes { padding: clamp(60px, 8vw, 110px) 0; }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.notes-grid .lede { margin-top: 16px; max-width: 42ch; }
.lock { padding: 28px 18px 30px; border-radius: 44px; background: radial-gradient(90% 55% at 85% 70%, #e9cf9c, rgba(233, 207, 156, 0) 70%), linear-gradient(180deg, #f6f0e6, #efe3cb); box-shadow: 0 40px 70px -46px rgba(60, 40, 20, .55); max-width: 420px; justify-self: center; width: 100%; }
.lock-time { text-align: center; margin-bottom: 26px; color: #1a1816; }
.lock-time span { display: block; font: 500 16px var(--body); color: #6d6458; }
.lock-time b { display: block; font: 700 64px/1.05 var(--display); letter-spacing: -0.04em; }
.lock-notes { display: grid; gap: 8px; }
@media (max-width: 900px) { .ind-hero-grid, .notes-grid { grid-template-columns: 1fr; } .point-grid { grid-template-columns: 1fr; } }

/* a lock-screen notification */
.note { display: flex; gap: 11px; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 24px -14px rgba(60, 40, 20, .35); text-align: left; }
.note-icon { flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 9.5px var(--body); letter-spacing: .02em; }
.note > div { min-width: 0; flex: 1; }
.note-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.note-top span { color: #8a8278; font-size: 13px; }
.note p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.35; color: var(--ink); }

/* ---- "Prøv selv": two steps ---- */
.steps-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(20, 19, 22, .06); margin-top: 28px; }
.steps-tabs button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; touch-action: manipulation; border: 0; background: none; padding: 9px 18px 9px 9px; border-radius: 99px; font: 600 15px var(--body); color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s; }
.steps-tabs button span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(20, 19, 22, .08); font-size: 13px; }
.steps-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 6px 16px -10px rgba(20, 19, 22, .35); }
.steps-tabs button[aria-selected="true"] span { background: var(--ink); color: var(--cream); }
body.try .maker { padding-top: 0; }
body.try .maker-form select { width: 100%; font: 500 16px var(--body); color: var(--ink); padding: 12px 38px 12px 14px; border-radius: 12px; border: 0; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%236b6459' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center; box-shadow: inset 0 0 0 1px var(--line); -webkit-appearance: none; appearance: none; outline: none; }
body.try .maker-form select:focus { box-shadow: inset 0 0 0 2px var(--ember); }
body.try .maker-web .design-card { margin: auto; width: min(340px, 100%); } /* the web card in the middle of its panel */
.step-next { display: flex; justify-content: flex-end; margin-top: 22px; }
.stamp-step { padding: 0 0 clamp(70px, 9vw, 120px); }
.stamp-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: var(--white); }
.stamp-copy .lede { margin: 14px 0 26px; max-width: 40ch; }
.stamp-copy .ghost, .stamp-step .ghost { color: var(--ink-2); }
.stamp-copy .back { display: block; margin-top: 14px; padding: 0; text-decoration: none; }
.demo-stage { position: relative; display: grid; place-items: center; padding: 84px 12px 20px; border-radius: 30px; background: radial-gradient(80% 70% at 30% 20%, rgba(255, 255, 255, .7), transparent 62%), linear-gradient(150deg, #f6eedf, #ecdcbc); min-height: 420px; }
.demo-note { position: absolute; top: 16px; left: 50%; width: min(380px, calc(100% - 24px)); transform: translate(-50%, -14px) scale(.96); opacity: 0; transition: transform .45s var(--spring), opacity .25s; transform-origin: 50% 0; } /* drops in from the top edge, like a banner */
.demo-note.show { transform: translate(-50%, 0) scale(1); opacity: 1; }
@media (max-width: 900px) { .stamp-grid { grid-template-columns: 1fr; padding: 22px; } .stamp-grid .demo-stage { order: -1; } }
@media (prefers-reduced-motion: reduce) { .demo-note { transform: translate(-50%, 0); } }
/* the one line on an industry page that says customers need no app */
.no-app { display: flex; gap: 8px; align-items: flex-start; margin-top: 22px; max-width: 46ch; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.no-app svg { flex: none; margin-top: 2px; color: var(--ember); }

/* the closing box: as much room under the buttons as above the icon (the old page had a big wordmark there) */
body.site .cta { padding: clamp(70px, 11vh, 120px) 0; }
body.site .cta-outer { padding-bottom: clamp(16px, 3vw, 32px); }
/* front page: the other industries behind "Vis flere bransjer" */
.ind-more { margin-top: 16px; }
.more-row { display: flex; justify-content: center; margin-top: 28px; }
.more-row .btn .arrow svg { transition: transform .35s var(--spring); }
.more-row .btn.open .arrow svg { transform: rotate(45deg); }
.more-row .btn:hover .arrow { transform: none; }
.ind-more[hidden] { display: none; } /* the grid display would otherwise show them */
/* side menu: "Bransjer" is a fold-out, styled like the links around it */
.drawer-toggle { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); color: inherit; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.035em; line-height: 1.1; padding: 16px 0; transition: color .2s; }
@media (hover: hover) { .drawer-toggle:hover { color: var(--ember); } }
.drawer-toggle svg { opacity: .45; transition: transform .35s var(--ease), opacity .2s; }
.drawer-toggle[aria-expanded="true"] svg { transform: rotate(90deg); opacity: 1; }
.drawer-sub[hidden] { display: none; }
.drawer-toggle[aria-expanded="true"] { border-bottom-color: transparent; }

/* ---- "Slik fungerer det" (/slik-fungerer-det) ---- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; font: 500 15px/1 var(--body); color: var(--ink); text-decoration: none; padding: 10px 16px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, transform .3s var(--spring); }
@media (hover: hover) { .toc a:hover { background: var(--cream-2); } }
.toc a:active { transform: scale(.96); background: var(--cream-2); transition-duration: .1s; }
.how-part { padding: clamp(50px, 7vw, 96px) 0; scroll-margin-top: 70px; }
.how-part + .how-part { border-top: 1px solid var(--line); }
.how-part-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.how-part.flip .how-visual { order: -1; }
.part-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--cream); font: 600 15px var(--body); margin-bottom: 18px; }
.how-copy .lede { margin: 14px 0 22px; max-width: 46ch; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 52ch; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--ink); }
.ticks svg { flex: none; margin-top: 4px; color: var(--ember); }
.how-visual { display: grid; place-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: radial-gradient(80% 70% at 30% 20%, rgba(255, 255, 255, .7), transparent 62%), linear-gradient(150deg, #f6eedf, #ecdcbc); min-height: 380px; }
.how-visual .lock { box-shadow: none; background: rgba(255, 255, 255, .5); }
.poster { width: min(260px, 100%); padding: 28px 24px 24px; border-radius: 22px; background: var(--white); text-align: center; box-shadow: 0 30px 50px -34px rgba(60, 40, 20, .5); }
.poster-k { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ember); margin: 0; }
.poster-h { font: 700 26px/1.1 var(--display); letter-spacing: -0.03em; margin: 8px 0 18px; }
.poster img { display: block; margin: 0 auto; border-radius: 10px; }
.poster-s { font-size: 13px; color: var(--ink-2); margin: 14px 0 0; }
.scan-mock { width: min(280px, 100%); padding: 18px; border-radius: 36px; background: #141316; display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(20, 19, 22, .6); }
.scan-frame { padding: 14px 8px; border-radius: 22px; background: #2a2724; box-shadow: inset 0 0 0 2px rgba(243, 208, 138, .55); }
.scan-btn { text-align: center; padding: 14px; border-radius: 99px; background: var(--ember); color: #fff; font: 600 16px var(--body); }
.scan-ok { text-align: center; color: #d8cfbf; font-size: 14px; margin: 0; }
.notes-stack { display: grid; gap: 10px; width: min(400px, 100%); }
.refer { display: grid; justify-items: center; gap: 14px; width: min(380px, 100%); }
.refer-arrow { font-size: 28px; color: var(--ember); transform: rotate(90deg); }
.kpi-mock { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(400px, 100%); }
.kpi-mock div { padding: 20px; border-radius: 20px; background: var(--white); box-shadow: 0 16px 30px -24px rgba(60, 40, 20, .4); }
.kpi-mock b { display: block; font: 700 32px/1 var(--display); letter-spacing: -0.03em; }
.kpi-mock span { display: block; margin-top: 6px; color: var(--ink-2); font-size: 14px; }
.shield { width: 160px; height: 160px; border-radius: 44px; display: grid; place-items: center; background: var(--white); color: var(--ember); box-shadow: 0 30px 50px -34px rgba(60, 40, 20, .5); }
.start { padding: clamp(50px, 7vw, 96px) 0 clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.point-grid.four { grid-template-columns: repeat(4, 1fr); }
.how .more-row { margin-top: 26px; }
@media (max-width: 1000px) { .point-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .how-part-grid { grid-template-columns: 1fr; } .how-part.flip .how-visual { order: 0; } .how-visual { min-height: 0; } }
@media (max-width: 600px) { .point-grid.four { grid-template-columns: 1fr; } }

/* ---- "Slik fungerer det", pictures first: one line of text, a big picture ---- */
body.howpage .how-part-grid { grid-template-columns: .8fr 1.2fr; }
body.howpage .how-copy .lede { margin: 12px 0 0; font-size: clamp(19px, 1.8vw, 23px); }
body.howpage .how-visual { min-height: 440px; }
.duo { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 36px); flex-wrap: wrap; }
.mini-phone { position: relative; width: 230px; padding: 44px 14px 18px; border-radius: 38px; background: #fbf8f2; box-shadow: 0 0 0 7px #141316, 0 30px 60px -28px rgba(20, 19, 22, .55); display: grid; gap: 10px; }
.mini-phone.small { width: 210px; }
.mp-island { position: absolute; top: 12px; left: 50%; width: 72px; height: 20px; margin-left: -36px; border-radius: 12px; background: #141316; }
.mp-title { margin: 0 0 2px; text-align: center; font: 600 14px/1.3 var(--body); color: var(--ink-2); }
.mp-title b { color: var(--ink); font-size: 18px; }
.mp-field { padding: 10px 12px; border-radius: 10px; background: #f0ebe1; color: #9a9184; font-size: 13px; }
.mp-small { margin: 0; text-align: center; font-size: 12px; color: var(--ember); font-weight: 600; }
.mini-phone .card-host.mini { zoom: .58; }
.wallet-btn { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px; border-radius: 10px; background: #141316; color: #fff; font: 600 13px var(--body); }
.wallet-btn.light { background: #fff; color: #141316; box-shadow: inset 0 0 0 1px var(--line); }
.wallet-btn .g { font-weight: 800; background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853); -webkit-background-clip: text; background-clip: text; color: transparent; }
.scan-wrap { position: relative; }
.plus-one { position: absolute; top: -18px; right: -22px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); color: #fff; font: 700 22px var(--display); box-shadow: 0 16px 30px -12px rgba(160, 108, 36, .7); }
.scan-mock .card-host.mini { zoom: .6; }
.msg-visual { display: grid; gap: 18px; justify-items: center; width: min(420px, 100%); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tags span { padding: 9px 14px; border-radius: 99px; background: var(--white); font: 500 14px/1 var(--body); color: var(--ink); box-shadow: 0 8px 18px -14px rgba(60, 40, 20, .5); }
.refer { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 2.5vw, 28px); flex-wrap: wrap; width: 100%; }
.refer > .card-host.mini { width: 240px; zoom: .7; margin: 0; }
.refer-arrow { color: var(--ember); transform: none; display: grid; }
.stats-visual { display: grid; gap: 14px; width: min(420px, 100%); }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 170px; padding: 18px 18px 12px; border-radius: 20px; background: var(--white); box-shadow: 0 16px 30px -24px rgba(60, 40, 20, .4); }
.bars div { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 6px; text-align: center; }
.bars i { align-self: end; display: block; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #c99a3e, #a06c24); }
.bars span { font-size: 12px; color: var(--ink-2); }
.fan { position: relative; width: min(420px, 100%); height: 330px; }
.fan .card-host { position: absolute; left: 50%; top: 50%; width: 300px; margin: 0; zoom: 1; }
.fan .card-host:nth-child(1) { transform: translate(-58%, -54%) rotate(-9deg); }
.fan .card-host:nth-child(2) { transform: translate(-42%, -50%) rotate(7deg); }
.fan .card-host:nth-child(3) { transform: translate(-50%, -44%) rotate(-1deg); }
.trust { display: grid; gap: 22px; justify-items: center; }
.tags.center { max-width: 380px; }
.steps-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.step-ic { display: grid; justify-items: center; gap: 12px; text-align: center; flex: 1 1 140px; }
.step-ic .ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--white); color: var(--ember); box-shadow: 0 16px 30px -22px rgba(60, 40, 20, .5); }
.step-ic b { font: 600 17px/1.2 var(--display); letter-spacing: -0.01em; }
.step-line { flex: 0 1 60px; height: 2px; border-radius: 2px; background: var(--line); margin-bottom: 30px; }
@media (max-width: 900px) {
  body.howpage .how-part-grid { grid-template-columns: 1fr; }
  body.howpage .how-visual { min-height: 0; }
  .step-line { display: none; }
  .steps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .fan { height: 290px; } .fan .card-host { width: 250px; }
}
body.howpage .how-part.flip .how-part-grid { grid-template-columns: 1.2fr .8fr; } /* the picture keeps the wide column */
.duo { width: 100%; flex-wrap: nowrap; }
.duo .poster { width: 220px; padding: 22px 18px 18px; }
@media (max-width: 900px) { body.howpage .how-part.flip .how-part-grid { grid-template-columns: 1fr; } .duo { flex-wrap: wrap; } }

/* ======== "Slik fungerer det": phone scenes (one spacing scale: 8 / 12 / 16 / 24 px) ======== */
body.howpage .how-visual { min-height: 520px; padding: 40px 24px; overflow: hidden; }
.scene { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; }
.scene.two { gap: 0; }
.scene.two .iphone.back { transform: translate(24px, -24px) rotate(-4deg); z-index: 0; }
.scene.two .iphone.front { transform: translate(-24px, 24px); z-index: 1; }

/* the phone */
.iphone { position: relative; flex: none; width: 236px; padding: 9px; border-radius: 44px; background: #1a1918; box-shadow: inset 0 0 0 1.5px #5a5855, 0 34px 60px -30px rgba(40, 28, 10, .55), 0 10px 24px -14px rgba(0, 0, 0, .3); }
.ip-screen { position: relative; height: 470px; border-radius: 36px; overflow: hidden; background: #fbf8f2; display: flex; flex-direction: column; padding: 44px 12px 16px; gap: 12px; color: #141316; font-family: -apple-system, var(--body); }
.ip-screen.dark { background: #0d0d0e; color: #fff; }
.ip-status { position: absolute; top: 0; left: 0; right: 0; height: 36px; display: flex; justify-content: space-between; align-items: center; padding: 6px 20px 0 26px; font: 600 12px/1 -apple-system, var(--body); }
.ip-icons { display: flex; gap: 3px; } .ip-icons i { width: 12px; height: 7px; border-radius: 2px; background: currentColor; opacity: .9; } .ip-icons i:last-child { width: 18px; }
.ip-island { position: absolute; top: 9px; left: 50%; width: 74px; height: 22px; margin-left: -37px; border-radius: 12px; background: #000; z-index: 3; }
.iphone .card-host.mini { zoom: .62; width: 340px; }
.ip-tg { position: relative; flex: none; width: 34px; height: 20px; border-radius: 10px; background: #34c759; }
.ip-tg::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }

/* 1: the camera reads the poster, then the card is added */
.cam { position: absolute; inset: 0; }
.cam-scene { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 40%, #6b5a45, #2b241c 70%); }
.mini-poster { width: 150px; padding: 16px 12px 14px; border-radius: 14px; transform: rotate(-3deg); box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .6); }
.mini-poster .poster-h { font-size: 16px; margin: 4px 0 8px; } .mini-poster .poster-k { font-size: 9px; }
.cam-brackets { position: absolute; left: 50%; top: 50%; width: 136px; height: 136px; margin: -48px 0 0 -68px; }
.cam-brackets i { position: absolute; width: 24px; height: 24px; border: 3px solid #ffd60a; }
.cam-brackets i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.cam-brackets i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.cam-brackets i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.cam-brackets i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.scanline { position: absolute; left: 8px; right: 8px; top: 10%; height: 2px; border-radius: 2px; background: #ffd60a; box-shadow: 0 0 12px #ffd60a; opacity: .8; }
.cam-pill { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 99px; background: #ffd60a; color: #141316; font: 600 12px/1 -apple-system, var(--body); white-space: nowrap; }
.cam-shutter { position: absolute; left: 50%; bottom: 24px; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #0d0d0e, 0 0 0 6px rgba(255, 255, 255, .8); }
.sheet { display: grid; gap: 16px; }
.sheet-bar { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #8a8278; }
.sheet-bar b { color: #141316; font-size: 13px; } .sheet-bar .add { color: #0a84ff; font-weight: 600; }
.sheet-note { margin: 0; text-align: center; font-size: 11px; color: #8a8278; }

/* 2: the till */
.scan-cam { position: absolute; inset: 0 0 auto; height: 58%; display: grid; place-items: center; background: radial-gradient(100% 90% at 50% 40%, #3a332b, #111 75%); }
.scan-target { position: relative; padding: 12px; border-radius: 14px; background: #fff; }
.scan-target .cam-brackets { width: 140px; height: 140px; margin: -70px 0 0 -70px; }
.scan-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 20px; border-radius: 24px 24px 0 0; background: #fbf8f2; color: #141316; display: grid; gap: 12px; }
.ss-who { display: flex; align-items: center; gap: 8px; }
.ss-who b { display: block; font-size: 13px; } .ss-who div span { display: block; font-size: 11px; color: #8a8278; }
.ss-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #8e6450; color: #fff; font: 700 11px var(--body); }
.dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.dots i { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #d6c9b4; }
.dots i.on { background: #8e6450; box-shadow: none; }
.dots i.goal { box-shadow: inset 0 0 0 2px #c4913f; }
.ss-btn { padding: 12px; border-radius: 99px; background: var(--ember); color: #fff; text-align: center; font: 600 14px var(--body); }
.scene .plus-one { position: absolute; top: 12%; right: calc(50% - 160px); }

/* 3 and 4: the lock screen */
.ip-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 48px 10px 16px; background: radial-gradient(90% 55% at 85% 70%, #e9cf9c, rgba(233, 207, 156, 0) 70%), radial-gradient(70% 45% at 10% 100%, #ecd3a2, rgba(236, 211, 162, 0) 70%), linear-gradient(180deg, #f6f0e6, #f0e4cd); }
.ip-lockicon { color: #2a2620; margin-bottom: 8px; }
.ip-date { font: 500 12px var(--body); color: #6d6458; }
.ip-time { font: 700 56px/1.05 var(--display); letter-spacing: -0.04em; color: #1a1816; margin-bottom: auto; }
.ip-notes { width: 100%; display: grid; gap: 8px; margin-bottom: 40px; }
.ip-notes .note { padding: 10px 12px; border-radius: 16px; gap: 8px; }
.ip-notes .note-icon { width: 28px; height: 28px; border-radius: 7px; font-size: 8px; }
.ip-notes .note-top { font-size: 11.5px; } .ip-notes .note-top span { font-size: 10.5px; } .ip-notes .note p { font-size: 11.5px; }
.ip-home { position: absolute; bottom: 8px; left: 50%; width: 92px; height: 4px; margin-left: -46px; border-radius: 2px; background: #141316; }
.compose { position: relative; z-index: 0; width: 280px; padding: 0 20px 20px; border-radius: 20px; background: var(--white); box-shadow: 0 30px 50px -30px rgba(40, 28, 10, .45); display: grid; gap: 12px; transform: translate(24px, -32px); }
.win-bar { display: flex; align-items: center; gap: 6px; height: 36px; margin: 0 -20px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e4ddd1; }
.win-bar span { margin-left: 8px; font-size: 12px; color: var(--ink-2); }
.cp-label { margin: 4px 0 0; font: 600 13px var(--body); }
.cp-text { min-height: 64px; padding: 12px; border-radius: 12px; background: var(--cream); font-size: 13.5px; line-height: 1.4; }
.caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--ember); }
.cp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-tags span { padding: 6px 10px; border-radius: 99px; font-size: 11.5px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.cp-tags span.on { background: var(--ink); color: var(--cream); box-shadow: none; }
.cp-auto { display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding-top: 12px; border-top: 1px solid var(--line); }
.cp-auto span { color: var(--ink-2); } .cp-auto b { flex: 1; font-weight: 600; }
.cp-send { justify-self: end; padding: 10px 20px; border-radius: 99px; background: var(--ink); color: var(--cream); font: 600 13px var(--body); }

/* 5: a friend joins through the card */
.wallet-open, .join, .details, .wallet-list { display: grid; gap: 12px; align-content: start; }
.wo-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #8a8278; }
.wo-top b { color: #141316; }
.wo-hint { margin: 0; text-align: center; font-size: 11px; color: var(--ember); font-weight: 600; }
.beam { position: absolute; z-index: 2; left: 50%; top: 18%; width: 96px; margin-left: -48px; color: var(--ember); }
.jn-k { margin: 8px 0 0; text-align: center; font-size: 12px; color: #8a8278; }
.jn-h { margin: -8px 0 0; text-align: center; font: 700 20px/1.2 var(--display); letter-spacing: -0.02em; }
.jn-field { padding: 10px 12px; border-radius: 10px; background: #f0ebe1; color: #9a9184; font-size: 12px; }
.jn-ref { margin: 0; text-align: center; font-size: 11px; color: var(--ember); font-weight: 600; }
.join .card-host.mini { zoom: .5; }

/* 6: the dashboard */
.dash { width: min(460px, 100%); padding: 0 24px 24px; border-radius: 20px; background: var(--white); box-shadow: 0 30px 50px -30px rgba(40, 28, 10, .45); display: grid; gap: 24px; }
.dash .win-bar { margin: 0 -24px; padding: 0 16px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dash-kpis div { display: grid; gap: 4px; }
.dash-kpis span { font-size: 12px; color: var(--ink-2); }
.dash-kpis b { font: 700 26px/1 var(--display); letter-spacing: -0.03em; }
.dash-kpis em { font-style: normal; font-size: 12px; font-weight: 600; color: #2f9e55; }
.dash-chart p { margin: 0 0 12px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.dash .bars { height: 160px; padding: 0; box-shadow: none; background: none; gap: 12px; }
.dash .bars i { height: var(--h); }

/* 7: the Wallet app */
.wl-head { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.wl-head b { font: 700 24px/1 var(--display); letter-spacing: -0.03em; }
.wl-btns { display: flex; gap: 6px; } .wl-btns i { width: 24px; height: 24px; border-radius: 50%; background: #eeeae3; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.wl-stack { display: grid; }
.wl-bar { display: flex; justify-content: space-between; height: 44px; margin-bottom: -10px; padding: 10px 12px; border-radius: 10px; font: 600 11.5px var(--body); box-shadow: 0 -2px 6px rgba(0, 0, 0, .08); position: relative; }
.wl-bar small { font-size: 10px; opacity: .8; }
.wl-stack .card-host { position: relative; zoom: .62; width: 340px; }

/* 8: the card's own settings, with "delete" */
.dt-group { border-radius: 12px; background: #fff; overflow: hidden; }
.dt-group div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px; font-size: 12.5px; }
.dt-group div + div { border-top: 1px solid #efe9de; }
.dt-group span { color: #8a8278; }
.dt-group .danger { color: #e0352b; justify-content: center; font-weight: 600; }
.details .wo-top { margin-bottom: 8px; }
.trust-badges { position: absolute; right: calc(50% - 230px); top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.trust-badges span { padding: 10px 14px; border-radius: 99px; background: var(--white); font: 500 13px/1 var(--body); box-shadow: 0 10px 22px -14px rgba(60, 40, 20, .5); }

/* motion: calm loops, only when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
  .scanline { animation: scan 2.4s ease-in-out infinite; }
  @keyframes scan { 0%, 100% { top: 10%; } 50% { top: 88%; } }
  .dots.anim i.next { animation: fill 3.2s ease-in-out infinite; }
  @keyframes fill { 0%, 45% { background: transparent; box-shadow: inset 0 0 0 1.5px #d6c9b4; transform: scale(1); } 55% { background: #8e6450; box-shadow: none; transform: scale(1.25); } 65%, 92% { background: #8e6450; box-shadow: none; transform: scale(1); } 100% { background: transparent; box-shadow: inset 0 0 0 1.5px #d6c9b4; } }
  .scene .plus-one { animation: pop 3.2s ease-in-out infinite; }
  @keyframes pop { 0%, 45% { opacity: 0; transform: translateY(8px) scale(.7); } 55% { opacity: 1; transform: translateY(0) scale(1.08); } 65%, 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translateY(-8px) scale(.9); } }
  .ip-notes.anim .note:first-child { animation: slide 5s ease-in-out infinite; }
  @keyframes slide { 0%, 12% { opacity: 0; transform: translateY(-14px) scale(.96); } 22%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
  .caret { animation: blink 1s steps(1) infinite; }
  @keyframes blink { 50% { opacity: 0; } }
  .dash .bars i { height: 0; transition: height .9s var(--ease) var(--d); }
  .how-visual.in .dash .bars i { height: var(--h); }
  .wo-hint { animation: glow 2.4s ease-in-out infinite; }
  @keyframes glow { 50% { opacity: .45; } }
}

@media (max-width: 900px) {
  body.howpage .how-visual { min-height: 0; padding: 32px 16px; }
  .iphone { width: 208px; padding: 8px; border-radius: 38px; }
  .ip-screen { height: 416px; border-radius: 31px; padding: 40px 10px 14px; }
  .iphone .card-host.mini, .wl-stack .card-host { zoom: .54; }
  .scene.two .iphone.back { transform: translate(16px, -16px) rotate(-4deg); }
  .scene.two .iphone.front { transform: translate(-16px, 16px); }
  .scene.two .iphone { width: 168px; } .scene.two .ip-screen { height: 340px; }
  .scene.two .iphone .card-host.mini { zoom: .43; }
  .compose { width: 190px; padding: 0 12px 12px; transform: translate(12px, -20px); }
  .compose .win-bar { margin: 0 -12px; }
  .trust-badges { position: static; transform: none; margin-left: 12px; }
  .scene .plus-one { right: calc(50% - 128px); }
}

/* fit: cards sit inside the screen with 12px on each side; nothing touches an edge */
.ip-screen > *, .sheet > *, .wallet-open > *, .join > *, .wallet-list > *, .wl-stack > * { min-width: 0; }
.iphone .card-host.mini, .wl-stack .card-host { zoom: .57; width: 340px; max-width: none; justify-self: center; }
.join .card-host.mini { zoom: .46; }
.scene.two:has(.compose) { gap: 24px; }
.scene.two:has(.compose) .iphone.front { transform: translateY(24px); }
.compose { transform: translateY(-24px); }
.trust-badges { right: calc(50% - 268px); }
@media (max-width: 900px) {
  .iphone .card-host.mini, .wl-stack .card-host { zoom: .5; }
  .scene.two .iphone .card-host.mini { zoom: .4; }
  .join .card-host.mini { zoom: .36; }
  .scene.two:has(.compose) { flex-direction: column; gap: 16px; }
  .scene.two:has(.compose) .iphone.front, .compose { transform: none; }
  .compose { width: min(300px, 100%); padding: 0 16px 16px; }
  .compose .win-bar { margin: 0 -16px; }
}
html { text-size-adjust: 100%; }
.refer-scene { gap: 40px; }
.refer-scene .iphone.back { transform: translateY(-20px) rotate(-3deg); }
.refer-scene .iphone.front { transform: translateY(20px); }
.refer-scene .beam { top: 30%; width: 72px; margin-left: -36px; }
@media (max-width: 900px) {
  .refer-scene { gap: 0; }
  .refer-scene .iphone.back { transform: translate(16px, -16px) rotate(-4deg); }
  .refer-scene .iphone.front { transform: translate(-16px, 16px); }
  .scene.two .ip-island { width: 56px; margin-left: -28px; height: 18px; }
  .scene.two .ip-status { font-size: 10px; padding: 6px 14px 0 18px; }
  .scene.two .ip-screen { padding: 34px 8px 12px; gap: 8px; }
}
.scene.two.refer-scene { gap: 40px; }
.scene.two.refer-scene .iphone.back { transform: translateY(-20px) rotate(-3deg); }
.scene.two.refer-scene .iphone.front { transform: translateY(20px); }
/* small screens: the same phones, scaled as a whole, so text and spacing keep their proportions */
@media (max-width: 900px) {
  .iphone, .scene.two .iphone { width: 236px; padding: 9px; border-radius: 44px; }
  .ip-screen, .scene.two .ip-screen { height: 470px; border-radius: 36px; padding: 44px 12px 16px; gap: 12px; }
  .scene.two .ip-island { width: 74px; height: 22px; margin-left: -37px; }
  .scene.two .ip-status { font-size: 12px; padding: 6px 20px 0 26px; }
  .iphone .card-host.mini, .wl-stack .card-host, .scene.two .iphone .card-host.mini { zoom: .57; }
  .join .card-host.mini { zoom: .46; }
  .scene { zoom: .8; }
  .scene.two { zoom: .66; }
  .scene.two:has(.compose) { zoom: .8; }
  .scene.two.refer-scene { gap: 0; }
  .scene.two .iphone.back, .scene.two.refer-scene .iphone.back { transform: translate(24px, -24px) rotate(-4deg); }
  .scene.two .iphone.front, .scene.two.refer-scene .iphone.front { transform: translate(-24px, 24px); }
  .compose { width: 300px; padding: 0 20px 20px; } .compose .win-bar { margin: 0 -20px; }
  .trust-badges { margin-left: 16px; } .trust-badges span { white-space: nowrap; }
  .scene .plus-one { right: calc(50% - 150px); }
}

/* an answer for people who ask for less transparency or more contrast */
@media (prefers-reduced-transparency: reduce) {
  .ind-chips { background: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .note { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .ind-chips { background: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 var(--ink); }
  .note-top span { color: var(--ink-2); }
}

/* the cookie choice for Google Analytics (public/consent.js): a card at the bottom, both answers equally easy */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; padding: 18px 20px; border-radius: 22px; background: #fffdf8; color: #17161a; box-shadow: 0 18px 50px rgba(20,18,14,.22), 0 0 0 1px rgba(20,18,14,.06); font-size: 15px; line-height: 1.5; }
.consent p { margin: 0 0 14px; }
.consent a { color: inherit; text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.consent-actions .btn { flex: 1 1 140px; justify-content: center; }
