/* Panelift. The site is built out of windows, and it's honest about the bag. */
:root {
  color-scheme: light;
  --ground: #F7F5F0; --ground-2: #EDEAE2; --ink: #111114; --ink-2: rgba(17,17,20,.72);
  --hair: rgba(17,17,20,.14); --link: #0A5CC2; --card: #FFFFFF;
  --signal: #0A84FF; --chrome: #16161A;
  --head: "Schibsted Grotesk", "Familjen Grotesk", -apple-system, "Helvetica Neue", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --g: 40px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #0B0B0E; --ground-2: #121216; --ink: #FFFFFF; --ink-2: rgba(235,235,245,.72);
    --hair: rgba(255,255,255,.1); --link: #7DBBFF; --card: #16161A;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0B0B0E; --ground-2: #121216; --ink: #FFFFFF; --ink-2: rgba(235,235,245,.72);
  --hair: rgba(255,255,255,.1); --link: #7DBBFF; --card: #16161A;
}
/* Two fixed grounds that hold in either theme: the app's night and the luggage-tag paper. */
.s-night { --ground: #0B0B0E; --ground-2: #121216; --ink: #FFFFFF; --ink-2: rgba(235,235,245,.72); --hair: rgba(255,255,255,.1); --link: #7DBBFF; --card: #16161A; color-scheme: dark; }
.s-paper { --ground: #F1EEE7; --ground-2: #E6E2D8; --ink: #141416; --ink-2: rgba(20,20,22,.76); --hair: rgba(20,20,22,.18); --link: #0A5CC2; --card: #FBF9F4; color-scheme: light; }
.s-alt { background: var(--ground-2) !important; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
img[loading="lazy"] { background: var(--ground-2); }
a { color: var(--link); text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-weight: 700; font-size: clamp(2.75rem, 8.6vw, 7.6rem); line-height: .96; letter-spacing: -.035em; }
h1.m { font-size: clamp(2.5rem, 6.4vw, 5.6rem); line-height: 1; }
h2 { font-weight: 700; font-size: clamp(2rem, 4.8vw, 4rem); line-height: 1.02; letter-spacing: -.028em; }
h3 { font-weight: 650; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.012em; }
p { margin: 0 0 1em; color: var(--ink-2); }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: max(var(--g), env(safe-area-inset-left)) max(var(--g), env(safe-area-inset-right)); }
section, .sec { padding-block: clamp(64px, 9vw, 136px); background: var(--ground); color: var(--ink); }
.tight { padding-block: clamp(48px, 6vw, 88px); }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.42; color: var(--ink-2); max-width: 34em; }
.mono { font-family: var(--mono); font-size: .8125rem; }
.kicker, figcaption, .note { font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.kicker { display: block; margin-bottom: 18px; }
.note { margin-top: 18px; max-width: 62ch; }
figure { margin: 0; }
figcaption { margin-top: 14px; max-width: 64ch; }
.head { max-width: 56rem; margin-bottom: clamp(32px, 4.5vw, 64px); }
.head p { margin-top: 18px; font-size: 1.15rem; max-width: 40em; }
.body-cap { max-width: 38em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ground); padding: 8px 14px; border-radius: 8px; z-index: 30; }
.skip:focus { left: 12px; }

/* Header: a window title strip */
.bar { position: sticky; top: 0; z-index: 20; background: #16161A; border-bottom: 1px solid rgba(255,255,255,.08); }
.bar-in { display: flex; align-items: center; gap: 22px; min-height: 56px; }
.brand { min-height: 44px; display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 1.0625rem var(--head); letter-spacing: -.02em; margin-right: auto; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.navlinks { display: flex; align-items: center; gap: 22px; }
.navlinks a { color: rgba(235,235,245,.78); text-decoration: none; font-size: .875rem; padding-block: 12px; }
.navlinks a:hover, .navlinks a[aria-current] { color: #fff; }
.navlinks a[aria-current] { box-shadow: 0 2px 0 var(--signal); }
.bar .btn { min-height: 44px; padding: 8px 14px; font-size: .875rem; background: #fff; color: #0B0B0E; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; color: #fff; font-size: .9375rem; padding: 12px 8px; min-height: 44px; display: flex; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 100%; width: 220px; background: #16161A; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 8px; display: grid; }
.menu nav a { color: #fff; text-decoration: none; padding: 12px; font-size: .9375rem; border-radius: 8px; }
.menu nav a:hover { background: rgba(255,255,255,.08); }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--ground); font: 650 1rem var(--head); letter-spacing: -.01em; padding: 13px 20px; border-radius: 10px; text-decoration: none; border: 0; }
.btn:hover { opacity: .86; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); background: transparent; opacity: 1; }
.btn[disabled] { background: var(--ground-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hair); cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.textlink a { display: inline-block; padding-block: 12px; font-weight: 500; }

.draft { background: var(--ground-2); color: var(--ink); border-bottom: 1px solid var(--hair); font-weight: 600; font-size: .875rem; padding: 10px 0; }

/* Frames */
.dev { background: #050506; padding: 1.5%; border-radius: clamp(14px, 2.2vw, 30px); box-shadow: 0 0 0 1px rgba(127,127,135,.35); }
.dev img { width: 100%; border-radius: clamp(8px, 1.3vw, 18px); }
.dev.phone { padding: 3%; border-radius: clamp(24px, 3.6vw, 42px); }
.dev.phone img { border-radius: clamp(18px, 2.8vw, 34px); }
.win { background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair); }
.win-bar { font: 650 1.0625rem/1.25 var(--head); letter-spacing: -.01em; color: var(--ink); padding: clamp(18px, 2.2vw, 28px) clamp(18px, 2.2vw, 28px) 0; }
.win-body { padding: 10px clamp(18px, 2.2vw, 28px) clamp(18px, 2.2vw, 28px); }
.win-body > :last-child { margin-bottom: 0; }
.win h3 { margin-bottom: 8px; }
.photo { width: 100%; border-radius: 14px; }
.bleed { position: relative; background: #000; }
.bleed > img { width: 100%; max-height: 92vh; object-fit: cover; border-radius: 0; }
.over { position: absolute; left: 0; right: 0; bottom: 0; padding-block: clamp(32px, 7vw, 96px) clamp(24px, 4vw, 56px); background: linear-gradient(transparent, rgba(0,0,0,.6) 28%, rgba(0,0,0,.9) 72%); --ink: #fff; --ground: #0B0B0E; --ink-2: rgba(235,235,245,.78); --link: #7DBBFF; --hair: rgba(255,255,255,.2); }
.over h2, .over p { color: #fff; }

/* Layout */
.split { display: grid; gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; }
  .split.rev { grid-template-columns: 7fr 5fr; }
  .split.even { grid-template-columns: 1fr 1fr; }
  .split.top { align-items: start; }
  .tall { max-width: 460px; justify-self: center; width: 100%; }
}
.tall { max-width: 420px; margin-inline: auto; width: 100%; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vw, 24px); align-items: start; }
.pair > * { min-width: 0; }
.three { display: grid; gap: clamp(20px, 3vw, 40px); }
@media (min-width: 800px) { .three { grid-template-columns: repeat(3, 1fr); } .four-w { grid-template-columns: 1fr 1fr; } }
.stack-g { display: grid; gap: clamp(16px, 2vw, 24px); }
.spec { border-top: 1px solid var(--hair); padding-top: 16px; }
.spec h3 { margin-bottom: 6px; }

/* Hero */
.hero { background: var(--ground); padding-block: clamp(32px, 6vw, 88px) clamp(48px, 6vw, 96px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(20px, 3vw, 48px); margin-top: clamp(18px, 3vw, 48px); align-items: start; grid-template-areas: "text" "demo" "photo"; }
.hero-grid > * { min-width: 0; }
.hg-text { grid-area: text; } .hg-demo { grid-area: demo; } .hg-photo { grid-area: photo; }
h1.two span { display: block; }
.hero-body { margin: 10px 0 0; }
.hero .actions { margin-top: 20px; }
.hero .note { margin-top: 12px; }
@media (max-width: 640px) { .hero .btn { padding: 11px 14px; font-size: .9375rem; } h1 { font-size: 2.6rem; } h1.two { font-size: 2.3rem; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 4fr 8fr; grid-template-rows: auto 1fr; grid-template-areas: "text demo" "photo demo"; }
}
/* One play: tile opens to the window, then the window gives way to a Free layout. JS replays it on scroll; without JS it runs once. */
.demo { position: relative; }
.demo > img { position: absolute; left: 1.5%; top: 2.26%; width: 97%; opacity: 0; border-radius: clamp(8px, 1.3vw, 18px); }
.demo > img:nth-of-type(1) { animation: tile 1.5s 1s cubic-bezier(.3,.7,.2,1) 1 both; }
.demo > img:nth-of-type(2) { animation: free .9s 3.6s ease 1 both; }
.js .demo:not(.play) > img { animation: none; }
@keyframes tile {
  0%   { opacity: 0; clip-path: inset(15.5% 75% 61.5% 2.5% round 10px); }
  12%  { opacity: 1; clip-path: inset(15.5% 75% 61.5% 2.5% round 10px); }
  100% { opacity: 1; clip-path: inset(0 0 0 0 round 16px); }
}
@keyframes free { from { opacity: 0; } to { opacity: 1; } }
.cols2 { display: grid; gap: 0 clamp(28px, 4vw, 64px); max-width: 72rem; }
@media (min-width: 800px) { .cols2 { grid-template-columns: 1fr 1fr; } }
.four-up { display: grid; gap: clamp(20px, 3vw, 40px); }
@media (min-width: 800px) { .four-up { grid-template-columns: 1fr 1fr; } }
.rt-text { max-width: 44rem; margin-bottom: clamp(16px, 2.4vw, 28px); }
.rt-text h3 { font-size: 1.75rem; margin-bottom: 10px; }

/* One tap, from target to full screen */
.crop { position: relative; }
.tap { position: absolute; left: var(--x); top: var(--y); width: clamp(36px, 5vw, 64px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid var(--signal); background: rgba(10,132,255,.22); box-shadow: 0 0 0 4px rgba(11,11,14,.35); }
.pick { display: grid; gap: 10px; align-items: center; }
.pick > * { min-width: 0; }
.pick-l { display: grid; gap: 10px; }
.pick-l.pair { align-items: start; }
@media (max-width: 640px) { .pick-l.pair, figure .pair { grid-template-columns: 1fr; } }
.pick-a { display: flex; flex-direction: column; align-items: center; font: 650 1rem var(--head); color: var(--ink); text-align: center; }
.pick-a::after { content: "\2193"; color: var(--signal); font-size: 1.5rem; line-height: 1.2; }
@media (min-width: 900px) {
  .pick { grid-template-columns: 1fr auto 1fr; gap: 18px; }
  .pick-a::after { content: "\2192"; }
}
@media (max-width: 640px) { .tap { left: var(--mx); top: var(--my); } }

/* Slider. Without JS the two images sit side by side. */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cmp figure { min-width: 0; }
.cmp input { display: none; }
.js .cmp { display: block; position: relative; --p: 50%; }
.js .cmp .b { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--p)); }
.js .cmp .dev { border-radius: clamp(14px, 2.2vw, 30px); }
.js .cmp figcaption { position: absolute; bottom: 14px; margin: 0; background: rgba(0,0,0,.72); color: #fff; padding: 4px 8px; border-radius: 6px; }
.js .cmp .a figcaption { left: 3%; }
.js .cmp .b figcaption { right: 3%; }
.js .cmp input { display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.js .cmp .grip { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; background: var(--signal); pointer-events: none; }
.js .cmp .grip::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--signal); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; }
.js .cmp input:focus-visible ~ .grip::after { outline: 2px solid #fff; outline-offset: 3px; }
.cmp .grip { display: none; }
.js .cmp .grip { display: block; }

/* Who it's for, and the key row: radio tabs, no JS needed */
.rt > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rt-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 3vw, 36px); }
.rt-tabs label { cursor: pointer; font-weight: 500; font-size: .9375rem; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--hair); color: var(--ink); }
.rt-tabs label:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.rt-p { display: none; }
.rt > input:nth-of-type(1):checked ~ .rt-tabs label:nth-child(1),
.rt > input:nth-of-type(2):checked ~ .rt-tabs label:nth-child(2),
.rt > input:nth-of-type(3):checked ~ .rt-tabs label:nth-child(3),
.rt > input:nth-of-type(4):checked ~ .rt-tabs label:nth-child(4),
.rt > input:nth-of-type(5):checked ~ .rt-tabs label:nth-child(5) { background: var(--ink); color: var(--ground); box-shadow: none; }
.rt > input:nth-of-type(1):focus-visible ~ .rt-tabs label:nth-child(1),
.rt > input:nth-of-type(2):focus-visible ~ .rt-tabs label:nth-child(2),
.rt > input:nth-of-type(3):focus-visible ~ .rt-tabs label:nth-child(3),
.rt > input:nth-of-type(4):focus-visible ~ .rt-tabs label:nth-child(4),
.rt > input:nth-of-type(5):focus-visible ~ .rt-tabs label:nth-child(5) { outline: 2px solid var(--signal); outline-offset: 3px; }
.rt > input:nth-of-type(1):checked ~ .rt-p:nth-of-type(2),
.rt > input:nth-of-type(2):checked ~ .rt-p:nth-of-type(3),
.rt > input:nth-of-type(3):checked ~ .rt-p:nth-of-type(4),
.rt > input:nth-of-type(4):checked ~ .rt-p:nth-of-type(5),
.rt > input:nth-of-type(5):checked ~ .rt-p:nth-of-type(6) { display: block; }

/* Key row */
.keys { display: flex; flex-wrap: wrap; gap: 6px; }
.keys span { font: 400 .8125rem var(--mono); padding: 8px 10px; border-radius: 7px; background: var(--card); box-shadow: 0 0 0 1px var(--hair); color: var(--ink); }
.keys .s { background: var(--ink); color: var(--ground); }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--hair); color: var(--ink-2); }
.tbl thead th { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.tbl tbody th { color: var(--ink); font-weight: 600; }
.tbl .n { font-family: var(--mono); font-size: .9375rem; }
@media (max-width: 680px) {
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl tbody tr { padding: 14px 0; border-bottom: 1px solid var(--hair); }
  .tbl tbody th, .tbl tbody td { padding: 2px 0; border: 0; }
  .tbl td[data-l]::before { content: attr(data-l) ": "; font-size: .8125rem; color: var(--ink-2); }
}

/* Honest list and other big lists */
.big { list-style: none; display: grid; gap: 0; counter-reset: b; max-width: 66rem; }
.big li { border-top: 1px solid var(--hair); padding-block: clamp(16px, 2vw, 26px); display: grid; gap: 4px 28px; color: var(--ink-2); font-size: 1.125rem; }
@media (min-width: 800px) { .big li { grid-template-columns: 22rem 1fr; } }
.big strong { font: 650 clamp(1.25rem, 2vw, 1.6rem)/1.15 var(--head); letter-spacing: -.015em; }
.plain { list-style: none; display: grid; gap: 10px; }
.plain li { padding-left: 18px; position: relative; color: var(--ink-2); }
.plain li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--ink-2); }
.tag { background: var(--card); border-radius: 14px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 0 0 1px var(--hair); }
.tag h3 { font: 500 .9375rem var(--body); color: var(--ink-2); margin-bottom: 16px; }
.tag ul { list-style: none; display: grid; gap: 4px; }
.tag li { font: 650 clamp(1.25rem, 2.2vw, 1.75rem)/1.2 var(--head); letter-spacing: -.018em; color: var(--ink); }
.tag.dim li { color: var(--ink-2); }
.tag.soft ul { gap: 8px; }
.tag.soft li { font: 400 1.0625rem/1.45 var(--body); letter-spacing: 0; color: var(--ink); }

/* Steps and time */
.steps { list-style: none; counter-reset: s; display: grid; gap: clamp(20px, 3vw, 36px); }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; gap: 0 14px; }
.steps > li::before { content: counter(s); font: 700 clamp(1.75rem, 3vw, 2.5rem)/1 var(--head); color: var(--ink); }
.steps > li > * { grid-column: 2; }
.steps h3 { margin-bottom: 6px; }
.t-time { font: 650 1rem var(--head); color: var(--link); display: block; margin-bottom: 8px; }
.day { padding-block: clamp(40px, 6vw, 88px); border-top: 1px solid var(--hair); }

/* Diagram */
.diagram { display: grid; gap: 22px; }
.d-top { position: relative; z-index: 1; background: var(--ground); justify-self: center; text-align: center; padding: 12px 18px; border-radius: 10px; border: 1px dashed var(--hair); font-size: .875rem; color: var(--ink-2); max-width: 30rem; }
.d-top strong { display: block; font-family: var(--head); font-size: 1rem; }
.d-row { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
/* the thin dotted introductions, from the connection service down to each device */
.d-row::before { content: ""; position: absolute; left: clamp(26px, 5vw, 44px); right: clamp(26px, 5vw, 44px); bottom: 100%; height: 56px; border: 1px dashed var(--ink-2); border-bottom: 0; opacity: .6; }
.node { background: #16161A; color: #fff; font: 650 clamp(.95rem, 2vw, 1.25rem) var(--head); padding: clamp(14px, 2.4vw, 28px) clamp(12px, 2.6vw, 34px); border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); text-align: center; }
.line { position: relative; text-align: center; font-size: .875rem; line-height: 1.35; color: var(--ink); padding-bottom: 12px; border-bottom: 5px solid var(--signal); min-width: 0; }

/* FAQ */
.faq-group { display: grid; gap: 14px 48px; padding-block: 28px; border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .faq-group { grid-template-columns: 14rem 1fr; } }
.faq-group h2 { font-size: 1.5rem; letter-spacing: -.02em; }
details.q { border-bottom: 1px solid var(--hair); }
details.q:last-child { border-bottom: 0; }
details.q summary { cursor: pointer; font: 600 1.125rem/1.3 var(--head); padding: 14px 0; color: var(--ink); }
details.q > div { padding-bottom: 16px; max-width: 46em; color: var(--ink-2); }

.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.2em 0 .5em; }
.prose ul { margin-bottom: 1em; }

/* Footer */
footer { background: #16161A; color: rgba(235,235,245,.72); padding-block: clamp(40px, 5vw, 72px) 32px; --link: #fff; }
.foot { display: grid; gap: 32px; }
@media (min-width: 800px) { .foot { grid-template-columns: 2fr 1fr 1fr 1fr; } }
footer .ft { font-size: .8125rem; color: rgba(235,235,245,.6); margin-bottom: 12px; }
footer ul { list-style: none; display: grid; gap: 8px; }
footer a { color: #fff; text-decoration: none; font-size: .9375rem; }
footer a:hover { text-decoration: underline; }
footer p { color: rgba(235,235,245,.72); }
.foot-note { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8125rem; line-height: 1.6; }
.foot-note p { margin: 0 0 4px; }

@media (max-width: 960px) {
  .navlinks { display: none; }
  .menu { display: block; }
}
@media (max-width: 760px) {
  /* the words outgrow a short photo on a phone, so they sit under it */
  .over { position: static; background: #0B0B0E; padding-top: 28px; }
}
@media (max-width: 640px) {
  :root { --g: 16px; }
  .bar .btn { padding: 8px 12px; font-size: .875rem; }
  footer ul { gap: 0; }
  footer ul a { display: block; padding-block: 11px; }
  .bar-in { gap: 10px; }
  body { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo > img { animation: none !important; opacity: 0; }
  .demo > img:nth-of-type(2) { opacity: 1; }
}
