/* Satin Signal
   Recipe R7 Lilac Studio, flat: violet, lilac and one pink. No blobs, no glows, no shadows.
   Split screen from 1024px: a sticky violet column on the left, content scrolling on the right.
   Motion: one entrance on load in the left column, press feedback on buttons. Nothing on scroll. */

:root {
  --bg: #f6f3fb;
  --lilac: #ebe4f8;      /* flat lilac surface */
  --lilac-2: #ddd1f6;
  --card: #ffffff;
  --ink: #1f1640;
  --ink-2: #3a3160;
  --muted: #6b6385;
  --rule: rgba(31, 22, 64, .14);

  --violet: #7b4ff0;     /* fills; white text on it is 5:1 */
  --violet-press: #6a3fe0;
  --violet-ink: #5a33cc; /* violet as text on light backgrounds */
  --pink: #ff8fb1;       /* fills with ink text, 7:1 */
  --pink-press: #f77ca2;
  --error: #b4234a;

  --display: "Syne", "Arial Black", Arial, sans-serif;
  --body: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;

  --radius: 24px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(16px, 5vw, 40px);
  --bar-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 12px);
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; letter-spacing: -.01em; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; }
ul, ol { padding: 0; list-style: none; }
svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, label, select { touch-action: manipulation; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.skip {
  position: absolute; top: -100px; left: 16px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 0; border-radius: 999px;
  background: var(--violet); color: #fff;
  font-family: var(--body); font-size: 1rem; font-weight: 700; text-decoration: none;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn--pink { background: var(--pink); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 1.05rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--violet-press); }
  .btn--pink:hover { background: var(--pink-press); }
}

/* ---------- Brand ---------- */
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
}
.brand__mark { width: 28px; height: 28px; flex: none; }

/* ---------- Phone bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: var(--bar-h);
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  box-sizing: content-box;
  background: var(--violet); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

/* ---------- Left column (hero on phones) ---------- */
.side { background: var(--violet); color: #fff; padding: 28px var(--gutter) 48px; }
.side__brand, .side__nav { display: none; }
.side__label {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.side__title {
  margin-top: 14px;
  font-size: clamp(2.3rem, 10.5vw, 3.4rem); line-height: 1.04; font-weight: 700; letter-spacing: -.02em;
}
.side__lead { margin-top: 18px; max-width: 34rem; font-size: 1.05rem; }
.side__actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.side__actions .btn { width: 100%; }
.side__more { font-weight: 600; text-decoration-thickness: 1.5px; }
@media (min-width: 560px) { .side__actions .btn { width: auto; } }

/* One entrance on load. */
.side__hero > * { animation: rise 600ms var(--ease-out) both; }
.side__hero > :nth-child(2) { animation-delay: 60ms; }
.side__hero > :nth-child(3) { animation-delay: 120ms; }
.side__hero > :nth-child(4) { animation-delay: 180ms; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @keyframes rise { from { opacity: 0; } }
  .sticker { transform: none !important; }
}

/* ---------- Right column ---------- */
.flow { min-width: 0; }
#main, .foot { padding-inline: var(--gutter); }
.block { padding: 52px 0; border-top: 1px solid var(--rule); }
.block--first { border-top: 0; padding-top: 40px; }
.block__title { font-size: clamp(1.75rem, 6vw, 2.4rem); line-height: 1.08; font-weight: 700; }
.block__text { margin-top: 14px; max-width: 36rem; color: var(--ink-2); }
.block__text--small { font-size: .95rem; color: var(--muted); margin-top: 28px; }
.block__text a { color: var(--violet-ink); font-weight: 600; }
.block > .btn { margin-top: 28px; }

/* Stickers: flat, slightly rotated, a hard ink edge and no shadow. */
.stickers { margin: 26px 0 30px; display: flex; flex-wrap: wrap; gap: 14px 12px; padding-inline: 4px; }
.sticker {
  max-width: 100%;
  padding: 12px 18px;
  border: 2px solid var(--ink); border-radius: 18px;
  font-size: .95rem; line-height: 1.4;
  transform: rotate(var(--tilt, -2deg));
  transition: transform 200ms var(--ease-out);
}
.sticker b { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.sticker--pink { background: var(--pink); --tilt: -2.5deg; }
.sticker--white { background: var(--card); --tilt: 1.8deg; }
.sticker--ink { background: var(--ink); color: #fff; --tilt: -1.2deg; }
.sticker--lilac { background: var(--lilac-2); --tilt: 2.4deg; }
@media (hover: hover) and (pointer: fine) {
  .sticker:hover { transform: rotate(0deg); }
}

/* Services: a plain list, one line each. */
.services { margin-top: 26px; border-top: 2px solid var(--ink); }
.services li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.services li:last-child { border-bottom: 0; padding-bottom: 0; }
.services h3 { font-size: 1.15rem; }
.services p { margin-top: 2px; color: var(--ink-2); }

/* The deal */
.deal { margin-top: 26px; background: var(--card); border-radius: var(--radius); padding: 6px 22px; }
.deal div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.deal div:last-child { border-bottom: 0; }
.deal dt { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--violet-ink); }
.deal dd { margin-top: 2px; color: var(--ink-2); }

/* Steps */
.steps { margin-top: 26px; display: grid; gap: 10px; }
.steps li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 18px 20px; background: var(--lilac); border-radius: 20px;
}
.steps__no {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.15rem;
}
.steps h3 { font-size: 1.15rem; line-height: 1.3; padding-top: 2px; }
.steps p { margin-top: 2px; color: var(--ink-2); }

/* Questions: always open. */
.faq { margin-top: 26px; display: grid; gap: 26px; }
.faq h3 { font-size: 1.15rem; line-height: 1.3; }
.faq p { margin-top: 6px; color: var(--ink-2); }

/* ---------- Form ---------- */
.form { margin-top: 26px; background: var(--card); border-radius: var(--radius); padding: 22px 18px; }
.form__grid { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label { font-size: .92rem; font-weight: 600; }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 52px;
  padding: 12px 14px;
  font-size: 16px;
  background: var(--bg); border: 1.5px solid var(--rule); border-radius: 14px;
  transition: border-color 150ms var(--ease-out), background-color 150ms var(--ease-out);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder { color: #8b84a1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); background: var(--card); }
.field [aria-invalid="true"] { border-color: var(--error); }
.phone { display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
.checks { margin-top: 22px; display: grid; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--violet); }
.check a { color: var(--violet-ink); font-weight: 600; }
.check.is-invalid span { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error {
  margin-top: 18px; padding: 12px 14px; border-radius: 14px;
  background: #fde8ee; color: var(--error); font-weight: 600; font-size: .95rem;
}
.form__submit { margin-top: 22px; display: grid; gap: 10px; }
.form__submit .btn { width: 100%; }
.form__submit p { font-size: .88rem; color: var(--muted); }
.form.is-sent > :not(.form__done) { display: none; }
.form__done { padding: 28px 4px; text-align: center; outline: none; }
.form__done svg { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--violet); }
.form__done h3 { font-size: 1.5rem; }
.form__done p { margin-top: 6px; color: var(--ink-2); }

@media (min-width: 600px) {
  .form { padding: 30px; }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
  .form__submit { grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
  .form__submit .btn { width: auto; }
}

/* ---------- Footer ---------- */
.foot { padding-top: 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.foot .brand__mark { color: var(--violet); }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .95rem; }
.foot__links a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { text-decoration: underline; } }
.foot__legal { margin-top: 22px; font-size: .84rem; color: var(--muted); max-width: 44rem; }

/* ---------- Desktop: split screen ---------- */
@media (min-width: 1024px) {
  html { scroll-padding-top: 32px; }
  .bar { display: none; }
  .split { display: grid; grid-template-columns: clamp(400px, 40vw, 720px) minmax(0, 1fr); }
  .side {
    position: sticky; top: 0;
    height: 100vh; height: 100svh;
    overflow-y: auto;
    display: flex; flex-direction: column; gap: 28px;
    padding: clamp(28px, 5vh, 56px) clamp(36px, 4vw, 72px);
  }
  .side__brand { display: inline-flex; align-self: flex-start; font-size: 1.3rem; }
  .side__hero { margin-block: auto; }
  .side__title { font-size: clamp(2.4rem, min(3.7vw, 7vh), 4.6rem); }
  .side__lead { font-size: clamp(1.02rem, 1vw, 1.2rem); }

  .side__nav { display: flex; flex-wrap: wrap; gap: 8px; }
  .side__nav a {
    padding: 6px 14px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 999px;
    font-size: .88rem; font-weight: 600; text-decoration: none;
    transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out);
  }
  .side__nav a[aria-current="true"] { background: #fff; color: var(--ink); border-color: #fff; }
  @media (hover: hover) and (pointer: fine) {
    .side__nav a:not([aria-current="true"]):hover { border-color: #fff; }
  }

  #main, .foot { max-width: calc(760px + 2 * clamp(40px, 5vw, 96px)); margin-inline: auto; padding-inline: clamp(40px, 5vw, 96px); }
  .block { padding: 72px 0; }
  .block--first { padding-top: clamp(56px, 9vh, 96px); }
  .services li { display: grid; grid-template-columns: 13rem 1fr; gap: 24px; align-items: baseline; }
  .services p { margin-top: 0; }
  .deal { padding: 8px 30px; }
  .deal div { display: grid; grid-template-columns: 9rem 1fr; gap: 24px; align-items: baseline; }
  .deal dd { margin-top: 0; }
  .faq { grid-template-columns: 1fr 1fr; gap: 30px 40px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .side__more { display: none; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .side__lead { display: none; }
}

/* ---------- Legal pages and 404 ---------- */
@media (min-width: 1024px) { .bar--always { display: flex; padding-inline: clamp(40px, 5vw, 96px); } }
.legal { max-width: 46rem; margin-inline: auto; padding: 48px var(--gutter) 72px; }
.legal h1 { font-size: clamp(2.3rem, 8vw, 3.6rem); line-height: 1.04; font-weight: 700; letter-spacing: -.02em; }
.legal .updated { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.legal h2 { margin-top: 36px; font-size: 1.3rem; }
.legal p, .legal li { margin-top: 10px; color: var(--ink-2); }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal a { color: var(--violet-ink); font-weight: 600; }
.foot--legal { max-width: 46rem; margin-inline: auto; padding-inline: var(--gutter); }
.lost {
  min-height: 100svh; display: grid; align-content: center; gap: 18px;
  padding: 48px var(--gutter); background: var(--violet); color: #fff;
}
.lost h1 { font-size: clamp(5rem, 24vw, 12rem); line-height: .9; font-weight: 800; }
.lost p { max-width: 32rem; font-size: 1.1rem; }
.lost .btn { justify-self: start; }
