/* ==========================================================================
   Jyng — styles
   Brand: #e056fd · Light theme
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Brand */
  --brand: #e056fd;
  --brand-strong: #a21cc4;   /* brand hue, AA-safe for text on white */
  --brand-deep: #5e0f78;
  --brand-soft: #f6e3ff;
  --brand-wash: #fcf6ff;
  --violet: #8b5cff;
  --pink: #ff8fc8;
  --peach: #ffc29e;

  /* Neutrals (slightly purple-tinted) */
  --ink: #1b1024;
  --ink-2: #4f4260;
  --ink-3: #75677f;
  --line: #ede4f3;
  --bg: #ffffff;
  --bg-alt: #fbf7fd;

  --gradient: linear-gradient(120deg, #e056fd 0%, #b46bff 48%, #ff8fc8 100%);
  --gradient-warm: linear-gradient(125deg, #e056fd 0%, #f494d6 50%, #ffc29e 100%);
  --gradient-text: linear-gradient(100deg, #8b3dff 0%, #c43ff0 40%, #e056fd 70%, #f0569e 100%);

  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;

  --shadow-sm: 0 1px 2px rgba(27, 16, 36, .05), 0 4px 12px rgba(27, 16, 36, .04);
  --shadow: 0 14px 34px -14px rgba(94, 15, 120, .22), 0 2px 6px rgba(27, 16, 36, .05);
  --shadow-lg: 0 40px 80px -30px rgba(140, 30, 180, .40), 0 8px 20px -8px rgba(27, 16, 36, .10);

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.6vw, 5.6rem); font-weight: 800; letter-spacing: -0.045em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -0.04em; }
h3 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.02em; }

p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; }

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

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

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

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

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

/* ---------- Type helpers ---------- */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.squiggle {
  position: relative;
  white-space: nowrap;
}
.squiggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.14em;
  height: 0.24em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C14 3 22 3 32 7s20 4.5 30 0 20-4.5 30-.5 18 4 26-1' fill='none' stroke='%23e056fd' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand-strong);
  background: var(--brand-soft);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(224, 86, 253, .55);
  animation: pulse 2.2s ease-out infinite;
}

.kicker {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--brand-strong);
  margin-bottom: 18px;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brand-strong);
  text-decoration: none;
}
.text-link .arrow { transition: transform .2s ease; }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font: 600 1rem/1 var(--font-body);
  padding: 17px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(160, 30, 200, .65);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #2b1739;
  box-shadow: 0 18px 36px -14px rgba(224, 86, 253, .85);
}

.btn-brand {
  background: var(--brand);
  color: var(--ink);
  box-shadow: 0 10px 26px -12px rgba(224, 86, 253, .9);
}
.btn-brand:hover {
  transform: translateY(-2px);
  background: #e872ff;
  box-shadow: 0 18px 36px -14px rgba(224, 86, 253, 1);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(27, 16, 36, .45);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(27, 16, 36, .5); }

.btn-sm { padding: 12px 20px; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .9); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
}
.logo svg { width: 34px; height: 34px; flex: none; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.logo:hover svg { transform: rotate(-10deg) scale(1.06); }

.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav-links a {
  display: block;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink-2);
  padding: 9px 16px;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--brand-wash); }
.nav-links a[aria-current="page"] { color: var(--brand-strong); background: var(--brand-soft); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--gutter) 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(27, 16, 36, .25);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
  }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { font-size: 1.2rem; padding: 14px 16px; border-radius: var(--radius-sm); }
  .nav-menu .btn { width: 100%; padding-block: 16px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 10vw, 136px); position: relative; }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.section-head.split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: wrap;
}
.section-head.split > div { max-width: 720px; }
.section-head.split h2 { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 120px);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -260px;
  right: -220px;
  width: 820px;
  height: 820px;
  background:
    radial-gradient(closest-side at 35% 35%, rgba(224, 86, 253, .42), transparent),
    radial-gradient(closest-side at 70% 55%, rgba(139, 92, 255, .28), transparent),
    radial-gradient(closest-side at 45% 80%, rgba(255, 194, 158, .45), transparent);
  filter: blur(30px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: radial-gradient(rgba(27, 16, 36, .09) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 { margin-bottom: 28px; }
.hero .lead { max-width: 560px; margin-bottom: 36px; }

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin-top: 36px;
  font-size: .95rem;
  color: var(--ink-2);
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--brand-strong); flex: none; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero::before { width: 560px; height: 560px; top: -180px; right: -260px; }
}

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
}
.hv-canvas {
  position: absolute;
  inset: 3% 5% 3% 7%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 18% 12%, #f8b9ff 0%, transparent 60%),
    radial-gradient(55% 45% at 88% 18%, #b9a2ff 0%, transparent 62%),
    radial-gradient(60% 55% at 82% 92%, #ffc7a8 0%, transparent 62%),
    radial-gradient(60% 60% at 12% 88%, #ff9bd2 0%, transparent 62%),
    linear-gradient(160deg, #e056fd, #9d5cff);
  box-shadow: var(--shadow-lg);
}
.hv-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  aspect-ratio: 9 / 18.5;
  translate: -50% -50%;
  rotate: -5deg;
  background: var(--ink);
  border-radius: 30px;
  padding: 7px;
  box-shadow: 0 30px 60px -20px rgba(27, 16, 36, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
  z-index: 1;
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(80% 50% at 50% 100%, rgba(255, 194, 158, .85), transparent 70%),
    radial-gradient(70% 45% at 30% 60%, rgba(224, 86, 253, .9), transparent 70%),
    linear-gradient(180deg, #2a1240 0%, #5a1d80 50%, #c24be6 100%);
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 34%;
  height: 14px;
  translate: -50% 0;
  background: var(--ink);
  border-radius: 999px;
}
.phone-top {
  position: absolute;
  top: 34px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-warm);
  border: 2px solid rgba(255, 255, 255, .85);
  flex: none;
}
.phone .bar {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .75);
}
.phone .bar.dim { background: rgba(255, 255, 255, .45); }
.phone-play {
  position: absolute;
  top: 46%;
  left: 50%;
  translate: -50% -50%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .45);
}
.phone-play svg { width: 20px; height: 20px; color: #fff; margin-left: 3px; }
.phone-bottom {
  position: absolute;
  left: 14px;
  right: 50px;
  bottom: 20px;
  display: grid;
  gap: 7px;
}
.phone-actions {
  position: absolute;
  right: 12px;
  bottom: 22px;
  display: grid;
  gap: 12px;
}
.phone-actions span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  display: grid;
  place-items: center;
}
.phone-actions svg { width: 14px; height: 14px; color: #fff; }
.phone-actions span:first-child { background: #fff; }
.phone-actions span:first-child svg { color: var(--brand); }

.hv-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.hv-chip i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #fff;
}
.hv-chip i svg { width: 16px; height: 16px; }
.hv-chip-1 { top: 16%; left: 0; }
.hv-chip-2 { top: 50%; right: 0; animation-delay: -2s; }
.hv-chip-2 i { background: var(--ink); }

.hv-stat {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 9%;
  width: 46%;
  min-width: 170px;
  padding: 14px 16px 12px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
  animation-delay: -4s;
}
.hv-stat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.hv-stat-head b {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  color: #157a43;
  background: #e8f8ee;
  padding: 3px 8px;
  border-radius: 99px;
}
.hv-stat svg { width: 100%; height: auto; overflow: visible; }

.spin-badge {
  position: absolute;
  z-index: 3;
  top: -2%;
  right: 0;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.spin-badge .ring {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  animation: spin 22s linear infinite;
}
.spin-badge .ring text {
  font-family: var(--font-body);
  font-size: 10.6px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  fill: var(--ink);
}
.spin-badge .mark { width: 38px; height: 38px; }

@media (max-width: 560px) {
  .hero-visual { max-width: 380px; }
  .hv-chip { font-size: .85rem; padding: 6px 12px 6px 6px; }
  .hv-chip i { width: 28px; height: 28px; }
  .spin-badge { width: 96px; height: 96px; }
  .spin-badge .mark { width: 30px; height: 30px; }
  .phone { border-radius: 24px; padding: 6px; }
  .phone-screen { border-radius: 19px; }
}

/* ---------- Marquee ---------- */
.marquee-wrap {
  overflow: hidden;
  padding-block: 28px;
  margin-block: -12px;
  position: relative;
  z-index: 2;
}
.marquee {
  width: 106%;
  margin-left: -3%;
  rotate: -1.6deg;
  background: var(--brand);
  color: var(--ink);
  padding-block: 18px;
  box-shadow: 0 20px 40px -24px rgba(160, 30, 200, .6);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee ul {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 36px 0 0;
  list-style: none;
}
.marquee li {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee li::after {
  content: "";
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 6.6 5.4 11.1 12 12-6.6.9-11.1 5.4-12 12-.9-6.6-5.4-11.1-12-12C6.6 11.1 11.1 6.6 12 0z' fill='%231b1024'/%3E%3C/svg%3E") no-repeat center / contain;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

/* ---------- Cards / grids ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
  margin-bottom: 28px;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.icon-badge svg { width: 26px; height: 26px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 86, 253, .22), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #ead0f5; }
.service-card:hover::before { opacity: 1; }
.service-card:hover .icon-badge { background: var(--gradient); color: #fff; transform: rotate(-6deg); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--ink-2); margin-bottom: 24px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tags li {
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

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

/* Why / principles */
.why {
  background: var(--brand-wash);
  overflow: hidden;
  isolation: isolate;
}
.why::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -260px;
  bottom: -320px;
  width: 720px;
  height: 720px;
  background: radial-gradient(closest-side, rgba(224, 86, 253, .22), transparent);
}
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.why-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.why-intro .lead { margin-bottom: 32px; }

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
}
.principle {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.principle .icon-badge { margin-bottom: 22px; width: 48px; height: 48px; border-radius: 14px; }
.principle .icon-badge svg { width: 22px; height: 22px; }
.principle h3 { font-size: 1.25rem; margin-bottom: 10px; }
.principle p { color: var(--ink-2); margin: 0; font-size: 1rem; }
.principles li:nth-child(even) { translate: 0 32px; }

@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-intro { position: static; }
  .principles li:nth-child(even) { translate: none; }
}
@media (max-width: 600px) {
  .principles { grid-template-columns: 1fr; }
}

/* Steps (home teaser) */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 36px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); margin: 0; font-size: 1rem; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -21px;
  width: 22px;
  height: 2px;
  background: var(--brand);
}

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */
.cta-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 88px);
  background: var(--gradient-warm);
  text-align: center;
}
.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.cta-card::before {
  width: 520px;
  height: 520px;
  left: -160px;
  top: -260px;
  background: radial-gradient(closest-side, rgba(139, 92, 255, .45), transparent);
}
.cta-card::after {
  width: 460px;
  height: 460px;
  right: -140px;
  bottom: -240px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent);
}
.cta-card h2 { max-width: 15ch; margin-inline: auto; margin-bottom: 20px; font-size: clamp(2.2rem, 5vw, 4rem); }
.cta-card p { max-width: 540px; margin: 0 auto 36px; font-size: 1.15rem; color: var(--ink); opacity: .85; }
.cta-card .btn-row { justify-content: center; }
.cta-star {
  position: absolute;
  z-index: -1;
  width: 64px;
  height: 64px;
  color: #fff;
  opacity: .9;
  animation: spin 18s linear infinite;
}
.cta-star.s1 { top: 14%; left: 8%; }
.cta-star.s2 { bottom: 14%; right: 9%; width: 40px; height: 40px; animation-direction: reverse; }
@media (max-width: 640px) { .cta-star { display: none; } }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip; /* the glow below is 160vw wide; without this phones zoom out to fit it */
  text-align: center;
  padding-block: clamp(56px, 8vw, 104px) clamp(32px, 5vw, 64px);
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -300px;
  left: 50%;
  translate: -50% 0;
  width: min(1100px, 160vw);
  height: 700px;
  background:
    radial-gradient(closest-side at 35% 50%, rgba(224, 86, 253, .30), transparent),
    radial-gradient(closest-side at 65% 50%, rgba(255, 194, 158, .40), transparent);
  filter: blur(20px);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: radial-gradient(rgba(27, 16, 36, .08) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}
.page-hero h1 { max-width: 15ch; margin-inline: auto; font-size: clamp(2.5rem, 6vw, 4.8rem); }
.page-hero .lead { max-width: 640px; margin-inline: auto; }

/* ---------- Method page ---------- */
.loop {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  max-width: 920px;
  margin: 8px auto 0;
  position: relative;
}
.loop a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .2s ease, transform .2s ease;
}
.loop a:hover { border-color: var(--brand); transform: translateY(-2px); }
.loop small {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: 99px;
  padding: 3px 8px;
}
.loop-return {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--ink-3);
  font-size: .95rem;
}
.loop-return svg { width: 20px; height: 20px; color: var(--brand-strong); }
@media (max-width: 680px) {
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.phases { display: grid; gap: 24px; }
.phase {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 4.5vw, 56px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.phase-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  line-height: .85;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.phase h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.phase-sub { color: var(--ink-3); font-weight: 500; margin-bottom: 20px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-wash);
  border: 1px solid var(--brand-soft);
  color: var(--brand-deep);
}
.pill svg { width: 15px; height: 15px; }
.phase-body > p { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 32px; }
.phase-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 28px;
  border-top: 1px dashed var(--line);
}
.phase-lists h3 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-3);
  margin-bottom: 14px;
}
@media (max-width: 860px) {
  .phase { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .phase-lists { grid-template-columns: 1fr; }
}

.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a21cc4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 12px;
}
.check-list.star li::before {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c.7 5 4.9 9.3 10 10-5.1.7-9.3 5-10 10-.7-5-4.9-9.3-10-10 5.1-.7 9.3-5 10-10z' fill='%23e056fd'/%3E%3C/svg%3E") no-repeat center / 11px;
}

.loop-callout {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.loop-callout::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  top: -160px;
  width: 460px;
  height: 460px;
  background: radial-gradient(closest-side, rgba(224, 86, 253, .55), transparent);
}
.loop-callout h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.loop-callout p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 640px; }
.loop-icon {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--ink);
}
.loop-icon svg { width: 40px; height: 40px; animation: spin 10s linear infinite; }
@media (max-width: 600px) {
  .loop-callout { flex-direction: column; align-items: flex-start; }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
}
.feature { padding: 28px 26px; }
.feature .icon-badge { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 22px; }
.feature .icon-badge svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 1rem; margin: 0; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex;
  padding: 5px;
  margin-top: 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.billing-toggle button {
  font: 600 .95rem/1 var(--font-body);
  color: var(--ink-2);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color .2s ease, color .2s ease;
}
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing-toggle .save {
  font-size: .75rem;
  padding: 4px 8px;
  border-radius: 99px;
  background: var(--brand);
  color: var(--ink);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  padding-top: 16px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
}
.price-card.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, #fdf3ff, #fff 40%) padding-box,
    var(--gradient) border-box;
  box-shadow: var(--shadow-lg);
  translate: 0 -14px;
}
.price-badge {
  position: absolute;
  top: -15px;
  left: clamp(30px, 3vw, 40px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: 7px 14px;
  border-radius: 999px;
}
.price-badge svg { width: 12px; height: 12px; color: var(--brand); }
.price-card h2 { font-size: 1.9rem; margin-bottom: 8px; }
.price-desc { color: var(--ink-2); margin-bottom: 24px; min-height: 3.2em; }
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
  font-family: var(--font-display);
  margin-bottom: 6px;
}
.price .amount { font-size: clamp(2.8rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.price .from { font-family: var(--font-body); font-size: 1rem; color: var(--ink-3); margin-right: 2px; }
.price .per { font-family: var(--font-body); font-size: 1rem; color: var(--ink-3); }
.price-note { font-size: .9rem; color: var(--ink-3); min-height: 1.6em; margin-bottom: 26px; }
.price-note .q { display: none; }
[data-billing="quarterly"] .price-note .q { display: inline; }
[data-billing="quarterly"] .price-note .m { display: none; }
.price-card .check-list { margin-bottom: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.price-card .check-list li { font-size: 1rem; }
.price-card .check-list li strong { font-weight: 600; }
.price-card .check-list li.lead-in { padding-left: 0; font-weight: 600; }
.price-card .check-list li.lead-in::before { display: none; }
.price-card .btn { margin-top: auto; width: 100%; }
[data-monthly] { transition: opacity .16s ease; }
[data-monthly].is-switching { opacity: 0; }

.pricing-footnote {
  text-align: center;
  color: var(--ink-3);
  font-size: .95rem;
  margin-top: 40px;
}

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; gap: 32px; }
  .price-card.featured { translate: none; }
  .price-desc { min-height: 0; }
}

.addons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
}
.addon {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.addon-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.addon h3 { font-size: 1.2rem; margin: 0; }
.addon .addon-price { font-family: var(--font-display); font-weight: 700; color: var(--brand-strong); white-space: nowrap; }
.addon p { color: var(--ink-2); font-size: 1rem; margin: 0; }
@media (max-width: 860px) { .addons { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0 clamp(20px, 3vw, 28px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: #e7c6f4; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a21cc4' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") no-repeat center / 14px;
  transition: transform .25s ease, background-color .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: 6px; }
.faq details p { color: var(--ink-2); margin: 0; padding-bottom: 24px; max-width: 680px; }
.faq details a { color: var(--brand-strong); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-info h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.contact-info .lead { margin-bottom: 28px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
  background-image: linear-gradient(var(--brand), var(--brand));
  background-size: 100% 3px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 4px;
  transition: background-size .3s ease, color .2s ease;
}
.contact-email:hover { color: var(--brand-strong); }
.contact-email svg { width: 26px; height: 26px; color: var(--brand-strong); transition: transform .2s ease; }
.contact-email:hover svg { transform: translate(3px, -3px); }

.next-steps {
  list-style: none;
  padding: 0;
  margin-top: 48px;
  display: grid;
  gap: 4px;
  counter-reset: ns;
}
.next-steps li {
  position: relative;
  counter-increment: ns;
  padding: 0 0 26px 60px;
}
.next-steps li::before {
  content: counter(ns);
  position: absolute;
  left: 0;
  top: -2px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.next-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--brand-soft), transparent);
}
.next-steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.next-steps p { margin: 0; color: var(--ink-2); font-size: 1rem; }

.form-card {
  padding: clamp(24px, 4vw, 48px);
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.form-card h2 { font-size: 1.7rem; margin-bottom: 6px; }
.form-card > p { color: var(--ink-3); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; min-width: 0; }
.field label,
.field legend { font-weight: 600; font-size: .95rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 10px; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.req { color: var(--brand-strong); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #a093ab; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #dccbe6; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(224, 86, 253, .18);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f4260' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #e11d48; }

fieldset.field { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip span:hover { border-color: var(--brand); color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:checked + span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.chip input:focus-visible + span { outline: 2px solid var(--brand-strong); outline-offset: 2px; }

.form-legal { font-size: .85rem; color: var(--ink-3); margin: 16px 0 0; text-align: center; }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .97rem;
}
.form-status.is-success { display: block; background: #ecfaf1; border: 1px solid #c4ead3; color: #13603a; }
.form-status.is-error { display: block; background: #fff1f3; border: 1px solid #fbcbd5; color: #9f1239; }
.form-status.is-info { display: block; background: var(--brand-wash); border: 1px solid var(--brand-soft); color: var(--brand-deep); }
.form-status a { font-weight: 600; }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

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

/* ---------- 404 ---------- */
.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.not-found .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(7rem, 22vw, 14rem);
  line-height: .85;
  letter-spacing: -0.06em;
  margin-bottom: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 7vw, 88px);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-brand p { color: var(--ink-2); max-width: 340px; margin: 18px 0 0; }
.footer-col h2 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-2); text-decoration: none; transition: color .15s ease; }
.footer-col a:hover { color: var(--brand-strong); }
.footer-col span { color: var(--ink-2); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 56px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--ink-3);
}
.footer-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(7rem, 34vw, 31rem);
  line-height: .74;
  letter-spacing: -0.07em;
  text-align: center;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 92%);
  margin-bottom: -0.08em;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 86, 253, .55); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(224, 86, 253, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Funnel (home), AI section, shop pages (/tok, /gram)
   ========================================================================== */

/* Prices exist twice (EUR + USD); cur.js sets data-cur on <html>. */
.cur-usd { display: none; }
[data-cur="USD"] .cur-usd { display: inline; }
[data-cur="USD"] .cur-eur { display: none; }

/* ---------- Funnel hero ----------
   Budget: all three options visible without scrolling on a 1280×720 laptop
   and a 375×667 phone. Mind the vertical space before adding anything here. */
.funnel-hero { padding-top: clamp(20px, 4.5vh, 52px); padding-bottom: clamp(48px, 7vw, 88px); }
.funnel-hero .eyebrow { margin-bottom: 16px; }
.funnel-hero h1 { max-width: none; font-size: clamp(2rem, 4.6vw, 4rem); margin-bottom: 14px; }
.funnel-hero .lead { max-width: 680px; margin-bottom: 0; font-size: clamp(1.02rem, 1.4vw, 1.18rem); }

.choices {
  list-style: none;
  padding: 0;
  margin: clamp(36px, 5vw, 56px) auto 0;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}
.funnel-hero .choices { margin-top: clamp(20px, 3.6vh, 36px); }
.choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.choices > li { display: flex; }

.choice {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 22px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.choice::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30% -30% auto;
  height: 90%;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.choice:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #e6cdf2; }
.choice:hover::before { opacity: 1; }
.choice-tok::before { background: radial-gradient(closest-side at 35% 55%, rgba(37, 244, 238, .22), transparent), radial-gradient(closest-side at 65% 55%, rgba(254, 44, 85, .16), transparent); }
.choice-gram::before { background: radial-gradient(closest-side at 30% 55%, rgba(255, 179, 71, .25), transparent), radial-gradient(closest-side at 70% 55%, rgba(214, 41, 118, .18), transparent); }

.choice-logo {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3.5vh, 36px) 8px;
}
.choice-logo img { width: auto; height: 46px; max-width: 86%; object-fit: contain; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.choice-gram .choice-logo img { height: 54px; }
.choice:hover .choice-logo img { transform: scale(1.05); }

.choice-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.choice-meta { font-size: .95rem; color: var(--ink-3); line-height: 1.35; }
.choice-meta b { color: var(--ink); font-weight: 700; }
.choice-go {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.choice-go svg { width: 19px; height: 19px; }
.choice:hover .choice-go { background: var(--brand); color: var(--ink); transform: translateX(3px); }

/* The expert option: dark, premium, clearly "not the quick one" */
.choice-pro { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice-pro::before {
  inset: auto -40% -60% auto;
  width: 120%;
  height: 120%;
  opacity: 1;
  background: radial-gradient(closest-side, rgba(224, 86, 253, .45), transparent);
}
.choice-pro:hover { border-color: var(--ink); }
.choice-pro .choice-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.12; letter-spacing: -0.03em; color: #fff; margin-bottom: 8px; }
.choice-pro .choice-text { display: block; color: rgba(255, 255, 255, .72); font-size: .95rem; line-height: 1.5; margin-bottom: 14px; }
.choice-pro .choice-foot { border-top-color: rgba(255, 255, 255, .16); margin-top: auto; }
.choice-pro .choice-meta { color: rgba(255, 255, 255, .72); }
.choice-pro .choice-meta b { color: #fff; }
.choice-pro .choice-go { background: var(--brand); color: var(--ink); }
.choice-pro:hover .choice-go { background: #fff; }

.warn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 194, 158, .14);
  border: 1px solid rgba(255, 194, 158, .4);
  color: var(--peach);
  margin-bottom: 16px;
}
.warn-pill svg { width: 15px; height: 15px; flex: none; }

.trust-row {
  list-style: none;
  padding: 0;
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: .95rem;
  color: var(--ink-2);
}
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 18px; height: 18px; color: var(--brand-strong); flex: none; }

@media (max-width: 900px) {
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choices > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Phones: the options become compact rows so all three fit on one screen. */
@media (max-width: 600px) {
  .funnel-hero { padding-top: 18px; }
  .funnel-hero .eyebrow { display: none; }
  .funnel-hero .lead { font-size: 1rem; line-height: 1.5; }
  .choices, .choices.two { grid-template-columns: 1fr; gap: 10px; margin-inline: -8px; } /* rows run 8px into the gutter */
  .funnel-hero .choices { margin-top: 20px; }

  .choice { flex-direction: row; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 20px; }
  .choice:hover { transform: none; }
  .choice-logo { padding: 0; place-items: center start; }
  .choice-logo img { height: 28px; max-width: 100%; }
  .choice-gram .choice-logo img { height: 34px; }
  .choice:hover .choice-logo img { transform: none; }
  .choice-foot { border-top: 0; padding-top: 0; text-align: right; }
  .choice-meta { font-size: .85rem; line-height: 1.25; }
  .choice-go { width: 40px; height: 40px; }

  .choice-pro {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "title go" "pill go";
    gap: 8px 12px;
    padding: 14px 12px 14px 18px;
  }
  .choice-pro .choice-title { grid-area: title; font-size: 1.15rem; margin: 0; }
  .choice-pro .choice-text,
  .choice-pro .choice-meta { display: none; }
  .choice-pro .warn-pill { grid-area: pill; margin: 0; font-size: .74rem; padding: 5px 10px; white-space: nowrap; }
  .choice-pro .choice-foot { grid-area: go; margin: 0; }

  .trust-row { font-size: .88rem; gap: 6px 16px; margin-top: 18px; }
}

/* ---------- How it works ---------- */
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .steps.steps-3 { grid-template-columns: 1fr; } .steps.steps-3 .step::after { display: none; } }

.pro-note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--brand-wash);
  border: 1px solid var(--brand-soft);
}
.pro-note p { margin: 0; color: var(--ink-2); max-width: 680px; }
.pro-note strong { color: var(--ink); }

/* ---------- AI section ---------- */
.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.ai-features {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.ai-features li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.ai-features .icon-badge { width: 44px; height: 44px; border-radius: 13px; margin: 0; }
.ai-features .icon-badge svg { width: 21px; height: 21px; }
.ai-features h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.ai-features p { font-size: .97rem; color: var(--ink-2); margin: 0; }
@media (max-width: 960px) { .ai-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ai-features { grid-template-columns: 1fr; } }

.ai-video { position: relative; margin: 0; max-width: 540px; width: 100%; justify-self: center; }
.ai-video video {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}

.ai-mock {
  border-radius: 30px;
  padding: 14px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.ai-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: 20px;
  background:
    radial-gradient(60% 70% at 70% 30%, rgba(255, 194, 158, .55), transparent 70%),
    radial-gradient(70% 80% at 25% 80%, rgba(224, 86, 253, .75), transparent 70%),
    linear-gradient(160deg, #3a1656, #7b2aa6);
}
.ai-subject {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 36%;
  height: 78%;
  translate: -50% 0;
}
.ai-subject::before,
.ai-subject::after { content: ""; position: absolute; left: 50%; translate: -50% 0; background: rgba(27, 16, 36, .55); }
.ai-subject::before { top: 0; width: 46%; aspect-ratio: 1; border-radius: 50%; }
.ai-subject::after { bottom: 0; width: 100%; height: 56%; border-radius: 48% 48% 0 0; }

.ai-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13%;
  display: flex;
  justify-content: center;
  gap: .32em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1rem, 2.3vw, 1.45rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 0 rgba(27, 16, 36, .6);
}
.ai-caption span { padding: 0 .18em; border-radius: 6px; animation: word 3.6s infinite; }
.ai-caption span:nth-child(2) { animation-delay: 1.2s; }
.ai-caption span:nth-child(3) { animation-delay: 2.4s; }
@keyframes word {
  0%, 30% { background: var(--brand); color: var(--ink); text-shadow: none; transform: scale(1.08) rotate(-2deg); }
  34%, 100% { background: transparent; color: #fff; transform: none; }
}

.ai-shape { position: absolute; color: #fff; }
.ai-shape.s1 { top: 14%; left: 12%; width: 34px; height: 34px; animation: spin 7s linear infinite; }
.ai-shape.s2 { top: 22%; right: 13%; width: 46px; height: 46px; color: var(--peach); animation: bob 3s ease-in-out infinite; }
.ai-shape.s3 { bottom: 34%; left: 16%; width: 18px; height: 18px; border-radius: 50%; background: #25f4ee; opacity: .85; animation: bob 2.4s ease-in-out infinite reverse; }
@keyframes bob { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-12px) scale(1.08); } }

.ai-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
}
.ai-chip svg { width: 14px; height: 14px; color: var(--brand-strong); animation: spin 4s linear infinite; }

.ai-timeline {
  position: relative;
  margin-top: 12px;
  padding: 12px 12px 10px;
  border-radius: 16px;
  background: #261832;
  display: grid;
  gap: 7px;
  overflow: hidden;
}
.ai-track { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 10px; }
.ai-track > span { font-size: .7rem; font-weight: 600; color: rgba(255, 255, 255, .55); text-transform: uppercase; letter-spacing: .08em; }
.ai-track > div { display: flex; gap: 4px; height: 16px; }
.ai-track i { display: block; height: 100%; border-radius: 5px; flex: var(--w, 1); }
.ai-track.t1 i { background: #8b5cff; }
.ai-track.t1 i:nth-child(even) { background: #a37bff; }
.ai-track.t2 i { background: var(--brand); }
.ai-track.t2 i:nth-child(even) { background: transparent; }
.ai-track.t3 i { background: var(--peach); }
.ai-track.t3 i:nth-child(odd) { background: transparent; }
.ai-playhead {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 84px;
  width: 2px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, .6);
  animation: playhead 7.2s linear infinite;
}
@keyframes playhead { from { left: 84px; } to { left: calc(100% - 14px); } }

.ai-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.ai-float i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #e8f8ee; color: #157a43; }
.ai-float i svg { width: 13px; height: 13px; }
.ai-float.f1 { top: 18%; left: -18px; }
.ai-float.f2 { top: 46%; right: -18px; animation-delay: -2s; }
@media (max-width: 600px) {
  .ai-float.f1 { left: 6px; top: -16px; }
  .ai-float.f2 { right: 6px; top: auto; bottom: 34%; }
}

/* ---------- Shop pages ---------- */
.shop-hero { padding-bottom: clamp(40px, 6vw, 72px); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
.back-link svg { width: 16px; height: 16px; }
.back-link:hover { background: var(--brand-wash); color: var(--ink); }
.shop-logo { display: block; width: auto; height: 46px; margin: 0 auto 24px; }
.shop-logo.gram { height: 58px; }
.shop-logo.sm { height: 34px; margin-bottom: 18px; }
.shop-logo.sm.gram { height: 42px; }
.shop-hero h1 { max-width: 16ch; font-size: clamp(2.3rem, 5.4vw, 4.2rem); }

.shop {
  max-width: 900px;
  margin: 36px auto 0;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 4vw, 40px);
}
.shop-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.shop-step .n {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .95rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.svc-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.svc-group legend.shop-step { padding: 0; }
.svc-note { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink-3); margin: 14px 0 0; }
.svc-note svg { width: 16px; height: 16px; color: var(--brand-strong); flex: none; }

.pkgs {
  list-style: none;
  padding: 10px 0 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 680px) { .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pkg { position: relative; display: block; cursor: pointer; }
.pkg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 24px 10px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  background: #fff;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pkg:hover .pkg-card { border-color: #dcbdea; transform: translateY(-2px); }
.pkg input:checked + .pkg-card {
  border-color: var(--ink);
  background: var(--brand-wash);
  box-shadow: 0 0 0 4px rgba(224, 86, 253, .22);
}
.pkg input:focus-visible + .pkg-card { outline: 2px solid var(--brand-strong); outline-offset: 3px; }
.pkg-card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  transition: background-color .2s ease, border-color .2s ease;
}
.pkg input:checked + .pkg-card::after {
  border-color: var(--ink);
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e056fd' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center / 11px;
}
.pkg-qty { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -0.04em; line-height: 1; }
.pkg-unit { font-size: .88rem; color: var(--ink-3); margin-top: 6px; }
.pkg-price { margin-top: 14px; font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.pkg-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
}
.pkg-tag.best { background: var(--ink); color: #fff; }

.user-step { margin-top: 32px; padding-top: 28px; border-top: 1px dashed var(--line); }
.user-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-alt);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.user-field:focus-within { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(224, 86, 253, .18); }
.user-field.is-invalid { border-color: #e11d48; }
.user-field .at { padding-left: 18px; font-weight: 700; color: var(--ink-3); font-size: 1.1rem; }
.user-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.08rem;
  color: var(--ink);
  padding: 17px 18px 17px 6px;
  outline: none;
}
.user-help { font-size: .92rem; color: var(--ink-3); margin: 10px 0 0; }
.user-err { font-size: .92rem; color: #be123c; font-weight: 500; margin: 8px 0 0; }

.shop-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 16px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.shop-summary strong { display: block; font-size: 1.08rem; }
.shop-summary small { display: block; color: var(--ink-3); font-size: .88rem; margin-top: 2px; }
.shop-summary .sum-price { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; white-space: nowrap; }

.shop-submit { width: 100%; padding-block: 19px; font-size: 1.05rem; }
.shop-submit .idle { display: inline-flex; align-items: center; gap: .55em; }
.shop-submit .busy { display: none; align-items: center; gap: 10px; }
.shop.is-busy .shop-submit .idle { display: none; }
.shop.is-busy .shop-submit .busy { display: inline-flex; }
.shop.is-busy .shop-submit { pointer-events: none; opacity: .85; }
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
.handoff-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--ink-3);
  margin: 14px 0 0;
  text-align: center;
}
.handoff-note svg { width: 15px; height: 15px; flex: none; }

.pay-icons {
  list-style: none;
  padding: 0;
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}
.pay-icons img { display: block; }
/* The live summary needs JS; without it the form still posts the chosen package. */
.shop-summary { display: none; }
.js .shop-summary { display: flex; }

/* ---------- Funnel pages: header without menu ---------- */
.site-header.funnel .nav { justify-content: space-between; }
.nav-secure {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav-secure svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
@media (max-width: 600px) {
  .site-header.funnel .nav { height: 62px; }
  .site-header.funnel .logo { font-size: 1.5rem; }
  .site-header.funnel .logo svg { width: 30px; height: 30px; }
  .nav-secure { font-size: .85rem; gap: 6px; }
  .nav-secure svg { width: 15px; height: 15px; }
}

/* ---------- Step 1: service rows (/tok, /gram) ---------- */
.svc-list {
  list-style: none;
  padding: 0;
  margin: 28px auto 0;
  max-width: 640px;
  display: grid;
  gap: 10px;
  text-align: left;
}
.svc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px 16px 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.svc-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #e6cdf2; }
.svc-ico {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
  transition: background .25s ease, color .25s ease;
}
.svc-ico svg { width: 22px; height: 22px; }
.svc-row:hover .svc-ico { background: var(--gradient); color: #fff; }
.svc-txt { flex: 1; min-width: 0; }
.svc-txt strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.2; }
.svc-txt small { display: block; color: var(--ink-3); font-size: .9rem; margin-top: 2px; }
.svc-from { text-align: right; font-size: .82rem; color: var(--ink-3); line-height: 1.25; white-space: nowrap; }
.svc-from b { display: block; color: var(--ink); font-size: 1.02rem; }
.svc-row:hover .choice-go { background: var(--brand); color: var(--ink); transform: translateX(3px); }
.svc-row .choice-go { width: 40px; height: 40px; }
@media (max-width: 600px) {
  .svc-list { margin-inline: -8px; }
  .svc-row { gap: 12px; padding: 14px 12px 14px 14px; }
  .svc-ico { width: 44px; height: 44px; border-radius: 13px; }
}

/* ---------- Home on phones: a little more air ---------- */
@media (max-width: 600px) {
  .funnel-hero { padding-top: 26px; }
  .funnel-hero .eyebrow { display: inline-flex; margin-bottom: 12px; font-size: .8rem; padding: 6px 13px 6px 10px; }
  .funnel-hero .lead { line-height: 1.4; }
  .funnel-hero .choices { margin-top: 16px; }
  .choice { padding-top: 17px; padding-bottom: 17px; }
  .choice-pro { padding-top: 17px; padding-bottom: 17px; }
}

/* ---------- How it works: animated step illustrations ----------
   The resting state of every element is the finished frame, so with
   reduced motion each picture simply shows the end result. */
.steps-art .step { padding-top: 16px; }
.step-art {
  display: block;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--brand-wash);
  border: 1px solid var(--brand-soft);
  overflow: hidden;
}
.step-art svg { display: block; width: 100%; height: auto; }
.step-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.steps-art .step-num { font-size: 2rem; margin: 0; }
.steps-art .step h3 { margin: 0; }
.steps-art .step:not(:last-child)::after { top: 50%; }

/* 1 · choose: a pointer taps the first row, then the second */
.a1-box { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.a1-row.r2 .a1-box { stroke: var(--brand); stroke-width: 2.5; }
.a1-row.r1 .a1-box { animation: a1-r1 6s ease infinite; }
.a1-row.r2 .a1-box { animation: a1-r2 6s ease infinite; }
.a1-cursor { transform: translate(190px, 74px); animation: a1-cursor 6s ease-in-out infinite; }
.a1-ripple { opacity: 0; transform: scale(.3); animation: a1-ripple 6s ease-out infinite; }
@keyframes a1-cursor {
  0% { transform: translate(224px, 146px); }
  18% { transform: translate(190px, 36px); }
  22% { transform: translate(190px, 36px) scale(.82); }
  26%, 44% { transform: translate(190px, 36px) scale(1); }
  60% { transform: translate(190px, 74px); }
  64% { transform: translate(190px, 74px) scale(.82); }
  68%, 90% { transform: translate(190px, 74px) scale(1); }
  100% { transform: translate(224px, 146px); }
}
@keyframes a1-ripple {
  0%, 21% { opacity: 0; transform: scale(.3); }
  23% { opacity: .9; }
  36% { opacity: 0; transform: scale(1.5); }
  37%, 63% { opacity: 0; transform: scale(.3); }
  65% { opacity: .9; }
  78%, 100% { opacity: 0; transform: scale(1.5); }
}
@keyframes a1-r1 {
  0%, 22% { stroke: var(--line); stroke-width: 1.5; }
  24%, 58% { stroke: var(--brand); stroke-width: 2.5; }
  62%, 100% { stroke: var(--line); stroke-width: 1.5; }
}
@keyframes a1-r2 {
  0%, 64% { stroke: var(--line); stroke-width: 1.5; }
  66%, 94% { stroke: var(--brand); stroke-width: 2.5; }
  100% { stroke: var(--line); stroke-width: 1.5; }
}

/* 2 · username: typed letter by letter, then confirmed */
.a2-reveal { transform-origin: 62px 0; animation: a2-type 6s steps(8, end) infinite; }
.a2-caret { transform: translateX(72px); animation: a2-caret 6s steps(8, end) infinite, a2-blink 1s step-end infinite; }
.a2-check { transform-origin: 191px 57px; animation: a2-check 6s ease infinite; }
.a2-btn { fill: var(--ink); animation: a2-btn 6s ease infinite; }
@keyframes a2-type { 0%, 12% { transform: scaleX(0); } 52%, 100% { transform: scaleX(1); } }
@keyframes a2-caret { 0%, 12% { transform: translateX(0); } 52%, 100% { transform: translateX(72px); } }
@keyframes a2-blink { 50% { opacity: 0; } }
@keyframes a2-check {
  0%, 55% { opacity: 0; transform: scale(.4); }
  61% { opacity: 1; transform: scale(1.15); }
  65%, 94% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.4); }
}
@keyframes a2-btn { 0%, 66% { fill: var(--ink); } 72%, 92% { fill: var(--brand); } 100% { fill: var(--ink); } }

/* 3 · pay securely: the lock closes, the 5-minute ring fills, done */
.a3-shackle { animation: a3-lock 6s ease infinite; }
.a3-dash { animation: a3-march 1.2s linear infinite; }
.a3-progress { stroke-dashoffset: 0; animation: a3-ring 6s ease-in-out infinite; }
.a3-check { transform-origin: 214px 44px; animation: a3-check 6s ease infinite; }
@keyframes a3-lock { 0%, 8% { transform: translateY(-7px); } 16%, 100% { transform: translateY(0); } }
@keyframes a3-march { to { stroke-dashoffset: -16; } }
@keyframes a3-ring { 0%, 20% { stroke-dashoffset: 213.6; } 70%, 100% { stroke-dashoffset: 0; } }
@keyframes a3-check {
  0%, 70% { opacity: 0; transform: scale(.4); }
  76% { opacity: 1; transform: scale(1.15); }
  80%, 95% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.4); }
}
