@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Brand blue is the 2013 BuzzGlobe blue. Yellow is the highlighter that marks what you searched for. */
:root {
  --mist: #E8F1F7;
  --paper: #FFFFFF;
  --ink: #062A40;
  --muted: #46606F;
  --line: #C3D6E3;
  --sky: #00A1F1;
  --link: #005F91;
  --hl: #FFE45C;
  --bar: #062A40;
  --bar-text: #FFFFFF;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --mist: #071A27;
    --paper: #0D2536;
    --ink: #E4EFF6;
    --muted: #9FB6C5;
    --line: #23455B;
    --link: #7FD3FF;
    --hl: #8A7414;
    --bar: #00A1F1;
    --bar-text: #062A40;
    color-scheme: dark;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

mark {
  color: inherit;
  background: linear-gradient(transparent 55%, var(--hl) 55%, var(--hl) 92%, transparent 92%);
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.05em 0.35em;
  white-space: nowrap;
}

h1, h2, h3 {
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}

h2 {
  font-size: 1.6rem;
  font-weight: 800;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 16px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 8px;
  top: -80px;
  background: var(--ink);
  color: var(--mist);
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 10;
}

.skip:focus {
  top: 8px;
}

/* Header */

.top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.mark {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 0.97rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* Hero and search */

.hero {
  padding: 28px 0 32px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.5rem, 7.2vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 19ch;
  margin-bottom: 0.35em;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 3.8rem);
  max-width: 18ch;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 1.5em;
}

.has-q .hero {
  padding: 8px 0 20px;
}

.has-q .hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  max-width: none;
}

.has-q .lede {
  display: none;
}

.search {
  max-width: 46rem;
}

.search-row {
  display: flex;
}

.search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 58px;
  padding: 0 18px;
  font: inherit;
  font-size: 1.15rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  -webkit-appearance: none;
  appearance: none;
}

.search input[type="search"]::placeholder {
  color: var(--muted);
  opacity: 1;
}

.search input[type="search"]:focus,
.handle-jump input:focus,
.u-form input:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--hl);
}

.search button,
.handle-jump button,
.u-form button {
  height: 58px;
  padding: 0 24px;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  color: #062A40;
  background: var(--sky);
  border: 2px solid var(--ink);
  border-radius: 0 12px 12px 0;
  cursor: pointer;
}

.search button:hover,
.handle-jump button:hover,
.u-form button:hover {
  background: var(--hl);
}

.images-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
}

.images-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

.tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 2px 6px;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs a {
  flex: 0 0 auto;
  padding: 7px 15px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--paper);
}

.tabs a:hover {
  border-color: var(--ink);
}

.tabs a[aria-current="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--mist);
}

.try {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.97rem;
}

/* Results */

.results {
  padding-bottom: 40px;
}

.wall-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}

.wall-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.wall-hint {
  display: none;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 14px;
}

.wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 16px;
}

.tile {
  background: var(--paper);
  border: 2px solid var(--bar);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px 9px 14px;
  background: var(--bar);
  color: var(--bar-text);
}

.tile-bar h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0;
}

.tile-bar a {
  color: var(--bar-text);
  font-size: 0.85rem;
  white-space: nowrap;
}

.tile-frame {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
  background: var(--paper);
}

.single {
  background: var(--paper);
  border: 2px solid var(--bar);
  border-radius: 10px;
  padding: 16px 4px 4px;
}

.single .wall-title {
  padding: 0 14px;
}

.single-frame {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.partner {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--paper);
  border-left: 6px solid var(--hl);
  border-radius: 6px;
  max-width: 46rem;
}

.partner p {
  margin-bottom: 0.6em;
}

.partner-link {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 6px;
}

.partner-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Reading content */

.prose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 56px;
}

.block {
  padding: 36px 0 8px;
}

.block p,
.block li {
  max-width: 62ch;
}

.steps {
  padding-left: 1.4em;
  margin: 0;
}

.steps li {
  padding-left: 0.3em;
  margin-bottom: 0.9em;
}

.steps li::marker {
  font-weight: 800;
  color: var(--link);
}

.plain {
  padding-left: 1.1em;
  margin: 0 0 1em;
  list-style: square;
}

.plain li {
  margin-bottom: 0.5em;
}

.plain li::marker {
  color: var(--sky);
}

.net-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px 40px;
}

.net-list a {
  font-weight: 700;
  font-size: 1.05rem;
}

.net-list span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 2px;
}

.faq {
  border-bottom: 1px solid var(--line);
  max-width: 50rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 32px 14px 0;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 10px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--link);
}

.faq[open] summary::after {
  content: "\2212";
}

.faq p {
  color: var(--ink);
  margin: 0 0 16px;
}

.since {
  padding-bottom: 48px;
}

/* Network and guide pages */

.page-hero {
  padding: 24px 0 28px;
}

.checked {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: -0.4em;
}

.handle-jump,
.u-form {
  max-width: 34rem;
  margin-top: 8px;
}

.handle-jump .row,
.u-form .row {
  display: flex;
}

.handle-jump input,
.u-form input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-right: 0;
  border-radius: 10px 0 0 10px;
}

.handle-jump button,
.u-form button {
  height: 52px;
  border-radius: 0 10px 10px 0;
  padding: 0 18px;
}

.prefix {
  display: flex;
  align-items: center;
  padding: 0 0 0 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  color: var(--muted);
}

.prefix + input {
  border-left: 0;
  border-radius: 0;
  padding-left: 2px;
}

.cando {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 40px;
}

.cando h3 {
  font-size: 1.1rem;
  margin: 0.4em 0 0.5em;
}

.article {
  max-width: 44rem;
  padding-bottom: 40px;
}

.article h2 {
  margin-top: 1.6em;
}

.article h3 {
  font-size: 1.15rem;
  margin-top: 1.4em;
}

.other-nets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
}

/* Username search */

.u-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 40px;
  padding: 24px 0 8px;
}

.u-group {
  min-width: 0;
}

.u-group h2 {
  font-size: 1.15rem;
  margin: 1em 0 0.4em;
}

.u-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.u-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.u-name {
  font-weight: 700;
  flex: 0 0 auto;
}

.u-url {
  color: var(--muted);
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  text-align: right;
}

.u-open {
  flex: 0 0 auto;
  font-weight: 700;
}

.u-empty .u-open {
  pointer-events: none;
  color: var(--muted);
  text-decoration: none;
}

.u-more {
  padding: 12px 0 0;
}

/* Footer */

.foot {
  margin-top: 24px;
  border-top: 2px solid var(--ink);
  font-size: 0.95rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
  padding-top: 32px;
}

.foot-about {
  grid-column: 1 / -1;
}

.foot-brand {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.3em;
}

.foot-head {
  font-weight: 700;
  margin: 0 0 0.4em;
}

.foot ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
}

.foot li {
  margin-bottom: 0.25em;
}

.foot a {
  color: var(--ink);
}

.foot-small {
  color: var(--muted);
  font-size: 0.88rem;
  padding-top: 8px;
  padding-bottom: 28px;
}

.contact-form {
  min-height: 420px;
}

/* Phones: the wall turns into a row of screens you swipe through. */
@media (max-width: 719px) {
  .wall-hint {
    display: block;
  }

  .wall {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin: 0 -16px;
    padding: 0 16px 8px;
    scroll-padding: 0 16px;
  }

  .tile {
    flex: 0 0 88%;
    scroll-snap-align: start;
  }

  .tile-frame {
    height: min(68vh, 600px);
  }

  .search button {
    padding: 0 16px;
  }
}

@media (min-width: 720px) {
  .wrap {
    padding: 0 28px;
  }

  .hero {
    padding: 44px 0 44px;
  }

  .prose-grid {
    grid-template-columns: 1fr 1fr;
  }

  .net-list {
    grid-template-columns: 1fr 1fr;
  }

  .cando {
    grid-template-columns: 1fr 1fr;
  }

  .u-groups {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  }

  .foot-about {
    grid-column: auto;
  }
}

@media (min-width: 1080px) {
  .net-list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .u-groups {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}
