:root {
  /* FlakCRM brand tokens (docs/brand/flakcrm) + Starbucks-style surface roles */
  --ink: #0e1419;
  --ink-soft: #4a524f;
  --paper: #f2eee7;
  --paper-2: #ebe6dc;
  --cream: #e8e0d4;
  --line: rgba(14, 20, 25, 0.12);
  --accent: #0a6b63;
  --accent-deep: #08564f;
  --accent-soft: rgba(10, 107, 99, 0.12);
  --house: #123a36;
  --house-ink: #f2eee7;
  --warn: #8a3b16;
  --danger: #8f2f2f;
  --ok: #1f6b3a;
  --shadow: 0 1px 1px rgba(14, 20, 25, 0.06), 0 8px 24px rgba(14, 20, 25, 0.06);
  --shadow-lift: 0 2px 2px rgba(14, 20, 25, 0.06), 0 16px 36px rgba(10, 107, 99, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --shell: min(1160px, calc(100% - 2.5rem));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --motion: 0.55s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, #f7f4ee 0%, var(--paper) 42%, var(--cream) 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

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

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell.narrow {
  width: min(720px, calc(100% - 2rem));
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(242, 238, 231, 0.88);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease-out), background 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(242, 238, 231, 0.96);
  box-shadow: 0 1px 3px rgba(14, 20, 25, 0.08), 0 2px 2px rgba(14, 20, 25, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.75rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

.brand-mark__logo {
  width: auto;
  height: 2.35rem;
  object-fit: contain;
  background: transparent;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
  margin-left: 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-account {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  max-width: 12rem;
}

.header-account__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-account__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.header-account__avatar--ph {
  display: grid;
  place-items: center;
  background: rgba(16, 116, 113, 0.14);
  color: var(--accent-deep);
  font-size: 0.85rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
}

.lang-switch__item {
  text-decoration: none;
  padding: 0.35rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.lang-switch__item.is-active,
.lang-switch__item:hover,
.lang-switch__item:focus-visible {
  background: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
}

.mobile-nav {
  display: grid;
  gap: 0.15rem;
  padding: 0.5rem 1rem 1.1rem;
  border-top: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.98);
}

.mobile-nav a {
  text-decoration: none;
  padding: 0.85rem 0.5rem;
  border-radius: 10px;
  font-size: 1.08rem;
  font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: var(--accent-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
}

.btn:focus-visible {
  outline: 3px solid rgba(10, 107, 99, 0.35);
  outline-offset: 2px;
}

.btn--small {
  min-height: 2.25rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}

.btn--solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(14, 20, 25, 0.08), 0 8px 18px rgba(10, 107, 99, 0.18);
}

.btn--solid:hover {
  background: var(--accent-deep);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn--on-dark {
  background: var(--house-ink);
  color: var(--house);
}

.btn--on-dark:hover {
  background: #fff;
}

.btn--ghost-on-dark {
  background: transparent;
  border-color: rgba(242, 238, 231, 0.45);
  color: var(--house-ink);
}

.btn--ghost-on-dark:hover {
  border-color: #fff;
  color: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  background: var(--paper);
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/static/img/hero-workspace.png?v=1");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  animation: hero-pan 24s ease-in-out infinite alternate;
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(242, 238, 231, 0.98) 0%,
      rgba(242, 238, 231, 0.92) 28%,
      rgba(242, 238, 231, 0.55) 48%,
      rgba(242, 238, 231, 0.15) 68%,
      rgba(242, 238, 231, 0.05) 100%),
    linear-gradient(180deg,
      rgba(242, 238, 231, 0.55) 0%,
      rgba(242, 238, 231, 0) 22%,
      rgba(242, 238, 231, 0) 70%,
      rgba(242, 238, 231, 0.65) 100%);
}

@keyframes hero-pan {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.06) translate3d(-12px, -6px, 0); }
}

@media (max-width: 900px) {
  .hero__photo {
    background-position: 72% center;
    animation: none;
  }
  .hero__veil {
    background:
      linear-gradient(180deg,
        rgba(242, 238, 231, 0.55) 0%,
        rgba(242, 238, 231, 0.15) 40%,
        rgba(242, 238, 231, 0.85) 88%,
        rgba(242, 238, 231, 0.98) 100%);
  }
}

/* decorative calendar tiles scattered across content sections */
.section {
  position: relative;
  isolation: isolate;
}

/* Variant A: classic wall calendar with a highlighted date */
.section::before,
.section::after {
  --cal-a: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 84'%3E%3Crect x='6' y='14' width='72' height='64' rx='10' fill='%23ffffff' stroke='%230a6b63' stroke-width='2'/%3E%3Crect x='6' y='14' width='72' height='18' rx='10' fill='%230a6b63'/%3E%3Crect x='6' y='24' width='72' height='8' fill='%230a6b63'/%3E%3Crect x='22' y='6' width='6' height='16' rx='3' fill='%230a6b63'/%3E%3Crect x='56' y='6' width='6' height='16' rx='3' fill='%230a6b63'/%3E%3Cg fill='%230a6b63' opacity='0.55'%3E%3Ccircle cx='20' cy='46' r='2.6'/%3E%3Ccircle cx='34' cy='46' r='2.6'/%3E%3Ccircle cx='48' cy='46' r='2.6'/%3E%3Ccircle cx='62' cy='46' r='2.6'/%3E%3Ccircle cx='20' cy='60' r='2.6'/%3E%3Ccircle cx='34' cy='60' r='2.6'/%3E%3Ccircle cx='48' cy='60' r='2.6'/%3E%3Ccircle cx='62' cy='60' r='2.6'/%3E%3C/g%3E%3Ccircle cx='48' cy='60' r='5' fill='%230a6b63'/%3E%3C/svg%3E");

  /* Variant B: page-a-day tear-off calendar showing a big number */
  --cal-b: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 84'%3E%3Crect x='10' y='10' width='64' height='64' rx='8' fill='%23ffffff' stroke='%230a6b63' stroke-width='2'/%3E%3Crect x='10' y='10' width='64' height='18' rx='8' fill='%23c94b3f'/%3E%3Crect x='10' y='20' width='64' height='8' fill='%23c94b3f'/%3E%3Ctext x='42' y='60' text-anchor='middle' font-family='Georgia,serif' font-size='30' font-weight='700' fill='%230e1419'%3E15%3C/text%3E%3Ctext x='42' y='24' text-anchor='middle' font-family='Arial,sans-serif' font-size='9' font-weight='700' fill='%23ffffff'%3EAUG%3C/text%3E%3C/svg%3E");

  /* Variant C: circular clock/schedule dial */
  --cal-c: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 84'%3E%3Ccircle cx='42' cy='42' r='34' fill='%23ffffff' stroke='%230a6b63' stroke-width='2'/%3E%3Cg stroke='%230a6b63' stroke-width='2' stroke-linecap='round' opacity='0.7'%3E%3Cline x1='42' y1='12' x2='42' y2='18'/%3E%3Cline x1='42' y1='66' x2='42' y2='72'/%3E%3Cline x1='12' y1='42' x2='18' y2='42'/%3E%3Cline x1='66' y1='42' x2='72' y2='42'/%3E%3C/g%3E%3Cline x1='42' y1='42' x2='42' y2='22' stroke='%230a6b63' stroke-width='3' stroke-linecap='round'/%3E%3Cline x1='42' y1='42' x2='58' y2='50' stroke='%23c94b3f' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='42' cy='42' r='3' fill='%230a6b63'/%3E%3C/svg%3E");

  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: var(--cal-a);
  animation: cal-drift 9s ease-in-out infinite alternate;
}

.section::before {
  top: 2.2rem;
  left: 3%;
  transform: rotate(-8deg);
}

.section::after {
  bottom: 2.2rem;
  right: 4%;
  width: 68px;
  height: 68px;
  opacity: 0.35;
  transform: rotate(6deg);
  animation-duration: 11s;
  animation-direction: alternate-reverse;
}

/* rotate through 3 different calendar styles per section */
.section:nth-of-type(3n+1)::before { background-image: var(--cal-a); }
.section:nth-of-type(3n+2)::before { background-image: var(--cal-b); transform: rotate(6deg); }
.section:nth-of-type(3n+3)::before { background-image: var(--cal-c); transform: rotate(-4deg); }

.section:nth-of-type(3n+1)::after { background-image: var(--cal-c); }
.section:nth-of-type(3n+2)::after { background-image: var(--cal-a); transform: rotate(-6deg); }
.section:nth-of-type(3n+3)::after { background-image: var(--cal-b); transform: rotate(8deg); }

/* some sections get a second, smaller ornament via a floating child */
.section--band::before,
.section--band::after {
  opacity: 0.28;
}

@media (max-width: 720px) {
  .section::before,
  .section::after {
    display: none;
  }
}

.hero__brand {
  margin: 0 0 1.25rem;
  line-height: 0;
}

.hero__brand-logo {
  width: min(26rem, 86vw);
  height: auto;
  object-fit: contain;
  background: transparent;
}

.hero__headline {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero__supporting {
  margin: 1.1rem 0 0;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.section {
  padding: 5rem 0;
}

.section--tint {
  background: #fff;
  border-block: 1px solid rgba(14, 20, 25, 0.06);
}

.section--band {
  background: var(--house);
  color: var(--house-ink);
  border-block: none;
}

.section--band .eyebrow {
  color: rgba(242, 238, 231, 0.75);
}

.section--band .eyebrow::before {
  background: rgba(242, 238, 231, 0.55);
}

.section--band h2 {
  color: #fff;
  max-width: 24ch;
}

.section--band .value-grid li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(242, 238, 231, 0.14);
  color: var(--house-ink);
}

.section--band .value-grid h3 {
  color: #fff;
}

.section--band .value-grid p {
  color: rgba(242, 238, 231, 0.72);
}

.section--band .value-grid li:hover {
  border-color: rgba(242, 238, 231, 0.28);
  box-shadow: none;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 22ch;
}

.subhead {
  margin: 2.5rem 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.lede {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.muted {
  color: var(--ink-soft);
}

.small {
  font-size: 0.9rem;
}

.value-grid,
.package-grid,
.case-grid,
.review-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

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

.value-grid li {
  list-style: none;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s ease;
}

.value-grid li:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 107, 99, 0.28);
  box-shadow: var(--shadow-lift);
}

.value-grid h3,
.package h3,
.case h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.value-grid p,
.package p,
.case p {
  margin: 0;
  color: var(--ink-soft);
}

.package {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s ease;
}

.package:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(10, 107, 99, 0.22);
}

/* Cal.com-style featured tier: inverted dark card */
.package--featured {
  background: var(--house);
  border-color: transparent;
  color: var(--house-ink);
}

.package--featured:hover {
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(14, 20, 25, 0.22);
}

.package--featured p,
.package--featured .package__includes {
  color: rgba(242, 238, 231, 0.78);
}

.package--featured .price {
  color: #fff;
}

.package--featured .price--sub {
  color: rgba(242, 238, 231, 0.7);
}

.package--featured .tag {
  background: var(--accent);
}

.package--featured .btn--solid {
  background: var(--house-ink);
  color: var(--house);
  box-shadow: none;
}

.package--featured .btn--solid:hover {
  background: #fff;
}

.package-grid--tariffs {
  margin-top: 1.75rem;
  align-items: stretch;
}

.package-grid--tariffs .package {
  min-height: 100%;
}

.package-grid--tariffs .package__foot {
  margin-top: auto;
  padding-top: 1.4rem;
}

.package--soon {
  opacity: 0.78;
  background: var(--paper-2);
}

.package--soon:hover {
  transform: none;
  box-shadow: var(--shadow);
  border-color: var(--line);
}

.tag--soon {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.package--featured.package--soon .tag--soon {
  color: rgba(242, 238, 231, 0.8);
  border-color: rgba(242, 238, 231, 0.28);
}

.package__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.tag {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.package__includes {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.package__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
}

.price {
  font-weight: 600;
  font-size: 0.95rem;
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.price--sub {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.case {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

.case__preview {
  height: 140px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(10, 107, 99, 0.35), rgba(232, 224, 212, 0.7));
  transition: transform 0.45s var(--ease-out), filter 0.45s ease;
}

.case:hover .case__preview {
  transform: scale(1.02);
  filter: saturate(1.08);
}

.case__preview[data-case="mohawkrugged"] {
  background:
    linear-gradient(145deg, #14110e 0%, #2a1810 52%, #ff6a1a 160%),
    radial-gradient(circle at 78% 22%, rgba(255, 106, 26, 0.55), transparent 42%);
}

.case__preview[data-case="nord-cut"] {
  background:
    linear-gradient(145deg, rgba(26, 28, 27, 0.55), rgba(16, 116, 113, 0.35)),
    radial-gradient(circle at 70% 30%, rgba(255, 252, 245, 0.35), transparent 45%);
}

.case__preview[data-case="luna-nails"] {
  background:
    linear-gradient(145deg, rgba(227, 213, 195, 0.75), rgba(16, 116, 113, 0.3)),
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.35), transparent 40%);
}

.case__niche {
  font-weight: 600;
  color: var(--ink) !important;
  margin-bottom: 0.25rem !important;
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent-deep);
  font-weight: 600;
}

.review {
  margin: 0;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

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

.review p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
}

.review footer {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.heart-rating-display {
  display: inline-flex;
  gap: 0.1rem;
  font-size: 0.95rem;
  line-height: 1;
  color: rgba(26, 28, 27, 0.18);
}
.heart-rating-display .is-on {
  color: #c45b6a;
}
.heart-rating-display--inline {
  margin-left: 0.15rem;
}

.form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.account-lead-summary {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.7);
}

.account-lead-summary p {
  margin: 0;
}

.account-lead-summary p + p {
  margin-top: 0.35rem;
}

.lead-auth-gate {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form label,
.form fieldset {
  display: grid;
  gap: 0.4rem;
}

.form label span,
.form legend {
  font-size: 0.9rem;
  font-weight: 600;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form input:hover,
.form textarea:hover {
  border-color: rgba(16, 116, 113, 0.35);
}

.form input:focus-visible,
.form textarea:focus-visible,
.form button:focus-visible {
  outline: 3px solid rgba(16, 116, 113, 0.35);
  outline-offset: 2px;
}

.form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 0;
}

.form fieldset.service-fieldset {
  border: none;
  padding: 0;
  background: transparent;
}

.form fieldset.service-fieldset legend {
  margin-bottom: 0.65rem;
  padding: 0;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.check-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.service-chip {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
  font-weight: 600;
}

.service-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.service-chip__face {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.6rem;
  padding: 0.45rem 0.95rem 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 28, 27, 0.14);
  background: rgba(255, 252, 245, 0.72);
  color: var(--ink-soft);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
  transition:
    transform 0.25s var(--ease-out),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s var(--ease-out);
  white-space: nowrap;
  user-select: none;
}

.service-chip__mark {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  border: 1.5px solid rgba(16, 116, 113, 0.35);
  background: rgba(255, 255, 255, 0.7);
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out);
}

.service-chip__mark::after {
  content: "";
  position: absolute;
  inset: 0.22rem;
  border-radius: inherit;
  background: transparent;
  transform: scale(0.4);
  opacity: 0;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease, background 0.2s ease;
}

.service-chip:hover .service-chip__face {
  border-color: rgba(16, 116, 113, 0.4);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(16, 116, 113, 0.1);
}

.service-chip--complex .service-chip__face {
  border-color: rgba(16, 116, 113, 0.28);
  background:
    linear-gradient(135deg, rgba(16, 116, 113, 0.08), rgba(255, 252, 245, 0.85));
}

.service-chip input:checked + .service-chip__face {
  background: var(--accent);
  border-color: var(--accent-deep);
  color: #fff;
  box-shadow: 0 12px 24px rgba(16, 116, 113, 0.24);
}

.service-chip input:checked + .service-chip__face .service-chip__mark {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

.service-chip input:checked + .service-chip__face .service-chip__mark::after {
  background: #fff;
  opacity: 1;
  transform: scale(1);
}

.service-chip input:focus-visible + .service-chip__face {
  outline: 3px solid rgba(16, 116, 113, 0.35);
  outline-offset: 2px;
}

.service-chip input:checked + .service-chip__face:hover {
  background: var(--accent-deep);
}

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

.form-error {
  color: var(--danger);
  margin: 0;
}

.form-success {
  color: var(--ok);
  margin: 0;
}

.success-panel {
  margin-top: 1.5rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(16, 116, 113, 0.25);
  background: rgba(255, 252, 245, 0.85);
}

.lead-id-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1.05rem;
}

.stub-banner {
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(138, 59, 22, 0.1);
  color: var(--warn);
  font-size: 0.92rem;
}

.payment-box {
  margin: 1.25rem 0;
  padding: 1rem;
  border-radius: 14px;
  background: var(--paper-2);
}

.payment-box h4 {
  margin: 0 0 0.75rem;
}

.payment-dl {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.payment-dl div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem;
}

.payment-dl dt {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.payment-dl dd {
  margin: 0;
  font-weight: 600;
  word-break: break-word;
}

.payment-instruction {
  margin: 0.9rem 0 0;
  font-weight: 600;
}

.site-footer {
  padding: 4rem 0 2.75rem;
  background: var(--house);
  color: rgba(242, 238, 231, 0.72);
  border-top: none;
}

.site-footer .brand-mark__text {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.site-footer .muted,
.site-footer .small {
  color: rgba(242, 238, 231, 0.62);
}

.footer-inner {
  display: grid;
  gap: 0.45rem;
}

@media (max-width: 767px) {
  body {
    background-attachment: scroll;
  }

  .shell {
    width: min(100% - 1.5rem, 1160px);
  }

  .shell.narrow {
    width: min(100% - 1.5rem, 720px);
  }

  .header-inner {
    min-height: 3.6rem;
    gap: 0.55rem;
  }

  .brand-mark__logo {
    height: 1.85rem;
  }

  /* Keep header lean: logo + lang + burger only */
  .header-actions .btn,
  .header-actions .header-account {
    display: none;
  }

  .lang-switch__item {
    padding: 0.28rem 0.42rem;
    font-size: 0.7rem;
  }

  .mobile-nav[hidden] {
    display: none !important;
  }

  .mobile-nav:not([hidden]) {
    display: grid;
  }

  .mobile-nav .btn {
    margin-top: 0.35rem;
    width: 100%;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding: 3.25rem 0 2.75rem;
  }

  .hero__atmosphere::after {
    width: min(78vw, 360px);
    height: min(78vw, 360px);
    right: -18%;
    bottom: -30%;
    opacity: 0.55;
  }

  .hero__brand-logo {
    width: min(13.5rem, 70vw);
  }

  .hero__headline {
    max-width: none;
    font-size: clamp(1.4rem, 6.2vw, 1.9rem);
  }

  .hero__supporting {
    font-size: 0.98rem;
  }

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

  .hero__cta .btn {
    width: 100%;
  }

  .section {
    padding: 3.25rem 0;
  }

  h2 {
    max-width: none;
  }

  .package__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .package__foot .btn {
    width: 100%;
  }

  .price-block {
    width: 100%;
  }

  .package-grid--tariffs,
  .package-grid,
  .case-grid,
  .review-grid,
  .value-grid {
    gap: 0.85rem;
  }

  .lead-auth-gate {
    display: grid;
    gap: 0.75rem;
  }

  .lead-auth-gate .btn {
    width: 100%;
  }

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

  .service-chip {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    font-size: 1.12rem;
    gap: 1.55rem;
  }

  .brand-mark__logo {
    height: 2.55rem;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }

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

  /* Avoid cramped 3-up pricing on tablet */
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-grid--tariffs {
    grid-template-columns: 1fr;
  }

  .case-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .form-grid .span-2 {
    grid-column: span 2;
  }

  .hero {
    align-items: center;
    padding-top: 6rem;
  }
}

@media (min-width: 1024px) {
  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .package-grid,
  .package-grid--tariffs,
  .case-grid,
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* —— Motion / polish —— */
.hero__content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-rise 0.85s var(--ease-out) forwards;
}

.hero__brand { animation-delay: 0.05s; }
.hero__headline { animation-delay: 0.18s; }
.hero__supporting { animation-delay: 0.3s; }
.hero__cta { animation-delay: 0.42s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity var(--motion) var(--ease-out),
    transform var(--motion) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blob-float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-18px, -28px, 0) scale(1.04);
  }
}

@keyframes hero-scene-float {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-10px, -14px, 0); }
}

@keyframes cal-drift {
  from { transform: translateY(0) rotate(var(--rot, -8deg)); }
  to   { transform: translateY(-10px) rotate(calc(var(--rot, -8deg) + 6deg)); }
}

@keyframes atmosphere-drift {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 0.85;
  }
  to {
    transform: translate3d(12px, -10px, 0);
    opacity: 1;
  }
}

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

  .btn,
  .value-grid li,
  .package,
  .case,
  .case__preview,
  .review,
  .site-header {
    transition: none;
  }

  .hero__content > *,
  [data-reveal] {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .hero__atmosphere::before,
  .hero__atmosphere::after,
  .hero__scene,
  .section::before,
  .section::after {
    animation: none;
  }

  body {
    background-attachment: scroll;
  }

  body::before {
    opacity: 0.2;
  }

  .value-grid li:hover,
  .package:hover,
  .case:hover,
  .review:hover {
    transform: none;
  }

  .service-chip__face,
  .service-chip__mark,
  .service-chip__mark::after {
    transition: none;
  }

  .service-chip:hover .service-chip__face {
    transform: none;
  }
}
