@import url(assets/fonts.css);

:root {
  --magenta: #9d005d;
  --coral: #ff6f5b;
  --brand: linear-gradient(110deg, var(--magenta) 0%, #c62d5a 55%, var(--coral) 100%);
  --brand-soft: linear-gradient(110deg, #fbeaf2, #fff0ec);

  --ink: #1f2937;
  --ink-2: #4b5563;
  --ink-3: #6b7280;
  --line: #e7e9ee;
  --paper: #ffffff;
  --mist: #f6f7f9;

  --head: 'Poppins', system-ui, sans-serif;
  --text: 'Poppins', system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgb(17 24 39 / 0.04), 0 12px 32px -12px rgb(17 24 39 / 0.14);
  --shadow-lift: 0 2px 4px rgb(17 24 39 / 0.05), 0 22px 44px -16px rgb(157 0 93 / 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 1.0625rem/1.65 var(--text);
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--head);
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

b,
strong {
  font-weight: 600;
  color: var(--ink);
}

a {
  color: var(--magenta);
  text-underline-offset: 0.18em;
}

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

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.skip:focus {
  left: 8px;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font: 600 1rem/1 var(--head);
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.2s,
    color 0.2s;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--brand {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-lift);
}

.btn--brand:hover,
.btn--white:hover {
  transform: translateY(-1px);
}

.btn--white {
  background: #fff;
  color: var(--magenta);
  box-shadow: 0 14px 30px -14px rgb(60 0 30 / 0.5);
}

.btn--glass {
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.55);
}

.btn--glass:hover {
  background: rgb(255 255 255 / 0.24);
}

.btn--line {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn--line:hover {
  box-shadow: inset 0 0 0 1.5px var(--magenta);
  color: var(--magenta);
}

/* ---------- Header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  transition: box-shadow 0.3s;
}

.top.is-stuck {
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgb(17 24 39 / 0.25);
}

.top__in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand img {
  height: 38px;
  width: auto;
}

.nav-wrap {
  margin-left: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  font: 500 0.96875rem/1 var(--head);
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
}

.nav a:hover {
  color: var(--magenta);
  background: #fbeaf2;
}

.top .btn {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.9375rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--brand);
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(assets/img/office-mono.webp) center / cover no-repeat;
  opacity: 0.16;
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 40px;
  padding-top: clamp(56px, 8vw, 104px);
}

.hero__copy {
  padding-bottom: clamp(120px, 14vw, 190px);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  font-weight: 700;
  line-height: 1.06;
}

.hero__lead {
  margin-top: 24px;
  max-width: 36rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: rgb(255 255 255 / 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__figure {
  position: relative;
  align-self: end;
  justify-self: center;
  width: min(100%, 440px);
}

.hero__figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.hero__figure::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 16%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.16);
}

.hero__badge {
  position: absolute;
  z-index: 2;
  left: -14%;
  bottom: 32%;
  display: flex;
  flex-direction: column;
  max-width: 220px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink-2);
  box-shadow: 0 24px 48px -20px rgb(40 0 20 / 0.5);
  font-size: 0.875rem;
  line-height: 1.35;
}

.hero__badge b {
  font: 700 1.5rem/1.1 var(--head);
  color: var(--magenta);
}

.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  display: block;
  width: 100%;
  height: clamp(60px, 8vw, 120px);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section--mist {
  background: var(--mist);
}

.head {
  max-width: 44rem;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.head--center {
  margin-inline: auto;
  text-align: center;
}

.head h2 {
  font-size: clamp(2rem, 3.6vw, 2.875rem);
  font-weight: 700;
  line-height: 1.15;
}

.head p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--ink-3);
}

.accent {
  color: var(--magenta);
}

/* Benefits */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.benefit {
  padding: 28px 24px 30px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.benefit__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.dot {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.dot .icon {
  width: 24px;
  height: 24px;
}

.benefit h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.benefit p {
  font-size: 0.96875rem;
  color: var(--ink-3);
}

/* Split */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.photo {
  position: relative;
  isolation: isolate;
}

.photo img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.photo::after {
  content: '';
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: -1;
  width: 60%;
  height: 60%;
  border-radius: var(--r-lg);
  background: var(--brand);
}

.split h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
}

.split__text p {
  margin-top: 18px;
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 12px;
  color: var(--ink);
  font-weight: 500;
}

.ticks .icon {
  width: 22px;
  height: 22px;
  padding: 3px;
  margin-top: 2px;
  border-radius: 50%;
  background: #fbeaf2;
  color: var(--magenta);
  stroke-width: 2.6;
}

/* Areas */

.band {
  position: relative;
  padding: clamp(72px, 9vw, 112px) 0 clamp(170px, 17vw, 220px);
  background: var(--brand);
  overflow: hidden;
}

.band::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
}

.band .head {
  position: relative;
}

.band .head h2 {
  color: #fff;
}

.band .head p {
  color: rgb(255 255 255 / 0.9);
}

.areas-wrap {
  position: relative;
  margin-top: calc(clamp(120px, 13vw, 170px) * -1);
  padding-bottom: clamp(72px, 9vw, 120px);
}

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

.area {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 3vw, 36px);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
}

.area__top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.area h3 {
  font-size: clamp(1.25rem, 2vw, 1.4375rem);
  font-weight: 600;
  line-height: 1.25;
}

.area p {
  color: var(--ink-3);
}

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

.chips li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--magenta);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Pricing */

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

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 2px solid transparent;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
}

.plan--rec {
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--brand) border-box;
  box-shadow: var(--shadow-lift);
}

.plan__badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: 600 0.8125rem/1 var(--head);
  white-space: nowrap;
}

.plan h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.plan__price {
  margin-top: 14px;
  font: 700 2.5rem/1 var(--head);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.plan__price small {
  font: 500 1rem/1 var(--text);
  color: var(--ink-3);
  letter-spacing: 0;
}

.plan__note {
  margin-top: 10px;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

.plan ul {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.plan li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--ink);
}

.plan li .icon {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  color: var(--magenta);
  stroke-width: 2.6;
}

.plan li small {
  display: block;
  color: var(--ink-3);
  font-size: 0.8125rem;
}

.plan .btn {
  width: 100%;
}

.plans__foot {
  margin-top: 32px;
  text-align: center;
  color: var(--ink-3);
}

/* Voices + survey */

.voices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 20px;
}

.quote {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 32px 30px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
}

.quote__mark {
  width: 36px;
  height: 36px;
  color: var(--coral);
  fill: currentColor;
  stroke: none;
}

.quote blockquote {
  flex: 1;
  margin: 16px 0 24px;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.quote figcaption b {
  display: block;
  font-family: var(--head);
  font-size: 0.96875rem;
}

.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--magenta);
  font: 600 0.9375rem/1 var(--head);
}

.survey {
  padding: 32px 30px;
  border-radius: var(--r);
  background: var(--brand);
  color: #fff;
}

.survey h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
}

.survey > p {
  margin-top: 6px;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.85);
}

.survey ul {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.survey li {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.95);
}

.survey li b {
  display: block;
  color: #fff;
  font: 700 2rem/1.1 var(--head);
}

/* About */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.about h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
}

.about__year {
  margin-top: 20px;
  font: 600 1.25rem/1.4 var(--head);
  color: var(--ink);
}

.about__text p + p {
  margin-top: 16px;
}

/* Contact */

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--r-lg);
  background: var(--brand);
  color: #fff;
}

.contact::before {
  content: '';
  position: absolute;
  left: -140px;
  bottom: -220px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
}

.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.contact h2 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.875rem);
  font-weight: 700;
  line-height: 1.12;
}

.contact__lead {
  margin-top: 16px;
  font-size: 1.125rem;
  color: rgb(255 255 255 / 0.92);
}

.contact .btn {
  margin-top: 28px;
}

.people {
  display: grid;
  gap: 16px;
}

.person {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 18px;
  padding: 24px;
  border-radius: var(--r);
  background: #fff;
  color: var(--ink-2);
}

.person .avatar {
  grid-row: span 3;
  width: 56px;
  height: 56px;
  font-size: 1.0625rem;
}

.person h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.person__role {
  font-size: 0.875rem;
  color: var(--ink-3);
}

.person__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 8px;
  font-size: 0.9375rem;
}

.person__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.person__links a:hover {
  color: var(--magenta);
}

.person__links .icon {
  width: 17px;
  height: 17px;
  color: var(--magenta);
}

/* ---------- Footer ---------- */

.foot {
  padding: 56px 0 36px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.foot__brand img {
  height: 36px;
  width: auto;
}

.foot__brand p {
  margin-top: 14px;
  max-width: 22rem;
  color: var(--ink-3);
}

.foot h3 {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
}

.foot ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.foot a {
  color: var(--ink-2);
  text-decoration: none;
}

.foot a:hover {
  color: var(--magenta);
}

.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
}

/* ---------- Legal page ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 88px) 0 clamp(96px, 10vw, 140px);
  background: var(--brand);
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  font-weight: 700;
}

.legal {
  max-width: 46rem;
  padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px);
}

.legal .intro {
  font-size: 1.125rem;
  color: var(--ink);
}

.legal h2 {
  margin: 44px 0 14px;
  font-size: 1.375rem;
  font-weight: 600;
}

.legal p + p,
.legal ul,
.legal ol {
  margin-top: 12px;
}

.legal ul,
.legal ol {
  padding-left: 1.3em;
}

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

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity 0.8s var(--ease),
      transform 0.8s var(--ease);
    transition-delay: var(--d, 0s);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

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

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .benefits,
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans {
    row-gap: 36px;
  }

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

  .survey {
    grid-column: 1 / -1;
  }

  .survey ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: grid;
    place-items: center;
    order: 3;
  }

  .top .btn--brand {
    margin-left: auto;
  }

  .nav-wrap {
    position: absolute;
    top: 100%;
    left: calc(var(--gutter) * -1);
    right: calc(var(--gutter) * -1);
    display: none;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: #fff;
    box-shadow: 0 18px 30px -20px rgb(17 24 39 / 0.3);
  }

  .nav-wrap.is-open {
    display: block;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav a {
    padding: 14px 12px;
    font-size: 1.0625rem;
  }

  .hero__in {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .hero__figure {
    width: min(78%, 340px);
    margin-top: 8px;
  }

  .split,
  .about,
  .contact__grid,
  .areas {
    grid-template-columns: 1fr;
  }

  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }

  .foot__brand {
    grid-column: 1 / -1;
  }
}

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

  .top__in {
    gap: 10px;
  }

  .top .btn--brand {
    padding: 10px 14px;
    font-size: 0.875rem;
  }

  .top .btn--brand .icon {
    display: none;
  }

  .brand img {
    height: 30px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero__badge {
    left: -8%;
    bottom: 26%;
    max-width: 170px;
    padding: 10px 14px;
    font-size: 0.8125rem;
  }

  .hero__badge b {
    font-size: 1.25rem;
  }

  .benefits,
  .plans,
  .voices {
    grid-template-columns: 1fr;
  }

  .survey ul {
    grid-template-columns: 1fr;
  }

  .photo::after {
    right: -8px;
    bottom: -8px;
  }

  .person {
    grid-template-columns: 1fr;
  }

  .person .avatar {
    grid-row: auto;
  }

  .foot__grid {
    grid-template-columns: 1fr;
  }
}

/* Tuning */
.hero::before {
  opacity: 0.1;
}

.hero__in {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
}

.hero h1 {
  font-size: clamp(2.375rem, 4.8vw, 3.875rem);
}

.hero__badge {
  left: -22%;
  bottom: auto;
  top: 34%;
}

.photo img {
  height: auto;
}

@media (max-width: 960px) {
  .hero__badge {
    left: -14%;
  }
}

@media (max-width: 640px) {
  .hero__badge {
    left: -10%;
    top: 40%;
  }
}

@media (max-width: 960px) {
  .hero__in {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding-bottom: clamp(24px, 4vw, 40px);
  }

  .hero__figure {
    width: min(70%, 320px);
  }
}

@media (max-width: 640px) {
  .hero__figure {
    display: none;
  }

  .hero__copy {
    padding-bottom: 96px;
  }
}

body {
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* Hero enters in sequence on load */
  .js .hero h1,
  .js .hero__lead,
  .js .hero__actions,
  .js .hero__figure img,
  .js .hero__figure::before,
  .js .hero__badge {
    animation: rise 0.9s var(--ease) both;
  }

  .js .hero__lead {
    animation-delay: 0.12s;
  }

  .js .hero__actions {
    animation-delay: 0.24s;
  }

  .js .hero__figure::before {
    animation: bloom 1.2s var(--ease) 0.15s both;
  }

  .js .hero__figure img {
    animation: rise-far 1.1s var(--ease) 0.2s both;
  }

  .js .hero__badge {
    animation:
      pop 0.7s var(--ease) 0.75s both,
      float 6s ease-in-out 1.5s infinite;
  }

  /* The office photo drifts slowly behind the gradient (transform only) */
  .hero::before {
    will-change: transform;
    animation: drift 30s ease-in-out infinite alternate;
  }

  /* Waves roll sideways, each layer at its own pace */
  .waves__layer {
    will-change: transform;
    animation: roll var(--speed, 22s) linear infinite;
  }

  .waves__layer--back {
    --speed: 34s;
    animation-direction: reverse;
  }

  .waves__layer--mid {
    --speed: 26s;
  }

  /* Icon discs turn when their card is hovered */
  .dot {
    transition: transform 0.5s var(--ease);
  }

  .benefit:hover .dot,
  .area:hover .dot {
    transform: rotate(-8deg) scale(1.08);
  }

  .area {
    transition:
      transform 0.3s var(--ease),
      box-shadow 0.3s var(--ease);
  }

  .area:hover,
  .plan:hover,
  .quote:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
  }

  .plan,
  .quote {
    transition:
      transform 0.3s var(--ease),
      box-shadow 0.3s var(--ease);
  }

  /* Photo frame slides in behind the photo */
  .js .photo::after {
    transform: translate(-18px, -18px);
    opacity: 0;
    transition:
      transform 1s var(--ease) 0.3s,
      opacity 1s var(--ease) 0.3s;
  }

  .js .photo.is-in::after {
    transform: none;
    opacity: 1;
  }

  /* Tick rows follow one another */
  .js .split__text .ticks li {
    opacity: 0;
    transform: translateX(-12px);
    transition:
      opacity 0.6s var(--ease),
      transform 0.6s var(--ease);
  }

  .js .split__text.is-in .ticks li {
    opacity: 1;
    transform: none;
  }

  .js .split__text.is-in .ticks li:nth-child(2) {
    transition-delay: 0.1s;
  }

  .js .split__text.is-in .ticks li:nth-child(3) {
    transition-delay: 0.2s;
  }

  .js .split__text.is-in .ticks li:nth-child(4) {
    transition-delay: 0.3s;
  }
}

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

@keyframes rise-far {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
}

@keyframes bloom {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
}

@keyframes float {
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(1%, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-2%, 0, 0);
  }
}

@keyframes roll {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}


/* ---------- Animated waves ---------- */

.waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: clamp(64px, 8vw, 120px);
  overflow: hidden;
  pointer-events: none;
}

.waves__layer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200%;
  height: 100%;
  display: block;
}

.waves__layer--back {
  height: 125%;
  opacity: 0.25;
}

.waves__layer--mid {
  height: 110%;
  opacity: 0.5;
}

.hero__badge {
  will-change: transform;
}

/* ---------- Polish ---------- */

/* Footer: soft mist ground, waves roll in from the page above */
.foot {
  position: relative;
  margin-top: clamp(24px, 4vw, 48px);
  padding: clamp(110px, 12vw, 160px) 0 28px;
  border-top: 0;
  background: var(--mist);
}

.waves--top {
  top: -1px;
  bottom: auto;
  transform: scaleY(-1);
}

.foot__grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
}

.foot__brand p {
  margin-top: 16px;
  max-width: 24rem;
  line-height: 1.65;
}

.foot__brand .btn {
  margin-top: 22px;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.9375rem;
}

.foot h3 {
  margin-bottom: 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.foot ul {
  gap: 10px;
}

.foot a {
  transition: color 0.2s;
}

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

.foot__contact .icon {
  width: 16px;
  height: 16px;
  color: var(--magenta);
}

.foot__billing {
  color: var(--ink-3);
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}

.foot__base {
  margin-top: clamp(40px, 5vw, 64px);
  border-top-color: #e3e6ec;
  font-size: 0.875rem;
}

.foot__base a {
  color: var(--ink-3);
}

/* Contact: people links always stacked, consistent cards */
#kontakt {
  padding-bottom: clamp(40px, 5vw, 64px);
}

.person__links {
  flex-direction: column;
  gap: 6px;
}

/* Quotes: author block sits at the bottom, quote mark tinted from the brand */
.quote figcaption {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Nav: the section in view is marked */
.nav a.is-current {
  color: var(--magenta);
  background: #fbeaf2;
}

@media (max-width: 1100px) {
  .foot__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .foot__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }

  .foot__grid > div:last-child {
    grid-column: 1 / -1;
  }

  .foot__base {
    flex-direction: column;
  }
}

/* Contact: one shared inbox instead of named people */
.mailcard {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r);
  background: #fff;
  color: var(--ink-2);
}

.mailcard__label {
  margin-top: 18px;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

.mailcard__addr {
  display: inline-block;
  margin-top: 2px;
  font: 700 clamp(1.5rem, 2.6vw, 2rem) / 1.2 var(--head);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  background: linear-gradient(var(--magenta), var(--magenta)) 0 100% / 0 2px no-repeat;
  transition:
    color 0.2s,
    background-size 0.4s var(--ease);
}

.mailcard__addr:hover {
  color: var(--magenta);
  background-size: 100% 2px;
}

.mailcard__hint {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.mailcard .ticks {
  margin-top: 12px;
  gap: 8px;
  font-size: 0.9375rem;
}

.clientlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-radius: var(--r);
  background: rgb(255 255 255 / 0.14);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.45);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.clientlink:hover {
  background: rgb(255 255 255 / 0.22);
}

.clientlink span {
  font-size: 0.9375rem;
  color: rgb(255 255 255 / 0.9);
}

.clientlink b {
  display: block;
  color: #fff;
  font-family: var(--head);
}

.clientlink .icon {
  width: 22px;
  height: 22px;
  transition: transform 0.25s var(--ease);
}

.clientlink:hover .icon {
  transform: translateX(4px);
}

/* Offer: what Socio provides, price on request */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  display: flex;
  gap: 18px;
  padding: 26px 24px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.feature h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}

.feature p {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

.quote-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 32px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 44px);
  border-radius: var(--r);
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--brand) border-box;
  border: 2px solid transparent;
}

.quote-cta h3 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 700;
}

.quote-cta p {
  margin-top: 6px;
  max-width: 40rem;
  color: var(--ink-3);
}

@media (prefers-reduced-motion: no-preference) {
  .feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
  }

  .feature:hover .dot {
    transform: rotate(-8deg) scale(1.08);
  }
}

@media (max-width: 1100px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }

  .quote-cta .btn {
    width: 100%;
  }
}

.foot .btn--brand,
.foot .btn--brand:hover {
  color: #fff;
}

.foot__grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 1.1fr);
}

.foot__sub {
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .foot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .foot__grid > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .foot__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.quote-cta {
  background: #fff;
  border: 2px solid #f0c3d7;
}

/* ---------- Offer builder ---------- */

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

.builder fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.feature {
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.feature__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.feature__body {
  display: block;
  padding-right: 22px;
}

.feature__title {
  display: block;
  font: 600 1.0625rem/1.3 var(--head);
  color: var(--ink);
}

.feature__text {
  display: block;
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

.feature__tick {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #d6dae1;
  color: transparent;
  transition:
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    color 0.2s,
    transform 0.35s var(--ease);
}

.feature__tick .icon {
  width: 15px;
  height: 15px;
  stroke-width: 3;
}

.feature:hover .feature__tick {
  box-shadow: inset 0 0 0 1.5px var(--magenta);
}

.feature:has(.feature__input:focus-visible) {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.feature.is-on,
.feature:has(.feature__input:checked) {
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--brand) border-box;
  box-shadow: var(--shadow-lift);
}

.feature.is-on .feature__tick,
.feature:has(.feature__input:checked) .feature__tick {
  background: var(--brand);
  box-shadow: none;
  color: #fff;
  transform: scale(1.08);
}

/* Methodologies appear once that card is chosen */
.meths {
  margin-top: 24px !important;
  padding: 22px 24px !important;
  border-radius: var(--r) !important;
  background: #fff;
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: no-preference) {
  .meths:not([hidden]) {
    animation: rise 0.5s var(--ease) both;
  }
}

.meths legend {
  float: left;
  width: 100%;
  margin-bottom: 14px;
  font: 600 1rem/1.3 var(--head);
  color: var(--ink);
}

.pills {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  position: relative;
  cursor: pointer;
}

.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px #e0c2d2;
  color: var(--magenta);
  font-weight: 500;
  font-size: 0.9375rem;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.pill:hover span {
  box-shadow: inset 0 0 0 1.5px var(--magenta);
}

.pill input:checked + span {
  background: var(--brand);
  color: #fff;
  box-shadow: none;
}

.pill input:focus-visible + span {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

/* The request bar follows the visitor through the section */
#offer-bar {
  position: sticky;
  bottom: 16px;
  z-index: 5;
  box-shadow: 0 18px 40px -22px rgb(17 24 39 / 0.35);
}

#offer-bar.has-picks {
  border-color: var(--magenta);
}

#offer-status b {
  color: var(--magenta);
}

.btn .count {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff;
  color: var(--magenta);
  font-size: 0.8125rem;
}

@keyframes pulse {
  40% {
    transform: scale(1.06);
  }
}

#offer-mail.bump {
  animation: pulse 0.35s var(--ease);
}

@media (max-width: 640px) {
  #offer-bar {
    bottom: 8px;
    padding: 16px 18px;
    gap: 12px;
  }

  #offer-bar h3 {
    font-size: 1.125rem;
  }

  #offer-bar p {
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  #offer-bar h3 {
    display: none;
  }

  #offer-bar p {
    margin-top: 0;
  }
}
