/* ==========================================================================
   student: — landing page
   Brand: ink #111214 · electric purple #5B2EFF · cream #F8F6EB
   ========================================================================== */

@font-face {
  font-family: 'Satoshi';
  src: url('./assets/fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('./assets/fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand */
  --cream: #f8f6eb;
  --cream-deep: #efecdc;
  --ink: #111214;
  --ink-soft: #1b1c21;
  --purple: #5b2eff;
  --violet: #b9a8ff; /* purple tint for text on ink */
  --white: #ffffff;

  --color-bg: var(--cream);
  --color-text: var(--ink);
  --color-primary: var(--purple);

  --ink-64: rgba(17, 18, 20, 0.66);
  --ink-12: rgba(17, 18, 20, 0.12);
  --ink-08: rgba(17, 18, 20, 0.08);
  --cream-66: rgba(248, 246, 235, 0.68);
  --cream-14: rgba(248, 246, 235, 0.14);
  --white-86: rgba(255, 255, 255, 0.88);

  /* type */
  --font-display: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.125rem, 0.95rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  --text-2xl: clamp(2.5rem, 1.4rem + 4.6vw, 5rem);

  /* space */
  --gutter: clamp(20px, 4.4vw, 64px);
  --section: clamp(96px, 11vw, 176px);
  --max: 1320px;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-interactive: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  --sheet: clamp(28px, 4vw, 56px);
}

html,
body {
  background: var(--cream);
}
html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- shared atoms ---------- */

.mono {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-transform: lowercase;
  color: var(--ink-64);
}
.mono b {
  font-weight: 500;
  color: var(--ink);
}
.mono i {
  font-style: normal;
  color: var(--purple);
  font-weight: 600;
}
.on-ink .mono {
  color: var(--cream-66);
}
.on-ink .mono b {
  color: var(--cream);
}
.on-ink .mono i {
  color: var(--violet);
}
.on-purple .mono {
  color: var(--white-86);
}
.on-purple .mono b,
.on-purple .mono i {
  color: var(--white);
}

/* typographic colon in the logo's proportions */
.colon {
  display: inline-block;
  position: relative;
  width: 0.2em;
  height: 0.5em;
  margin-left: 0.035em;
  vertical-align: baseline;
}
.colon i {
  position: absolute;
  left: 0;
  width: 0.2em;
  height: 0.2em;
  border-radius: 50%;
  background: var(--purple);
}
.colon i:first-child {
  top: 0;
}
.colon i:last-child {
  bottom: 0;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.logo__dot {
  fill: var(--purple);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.btn--ink {
  background: var(--ink);
  color: var(--cream);
}
.btn--ink:hover {
  background: var(--purple);
  color: var(--white);
}
.btn:active {
  transform: scale(0.97);
}

/* masked line rise */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.line__in {
  display: block;
  will-change: transform;
}

/* scroll reveals (JS adds .is-in). Rest state is visible without JS. */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js [data-lines] .line__in {
  transform: translate3d(0, 112%, 0);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-lines].is-in .line__in {
  transform: none;
}

/* ==========================================================================
   Intro
   ========================================================================== */

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--cream);
  pointer-events: none;
  animation: intro-out 0.55s var(--ease-io) 0.85s both;
}
.intro .logo {
  width: min(62vw, 340px);
  overflow: hidden;
}
.intro .logo__l {
  transform-box: fill-box;
  animation: letter-rise 0.7s var(--ease-out) both;
  animation-delay: calc(var(--i) * 45ms + 80ms);
}
.intro .logo__dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: dot-pop 0.6s var(--ease-spring) both;
}
.intro .logo__dot:nth-of-type(1) {
  animation-delay: 0.52s;
}
.intro .logo__dot:nth-of-type(2) {
  animation-delay: 0.64s;
}
@keyframes intro-out {
  to {
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
  }
}
@keyframes letter-rise {
  from {
    transform: translateY(125%);
  }
}
@keyframes dot-pop {
  from {
    transform: scale(0);
  }
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }
}
@keyframes line-in {
  from {
    transform: translate3d(0, 112%, 0);
  }
}
@keyframes drop-in {
  from {
    opacity: 0;
    transform: translate3d(-50%, -24px, 0);
  }
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  width: min(1180px, calc(100% - 24px));
  transform: translate3d(-50%, 0, 0);
  animation: drop-in 0.9s var(--ease-out) 0.95s both;
}
.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: rgba(248, 246, 235, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    0 0 0 1px var(--ink-08),
    0 1px 2px rgba(17, 18, 20, 0.04);
  transition: box-shadow 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
}
.nav.is-scrolled .nav__bar {
  background: rgba(248, 246, 235, 0.9);
  box-shadow:
    0 0 0 1px var(--ink-08),
    0 10px 30px -12px rgba(17, 18, 20, 0.28);
}
.nav__logo {
  display: block;
  width: 140px;
  flex: none;
  color: var(--ink);
  padding-block: 6px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-64);
}
.nav__links a:hover,
.nav__links a[aria-current='true'] {
  color: var(--ink);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--purple);
  transform: scale(0);
  transition: transform 0.35s var(--ease-spring);
}
.nav__links a[aria-current='true']::after {
  transform: scale(1);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 760px) {
  .nav__links {
    display: none;
  }
  .nav__bar {
    padding-left: 18px;
  }
  .nav__logo {
    width: 124px;
  }
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: var(--text-sm);
  font-weight: 700;
  transform: translateY(-200%);
}
.skip:focus-visible {
  transform: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 128px 72px;
  overflow: clip;
}
.hero__field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
  opacity: 0;
  animation: fade 1.6s ease 1.05s both;
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
}
.hero__copy > * {
  animation: rise-in 1s var(--ease-out) both;
  animation-delay: calc(1s + var(--i, 0) * 90ms);
}
.hero__copy > .hero__title {
  animation: none;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.1rem, min(7.2vw, 12.6svh), 7.25rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
}
.hero__title .line__in {
  animation: line-in 1.1s var(--ease-out) both;
  animation-delay: calc(0.9s + var(--i, 0) * 100ms);
}
.hero__title .is-accent {
  color: var(--purple);
}
.hero__sub {
  max-width: 30ch;
  margin-top: clamp(20px, 2.6vw, 34px);
  font-size: var(--text-lg);
  line-height: 1.38;
  font-weight: 500;
  color: var(--ink-64);
}
.hero__sub b {
  font-weight: 700;
  color: var(--ink);
}
.hero__form {
  margin-top: clamp(24px, 3vw, 38px);
  max-width: 480px;
}

/* device rig */
.hero__device {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1500px;
  min-height: 420px;
}
.hero__rig {
  position: relative;
  --pw: clamp(232px, min(22vw, 31svh), 318px);
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--ry, 3) * 1deg)) rotateY(calc(var(--rx, -9) * 1deg));
  animation: rig-in 1.4s var(--ease-out) 1.05s both;
}
@keyframes rig-in {
  from {
    opacity: 0;
    transform: translate3d(0, 70px, 0) rotateX(14deg) rotateY(-22deg) scale(0.94);
  }
}
.hero__disc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--pw) * 1.72);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--purple);
  transform: translate3d(-50%, -50%, -120px);
}

.phone {
  position: relative;
  width: var(--pw);
  padding: calc(var(--pw) * 0.032);
  border-radius: calc(var(--pw) * 0.178);
  background: #08080a;
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    0 2px 4px rgba(17, 18, 20, 0.2);
}
.hero__shadow {
  position: absolute;
  left: -16%;
  right: -16%;
  top: 22%;
  bottom: -17%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(17, 18, 20, 0.5), rgba(17, 18, 20, 0.22) 55%, rgba(17, 18, 20, 0) 100%);
  transform: translate3d(calc(var(--cx, 0) * 10px), 0, -40px);
  pointer-events: none;
}
.phone__screen {
  position: relative;
  aspect-ratio: 393 / 852;
  border-radius: calc(var(--pw) * 0.148);
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}
.phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone__glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0) 32%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: calc(0.35 + var(--gl, 0) * 0.5);
  pointer-events: none;
}

.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border-radius: 16px;
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--ink-08),
    0 14px 30px -12px rgba(17, 18, 20, 0.32);
  white-space: nowrap;
  animation: chip-in 0.8s var(--ease-spring) both;
  animation-delay: calc(1.6s + var(--i, 0) * 140ms);
}
@keyframes chip-in {
  from {
    opacity: 0;
    scale: 0.7;
  }
}
.chip__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--purple);
  color: var(--white);
  flex: none;
}
.chip__icon--ink {
  background: var(--ink);
}
.chip__icon svg {
  width: 18px;
  height: 18px;
}
.chip__t {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.chip__s {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink-64);
}
.chip__live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 0 rgba(91, 46, 255, 0.5);
  animation: live 2.4s ease-out infinite;
}
@keyframes live {
  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(91, 46, 255, 0);
  }
}
.chip--a {
  left: calc(var(--pw) * -0.52);
  top: 9%;
  transform: translate3d(calc(var(--cx, 0) * -14px), calc(var(--cy, 0) * -10px), 70px);
}
.chip--b {
  right: calc(var(--pw) * -0.56);
  top: 33%;
  transform: translate3d(calc(var(--cx, 0) * -26px), calc(var(--cy, 0) * -18px), 120px);
}
.chip--c {
  left: calc(var(--pw) * -0.44);
  top: 60%;
  transform: translate3d(calc(var(--cx, 0) * -20px), calc(var(--cy, 0) * -14px), 95px);
}

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fade 1s ease 2.6s both;
}
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 34px;
  background: var(--ink-12);
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--purple);
  animation: scroll-hint 2.2s var(--ease-io) infinite;
}
@keyframes scroll-hint {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}

@media (max-width: 980px) {
  .hero {
    padding-block: 112px 56px;
    align-items: flex-start;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .hero__sub {
    max-width: 34ch;
  }
  .hero__device {
    min-height: 0;
    padding-block: 12px 28px;
  }
  .hero__rig {
    --pw: clamp(220px, 58vw, 290px);
  }
  .hero__scroll {
    display: none;
  }
  .chip--a {
    left: calc(var(--pw) * -0.24);
  }
  .chip--b {
    right: calc(var(--pw) * -0.26);
  }
  .chip--c {
    left: calc(var(--pw) * -0.2);
  }
}
@media (max-width: 420px) {
  .chip {
    padding: 7px 11px 7px 7px;
    gap: 8px;
    border-radius: 14px;
  }
  .chip__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .chip__t {
    font-size: 12px;
  }
  .chip__s {
    font-size: 11px;
  }
  .chip--a {
    left: calc(var(--pw) * -0.17);
  }
  .chip--b {
    right: calc(var(--pw) * -0.19);
  }
  .chip--c {
    left: calc(var(--pw) * -0.15);
  }
}

/* ==========================================================================
   Signup form
   ========================================================================== */

.signup {
  position: relative;
}
.signup__field {
  position: relative;
  display: flex;
  align-items: center;
  padding: 7px 7px 7px 24px;
  border-radius: 999px;
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--ink-08),
    0 1px 2px rgba(5, 8, 20, 0.05),
    0 14px 32px -16px rgba(17, 18, 20, 0.28);
  transition: box-shadow 0.3s var(--ease-out);
}
.signup__field:focus-within {
  box-shadow:
    0 0 0 2px var(--purple),
    0 14px 32px -14px rgba(91, 46, 255, 0.4);
}
.signup__field.is-error {
  box-shadow:
    0 0 0 2px #c2264b,
    0 14px 32px -16px rgba(17, 18, 20, 0.28);
}
.signup__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
}
.signup__input::placeholder {
  color: rgba(17, 18, 20, 0.5);
}
.signup__btn {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}
.signup__btn:hover {
  background: var(--ink);
}
.signup__btn:active {
  transform: scale(0.97);
}
.signup__arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition: transform 0.4s var(--ease-out);
}
.signup__arrow svg {
  width: 16px;
  height: 16px;
}
.signup__btn:hover .signup__arrow {
  transform: rotate(-45deg);
}
.signup__btn[aria-busy='true'] {
  pointer-events: none;
  opacity: 0.8;
}
.signup__btn[aria-busy='true'] .signup__arrow {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.roles {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  border: 0;
}
.roles legend {
  float: left;
  margin-right: 6px;
  padding: 0;
  line-height: 36px;
}
.role {
  position: relative;
  display: inline-flex;
}
.role input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.role span {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px var(--ink-12);
  transition:
    background-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    gap 0.35s var(--ease-spring);
}
.role span::before {
  content: '';
  width: 0;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  transform: scale(0);
  transition:
    width 0.35s var(--ease-spring),
    transform 0.35s var(--ease-spring);
}
.role:hover span {
  box-shadow: inset 0 0 0 1px rgba(17, 18, 20, 0.4);
}
.role input:checked + span {
  gap: 7px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.role input:checked + span::before {
  width: 7px;
  transform: scale(1);
  background: var(--violet);
}
.role input:focus-visible + span {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
@media (pointer: coarse), (max-width: 900px) {
  .roles {
    gap: 8px;
  }
  .roles legend {
    line-height: 44px;
  }
  .role span {
    min-height: 44px;
    padding: 0 16px;
  }
}
.signup__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.signup__note {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-64);
}
.signup__note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.signup__note a:hover {
  color: var(--purple);
}
.signup__msg {
  min-height: 0;
  margin-top: 10px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #b01f43;
}
.signup__msg:empty {
  display: none;
}

.signup__done {
  display: none;
  align-items: center;
  gap: 16px;
  padding: 18px 22px 18px 18px;
  border-radius: 28px;
  background: var(--ink);
  color: var(--cream);
}
.signup.is-done .signup__form {
  display: none;
}
.signup.is-done .signup__done {
  display: flex;
  animation: rise-in 0.7s var(--ease-out) both;
}
.signup__check {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  animation: dot-pop 0.6s var(--ease-spring) 0.1s both;
}
.signup__check svg {
  width: 22px;
  height: 22px;
}
.signup__check path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: draw 0.5s var(--ease-out) 0.45s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.signup__done strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
}
.signup__done [data-done-text] {
  display: block;
  margin-top: 2px;
  font-size: var(--text-sm);
  line-height: 1.4;
  color: var(--cream-66);
}

@media (max-width: 440px) {
  .signup__field {
    padding-left: 18px;
  }
  .signup__btn {
    padding-left: 16px;
    font-size: 0.875rem;
    gap: 8px;
  }
  .signup__btn .signup__arrow {
    width: 30px;
    height: 30px;
  }
  .signup__input {
    font-size: 1rem;
  }
}
@media (max-width: 370px) {
  .signup__btn .signup__long {
    display: none;
  }
}


.h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.h2 .is-muted {
  color: rgba(17, 18, 20, 0.42);
}
.on-ink .h2 .is-muted {
  color: var(--violet);
}
.eyebrow {
  display: block;
  margin-bottom: clamp(16px, 2vw, 26px);
}

/* ==========================================================================
   Safety
   ========================================================================== */

.safety {
  position: relative;
  z-index: 3;
  margin-top: calc(var(--sheet) * -1);
  padding-block: var(--section) calc(var(--section) + var(--sheet));
  border-radius: var(--sheet) var(--sheet) 0 0;
  background: var(--cream);
}
.safety__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: start;
}
.safety__intro {
  position: sticky;
  top: 120px;
}
.safety__lede {
  margin-top: clamp(18px, 2vw, 28px);
  max-width: 32ch;
  font-size: var(--text-lg);
  line-height: 1.4;
  color: var(--ink-64);
}
.rules {
  list-style: none;
  counter-reset: rule;
}
.rule {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr);
  gap: 8px;
  padding-block: clamp(22px, 2.8vw, 36px);
  border-top: 1px solid var(--ink-12);
  opacity: 0.5;
  transition: opacity 0.6s var(--ease-out);
}
.rule:last-child {
  border-bottom: 1px solid var(--ink-12);
}
html:not(.js) .rule,
.rm .rule,
.rule.is-focus {
  opacity: 1;
}
.rule__n {
  padding-top: 0.55em;
  transition: color 0.4s var(--ease-out);
}
.rule.is-focus .rule__n {
  color: var(--purple);
}
.rule h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.rule p {
  margin-top: 10px;
  max-width: 52ch;
  color: var(--ink-64);
  line-height: 1.5;
}
@media (max-width: 860px) {
  .safety__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .safety__intro {
    position: static;
  }
  .rule {
    grid-template-columns: 2.6em minmax(0, 1fr);
  }
}


/* ==========================================================================
   Closing
   ========================================================================== */

.closing {
  position: relative;
  z-index: 5;
  margin-top: calc(var(--sheet) * -1);
  padding-block: var(--section) calc(var(--section) * 0.8 + var(--sheet));
  border-radius: var(--sheet) var(--sheet) 0 0;
  background: var(--cream);
  text-align: center;
  overflow: clip;
}
.closing__logo {
  width: min(100%, 980px);
  margin-inline: auto;
  color: var(--ink);
}
.closing__logo .logo {
  overflow: hidden;
  padding-bottom: 1px;
}
.js .closing__logo .logo__l {
  transform-box: fill-box;
  transform: translateY(125%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 60ms);
}
.js .closing__logo .logo__dot {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: transform 0.7s var(--ease-spring);
}
.js .closing__logo.is-in .logo__l {
  transform: none;
}
.js .closing__logo.is-in .logo__dot {
  transform: scale(1);
}
.js .closing__logo.is-in .logo__dot:nth-of-type(1) {
  transition-delay: 0.62s;
}
.js .closing__logo.is-in .logo__dot:nth-of-type(2) {
  transition-delay: 0.76s;
}
.closing__title {
  margin: clamp(28px, 4vw, 56px) auto 0;
  max-width: 18ch;
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.closing__form {
  max-width: 480px;
  margin: clamp(24px, 3vw, 36px) auto 0;
  text-align: left;
}
.closing__form .roles {
  justify-content: center;
}
.closing__form .signup__note {
  text-align: center;
}
.closing__form .signup__msg {
  text-align: center;
}
.closing__extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: clamp(48px, 6vw, 88px) auto 0;
  text-align: left;
}
.extra {
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--ink-08);
}
.extra p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-64);
}
.extra a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.extra a:hover {
  color: var(--purple);
}
@media (max-width: 640px) {
  .closing__extra {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  position: relative;
  z-index: 6;
  margin-top: calc(var(--sheet) * -1);
  padding-block: clamp(48px, 6vw, 80px) 28px;
  border-radius: var(--sheet) var(--sheet) 0 0;
  background: var(--ink);
  color: var(--cream);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
}
.footer__logo {
  width: clamp(180px, 22vw, 260px);
  color: var(--white);
}
.footer__tag {
  margin-top: 16px;
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cream-66);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-inline: -12px;
  list-style: none;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--cream-66);
}
.footer__links a:hover {
  color: var(--cream);
  background: var(--cream-14);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--cream-14);
}
.footer__legal .mono {
  text-transform: none;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none;
  }
  .hero__scroll-line::after,
  .chip__live {
    animation: none;
  }
}

/* ==========================================================================
   v2 (Dec 2026): cleaner structure, sections based on the app prototype
   ========================================================================== */

.hero__sub {
  max-width: 40ch;
}
.hero__title {
  font-size: clamp(2.9rem, min(6.6vw, 11.6svh), 6.5rem);
}
.sec-head {
  max-width: 880px;
  margin-bottom: clamp(40px, 5.5vw, 80px);
}
.sec-head p.lede {
  margin-top: clamp(16px, 2vw, 26px);
  max-width: 46ch;
  font-size: var(--text-lg);
  line-height: 1.4;
  color: var(--ink-64);
}
.on-ink .sec-head p.lede {
  color: var(--cream-66);
}
.btn--lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 1rem;
}
.btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- partner strip ---------- */
.partners {
  position: relative;
  z-index: 2;
  padding-block: 26px;
  border-block: 1px solid var(--ink-08);
  background: var(--cream);
}
.partners__in {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}
.partners__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
}
.partners__view {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.partners__track {
  display: flex;
  width: max-content;
  animation: partners-roll 48s linear infinite;
}
.partners__view:hover .partners__track,
.partners__view:focus-within .partners__track {
  animation-play-state: paused;
}
.partners__group {
  display: flex;
  align-items: center;
  list-style: none;
  flex: none;
}
.partners__group li {
  display: grid;
  place-items: center;
  padding-inline: clamp(26px, 3.6vw, 60px);
  height: 56px;
}
.partners__group img {
  display: block;
  width: auto;
  max-width: none;
  height: var(--h, 32px);
}
@keyframes partners-roll {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (max-width: 700px) {
  .partners__in {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-inline: 0;
  }
  .partners__label {
    text-align: center;
  }
  .partners__group li {
    height: 48px;
  }
  .partners__group img {
    height: calc(var(--h, 32px) * 0.82);
  }
}

/* ---------- how it works ---------- */
.how {
  position: relative;
  padding-block: var(--section);
}
.how__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 110px);
}
.hsteps {
  list-style: none;
}
.hstep {
  position: relative;
  border-top: 1px solid var(--ink-12);
}
.hstep:last-child {
  border-bottom: 1px solid var(--ink-12);
}
.hstep__bar {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left center;
}
.hstep.is-active .hstep__bar {
  transform: scaleX(1);
}
.how.is-auto .hstep.is-active .hstep__bar {
  animation: hstep-fill var(--dur, 5200ms) linear both;
}
@keyframes hstep-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.hstep__head {
  display: grid;
  grid-template-columns: 4.2em minmax(0, 1fr);
  align-items: baseline;
  width: 100%;
  padding-block: clamp(20px, 2.4vw, 30px) 0;
  text-align: left;
  cursor: pointer;
}
.hstep__n {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-64);
  transition: color 0.3s var(--ease-out);
}
.hstep__n i {
  font-style: normal;
  color: var(--purple);
  font-weight: 600;
}
.hstep__name {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: rgba(17, 18, 20, 0.42);
  transition: color 0.4s var(--ease-out);
}
.hstep.is-active .hstep__name,
.hstep__head:hover .hstep__name {
  color: var(--ink);
}
.hstep.is-active .hstep__n {
  color: var(--ink);
}
.hstep__body {
  display: grid;
  grid-template-rows: 0fr;
  padding-left: 4.2em;
  transition: grid-template-rows 0.6s var(--ease-out);
}
.hstep__body > div {
  overflow: hidden;
}
.hstep__body p {
  padding-top: 10px;
  max-width: 44ch;
  line-height: 1.5;
  color: var(--ink-64);
}
.hstep.is-active .hstep__body {
  grid-template-rows: 1fr;
}
.hstep__body::after {
  content: '';
  display: block;
  height: clamp(20px, 2.4vw, 30px);
}
html:not(.js) .hstep__body {
  grid-template-rows: 1fr;
}
html:not(.js) .hstep__name {
  color: var(--ink);
}
.how__device {
  position: relative;
  display: grid;
  place-items: center;
  --pw: clamp(236px, 23vw, 312px);
  padding-block: 24px;
}
.how__disc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--pw) * 1.62);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream-deep);
  transform: translate(-50%, -50%);
}
.how__device .phone {
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14),
    0 40px 70px -34px rgba(17, 18, 20, 0.55);
}
.shots img {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.shots img.is-active {
  opacity: 1;
  transform: none;
}
.how__note {
  margin-top: clamp(28px, 3.4vw, 44px);
}
@media (max-width: 900px) {
  .how__stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .how__device {
    order: -1;
    --pw: min(62vw, 250px);
  }
}

/* ---------- more than friends ---------- */
.more {
  position: relative;
  padding-block: var(--section);
  border-radius: var(--sheet);
  background: var(--ink);
  color: var(--cream);
  margin-inline: clamp(0px, 1.2vw, 16px);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  list-style: none;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: var(--ink-soft);
  box-shadow: inset 0 0 0 1px var(--cream-14);
  overflow: hidden;
}
.tile__shot {
  position: relative;
  height: clamp(260px, 27vw, 380px);
  overflow: hidden;
  --pw: clamp(190px, 17vw, 236px);
}
.tile__shot .phone {
  position: absolute;
  left: 50%;
  top: 34px;
  margin-left: calc(var(--pw) / -2);
  transition: transform 0.8s var(--ease-out);
}
.tile:hover .tile__shot .phone {
  transform: translate3d(0, -14px, 0);
}
.tile__shot::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(27, 28, 33, 0), var(--ink-soft));
  pointer-events: none;
}
.tile__copy {
  padding: 6px clamp(20px, 2vw, 30px) clamp(24px, 2.4vw, 34px);
}
.tile__copy h3 {
  margin-top: 10px;
  font-size: clamp(1.35rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.tile__copy p {
  margin-top: 10px;
  line-height: 1.5;
  color: var(--cream-66);
}
@media (max-width: 860px) {
  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile__shot {
    height: 250px;
    --pw: 200px;
  }
}

/* ---------- safety (reset the old sheet overlap) ---------- */
.safety {
  margin-top: 0;
  border-radius: 0;
  padding-block: var(--section);
}

/* ---------- when ---------- */
.when {
  position: relative;
  padding-block: clamp(72px, 8vw, 128px);
  border-radius: var(--sheet);
  background: var(--purple);
  color: var(--white);
  margin-inline: clamp(0px, 1.2vw, 16px);
}
.when .h2 {
  color: var(--white);
}
.when__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  list-style: none;
  margin-top: clamp(36px, 5vw, 72px);
}
.when__item {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid rgba(255, 255, 255, 0.34);
}
.when__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: -8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
}
.when__item h3 {
  margin-top: 12px;
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.when__item p {
  margin-top: 10px;
  max-width: 34ch;
  line-height: 1.5;
  color: var(--white-86);
}
@media (max-width: 760px) {
  .when__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
}

/* ---------- for partners ---------- */
.forp {
  padding-block: var(--section);
}
.forp__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: start;
}
.forp__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: clamp(24px, 3vw, 36px);
}
.forp__cta a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.forp__cta a:not(.btn):hover {
  color: var(--purple);
}
.plist {
  list-style: none;
}
.plist li {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr);
  gap: 8px;
  padding-block: clamp(22px, 2.8vw, 36px);
  border-top: 1px solid var(--ink-12);
}
.plist li:last-child {
  border-bottom: 1px solid var(--ink-12);
}
.plist .mono {
  padding-top: 0.55em;
}
.plist h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.plist p {
  margin-top: 10px;
  max-width: 52ch;
  color: var(--ink-64);
  line-height: 1.5;
}
@media (max-width: 860px) {
  .forp__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .plist li {
    grid-template-columns: 2.6em minmax(0, 1fr);
  }
}

/* ---------- FAQ ---------- */
.faq {
  padding-block: 0 var(--section);
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 7vw, 120px);
  align-items: start;
}
.faq__list {
  border-bottom: 1px solid var(--ink-12);
}
.qa {
  border-top: 1px solid var(--ink-12);
}
.qa summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding-block: 18px;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary:hover {
  color: var(--purple);
}
.qa__icon {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--ink-12);
  flex: none;
  transition:
    background-color 0.3s var(--ease-out),
    transform 0.4s var(--ease-out);
}
.qa__icon::before,
.qa__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.8px;
  margin: -0.9px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}
.qa__icon::after {
  transform: rotate(90deg);
}
.qa[open] .qa__icon {
  background: var(--purple);
  color: var(--white);
  box-shadow: none;
}
.qa[open] .qa__icon::after {
  transform: rotate(0deg);
}
.qa__a {
  padding: 0 54px 24px 0;
  max-width: 62ch;
  line-height: 1.55;
  color: var(--ink-64);
}
.qa__a a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-underline-offset: 3px;
}
@supports (interpolate-size: allow-keywords) {
  .qa {
    interpolate-size: allow-keywords;
  }
  .qa::details-content {
    block-size: 0;
    overflow: clip;
    transition:
      block-size 0.45s var(--ease-out),
      content-visibility 0.45s allow-discrete;
  }
  .qa[open]::details-content {
    block-size: auto;
  }
}
@media (max-width: 860px) {
  .faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .qa__a {
    padding-right: 0;
  }
}

/* ---------- closing (reset the old sheet overlap) ---------- */
.closing {
  margin-top: 0;
  border-radius: 0;
  padding-block: clamp(72px, 8vw, 128px) var(--section);
  border-top: 1px solid var(--ink-08);
}
.closing__logo {
  width: min(100%, 720px);
}
.closing__title {
  max-width: 22ch;
}
.closing__lede {
  margin: 14px auto 0;
  max-width: 44ch;
  color: var(--ink-64);
  line-height: 1.5;
}

/* ---------- sign-up additions ---------- */
.signup__org {
  display: none;
  margin-top: 12px;
}
.signup.is-partner .signup__org {
  display: block;
}
.signup__org input {
  width: 100%;
  height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--ink-12);
  font-size: 1rem;
  font-weight: 500;
  outline: none;
}
.signup__org input:focus-visible {
  box-shadow: 0 0 0 2px var(--purple);
}
.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-top: 16px;
  padding-block: 4px;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(17, 18, 20, 0.4);
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}
.consent input:checked {
  background: var(--purple)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8.4'/%3E%3C/svg%3E")
    center / 18px no-repeat;
  box-shadow: none;
}
.consent input:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
.consent.is-error input {
  box-shadow: inset 0 0 0 2px #c2264b;
}
.closing__form .consent {
  text-align: left;
}
.signup__note a,
.footer__links a {
  display: inline-block;
  padding-block: 10px;
  margin-block: -10px;
}

/* ---------- plain text page (personvern) ---------- */
.doc {
  padding-block: 150px var(--section);
}
.doc__in {
  max-width: 720px;
}
.doc h1 {
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}
.doc h2 {
  margin-top: 44px;
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.doc p {
  margin-top: 12px;
  line-height: 1.6;
  color: var(--ink-64);
  max-width: 64ch;
}
.doc a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-underline-offset: 3px;
}
.doc .doc__draft {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: var(--text-sm);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .partners__track {
    animation: none;
    width: 100%;
    justify-content: center;
  }
  .partners__group[aria-hidden='true'],
  .partners__group li[data-rep] {
    display: none;
  }
  .partners__view {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .how.is-auto .hstep.is-active .hstep__bar {
    animation: none;
  }
  .shots img,
  .tile__shot .phone,
  .hstep__body {
    transition: none;
  }
}

/* calmer grid behind the copy on small screens */
@media (max-width: 760px) {
  .hero__field {
    opacity: 0.45;
  }
}

/* two separate consents: age and e-mail */
.consents {
  margin-top: 14px;
}
.consents .consent {
  margin-top: 2px;
}

/* ---------- signup as one grouped card (role → e-mail → consents → submit) ---------- */
.signup__form {
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 28px;
  background: var(--white);
  box-shadow:
    0 0 0 1px var(--ink-08),
    0 1px 2px rgba(5, 8, 20, 0.05),
    0 18px 40px -22px rgba(17, 18, 20, 0.3);
  text-align: left;
}
.signup__step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
}
.signup__num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}
.signup__form .roles {
  display: block;
  margin: 0;
  padding: 0;
}
.signup__form .roles legend {
  float: none;
  line-height: normal;
}
.roles__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.signup__form .role span {
  background: var(--cream);
}
.signup__group {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-08);
}
.signup__form .signup__field {
  padding: 0 18px;
  border-radius: 16px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ink-12);
}
.signup__form .signup__field:focus-within {
  background: var(--white);
  box-shadow: 0 0 0 2px var(--purple);
}
.signup__form .signup__field.is-error {
  box-shadow: 0 0 0 2px #c2264b;
}
.signup__form .signup__input {
  height: 52px;
}
.signup__form .signup__org input {
  border-radius: 16px;
  background: var(--cream);
}
.signup__form .consents {
  margin-top: 14px;
}
.signup__submit {
  width: 100%;
  justify-content: space-between;
  height: 54px;
  margin-top: 18px;
  padding-left: 24px;
}
.closing__form .signup__note,
.closing__form .signup__msg {
  text-align: left;
}
@media (max-width: 440px) {
  .signup__form .signup__field {
    padding: 0 14px;
  }
}
