:root {
  --bg: #fffaf6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --text: #2c2a3a;
  --muted: #625d75;
  --line: rgba(71, 56, 116, 0.12);
  --shadow: 0 20px 60px rgba(114, 92, 134, 0.15);
  --radius-lg: 32px;
  --radius-md: 22px;
  --site: linear-gradient(135deg, #ffd8df, #ffeecf);
  --workflow: linear-gradient(135deg, #d8f4ef, #cde3ff);
  --process: linear-gradient(135deg, #f6dfc8, #f6d4ea);
  --discovery: linear-gradient(135deg, #e4defe, #ccefdc);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 214, 227, 0.75), transparent 30%),
    radial-gradient(circle at top right, rgba(214, 236, 255, 0.65), transparent 28%),
    linear-gradient(180deg, #fff7f2 0%, #fffefb 45%, #fff7fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
  pointer-events: none;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
}

.topbar-links a,
.footer-links a,
.inline-link {
  color: var(--text);
  text-decoration: none;
}

.topbar-links a {
  font-size: 0.95rem;
  color: var(--muted);
}

.topbar-links a.is-active {
  color: var(--text);
  font-weight: 700;
}

.brand,
.contact-link,
.cta-link,
.modal-mail {
  color: inherit;
  text-decoration: none;
}

.brand {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.contact-link,
.cta-link {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible,
.cta-link:hover,
.cta-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(71, 56, 116, 0.2);
}

.hero,
.selector,
.services-overview,
.workflow-section,
.fit-section,
.faq-section,
.final-cta,
.contact {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero {
  overflow: hidden;
  padding: 28px;
}

.hero-glow {
  position: absolute;
  left: var(--glow-x, 72%);
  top: var(--glow-y, 34%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
  transform: translate(-50%, -50%);
  opacity: 0.55;
  pointer-events: none;
  transition: left 180ms ease, top 180ms ease;
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 72px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 209, 220, 0.55), rgba(209, 236, 255, 0.32));
  filter: blur(12px);
}

.hero-stickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(71, 56, 116, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 32px rgba(85, 65, 126, 0.1);
  font-size: 0.84rem;
  font-weight: 700;
  color: #6d6286;
  backdrop-filter: blur(10px);
  animation: floaty 6s ease-in-out infinite;
}

.sticker-one {
  top: 132px;
  right: 84px;
  background: linear-gradient(135deg, rgba(255, 239, 244, 0.95), rgba(255, 247, 226, 0.95));
}

.sticker-two {
  top: 220px;
  right: 180px;
  animation-delay: 1.2s;
  background: linear-gradient(135deg, rgba(232, 248, 244, 0.95), rgba(234, 241, 255, 0.95));
}

.sticker-three {
  bottom: 42px;
  right: 120px;
  animation-delay: 2.1s;
  background: linear-gradient(135deg, rgba(239, 235, 255, 0.95), rgba(229, 248, 234, 0.95));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px 0 56px;
}

.eyebrow,
.section-kicker,
.panel-tag {
  margin: 0 0 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: #7e6992;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1;
}

h1 {
  font-size: clamp(2.8rem, 5.2vw, 4.7rem);
  max-width: 18ch;
  line-height: 1.06;
}

.lead,
.selector-heading p,
.section-heading p,
.contact p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.lead {
  max-width: none;
  margin: 24px 0 0;
}

.selector,
.services-overview,
.workflow-section,
.fit-section,
.faq-section,
.final-cta,
.contact {
  margin-top: 28px;
  padding: 32px;
}

.selector-heading,
.section-heading {
  max-width: none;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 16px;
  max-width: none;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.choice-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 280ms ease;
}

.choice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 240ms ease;
}

.choice-card::after,
.cta-link::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -120%;
  width: 70%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 420ms ease;
  pointer-events: none;
}

.choice-card[data-target="site"]::before {
  background: var(--site);
}

.choice-card[data-target="workflow"]::before {
  background: var(--workflow);
}

.choice-card[data-target="process"]::before {
  background: var(--process);
}

.choice-card[data-target="discovery"]::before {
  background: var(--discovery);
}

.choice-card:hover,
.choice-card:focus-visible {
  transform: translateY(-8px) rotate(-0.5deg);
  border-color: rgba(71, 56, 116, 0.15);
  box-shadow: 0 18px 40px rgba(85, 65, 126, 0.12);
}

.choice-card:hover::after,
.choice-card:focus-visible::after,
.cta-link:hover::after,
.cta-link:focus-visible::after {
  left: 160%;
}

.choice-card:hover::before,
.choice-card:focus-visible::before {
  opacity: 1;
}

.choice-card > * {
  position: relative;
  z-index: 1;
}

.choice-title {
  font-family: "Fraunces", serif;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.15;
  max-width: none;
}

.choice-description {
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(44, 42, 58, 0.76);
  max-width: none;
}

.inline-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 700;
}

.overview-grid,
.steps-grid,
.fit-layout,
.faq-list,
.cta-actions {
  margin-top: 32px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.step-card,
.fit-block,
.faq-item {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 32px rgba(85, 65, 126, 0.08);
}

.info-card {
  padding: 24px;
}

.info-card-site {
  background: linear-gradient(135deg, rgba(255, 241, 245, 0.92), rgba(255, 246, 229, 0.92));
}

.info-card-workflow {
  background: linear-gradient(135deg, rgba(233, 249, 245, 0.92), rgba(234, 241, 255, 0.92));
}

.info-card-process {
  background: linear-gradient(135deg, rgba(250, 236, 223, 0.92), rgba(248, 230, 241, 0.92));
}

.card-label,
.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b5d84;
}

.info-card h3,
.step-card h3,
.fit-block h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.08;
  max-width: none;
}

.info-card p:last-child,
.step-card p,
.faq-item p,
.fit-block li,
.final-cta p {
  color: var(--muted);
  line-height: 1.8;
  max-width: none;
}

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

.step-card {
  padding: 22px;
}

.step-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(255, 241, 245, 0.92), rgba(255, 246, 229, 0.92));
}

.step-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(233, 249, 245, 0.92), rgba(234, 241, 255, 0.92));
}

.step-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(250, 236, 223, 0.92), rgba(248, 230, 241, 0.92));
}

.step-card:nth-child(4) {
  background: linear-gradient(135deg, rgba(239, 235, 255, 0.92), rgba(227, 248, 234, 0.92));
}

.step-index {
  min-width: 48px;
}

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

.fit-block {
  padding: 26px;
}

.fit-block:first-child {
  background: linear-gradient(135deg, rgba(255, 241, 245, 0.88), rgba(255, 246, 229, 0.88));
}

.fit-block:last-child {
  background: linear-gradient(135deg, rgba(233, 249, 245, 0.88), rgba(234, 241, 255, 0.88));
}

.bullet-list {
  margin: 20px 0 0;
  padding-left: 20px;
}

.bullet-list li + li {
  margin-top: 10px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(250, 246, 255, 0.9));
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "\2192";
  flex-shrink: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(90deg);
}

.faq-item p {
  margin: 16px 0 0;
}

.final-cta {
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(255, 215, 226, 0.48), transparent 36%),
    linear-gradient(180deg, rgba(255, 249, 243, 0.92), rgba(255, 255, 255, 0.82));
}

.final-cta h2 {
  max-width: none;
  margin: 0 auto 18px;
}

.final-cta p {
  max-width: none;
  margin: 0 auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-link-strong {
  background: linear-gradient(135deg, #ffd9e2, #ffecc9);
}

.contact {
  text-align: center;
}

.contact h2 {
  max-width: none;
  margin: 0 auto 18px;
}

.contact p {
  max-width: none;
  margin: 0 auto;
}

.cta-link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  margin-top: 28px;
  font-weight: 700;
}

.site-footer {
  margin-top: 28px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.page-hero {
  padding: 28px;
}

.page-intro {
  max-width: none;
}

.page-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 28px;
}

.page-grid-single {
  grid-template-columns: 1fr;
}

.page-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 32px rgba(85, 65, 126, 0.08);
}

.page-card p,
.page-card li {
  color: var(--muted);
  line-height: 1.8;
}

.page-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.link-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: min(420px, calc(100% - 24px));
}

.cookie-banner__inner {
  padding: 20px;
  border: 1px solid rgba(71, 56, 116, 0.12);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 240, 244, 0.98), rgba(232, 246, 255, 0.98), rgba(255, 246, 229, 0.98));
  box-shadow: 0 22px 50px rgba(85, 65, 126, 0.18);
}

.cookie-banner__title {
  margin: 0 0 10px;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

.cookie-banner__copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cookie-banner__copy a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.cookie-banner__button {
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(71, 56, 116, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-shell[hidden] {
  display: none;
}

.exit-shell {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: grid;
  place-items: center;
  padding: 18px;
}

.exit-shell[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41, 31, 60, 0.32);
  backdrop-filter: blur(10px);
  animation: modal-fade 220ms ease;
}

.exit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(41, 31, 60, 0.26);
  backdrop-filter: blur(8px);
  animation: modal-fade 220ms ease;
}

.service-modal {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 32px;
  padding-top: 76px;
  border: 1px solid rgba(71, 56, 116, 0.12);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(50, 35, 74, 0.2);
  animation: modal-rise 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.exit-modal {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  padding: 32px;
  padding-top: 76px;
  border: 1px solid rgba(71, 56, 116, 0.12);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 237, 243, 0.98), rgba(229, 246, 255, 0.98), rgba(255, 244, 224, 0.98));
  box-shadow: 0 30px 80px rgba(50, 35, 74, 0.2);
  animation: modal-rise 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-modal[data-theme="site"] {
  background: linear-gradient(135deg, rgba(255, 240, 244, 0.98), rgba(255, 245, 224, 0.98));
}

.service-modal[data-theme="workflow"] {
  background: linear-gradient(135deg, rgba(230, 250, 246, 0.98), rgba(234, 241, 255, 0.98));
}

.service-modal[data-theme="process"] {
  background: linear-gradient(135deg, rgba(250, 235, 220, 0.98), rgba(251, 229, 242, 0.98));
}

.service-modal[data-theme="discovery"] {
  background: linear-gradient(135deg, rgba(239, 235, 255, 0.98), rgba(227, 248, 234, 0.98));
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid rgba(71, 56, 116, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  cursor: pointer;
}

.exit-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid rgba(71, 56, 116, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  cursor: pointer;
}

.service-modal h3 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  max-width: none;
}

.modal-copy {
  max-width: none;
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
}

.exit-copy {
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
}

.modal-mail {
  display: inline-flex;
  margin-top: 28px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(71, 56, 116, 0.14);
  font-weight: 700;
}

body.modal-open,
body.exit-open {
  overflow: hidden;
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes modal-rise {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .choice-grid,
  .overview-grid,
  .steps-grid,
  .fit-layout,
  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 100%);
    padding-top: 12px;
  }

  .hero,
  .selector,
  .services-overview,
  .workflow-section,
  .fit-section,
  .faq-section,
  .final-cta,
  .contact {
    border-radius: 24px;
    padding: 22px;
  }

  .topbar {
    margin-bottom: 36px;
  }

  .hero-stickers {
    display: none;
  }

  .hero-copy {
    padding-bottom: 18px;
  }

  h1 {
    max-width: none;
  }

  .choice-grid,
  .overview-grid,
  .steps-grid,
  .fit-layout,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: auto;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .topbar-links {
    order: 3;
    justify-content: flex-start;
  }

  .service-modal {
    padding: 22px;
    padding-top: 72px;
  }

  .exit-modal {
    padding: 22px;
    padding-top: 72px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
