/* lewona.com — one stylesheet for every page. No inline styles anywhere: the
   Content-Security-Policy allows 'self' only. */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-var.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
}

:root {
  --paper: #fbfbfd;
  --ink: #14151a;
  --muted: #5f616e;
  --line: #e2e3ea;
  --soft: #eeeff4;
  --cobalt: #1f3fd6;
  --night: #101116;
  --night-muted: #a9abb8;
  --ember: #ff5a2e;
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --big: clamp(34px, 5.3vw, 78px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --r: 24px;
  color-scheme: light;
}

*,
*::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(--display);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}
img,
svg {
  display: block;
  max-width: 100%;
}
p,
h1,
h2,
h3,
dl,
dd,
ol,
ul {
  margin: 0;
}
.wrap {
  padding-left: var(--gutter);
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 20px;
  top: 12px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}

/* header */
.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 18px;
}
.logo {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.logo svg {
  height: 27px;
  width: auto;
}
.pills {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 16px;
  font-weight: 500;
}
.pills a {
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition:
    background 0.25s,
    color 0.25s;
}
.pills a[aria-current] {
  background: var(--ink);
  color: var(--paper);
}

/* header: the menu on narrow screens (a popover — no script) */
.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.burger:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}
.burger.close {
  display: flex;
  gap: 0;
  background: #23252f;
  color: #fff;
}
.burger.close span:first-child {
  transform: translateY(1px) rotate(45deg);
}
.burger.close span:last-child {
  transform: translateY(-1px) rotate(-45deg);
}
.menu {
  position: fixed;
  inset: 0;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 18px max(20px, env(safe-area-inset-right, 0px)) max(28px, env(safe-area-inset-bottom, 0px)) var(--gutter);
  border: 0;
  background: var(--night);
  color: #fff;
  opacity: 0;
  transform: translateY(-14px);
  transition:
    opacity 0.3s,
    transform 0.45s var(--ease),
    display 0.45s allow-discrete,
    overlay 0.45s allow-discrete;
}
.menu:popover-open {
  display: flex;
  opacity: 1;
  transform: none;
}
@starting-style {
  .menu:popover-open {
    opacity: 0;
    transform: translateY(-14px);
  }
}
.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(40px, 12vh, 96px);
}
.menu .logo svg {
  fill: #fff;
}
.menu > a {
  padding: 4px 0;
  font-size: clamp(48px, 15vw, 72px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-decoration: none;
}
.menu > a[aria-current] {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #93a2ff;
}
.menu a:focus-visible {
  outline-color: #93a2ff;
}
.menu-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #2b2d38;
  font-size: 17px;
  color: var(--night-muted);
}
.menu-foot a {
  text-decoration: none;
}
.menu-foot a:first-child {
  color: #fff;
}
@supports not selector(:popover-open) {
  .menu {
    display: none;
  }
}
@supports selector(:popover-open) {
  @media (max-width: 700px) {
    .pills {
      display: none;
    }
    .burger {
      display: flex;
    }
    /* Only here: on a wide screen the open menu is hidden and must not lock the page. */
    html:has(.menu:popover-open) {
      overflow: hidden;
    }
  }
}
@media (min-width: 701px) {
  .menu:popover-open {
    display: none;
  }
}
.pills a:not([aria-current]):hover {
  background: #ffffff;
}

/* shared pieces */
.dot {
  position: relative;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cobalt);
}
.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 2.4s ease-out infinite;
}
.on-dark .dot {
  background: #8ea2ff;
}
.kick {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--cobalt);
}
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--soft);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--cobalt);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.35s var(--ease),
    background 0.25s;
}
.btn:hover {
  background: var(--ink);
  transform: translateX(4px);
}

/* home: hero */
.hero {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(40px, 7vw, 96px) clamp(32px, 4vw, 56px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
}
.hero h1 {
  font-weight: 500;
  font-size: clamp(50px, 10.6vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.052em;
  text-wrap: balance;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--cobalt);
}
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0.08em 0.16em 0;
  margin: -0.06em -0.08em -0.16em 0;
}
.w > span {
  display: inline-block;
  transform: translateY(112%);
  animation: rise 1s var(--ease) forwards;
}
.w1 > span {
  animation-delay: 120ms;
}
.w2 > span {
  animation-delay: 200ms;
}
.w3 > span {
  animation-delay: 280ms;
}
.w4 > span {
  animation-delay: 360ms;
}
.w5 > span {
  animation-delay: 440ms;
}
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
}
.lede {
  max-width: 27em;
  font-size: clamp(19px, 1.7vw, 23px);
  color: var(--muted);
}
.lede strong {
  font-weight: 600;
  color: var(--ink);
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.more span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  transition:
    transform 0.35s var(--ease),
    background 0.25s;
}
.more:hover span {
  transform: translateY(5px);
  background: var(--cobalt);
}
.stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.15 / 1;
  border-radius: var(--r);
  background: var(--soft);
}
.stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  transform: scale(1.12);
  animation: settle 2.2s var(--ease) forwards;
}

/* home: apps */
.sec {
  padding-block: clamp(72px, 10vw, 144px);
}
.apps-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 28px;
}
.title {
  font-weight: 500;
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
}
.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 40px 32px;
  align-items: end;
  overflow: hidden;
  padding: clamp(32px, 6vw, 88px) clamp(24px, 5vw, 80px) 0;
  border-radius: calc(var(--r) + 8px);
  background: var(--soft);
}
.feature-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
  padding-bottom: clamp(32px, 6vw, 88px);
}
.feature h3 {
  font-weight: 500;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}
.feature-sub {
  max-width: 22em;
  font-size: clamp(19px, 1.7vw, 23px);
  color: var(--muted);
}
.soon {
  margin-top: 6px;
  padding: 12px 20px;
}
.phone {
  justify-self: center;
  width: min(100%, 330px);
  aspect-ratio: 9 / 15;
  padding: 12px 12px 0;
  border-radius: 54px 54px 0 0;
  background: #0b0b0d;
  box-shadow: 0 40px 90px rgba(20, 21, 26, 0.28);
  transform: rotate(2.5deg) translateY(10px);
  transform-origin: 50% 100%;
}
.screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 16px 20px 0;
  border-radius: 42px 42px 0 0;
  background: #161617;
  color: #ffffff;
}
.island {
  width: 34%;
  height: 28px;
  border-radius: 999px;
  background: #000000;
}
.round {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9b9ba1;
}
.ring {
  position: relative;
  width: 78%;
  max-width: 220px;
  aspect-ratio: 1;
}
.ring svg {
  width: 100%;
  height: 100%;
}
.ring circle {
  transition: stroke-dashoffset 1s linear;
}
.time {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 62px;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.phase {
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--ember);
  color: #161617;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.4s;
}
.screen.rest .phase {
  background: #8ea2ff;
}
.next {
  font-size: 15px;
  color: #9b9ba1;
}

/* home: how we build */
.studio {
  padding-bottom: clamp(72px, 10vw, 144px);
}
.studio .kick {
  margin-bottom: 28px;
}
.statement {
  margin-left: clamp(0px, 19vw, 280px);
  font-weight: 500;
  font-size: var(--big);
  line-height: 1.07;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.statement em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--cobalt);
}
.story {
  max-width: 31em;
  margin: clamp(28px, 4vw, 48px) 0 0 clamp(0px, 19vw, 280px);
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.4;
  color: var(--muted);
}
.pair {
  display: grid;
  grid-template-columns: 1.78fr 1fr;
  gap: 16px;
  margin-top: clamp(48px, 7vw, 96px);
}
.pair .wide {
  aspect-ratio: 4 / 3;
}
.pair .tall {
  aspect-ratio: 3 / 4;
}
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0 32px;
  margin-top: clamp(40px, 5vw, 72px);
}
.facts p {
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 20px;
}
.facts b {
  font-weight: 600;
}
.facts span {
  color: var(--muted);
}

/* home: quote band */
.band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  aspect-ratio: 1.9 / 1;
  border-radius: var(--r);
  background: #f1f1f3;
}
.band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.band p {
  position: relative;
  z-index: 1;
  width: 41%;
  padding-right: clamp(20px, 4vw, 64px);
  font-weight: 500;
  font-size: clamp(28px, 3.9vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding-block: clamp(56px, 7vw, 96px);
}
.help p {
  max-width: 16em;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* inner pages: support, legal notice, privacy, 404 */
.intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px);
}
.intro h1 {
  font-weight: 500;
  font-size: clamp(44px, 8vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.intro .lede {
  max-width: 32em;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
}
.jump a {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--soft);
  text-decoration: none;
  transition:
    background 0.25s,
    color 0.25s;
}
.jump a:hover {
  background: var(--ink);
  color: var(--paper);
}
.rows {
  padding-bottom: clamp(72px, 10vw, 144px);
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 16px;
  padding-block: 48px 72px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.row:last-child {
  padding-bottom: 0;
}
.row > h2 {
  flex: 1 1 240px;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.row > div {
  display: flex;
  flex: 3 1 560px;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  max-width: 42em;
  color: var(--muted);
}
.row h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.row ol,
.row ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 24px;
}
.row p + p,
.row ol + p,
.row ul + p {
  margin-top: 12px;
}
.row a {
  color: var(--ink);
  font-weight: 500;
}
.row a:hover {
  color: var(--cobalt);
}
.links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.mail {
  align-self: flex-start;
}
.row .mail {
  color: #ffffff;
  font-weight: 600;
}

/* legal notice and privacy policy: plain reading column */
.doc {
  max-width: 46em;
  margin-left: clamp(0px, 19vw, 280px);
  padding-bottom: clamp(72px, 10vw, 144px);
  color: var(--muted);
}
.doc h2 {
  margin: 48px 0 12px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.doc p,
.doc ul {
  margin-top: 12px;
}
.doc ul {
  padding-left: 24px;
}
.doc li + li {
  margin-top: 6px;
}
.doc a {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.doc a:hover {
  color: var(--cobalt);
}
.doc strong {
  font-weight: 600;
  color: var(--ink);
}
.doc dl {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 3fr;
  gap: 0 24px;
}
.doc dt,
.doc dd {
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.doc dt {
  font-weight: 600;
  color: var(--ink);
}
.languages {
  font-size: 16px;
}

/* footer */
.site-foot {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 8vw, 112px);
  padding-block: clamp(72px, 9vw, 128px) 40px;
  background: var(--night);
  color: #ffffff;
}
.hello {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.hello h2 {
  font-weight: 500;
  font-size: clamp(44px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--night-muted);
}
.hello a {
  padding-bottom: 0.06em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat;
  font-weight: 500;
  font-size: clamp(30px, 6.6vw, 104px);
  line-height: 1;
  letter-spacing: -0.05em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-size 0.6s var(--ease);
}
.hello a:hover {
  background-size: 100% 3px;
}
.foot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px 16px;
  padding-top: 32px;
  border-top: 1px solid #2b2d38;
  font-size: 17px;
}
.foot b {
  font-weight: 600;
}
.foot span,
.foot .c {
  color: var(--night-muted);
}
.foot nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.foot nav a {
  padding: 7px 0;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 5px) / 0 1px no-repeat;
  text-decoration: none;
  transition: background-size 0.4s var(--ease);
}
.foot nav a:hover {
  background-size: 100% 1px;
}
.credits {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #7d7f8c;
}

@media (max-width: 700px) {
  .pair {
    grid-template-columns: 1fr;
  }
  .story,
  .statement,
  .doc {
    margin-left: 0;
  }
  .phone {
    transform: none;
  }
  /* A minimum height would turn into a minimum width through the aspect ratio. */
  .stage {
    aspect-ratio: 5 / 4;
  }
  .band {
    flex-direction: column;
    align-items: stretch;
    aspect-ratio: auto;
  }
  .band img {
    position: static;
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .band p {
    width: auto;
    padding: 24px 20px 28px;
  }
  .doc dl {
    grid-template-columns: 1fr;
  }
  .doc dd {
    padding-top: 0;
    border-top: 0;
  }
  .doc dt {
    padding-bottom: 4px;
  }
}

@keyframes rise {
  to {
    transform: none;
  }
}
@keyframes settle {
  to {
    transform: scale(1);
  }
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70%,
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}
@keyframes lift {
  from {
    transform: translateY(46px);
  }
  to {
    transform: none;
  }
}

/* Sections slide up while they scroll into view. CSS only (no script), and only where the
   browser supports scroll-driven animations — elsewhere everything simply stands still. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv {
      animation: lift linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .w > span,
  .stage img {
    animation: none;
    transform: none;
  }
  .menu {
    transition: none;
    transform: none;
  }
  .dot::after {
    animation: none;
  }
  .ring circle {
    transition: none;
  }
}
