:root {
  --bg: #222427;
  --surface: #2a2d31;
  --surface-2: #33373c;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #efede8;
  --muted: #a4a7ad;
  --accent: #d6b77f;
  --accent-soft: rgba(214, 183, 127, 0.14);
  --accent-ink: #1d1f22;

  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fine film grain over everything, so flat areas don't look digital */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--text);
  text-decoration-color: rgba(214, 183, 127, 0.6);
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

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

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

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.9rem, 6.6vw, 5.6rem);
}

h2 {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  color: var(--muted);
  max-width: 33em;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 14px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(34, 36, 39, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.97rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav .lang {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.85rem;
  font-weight: 600;
}

.nav .btn {
  color: var(--accent-ink);
  padding: 10px 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--accent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 24px -10px rgba(214, 183, 127, 0.55);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: #e4c995;
  color: var(--accent-ink);
}

.btn:active {
  transform: translateY(1px);
}

.btn-quiet {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn-quiet:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Sections */

.section {
  padding: clamp(80px, 11vw, 150px) 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 40em;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section-head p {
  color: var(--muted);
  margin-top: 18px;
  font-size: 1.08rem;
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px);
  margin-top: -76px;
  padding-top: calc(76px + clamp(40px, 6vw, 80px));
  overflow: hidden;
}

/* A single low light behind the showcase, like a desk lamp on slate */
.hero::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  right: -260px;
  top: -200px;
  background: radial-gradient(closest-side, rgba(214, 183, 127, 0.16), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.hero h1 {
  margin-bottom: 28px;
}

.hero-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.hero-note span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
}

/* Showcase: a browser, a phone and a payment notice, drawn in CSS */

.showcase {
  position: relative;
  padding: 24px 0 56px 32px;
}

.browser {
  position: relative;
  background: #f4f1ea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px -30px rgba(0, 0, 0, 0.7),
    0 18px 36px -18px rgba(0, 0, 0, 0.5);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  background: #e6e2d9;
  border-bottom: 1px solid #d6d1c6;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9c3b6;
}

.browser-url {
  flex: 1;
  max-width: 260px;
  margin: 0 auto;
  background: #f4f1ea;
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 0.72rem;
  color: #6b675f;
  text-align: center;
}

.mini {
  color: #1f2124;
  padding: 18px 22px 22px;
}

.mini-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.mini-logo {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.mini-links {
  display: flex;
  gap: 12px;
}

.mini-links i {
  width: 30px;
  height: 5px;
  border-radius: 3px;
  background: #cfc9bd;
}

.mini-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.mini-title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.05;
  margin-bottom: 12px;
}

.mini-lines i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #d9d4c9;
  margin-bottom: 7px;
}

.mini-lines i:nth-child(2) {
  width: 82%;
}

.mini-lines i:nth-child(3) {
  width: 64%;
}

.mini-btn {
  display: inline-block;
  margin-top: 10px;
  background: #1f2124;
  color: #f4f1ea;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.mini-photo {
  aspect-ratio: 4 / 3.4;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 233, 196, 0.9), transparent 38%),
    linear-gradient(160deg, #c79a5d 0%, #8a5d36 48%, #3c2c22 100%);
  position: relative;
  overflow: hidden;
}

.mini-photo::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -18%;
  height: 58%;
  border-radius: 50% 50% 0 0;
  background: rgba(35, 25, 18, 0.55);
}

.mini-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.mini-tiles i {
  height: 46px;
  border-radius: 6px;
  background: #e8e3d9;
}

.phone {
  position: absolute;
  left: -8px;
  bottom: 0;
  width: 27%;
  min-width: 118px;
  background: #1b1c1f;
  border-radius: 22px;
  padding: 7px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.phone-screen {
  background: #f4f1ea;
  border-radius: 16px;
  overflow: hidden;
  color: #1f2124;
  padding: 16px 10px 12px;
}

.phone-screen .mini-logo {
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.phone-screen .mini-photo {
  aspect-ratio: 1 / 0.8;
  border-radius: 6px;
  margin-bottom: 10px;
}

.phone-screen .mini-title {
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.phone-screen .mini-lines i {
  height: 4px;
  margin-bottom: 5px;
}

.phone-screen .mini-btn {
  font-size: 0.5rem;
  padding: 4px 9px;
  margin-top: 4px;
}

.paid {
  position: absolute;
  right: -28px;
  top: 96px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(42, 45, 49, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 18px 12px 12px;
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.75);
}

.paid-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex: none;
}

.paid-icon svg {
  width: 16px;
  height: 16px;
}

.paid strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.paid span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.paid .paid-amount {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
  color: var(--text);
}

/* Tools strip */

.tools {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.tools .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 40px;
}

.tools p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tools ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
}

.tools li {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: #c9c7c1;
}

/* Services: sticky intro on the left, services scroll past on the right */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.split-intro {
  position: sticky;
  top: 120px;
}

.split-intro p {
  color: var(--muted);
  margin: 20px 0 32px;
  max-width: 24em;
}

.service {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.service:first-child {
  border-top: 0;
  padding-top: 8px;
}

.service h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: -0.005em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.service p {
  color: var(--muted);
  max-width: 36em;
}

.service .from {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 18px;
}

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.88rem;
  color: #cfcdc8;
}

/* Process: a real sequence, joined by a line */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  position: relative;
  counter-reset: step;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(214, 183, 127, 0.15));
}

.timeline li {
  counter-increment: step;
  position: relative;
}

.timeline li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 28px;
  position: relative;
}

.timeline h3 {
  margin-bottom: 10px;
}

.timeline p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

/* Plans (home and pricing page) */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
}

.plan.featured {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(214, 183, 127, 0.13), transparent 70%),
    var(--surface);
  border-color: rgba(214, 183, 127, 0.45);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.plan .badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 12px;
}

.plan h3 {
  font-size: 1.15rem;
}

.plan .for {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 8px 0 26px;
  min-height: 3.2em;
}

.plan .price {
  font-family: var(--serif);
  font-size: 3.6rem;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.01em;
}

.plan .price small {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0;
}

.plan .terms {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 12px 0 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.plan ul {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  flex: 1;
}

.plan li {
  position: relative;
  padding-left: 26px;
}

.plan li + li {
  margin-top: 10px;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

.plan .btn {
  text-align: center;
}

.plans-more {
  margin-top: 36px;
  color: var(--muted);
}

/* About */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}

.about blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.12;
}

.about-sign {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-sign .initial {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--accent);
}

.about-sign strong {
  display: block;
  font-weight: 600;
}

.about-sign span {
  color: var(--muted);
  font-size: 0.95rem;
}

.about-body p {
  color: var(--muted);
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  gap: clamp(40px, 6vw, 96px);
}

.faq-grid .section-head {
  margin-bottom: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 48px 24px 0;
  font-weight: 600;
  font-size: 1.08rem;
  position: relative;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  color: var(--muted);
  max-width: 40em;
  padding-bottom: 12px;
}

/* Closing call to action */

.closing {
  padding: clamp(96px, 13vw, 180px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.closing::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -520px;
  width: 1100px;
  height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(214, 183, 127, 0.14), transparent 75%);
  pointer-events: none;
}

.closing .wrap {
  position: relative;
}

.closing h2 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  max-width: 13em;
  margin: 0 auto;
}

.closing .lead {
  margin: 24px auto 0;
}

.closing .actions {
  justify-content: center;
}

.closing .mail {
  display: inline-block;
  margin-top: 28px;
  color: var(--muted);
}

/* Pricing page table */

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 26px 24px 26px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.92rem;
  padding-top: 0;
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
}

.price-table td:last-child {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.1;
}

.price-table td strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.price-table td span {
  color: var(--muted);
  font-size: 0.97rem;
  display: block;
  max-width: 40em;
}

.note {
  margin-top: 48px;
  padding: 24px 28px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  max-width: 52em;
}

.note p:last-child {
  margin-bottom: 0;
}

/* Inner page intro */

.page-intro {
  position: relative;
  margin-top: -76px;
  padding: calc(76px + clamp(64px, 9vw, 120px)) 0 clamp(48px, 6vw, 72px);
  overflow: hidden;
}

.page-intro::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  right: -240px;
  top: -380px;
  background: radial-gradient(closest-side, rgba(214, 183, 127, 0.12), transparent 70%);
  pointer-events: none;
}

.page-intro .wrap {
  position: relative;
}

.page-intro h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 22px;
  max-width: 12em;
}

.page-body {
  padding-bottom: clamp(80px, 10vw, 140px);
}

/* Contact page */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-big {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  text-decoration: none;
  word-break: break-word;
  display: inline-block;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(214, 183, 127, 0.5);
  padding-bottom: 4px;
}

.contact-list {
  margin: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 9em minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list div:first-child {
  border-top: 1px solid var(--line);
}

.contact-list dt {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-list dd {
  margin: 0;
}

.brief {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(214, 183, 127, 0.1), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 40px);
}

.brief h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 20px;
}

.brief ol {
  list-style: none;
  counter-reset: item;
  padding: 0;
  margin: 0 0 32px;
}

.brief li {
  counter-increment: item;
  position: relative;
  padding-left: 40px;
  color: var(--muted);
}

.brief li + li {
  margin-top: 14px;
}

.brief li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: -1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(214, 183, 127, 0.5);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}

/* Legal pages */

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(80px, 10vw, 140px);
}

.toc {
  position: sticky;
  top: 110px;
  font-size: 0.92rem;
}

.toc p {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 12px;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.toc a {
  display: block;
  padding: 5px 0 5px 16px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
}

.toc a:hover {
  color: var(--text);
  border-left-color: var(--accent);
}

.legal {
  max-width: 44em;
}

.legal .updated {
  display: inline-block;
  color: var(--muted);
  font-size: 0.92rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  margin: 56px 0 16px;
}

.legal p,
.legal li {
  color: #d0cec9;
}

.legal ul,
.legal ol {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.legal li + li {
  margin-top: 8px;
}

.legal li::marker {
  color: var(--accent);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 0;
  font-size: 0.94rem;
  color: var(--muted);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.footer-grid p {
  max-width: 28em;
  margin-top: 16px;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.legal-line {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.legal-line p {
  margin: 0 0 6px;
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 17vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  margin: 48px 0 -0.12em;
  user-select: none;
}

/* The one orchestrated moment: the hero assembles on load */

@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero .lead,
  .hero .actions,
  .hero .hero-note {
    animation: rise 0.9s var(--ease) both;
  }

  .hero .lead {
    animation-delay: 0.08s;
  }

  .hero .actions {
    animation-delay: 0.16s;
  }

  .hero .hero-note {
    animation-delay: 0.24s;
  }

  .browser {
    animation: rise 1.1s var(--ease) 0.2s both;
  }

  .phone {
    animation: rise 1.1s var(--ease) 0.5s both;
  }

  .paid {
    animation: pop 0.7s var(--ease) 1.1s both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Responsive */

@media (max-width: 1020px) {
  .hero-grid,
  .split,
  .about,
  .faq-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-intro {
    position: static;
  }

  .showcase {
    max-width: 640px;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }

  .plan .for {
    min-height: 0;
  }

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

  .toc {
    display: none;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: rgba(34, 36, 39, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .site-header:has(.nav.open) {
    background: rgba(34, 36, 39, 0.97);
  }

  .nav a {
    padding: 12px 0;
    font-size: 1.1rem;
  }

  .nav .lang {
    padding: 4px 12px;
    margin: 8px 0;
  }

  .nav .btn {
    margin-top: 12px;
    padding: 13px 24px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .showcase {
    padding: 28px 0 40px 12px;
  }

  .mini {
    padding: 14px 14px 16px;
  }

  .mini-tiles {
    display: none;
  }

  .phone {
    min-width: 96px;
    width: 30%;
    left: -4px;
    border-radius: 18px;
    padding: 5px;
  }

  .phone-screen {
    border-radius: 13px;
    padding: 10px 7px 8px;
  }

  .paid {
    right: -4px;
    top: 0;
    padding: 9px 12px 9px 9px;
    gap: 9px;
  }

  .paid-icon {
    width: 28px;
    height: 28px;
  }

  .paid .paid-amount {
    font-size: 1.2rem;
    margin-left: 4px;
  }

  .paid span span {
    display: none;
  }

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

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .contact-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    display: block;
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
  }

  .price-table td {
    display: block;
    border: 0;
    padding: 2px 0;
  }

  .price-table td:last-child {
    text-align: left;
    margin-top: 10px;
  }

  .plan {
    padding: 32px 24px 26px;
  }
}
