/* Editorial. The last layer, and the one that sets the voice: a newspaper
   grotesk for everything, a serif italic for the one or two words a headline
   leans on, square buttons with the arrow in a block of its own, no glows,
   no pills with dots, no icons in boxes. The square's photographs and the
   figures carry the page. */

:root {
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --paper: #f1f0ea;
  --lime: #eeede8;
  --primary: #eeede8;
  --background: #07080a;
  --card: #0d0f12;
  --border: rgba(255, 255, 255, 0.09);
  --muted-foreground: #9a9ea6;
  --radius: 4px;
}
html,
body {
  font-family: var(--sans);
  letter-spacing: -0.01em;
}
body {
  background: var(--background);
}

/* ------------------------------------------------------------ type */

.bs-h1,
.bs-h2,
.ed-h1,
.ed-h2,
.display,
.title,
.headline,
.showcase-name {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.045em;
  text-shadow: none;
}
.ed-h1 em,
.ed-h2 em,
.bs-h1 em,
.bs-h2 em,
.display em,
.title em,
.headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--lime);
  text-shadow: none;
  padding-right: 0.04em;
}
.kicker,
.eyebrow,
.bs-eyebrow {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted-foreground);
}
.kicker span {
  color: var(--foreground);
}

/* ------------------------------------------------------------ buttons */

/* Every button on the site: square corners, a plain label, no glow. */
.btn {
  border-radius: 3px !important;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  box-shadow: none !important;
}
.btn-primary {
  background: var(--paper);
  border-color: var(--paper);
  color: #07080a;
}
.btn-primary:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: #07080a;
  box-shadow: none !important;
}
.btn-dark,
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--foreground);
}
.btn-dark:hover,
.btn-outline:hover {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}

/* The house button: the label on paper, the arrow in a lime block. */
.go {
  display: inline-flex;
  align-items: stretch;
  height: 3.25rem;
  border-radius: 3px;
  overflow: hidden;
  background: var(--paper);
  color: #07080a;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.go span {
  display: inline-flex;
  align-items: center;
  padding: 0 1.35rem;
}
.go i {
  display: inline-flex;
  width: 3.25rem;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  transition: width 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.go i svg {
  transition: transform 220ms ease;
}
.go:hover i {
  width: 4rem;
}
.go:hover i svg {
  transform: translateX(3px);
}
.ed-screen-go .go {
  height: 2.75rem;
  font-size: 0.925rem;
}
.ed-screen-go .go i {
  width: 2.75rem;
}
.ed-screen-go .go:hover i {
  width: 3.25rem;
}

/* A link that reads as a link. */
.ed-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color 160ms ease, color 160ms ease;
}
.ed-link:hover {
  color: var(--lime);
  text-decoration-color: var(--lime);
}
.ed-link-big {
  font-size: 1rem;
}

/* ------------------------------------------------------------ header */

.sh-brand span {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.sh-nav a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9rem;
}
.sh-nav a[aria-current='page']::after {
  height: 1px;
  background: var(--paper);
}
.sh-nav a[aria-current='page'] {
  color: #fff;
}
.sh-cta {
  background: var(--paper) !important;
  border-color: var(--paper) !important;
  color: #07080a !important;
}
.sh-cta:hover {
  background: var(--lime) !important;
  border-color: var(--lime) !important;
}
.sh-ca {
  border-radius: 3px;
  font-weight: 600;
}

/* ------------------------------------------------------------ opening */

.ed-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
  max-width: 38rem;
}
.ed-dateline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(241, 240, 234, 0.8);
}
.ed-rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
  animation: bs-blink 1.6s ease-in-out infinite;
}
.ed-sep {
  color: rgba(241, 240, 234, 0.35);
}
.ed-h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.95;
}
.ed-lede {
  max-width: 32rem;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  color: rgba(241, 240, 234, 0.78);
}
.ed-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}
.ed-fine {
  font-size: 0.875rem;
  color: rgba(241, 240, 234, 0.62);
  font-variant-numeric: tabular-nums;
}
.hs-face {
  box-shadow: none;
}

/* The running strip: plain lettering, slashes between. */
.bs-marquee {
  border-block: 1px solid var(--border);
  background: #0a0b0d;
}
.bs-marquee span {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(241, 240, 234, 0.75);
  gap: 0.6rem;
}
.bs-marquee span::before {
  content: '/';
  width: auto;
  height: auto;
  margin-right: 1.6rem;
  transform: none;
  background: none;
  box-shadow: none;
  color: rgba(241, 240, 234, 0.3);
}
.bs-marquee b {
  color: var(--paper);
  font-weight: 700;
  text-shadow: none;
}

/* ------------------------------------------------------------ sections */

.ed-sec {
  padding-top: clamp(96px, 12vw, 168px);
  scroll-margin-top: 84px;
}
.ed-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 4rem;
  align-items: end;
  padding-bottom: 1.5rem;
  margin-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 64rem) {
  .ed-head {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .ed-head > :last-child {
    justify-self: end;
  }
}
.ed-head p {
  max-width: 30rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.ed-h2 {
  font-size: clamp(2.3rem, 4.4vw, 3.9rem);
  line-height: 1;
}
.ed-h2-big {
  max-width: 50rem;
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
}
.ed-muted {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.ed-onair {
  display: inline-block;
  vertical-align: middle;
  margin: -0.3em 0.5rem 0 0;
  padding: 0.28rem 0.55rem;
  border-radius: 3px;
  background: #ff3b30;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

/* The screens, as a media kit sets them. */
.ed-screens {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem 2rem;
}
@media (min-width: 48rem) and (max-width: 64rem) {
  .ed-screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 64rem) {
  .ed-screens {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.ed-screen {
  display: flex;
  flex-direction: column;
}
.ed-screen-photo {
  display: block;
  overflow: hidden;
  border-radius: 3px;
}
.ed-screen-photo .real {
  aspect-ratio: 16 / 10;
  border-radius: 0 !important;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ed-screen-photo:hover .real {
  transform: scale(1.04);
}
.ed-index {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--lime);
}
.ed-screen h3 {
  margin-top: 0.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.ed-screen-text {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.ed-spec {
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.ed-spec div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.ed-spec dt {
  color: var(--muted-foreground);
}
.ed-spec dd {
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.ed-screen-go {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* How it works: four columns ruled like a timetable. */
.ed-steps {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) {
  .ed-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 64rem) {
  .ed-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ed-steps li {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.75rem 2rem 0;
}
@media (min-width: 64rem) {
  .ed-steps li + li {
    padding-left: 1.75rem;
    border-left: 1px solid var(--border);
  }
}
.ed-step-n {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3.4rem, 5vw, 4.6rem);
  line-height: 1;
  color: var(--lime);
}
.ed-steps h3 {
  margin-top: 1.2rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.ed-steps p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.ed-step-note {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--paper);
}

/* What a booking delivers: a numbered list, no ticks. */
.ed-list {
  counter-reset: ed;
  width: 100%;
  margin: 0.5rem 0 0.75rem;
  border-top: 1px solid var(--border);
}
.ed-list li {
  counter-increment: ed;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.ed-list li::before {
  content: counter(ed, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--lime);
}
.ed-list b {
  font-weight: 700;
  font-size: 1rem;
}
.ed-list span {
  margin-top: 0.2rem;
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}
.bs-get-frame {
  border-radius: 4px;
  box-shadow: none;
  border-color: var(--border);
}

/* The rest, calmer. */
.bs-live-cam .live,
.bs-tile,
.tile,
.bs-faq-list details {
  border-radius: 4px !important;
}
.bs-tile:hover,
.bs-card:hover,
.bs-steps li:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.28);
}
.bs-faq-list details[open] {
  border-color: rgba(255, 255, 255, 0.24);
  background: var(--card);
}
.bs-faq-list summary::after {
  border-radius: 3px;
  color: var(--foreground);
}
.tote > span {
  background: var(--lime);
  box-shadow: none;
}
.pill {
  border-radius: 3px;
}
.live-cams button[aria-pressed='true'] {
  background: var(--paper);
}
.bs-final .ed-lede {
  color: rgba(241, 240, 234, 0.8);
}
.adph-mark {
  filter: none;
}
.bs-get-frame {
  transform: none;
}

/* This face sets its tabular comma wide; plain figures read better. */
.ed-spec dd,
.ed-fine,
.bs-marquee span,
.price-table td,
.tabular-nums,
.bs-price {
  font-variant-numeric: normal;
}

/* The page ends on the questions; give the footer room. */
#faq {
  padding-bottom: clamp(96px, 12vw, 160px);
}

/* Plain tones: black, greys and paper. The arrow block sits a shade darker
   than the label so the button still reads as two parts. */
.go i {
  background: #cfcdc6;
}
.go:hover i {
  background: #ffffff;
}
.btn-primary:hover,
.sh-cta:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
}
.ed-link:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}
.ed-index,
.ed-step-n,
.ed-list li::before,
.ed-h1 em,
.ed-h2 em {
  color: #cfcdc6;
}

/* The name strip on the square: the mark, then the name over its line,
   sized to fit the face whatever the name's length. */
.hx-strip {
  padding: 0 6cqw;
  gap: 4cqw;
}
.hx-strip img {
  height: 52cqh;
  flex: 0 0 auto;
}
.hx-strip > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2cqh;
}
.hx-strip:not(.is-alt) b {
  font-size: min(30cqh, 9.5cqw);
  line-height: 1;
  white-space: nowrap;
}
.hx-strip:not(.is-alt) span {
  font-size: min(9cqh, 2.6cqw);
  white-space: nowrap;
}

/* The name: Square heavy, Paid light. */
.wordmark {
  font-weight: 800;
  letter-spacing: -0.045em;
}
.wordmark-light {
  font-weight: 400;
  color: #b9b7b0;
}
.sh-brand {
  gap: 0.65rem;
}
.sh-brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}
.sh-brand img {
  border-radius: 0;
}

.digits,
.lengths small,
.goal-line p,
.price-cell dd,
.facts dd {
  font-variant-numeric: normal;
}
.sh-nav a,
.sh-ca {
  white-space: nowrap;
}
/* Where the wallet button shows, it takes the contract address's place. */
.sh-actions:has(.sh-wallet) .sh-ca {
  display: none;
}
