/* SANN public site — brand register (monochrome, dark base). Brand manual v1.6. */

:root {
  --bg: #0d0d0d;
  --surface: #141414;
  --text: #ffffff;
  --dim: rgba(255, 255, 255, 0.7);
  --dimmer: rgba(255, 255, 255, 0.55);
  --dimmest: rgba(255, 255, 255, 0.28);
  --border: rgba(255, 255, 255, 0.08);
  --border-mid: rgba(255, 255, 255, 0.12);
  --ease: cubic-bezier(0, 0, 0.2, 1);
  --app-bg: #f2f3f6;
  --app-card: #ffffff;
  --app-text: #0f1115;
  --app-dim: #5c6470;
  --app-border: rgba(15, 17, 21, 0.09);
  --app-success: #08743e;
  --app-danger: #d03b30;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--brand-font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--text);
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.wrap-wide {
  max-width: 1344px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.h-display {
  font-size: clamp(40px, 5.4vw, 80px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
}

.h-section {
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--dim);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 760px;
}

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 150ms var(--ease),
    border-color 150ms var(--ease);
}

.btn-primary {
  background: #ffffff;
  color: var(--bg);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.86);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lnk {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--dimmest);
  transition: border-color 150ms var(--ease);
}

.lnk:hover {
  border-color: #ffffff;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* The shared header is the hero's first row, above the film layer. */
.hero > .brand-header {
  position: relative;
  z-index: 2;
}

.film {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-origin: 50% 100%;
  will-change: transform, border-radius;
}

.film-bg {
  position: absolute;
  inset: 0;
  background: #1c1a17 url('/assets/hero-poster.16156c20.webp') 62% 50% / cover no-repeat;
}

.film-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  opacity: 0;
}

.film-video.has-frame {
  opacity: 1;
}

/* Film controls: pause/play, the scene caption and the progress bar. Without the
   script the film does not play, so the controls stay hidden. */
.film-ctl {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}

html:not(.js) .film-ctl {
  display: none;
}

.film-toggle {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(13, 13, 13, 0.4);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 150ms var(--ease);
}

.film-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.film-toggle .film-icon-play,
.film-toggle.is-paused .film-icon-pause {
  display: none;
}

.film-toggle.is-paused .film-icon-play {
  display: block;
}

.film-caption {
  flex: 1 1 300px;
  min-width: 0;
  font-size: 14px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.film-bars {
  display: flex;
  gap: 6px;
  flex: 0 1 240px;
  margin-left: auto;
}

.film-bar {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  overflow: hidden;
}

.film-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #ffffff;
  border-radius: 2px;
}

.film-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 13, 13, 0.85) 0%,
    rgba(13, 13, 13, 0.55) 40%,
    rgba(13, 13, 13, 0.15) 70%,
    rgba(13, 13, 13, 0.35) 100%
  );
}

.film-scrim-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(0deg, #0d0d0d 0%, rgba(13, 13, 13, 0) 100%);
}

.film-scrim-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.7) 0%, rgba(13, 13, 13, 0) 100%);
}

.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  padding-top: 76px;
  padding-bottom: 56px;
}

.hero-h1w {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 820px;
  will-change: transform, opacity;
}

.hero-h1w .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.hero h1 {
  font-size: clamp(44px, 7vw, 108px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-leadw {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  will-change: transform, opacity;
}

.hero-lead {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

html.js .hero-h1w {
  animation: rise 900ms var(--ease) 0.2s both;
}

html.js .hero-leadw {
  animation: rise 900ms var(--ease) 0.4s both;
}

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

/* ---------- why now ---------- */

.why {
  padding-top: 160px;
  padding-bottom: 80px;
}

.why .section-head {
  max-width: 820px;
  gap: 24px;
}

.lines {
  display: flex;
  flex-direction: column;
  margin-top: 64px;
}

.line {
  padding: 22px 0;
  border-top: 1px solid var(--border-mid);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
  will-change: opacity, transform;
}

html.js .line {
  opacity: 0.7;
}

.line:last-child {
  border-bottom: 1px solid var(--border-mid);
}

.why-answer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  align-items: baseline;
  padding-top: 64px;
}

.why-answer .eyebrow {
  flex: 0 1 320px;
  color: rgba(255, 255, 255, 0.7);
}

.why-answer p:last-child {
  flex: 1 1 420px;
  max-width: 640px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* ---------- what changes ---------- */

.changes {
  padding-top: 80px;
  padding-bottom: 120px;
}

.changes > .eyebrow {
  display: block;
  margin-bottom: 56px;
}

.rows {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  align-items: baseline;
  padding: 36px 0;
  border-top: 1px solid var(--border-mid);
}

.row:last-child {
  border-bottom: 1px solid var(--border-mid);
}

.row h3 {
  flex: 0 1 320px;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.row p {
  flex: 1 1 360px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--dim);
}

/* ---------- scrollytelling ---------- */

.app {
  padding-top: 80px;
  padding-bottom: 40px;
}

.app .section-head,
.how .section-head {
  padding-bottom: 24px;
}

.story {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.story-reverse {
  flex-direction: row-reverse;
}

.steps {
  flex: 1 1 420px;
  min-width: 0;
}

.step {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  transition: opacity 400ms ease;
}

html.js .step {
  opacity: 1;
}

html.js .step.on {
  opacity: 1;
}

.step-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.step h3 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.step p {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dim);
}

.pin {
  position: sticky;
  top: 96px;
  flex: 0 0 auto;
}

/* ---------- phone mockups ---------- */

.phone {
  width: 320px;
  height: 640px;
  border-radius: 48px;
  background: #1a1a1a;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  background: var(--app-bg);
  color: var(--app-text);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 48px 16px 16px;
}

.screen-white {
  background: var(--app-card);
  gap: 8px;
}

.scr {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.scr.is-on {
  display: flex;
}

html.js .scr.is-on {
  animation: scr 320ms var(--ease) both;
}

.scr-fill {
  flex: 1;
}

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

.tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  border-top: 1px solid var(--app-border);
  font-size: 10px;
  color: var(--app-dim);
}

.tabs .is-on {
  color: var(--app-text);
  font-weight: 600;
}

.ph-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.ph-title {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.ph-meta {
  font-size: 12px;
  color: var(--app-dim);
}

.ph-card {
  background: var(--app-card);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}

.ph-card-pad {
  padding: 14px;
  gap: 8px;
}

.ph-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.ph-row + .ph-row {
  border-top: 1px solid var(--app-border);
}

.ph-kv {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 14px;
}

.ph-kv + .ph-kv {
  border-top: 1px solid var(--app-border);
}

.ph-kv span:last-child {
  color: var(--app-dim);
}

.ph-av {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--app-bg);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ph-av-sq {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.ph-av-club {
  background: #e7f1ed;
  color: #1f6249;
}

.ph-av-lg {
  width: 48px;
  height: 48px;
}

.ph-av-dot {
  width: 24px;
  height: 24px;
  background: #0d0d0d;
}

.ph-av-app {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 14px;
}

.ph-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ph-name {
  font-size: 14px;
  font-weight: 500;
}

.ph-name-lg {
  font-size: 16px;
}

.ph-sub {
  font-size: 12px;
  color: var(--app-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-time {
  font-size: 11px;
  color: var(--app-dim);
}

.ph-assist {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--app-dim);
}

.ph-event {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
}

.ph-event + .ph-event {
  border-top: 1px solid var(--app-border);
}

.ph-when {
  font-size: 11px;
  color: var(--app-dim);
  font-variant-numeric: tabular-nums;
}

.ph-event-title {
  font-size: 15px;
  font-weight: 500;
}

.ph-pills {
  display: flex;
  gap: 6px;
}

.ph-pill {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 17, 21, 0.18);
}

.ph-pill-on {
  font-weight: 600;
  color: #ffffff;
  background: var(--app-text);
  border-color: var(--app-text);
}

.ph-note {
  font-size: 12px;
  color: var(--app-dim);
  padding: 0 4px;
}

.ph-ok {
  font-size: 12px;
  font-weight: 600;
  color: var(--app-success);
}

.ph-ok-md {
  font-size: 13px;
  font-weight: 500;
}

.ph-split {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.ph-split .ph-name {
  font-weight: 500;
}

.ph-dark {
  flex: 1;
  background: #0d0d0d;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #ffffff;
  padding: 24px;
}

.ph-finder {
  width: 160px;
  height: 160px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 16px;
}

.ph-dark-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.ph-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--app-border);
}

.ph-chat-head .ph-av {
  width: 32px;
  height: 32px;
}

.ph-bubble {
  max-width: 85%;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
}

.ph-bubble-in {
  align-self: flex-start;
  background: var(--app-bg);
  border-radius: 16px 16px 16px 4px;
}

.ph-bubble-out {
  align-self: flex-end;
  background: var(--app-text);
  color: #ffffff;
  border-radius: 16px 16px 4px 16px;
}

.ph-ask {
  align-self: flex-end;
  width: 88%;
  border: 1px solid rgba(15, 17, 21, 0.12);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ph-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-dim);
}

.ph-label-ok {
  color: var(--app-success);
}

.ph-strong {
  font-size: 15px;
  font-weight: 500;
}

.ph-small {
  font-size: 12px;
  color: var(--app-dim);
}

.ph-small-lh {
  font-size: 13px;
  line-height: 1.5;
  color: var(--app-dim);
}

.ph-btn {
  min-height: 44px;
  border-radius: 999px;
  background: var(--app-text);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ph-btn-lg {
  min-height: 52px;
  font-size: 15px;
}

.ph-btn-gap {
  margin-top: 6px;
}

.ph-sheet-receipt {
  gap: 12px;
}

.ph-btn-ghost {
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ph-input {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 17, 21, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--app-dim);
}

.ph-send {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--app-text);
}

.ph-sheet {
  flex: 1;
  background: var(--app-card);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ph-sheet-tight {
  gap: 0;
}

.ph-sheet-tight .ph-label {
  padding-bottom: 8px;
}

.ph-sheet-tight .ph-label-gap {
  padding-top: 16px;
}

.ph-sheet-tight .ph-kv {
  padding: 12px 0;
  border-top: 1px solid var(--app-border);
}

.ph-sheet-tight .ph-kv span:last-child {
  font-weight: 500;
}

.ph-sheet-tight .ph-empty {
  padding: 12px 0;
  border-top: 1px solid var(--app-border);
  font-size: 14px;
  color: var(--app-dim);
}

.ph-big {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.ph-signed {
  margin-top: auto;
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.45;
}

.ph-receipt-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--app-border);
  padding-top: 14px;
  font-size: 14px;
}

.ph-danger {
  font-weight: 500;
  color: var(--app-danger);
}

.ph-stamp {
  font-size: 12px;
  color: var(--app-dim);
  font-variant-numeric: tabular-nums;
}

.mt-auto {
  margin-top: auto;
}

/* ---------- messaging ---------- */

.messaging {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  margin-top: 80px;
}

.messaging-grid {
  padding-top: 140px;
  padding-bottom: 140px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 80px;
  align-items: center;
}

.messaging-copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
}

.messaging-copy .lnk {
  align-self: flex-start;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.pills li {
  font-size: 14px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.messaging-phone {
  flex: 0 0 auto;
  margin: 0 auto;
  transform: rotate(-4deg);
}

.who {
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
}

.who > .eyebrow {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.who-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 48px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--border-mid);
}

.who-row:last-child {
  border-bottom: 1px solid var(--border-mid);
}

.who-row h3 {
  flex: 0 1 320px;
  font-size: 17px;
  font-weight: 500;
}

.who-row p {
  flex: 1 1 360px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dim);
}

/* ---------- how sharing works ---------- */

.how {
  padding-top: 140px;
  padding-bottom: 40px;
}

/* ---------- partners ---------- */

.partners {
  padding-top: 140px;
  padding-bottom: 140px;
}

.partners .section-head {
  max-width: 720px;
}

.partners .lead {
  max-width: 600px;
}

.partners-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  padding-top: 8px;
}

.cws {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 15px;
  font-weight: 500;
}

.cws img {
  width: 56px;
  height: 13px;
}

.plist {
  display: flex;
  flex-direction: column;
  padding-top: 72px;
}

.plist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 48px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--border-mid);
}

.plist-row:last-of-type {
  border-bottom: 1px solid var(--border-mid);
}

.plist-row .step-label {
  flex: 0 0 200px;
}

.plist-row h3 {
  flex: 0 1 300px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.plist-row p {
  flex: 1 1 320px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dim);
}

.plist-foot {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- products ---------- */

.hpin {
  position: relative;
  overflow: visible;
}

.hstick {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

html:not(.js) .hstick {
  position: relative;
  height: auto;
  overflow: visible;
  padding: 120px 0;
}

.products-head {
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.products-head .section-head {
  max-width: 640px;
}

.products-head > p {
  max-width: 340px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dim);
}

.prod {
  display: flex;
  gap: 16px;
  padding-left: max(32px, calc((100vw - 1120px) / 2 + 32px));
  padding-right: 32px;
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  will-change: transform;
}

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

html.js .hpin.is-pinned .prod {
  overflow: visible;
  scroll-snap-type: none;
}

.pcard {
  flex: 0 0 min(420px, 85vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform 300ms ease;
}

.pcard:hover {
  transform: translateY(-4px);
}

.pface {
  height: 280px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: var(--app-text);
}

.pface-forening {
  background: #f4f7f5;
}

.pface-mandat {
  background: #f6f7fb;
}

.pface-aktiebok {
  background: #f3efe6;
}

.pf-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pf-card-shadow {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.pf-col {
  display: flex;
  flex-direction: column;
}

.pf-small {
  font-size: 12px;
  color: #5b6170;
}

.pf-strong {
  font-size: 14px;
  font-weight: 600;
}

.pf-badge {
  font-size: 12px;
  font-weight: 600;
  color: #1f6249;
  background: #e7f1ed;
  padding: 4px 10px;
  border-radius: 999px;
}

.pf-green {
  font-size: 13px;
  font-weight: 600;
  color: #287a5d;
  font-variant-numeric: tabular-nums;
}

.pf-mandat {
  background: #ffffff;
  border: 1px solid #e3e6ef;
  border-radius: 4px;
  padding: 16px;
  color: #061b31;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pf-mandat .pf-title {
  font-size: 16px;
  font-weight: 600;
}

.pf-mandat .pf-foot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.pf-indigo {
  font-weight: 600;
  color: #533afd;
}

.pf-aktiebok {
  background: #fbf9f4;
  border: 1px solid #e4ddcd;
  border-radius: 10px;
  padding: 16px;
  color: #1d2a22;
  display: flex;
  flex-direction: column;
}

.pf-aktiebok .pf-small {
  color: #6b6556;
  padding-bottom: 8px;
}

.pf-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  border-top: 1px solid #e4ddcd;
}

.pf-forest {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #254b38;
}

.pcard-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pcard-body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--dim);
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lockup img {
  width: 66px;
  height: 15px;
}

.lockup-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.4);
}

.lockup-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.prod-end {
  flex: 0 0 1px;
}

/* ---------- built in sweden ---------- */

.sweden {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.para {
  position: absolute;
  inset: -12% 0;
  background:
    radial-gradient(60% 50% at 65% 30%, #6c7380 0%, rgba(108, 115, 128, 0) 70%),
    radial-gradient(45% 40% at 25% 80%, #3c4440 0%, rgba(60, 68, 64, 0) 70%), #161719;
  will-change: transform;
}

.sweden-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    #0d0d0d 0%,
    rgba(13, 13, 13, 0.35) 55%,
    rgba(13, 13, 13, 0.15) 100%
  );
}

.sweden-body {
  position: relative;
  padding-top: 120px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.sweden h2 {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.sweden p {
  max-width: 380px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- security row ---------- */

.secrow {
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--border);
}

.secrow p {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* ---------- closing ---------- */

.closing {
  padding-top: 200px;
  padding-bottom: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.grow {
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.05em;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.closing-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* In-page lockups render the shared black wordmark inverted, like the header. */
.cws img,
.lockup img {
  filter: brightness(0) invert(1);
}

/* ---------- built in Sweden ---------- */

.sweden-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 380px;
}

.sweden-org {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--dimmer);
  font-variant-numeric: tabular-nums;
}

/* A small Swedish flag beside the company facts and the footer's
   "Built in Sweden": official colours, 16:10, a quiet 2 px radius. */
.flag-se {
  display: inline-block;
  flex: none;
  width: 16px;
  height: 10px;
  margin-right: 8px;
  border-radius: 2px;
  vertical-align: -1px;
  opacity: 0.9;
}

.sweden-org .fact {
  white-space: nowrap;
}

/* ---------- simple pages ---------- */

.page {
  padding-top: 64px;
  padding-bottom: 160px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 760px;
}

.page h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}

.prose p,
.prose li {
  font-size: 17px;
  line-height: 1.6;
  color: var(--dim);
}

.prose h2 {
  margin-top: 24px;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
}

.prose ul {
  display: flex;
  flex-direction: column;
}

.prose li {
  padding: 14px 0;
  border-top: 1px solid var(--border-mid);
}

.prose li:last-child {
  border-bottom: 1px solid var(--border-mid);
}

.prose li strong {
  display: block;
  font-weight: 500;
  color: var(--text);
}

.prose a {
  color: var(--text);
}

.page .btn {
  align-self: flex-start;
}

.platforms {
  display: flex;
  flex-direction: column;
}

.platforms li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 18px 0;
  border-top: 1px solid var(--border-mid);
  font-size: 17px;
}

.platforms li:last-child {
  border-bottom: 1px solid var(--border-mid);
}

.platforms li span:last-child {
  color: var(--dimmer);
  font-size: 15px;
}

/* ---------- reveal ---------- */

html.js .rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

html.js .rv.in {
  opacity: 1;
  transform: none;
}

.rv.d1 {
  transition-delay: 120ms;
}

.rv.d2 {
  transition-delay: 240ms;
}

.rv.d3 {
  transition-delay: 360ms;
}

.rv.d4 {
  transition-delay: 480ms;
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .story,
  .story-reverse {
    flex-direction: column;
  }

  .pin {
    position: relative;
    top: auto;
    margin: 0 auto;
  }

  .step,
  html.js .step {
    min-height: 0;
    padding: 32px 0;
    opacity: 1;
  }

  .hstick,
  html.js .hstick {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 120px 0 80px;
  }

  html.js .hpin {
    height: auto !important;
  }

  html.js .hpin.is-pinned .prod,
  .prod {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    transform: none !important;
  }

  .why {
    padding-top: 96px;
  }

  .messaging-grid,
  .partners,
  .how {
    padding-top: 96px;
  }

  .closing {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

@media (max-width: 600px) {
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }

  .prod {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-body {
    padding-bottom: 40px;
  }

  .phone {
    width: 300px;
    height: 600px;
  }

  .messaging-phone {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .hero-h1w,
  html.js .hero-leadw,
  html.js .scr.is-on {
    animation: none;
  }

  html.js .rv,
  html.js .line,
  html.js .step,
  .grow,
  .film,
  .para,
  .hero-h1w,
  .hero-leadw {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    border-radius: 0 !important;
  }

  .pcard,
  .btn,
  .lnk {
    transition: none;
  }

  html.js .hstick {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 120px 0 80px;
  }

  html.js .hpin {
    height: auto !important;
  }

  html.js .hpin.is-pinned .prod {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    transform: none !important;
  }
}

/* Quality pass: readable content and keyboard access at every viewport. */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 20px;
  background: #fff;
  color: #0d0d0d;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
#main-content:focus {
  outline: none;
}
.brand-header {
  flex-wrap: wrap;
}
.brand-header .language-switch {
  margin-left: auto;
  min-height: 44px;
  padding: 12px;
  color: #fff;
  font-size: 14px;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.illustration-note {
  color: var(--dim);
  font-size: 13px;
  margin-top: 16px;
}
html.js .step {
  opacity: 1;
}
.step.on .step-label {
  color: #fff;
}
@media (max-width: 600px) {
  .row h3,
  .why-answer .eyebrow {
    flex-basis: 100%;
    min-width: 0;
  }
  .row p,
  .why-answer p:last-child,
  .steps {
    min-width: 0;
    flex-basis: auto;
  }
  .pin,
  .messaging-phone {
    max-width: 100%;
  }
  .phone {
    width: min(300px, calc(100vw - 48px));
  }
  .brand-header .language-switch {
    order: 0;
  }
  .brand-header nav {
    order: 1;
    width: 100%;
  }
  .prose {
    overflow-wrap: anywhere;
  }
}
