:root {
  --ink: #121018;
  --paper: #f3efe6;
  --paper-2: #fffdf8;
  --muted: #5c5670;
  --muted-dark: #d5d0e2;
  --line: rgba(18, 16, 24, 0.14);
  --violet: #5b2dff;
  --magenta: #ff4d6d;
  --teal: #0b7f78;
  --amber: #ffc857;
  --danger: #9f1239;
  --display: "Bricolage Grotesque", "Arial Black", "Segoe UI", sans-serif;
  --font: "Outfit", "Segoe UI", sans-serif;
  --header: 76px;
  --shadow: 8px 8px 0 var(--ink);
  --wrap: 1160px;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--amber);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 700;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1, h2, .logo, .stat-value, .service-index, .watermark {
  font-family: var(--display);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }

.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }

.btn-primary {
  background: linear-gradient(120deg, var(--violet), var(--magenta) 72%);
  color: #fff;
  border-color: var(--ink);
}

.btn-ghost { background: transparent; }

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-small { min-height: 42px; padding: 0 14px; box-shadow: 3px 3px 0 var(--ink); }

.btn-full { width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 16, 24, 0.94);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--magenta) 60%, #00a896);
  color: #fff;
  border-radius: 9px;
  border: 2px solid #fff;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--paper);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-panel a { text-decoration: none; font-weight: 600; }

.nav-panel a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 20%, rgba(91, 45, 255, 0.45), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(255, 77, 109, 0.28), transparent 26%),
    linear-gradient(#121018, #1a1430 70%, #121018);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 32px;
  align-items: center;
  padding: 48px 0 72px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  max-width: 11ch;
  margin-bottom: 18px;
}

.lede { font-size: 1.18rem; max-width: 38rem; color: var(--muted-dark); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }

.hero .btn-ghost { color: var(--paper); border-color: rgba(255, 255, 255, 0.55); box-shadow: 4px 4px 0 rgba(255, 200, 87, 0.85); }

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trust dt { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #bdb6d2; }
.trust dd { margin: 4px 0 0; font-weight: 700; }

.hero-address { margin-top: 14px; color: #d9d4e8; font-size: 0.95rem; }

.orb-slot {
  position: relative;
  width: min(480px, 100%);
  margin-left: auto;
  aspect-ratio: 1;
}

.orb {
  position: absolute;
  inset: 8%;
  background: conic-gradient(from 40deg, #5b2dff, #ff4d6d, #ffc857, #00a896, #5b2dff);
  border-radius: 58% 42% 38% 62% / 48% 36% 64% 52%;
  animation: spin 22s linear infinite, morph 12s ease-in-out infinite;
  box-shadow: 0 0 80px rgba(255, 77, 109, 0.35);
}

.orb-core {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
  z-index: 2;
}

.orb-core strong {
  font-family: var(--display);
  font-size: 3rem;
  line-height: 0.8;
}

.orb-core span { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }

.chip {
  position: absolute;
  z-index: 3;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
}

.chip span { display: block; animation: floaty 5.5s ease-in-out infinite; }

.chip-a { top: 6%; left: 0; transform: rotate(-8deg); }
.chip-b { top: 38%; right: -2%; transform: rotate(6deg); }
.chip-b span { animation-delay: -1.4s; }
.chip-c { bottom: 8%; left: 6%; transform: rotate(-3deg); }
.chip-c span { animation-delay: -2.4s; }

.services-section { padding: 88px 0; }

.section-head { max-width: 40rem; margin-bottom: 32px; }

.section-head h2, .consult-copy h2, .final-cta h2, .standards h2, .results h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  margin-bottom: 12px;
}

.section-head p, .consult-copy .lede { color: var(--muted); }

.service-list { display: grid; gap: 18px; }

.service {
  position: relative;
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 26px 26px 26px 32px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: linear-gradient(var(--violet), var(--magenta));
}

.service.alt { margin-left: auto; }
.service.alt::before { background: linear-gradient(#00a896, var(--amber)); }

.service-index {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: transparent;
  background: linear-gradient(140deg, var(--violet), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
}

.service.alt .service-index {
  background: linear-gradient(140deg, #00a896, #0b6e8a);
  -webkit-background-clip: text;
  background-clip: text;
}

.service h3 { font-size: 2rem; letter-spacing: -0.04em; font-family: var(--display); }
.service-kicker { font-weight: 700; margin: 4px 0 8px; }
.service ul { list-style: disc; padding-left: 1.15rem; margin-top: 12px; }
.service li + li { margin-top: 4px; }

.consult {
  position: relative;
  padding: 96px 0 88px;
  color: var(--paper);
}

.consult-bg {
  position: absolute;
  inset: 42px 0 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(115deg, #3d16c9 0%, #c41858 52%, #0b7f78 120%);
  transform: skewY(-3deg);
  z-index: 0;
}

.consult-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.watermark {
  font-size: clamp(4rem, 10vw, 7.5rem);
  color: rgba(255, 255, 255, 0.16);
  margin-bottom: 8px;
}

.consult-copy .lede { color: #f3e9f2; }

.who {
  margin-top: 22px;
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  background: rgba(18, 16, 24, 0.18);
}

.who a { color: #fff; }

.form-card {
  background: var(--paper-2);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 12px 12px 0 #121018;
  padding: 22px;
}

.form-card h3 { font-family: var(--display); font-size: 1.8rem; letter-spacing: -0.04em; margin-bottom: 6px; }
.form-card a { color: #4c1d95; font-weight: 700; }

.form-alert {
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff1f4;
  color: var(--danger);
  font-weight: 700;
}

.form-alert:empty { display: none; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }

.field-full { grid-column: 1 / -1; }

.field label, .check { font-weight: 650; font-weight: 600; }

.field label { display: block; margin-bottom: 6px; }

.opt { font-weight: 500; color: var(--muted); }

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

input, select, textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  min-height: 48px;
}

textarea { min-height: 120px; resize: vertical; }

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.hint, .error, .fine { font-size: 0.9rem; }
.hint, .fine { color: var(--muted); }
.error { color: var(--danger); min-height: 1.15em; margin-top: 4px; font-weight: 600; }

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fff7f8;
}

.checks { display: grid; gap: 10px; margin: 8px 0 14px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }

.check input { width: 1.2rem; height: 1.2rem; min-height: 0; margin-top: 0.2rem; accent-color: var(--violet); }

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

.results, .standards { padding: 88px 0; }

.notice {
  margin: 16px 0 22px;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fff8e8;
  max-width: 70rem;
}

.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
}

.stat {
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
  min-height: 180px;
}

.stat-tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.stat-wide { grid-column: 1 / -1; }
.stat-violet { background: linear-gradient(160deg, #4c1ad4, #ff4d6d); color: #fff; }
.stat-teal { background: #0b6e68; color: #fff; }
.stat-amber { background: var(--amber); color: var(--ink); }
.stat-ink { background: var(--ink); color: var(--paper); box-shadow: 8px 8px 0 var(--magenta); }

.stat-value { font-size: clamp(3.4rem, 7vw, 6.4rem); display: block; }
.stat p { margin-top: 8px; font-size: 1.05rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.steps li {
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--paper-2);
  box-shadow: 5px 5px 0 var(--ink);
}

.steps span {
  font-family: var(--display);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
}

.steps h3 { font-size: 1.25rem; margin-bottom: 6px; }

.standards { background: #171322; color: var(--paper); }

.standards .section-head p, .standards .notice { color: var(--ink); }

.carousel-viewport { overflow: hidden; }

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
}

.quote {
  flex: 0 0 calc(33.333% - 11px);
  background: var(--paper);
  color: var(--ink);
  border: 2px solid #fff;
  border-radius: 20px;
  min-height: 250px;
  padding: 20px;
  box-shadow: 8px 8px 0 rgba(255, 77, 109, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote p { font-size: 1.2rem; letter-spacing: -0.03em; font-family: var(--display); line-height: 1.15; }

.quote footer { margin-top: 18px; font-size: 0.92rem; font-weight: 700; }

.carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.dots { display: flex; gap: 8px; flex-wrap: wrap; }

.dot, .carousel-bar .btn {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 3px 3px 0 rgba(255, 200, 87, 0.8);
}

.dot {
  width: 14px;
  height: 14px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: none;
}

.dot[aria-current="true"] { background: var(--amber); border-color: var(--amber); }

.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: linear-gradient(115deg, #5b2dff 0%, #ff4d6d 48%, #0b7f78 120%);
  padding: 88px 0;
}

.final-cta .wrap { max-width: 760px; }
.final-cta p { margin: 12px auto 0; max-width: 38rem; }
.final-cta .btn { margin-top: 22px; }
.final-cta .fine { color: #fff6fb; }

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 20%, rgba(91, 45, 255, 0.4), transparent 26%),
    radial-gradient(circle at 0% 80%, rgba(255, 77, 109, 0.25), transparent 24%),
    #121018;
  color: var(--paper);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 0.8fr;
  gap: 28px;
}

.site-footer h2 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }

.site-footer a { text-decoration: underline; text-underline-offset: 3px; }

.site-footer .logo { text-decoration: none; margin-bottom: 10px; }

address { font-style: normal; }

.legal-ids { display: grid; gap: 8px; margin: 12px 0; }
.legal-ids div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 8px; }
.legal-ids dt { color: #c9c3da; }
.legal-ids dd { margin: 0; font-weight: 700; }

.footer-links { display: grid; gap: 8px; }

.footer-links button {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-weight: 500;
  text-align: left;
}

.footer-base {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #d5d0e2;
  font-size: 0.92rem;
}

.cookie {
  position: fixed;
  z-index: 50;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--paper-2);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.cookie p { max-width: 70ch; font-size: 0.95rem; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(520px, calc(100% - 32px));
}

dialog::backdrop { background: rgba(8, 8, 16, 0.72); }

.modal {
  background: var(--paper-2);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 12px 12px 0 var(--magenta);
  padding: 22px;
}

.modal h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.modal .fine { margin-top: 12px; }

.page-legal .legal-main { padding: 48px 0 80px; }

.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 10px; }
.prose h2 { font-size: 1.5rem; margin: 28px 0 8px; letter-spacing: -0.03em; }
.prose p, .prose li { margin-bottom: 10px; }
.prose ul { list-style: disc; padding-left: 1.2rem; }
.prose a { color: #4c1d95; }

@keyframes morph {
  0%, 100% { border-radius: 58% 42% 38% 62% / 48% 36% 64% 52%; }
  50% { border-radius: 40% 60% 62% 38% / 56% 48% 52% 44%; }
}

@keyframes spin { to { transform: rotate(1turn); } }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 980px) {
  .hero-grid, .consult-grid, .footer-grid, .bento, .steps { grid-template-columns: 1fr; }
  .stat-tall { grid-row: auto; }
  .service.alt { margin-left: 0; }
  .quote { flex-basis: calc(100% - 42px); }
  .trust { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 20px 18px;
    background: #121018;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-panel.is-open { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .quote { flex-basis: calc(50% - 8px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .chip span, .carousel-track { animation: none; transition: none; }
  .btn:hover { transform: none; }
}

@media print {
  .site-header, .cookie, .hero-art, dialog, .menu-btn { display: none !important; }
}
