/* plinget.no: ink on warm paper, hairline borders, one accent (mark and links). No fonts or scripts from elsewhere. */
:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --sand: #f4f2ed;
  --ink: #0f1d1e;
  --ink-2: #33403f;
  --muted: #5d6867;
  --line: #e5e2db;
  --line-2: #efece6;
  --accent: #1f6f73;
  --accent-ink: #155457;
  --btn-bg: #0f1d1e;
  --btn-fg: #fbfaf7;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111413;
    --surface: #181c1b;
    --sand: #1d2220;
    --ink: #ece9e1;
    --ink-2: #c9c6bd;
    --muted: #98a09c;
    --line: #2b312f;
    --line-2: #232927;
    --accent: #6bb3b0;
    --accent-ink: #8fcfcb;
    --btn-bg: #ece9e1;
    --btn-fg: #111413;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
code, pre, .mono { font-family: var(--mono); }
code { font-size: .88em; }
h1, h2, h3 { color: var(--ink); font-weight: 600; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem .8rem; z-index: 10; }
.skip:focus { left: .5rem; top: .5rem; }

/* Nav */
.nav { display: flex; align-items: center; gap: 1.6rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.15rem;
  letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav .sp { flex: 1; }
.nav a:not(.btn):not(.brand) { color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 500; }
.nav a:not(.btn):not(.brand):hover { color: var(--ink); }
.nav .links { display: flex; gap: 1.5rem; }

/* Buttons: ink primary, hairline secondary */
.btn { display: inline-block; padding: .72rem 1.2rem; border-radius: 8px; border: 1px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-size: .98rem; font-weight: 600;
  line-height: 1.3; text-align: center; text-decoration: none; }
.btn:hover { color: var(--btn-fg); opacity: .88; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { color: var(--ink); border-color: var(--ink-2); opacity: 1; }
.btn.sm { padding: .45rem .85rem; font-size: .9rem; }
.row { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }

/* Kickers */
.kicker { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: .9rem; }

/* Hero */
.hero { padding-top: clamp(3.5rem, 9vw, 6.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); line-height: 1.05; letter-spacing: -.035em; max-width: 17em; margin-bottom: 1.4rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--ink-2); line-height: 1.55; max-width: 38rem; }
.hero .who { color: var(--muted); max-width: 38rem; margin: 1rem 0 2rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0;
  list-style: none; border-top: 1px solid var(--line); }
.facts li { padding: 1.1rem 1.2rem 0 0; font-size: .92rem; color: var(--ink-2); }
.facts b { display: block; font-weight: 600; color: var(--ink); }

/* Sections */
.sec { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--line); }
.sec h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.15; letter-spacing: -.025em; max-width: 24em; }
.sec-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head p { color: var(--ink-2); margin-top: 1rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.steps li { padding: 1.6rem 1.5rem; }
.steps li + li { border-left: 1px solid var(--line); }
.steps .n { display: block; font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-bottom: .8rem; }
.steps h3 { font-size: 1.08rem; letter-spacing: -.01em; margin-bottom: .45rem; }
.steps p { color: var(--ink-2); font-size: .98rem; }

/* Product shots */
.fig { margin: 0; min-width: 0; }
.fig figcaption { margin-top: .9rem; font-size: .9rem; color: var(--muted); max-width: 36rem; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.pane { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; min-width: 0; }
.pane-head { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; background: var(--sand);
  border-bottom: 1px solid var(--line-2); font-size: .76rem; color: var(--muted); }
.pane-head b { font-weight: 600; color: var(--ink-2); letter-spacing: .08em; text-transform: uppercase; }
.pane-head .mono { font-size: .76rem; }
.pane pre { margin: 0; padding: 1.1rem 1rem 1.2rem 1rem; overflow-x: auto; font-size: .8rem; line-height: 1.62; color: var(--ink-2); tab-size: 2; }
.pane pre code { font-size: inherit; }
.pane .k { color: var(--ink); }
.pane .s { color: var(--accent-ink); }
.pane .c { color: var(--muted); }

.col { display: grid; gap: 2.5rem; min-width: 0; }
.phonefig { padding-top: .5rem; }
.phonefig figcaption { text-align: center; margin-left: auto; margin-right: auto; }

/* Phone lock screen: always dark, like the real thing */
.phone { width: 292px; max-width: 100%; margin: 0 auto; padding: 14px; border-radius: 44px; background: #0d1413;
  border: 1px solid var(--line); }
.screen { border-radius: 32px; background: #1f2928; padding: 2.2rem 1rem 1.6rem; color: #f2f0ea; min-height: 390px; }
.screen .date { text-align: center; font-size: .86rem; color: #c9d1ce; }
.screen .time { text-align: center; font-size: 3.6rem; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 2.2rem; }
.notif { background: #3a4442; border-radius: 18px; padding: .8rem .9rem .9rem; }
.notif .top { display: flex; align-items: center; gap: .45rem; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: #c9d1ce; margin-bottom: .45rem; }
.notif .ico { width: 18px; height: 18px; border-radius: 5px; background: #8fcfcb; flex: none; display: grid; place-items: center; }
.notif .ico svg { width: 11px; height: 11px; }
.notif .top .now { margin-left: auto; text-transform: none; letter-spacing: 0; font-size: .72rem; }
.notif b { display: block; font-size: .95rem; font-weight: 600; margin-bottom: .15rem; }
.notif p { font-size: .9rem; line-height: 1.4; color: #f2f0ea; }

/* Status timeline */
.callfig { margin-bottom: 1.5rem; }
.status { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 1.3rem 1.4rem 1.4rem; }
.status h3 { font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 1.2rem; }
.tl-pair { display: grid; gap: 1.6rem; }
.tl-name { font-weight: 600; font-size: .95rem; margin-bottom: .9rem; }
.tl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.tl li { position: relative; padding-top: 1.5rem; font-size: .88rem; line-height: 1.4; padding-right: .6rem; }
.tl li::before { content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--muted); }
.tl li::after { content: ""; position: absolute; top: 5px; left: 15px; right: 4px; height: 1px; background: var(--line); }
.tl li:last-child::after { display: none; }
.tl li:last-child::before { background: var(--accent); border-color: var(--accent); }
.tl code { display: block; font-size: .84rem; color: var(--ink); font-weight: 600; }
.tl span { display: block; color: var(--muted); }
.tl time { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.status .note { margin-top: 1.3rem; font-size: .88rem; color: var(--muted); }
.status .note code { color: var(--ink-2); }

/* Feature list */
.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 5vw, 4rem); margin: 0; padding: 0; list-style: none; }
.feat li { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.feat h3 { font-size: 1.04rem; letter-spacing: -.01em; margin-bottom: .35rem; }
.feat p { color: var(--ink-2); font-size: .98rem; }
.soon { margin-top: 2.2rem; padding: 1rem 0 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .98rem; }
.soon .kicker { display: inline; margin: 0 .6rem 0 0; color: var(--muted); }

/* Data */
.where { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.where li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 1.1rem 1.4rem; }
.where li + li { border-top: 1px solid var(--line); }
.where .what { font-weight: 600; }
.where .who2 { color: var(--ink-2); }
.where .who2 small { display: block; color: var(--muted); font-size: .88rem; margin-top: .1rem; }
.fine { margin-top: 1.6rem; max-width: 44rem; color: var(--ink-2); font-size: .98rem; }
.fine + .fine { margin-top: .7rem; }

/* FAQ */
.faq { max-width: 46rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 1rem; font-weight: 400; font-size: 1.3rem; color: var(--muted); line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 2rem 1.3rem 0; color: var(--ink-2); }

/* Closing */
.closing h2 { max-width: 20em; }
.closing .lead { margin: 1rem 0 1.8rem; }
.mailto { font-family: var(--mono); font-size: .95rem; margin-top: 1.2rem; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 2.2rem 0 3rem; font-size: .9rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; }
.foot a { color: var(--ink-2); }

/* 404 */
.nf { padding-top: clamp(4rem, 12vw, 8rem); padding-bottom: clamp(4rem, 12vw, 8rem); }
.nf h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.nf p { color: var(--ink-2); margin-bottom: 1.8rem; }

@media (max-width: 900px) {
  .pair { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .col { display: contents; }
  .respfig { order: 1; }
  .phonefig { order: 2; }
  .status { order: 3; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .nav .links { display: none; }
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .feat { grid-template-columns: 1fr; }
  .where li { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 480px) {
  .tl { grid-template-columns: 1fr; }
  .tl li { padding: 0 0 1.1rem 1.7rem; }
  .tl li:last-child { padding-bottom: 0; }
  .tl li::after { top: 14px; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding-right: 0; }
  .nav .btn { margin-left: auto; }
  .nav .sp { display: none; }
}
@media print { .nav .btn, .skip { display: none; } }
