:root {
  --paper: #f5f3ef;
  --paper-deep: #ece9e2;
  --ink: #292929;
  --graphite: #3e3e3e;
  --muted: #6f6d68;
  --gold: #e8b24d;
  --orange: #d77f24;
  --blue: #3daeff;
  --purple: #8c6ff7;
  --lime: #9be564;
  --white: #fffefa;
  --line: rgba(62, 62, 62, 0.16);
  --radius: 24px;
  --shadow: 0 24px 70px rgba(39, 38, 34, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(245, 243, 239, 0.88);
  border-color: rgba(62, 62, 62, 0.1);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-picture {
  display: block;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 250px;
  height: auto;
  margin: -18px 0;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.93rem;
  font-weight: 700;
}

.site-nav > a:not(.button) {
  text-decoration: none;
  color: var(--graphite);
}

.site-nav > a:not(.button):hover {
  color: var(--purple);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 11px;
  border-radius: 50%;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:focus-visible,
.problem-button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(61, 174, 255, 0.5);
  outline-offset: 3px;
}

.button-small {
  min-height: 43px;
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
  font-size: 0.84rem;
  white-space: nowrap;
}

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 30px rgba(42, 42, 42, 0.2);
}

.button-primary:hover {
  background: #111;
  box-shadow: 0 16px 36px rgba(42, 42, 42, 0.26);
}

.button-accent {
  width: 100%;
  background: var(--lime);
  color: #1e2917;
}

.button-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.text-link:hover {
  color: var(--purple);
}

.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.58);
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 142px 0 92px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.hero-copy h1,
.section-intro h2,
.explorer-heading h2,
.diagnostic-copy h2 {
  font-family: "Fredoka", "Nunito Sans", sans-serif;
  font-weight: 600;
  letter-spacing: -0.047em;
  line-height: 0.99;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.35rem, 6vw, 5.9rem);
}

.hero-copy h1 em {
  color: var(--purple);
  font-style: normal;
}

.hero-lede {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-list span {
  color: #507d2c;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 510px;
  height: 510px;
  border: 1px solid rgba(62, 62, 62, 0.12);
  border-radius: 50%;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px dashed rgba(140, 111, 247, 0.25);
  border-radius: 50%;
  animation: slow-spin 24s linear infinite;
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  width: 165px;
  height: 165px;
  right: -45px;
  top: 38px;
  background: rgba(155, 229, 100, 0.53);
}

.orb-two {
  width: 130px;
  height: 130px;
  left: -8px;
  bottom: 24px;
  background: rgba(61, 174, 255, 0.25);
}

.operation-card {
  position: relative;
  z-index: 3;
  width: min(100%, 440px);
  padding: 26px;
  background: rgba(255, 254, 250, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transform: rotate(1.5deg);
}

.operation-head,
.operation-foot,
.flow-row {
  display: flex;
  align-items: center;
}

.operation-head {
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 800;
}

.live-dot {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.72rem;
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(155, 229, 100, 0.18);
}

.flow-stack {
  padding: 26px 0;
}

.flow-row {
  gap: 14px;
  padding: 11px 0;
}

.flow-row > div {
  min-width: 0;
  flex: 1;
}

.flow-row b,
.flow-row small {
  display: block;
}

.flow-row b {
  font-size: 0.9rem;
}

.flow-row small {
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flow-icon {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 13px;
  font-size: 0.72rem;
  font-weight: 900;
}

.flow-icon.gold { background: rgba(232, 178, 77, 0.26); color: #81560a; }
.flow-icon.purple { background: rgba(140, 111, 247, 0.2); color: #573bb9; }
.flow-icon.blue { background: rgba(61, 174, 255, 0.18); color: #176ea8; }

.flow-state {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
}

.flow-line {
  width: 1px;
  height: 13px;
  margin-left: 20px;
  background: var(--line);
}

.operation-foot {
  gap: 10px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
}

.operation-foot b {
  color: var(--ink);
  white-space: nowrap;
}

.progress {
  position: relative;
  height: 4px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-deep);
}

.progress i {
  position: absolute;
  inset: 0 22% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--purple));
}

.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(39, 38, 34, 0.13);
  font-size: 0.78rem;
  font-weight: 800;
}

.floating-note span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.note-top {
  top: 90px;
  left: -10px;
}

.note-top span { background: rgba(155, 229, 100, 0.35); }
.note-bottom { right: -5px; bottom: 76px; }
.note-bottom span { background: rgba(61, 174, 255, 0.2); }

.solutions-section {
  padding: 78px 0 82px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.solutions-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 54px;
}

.solutions-heading h2 {
  margin: 0;
  font-family: "Fredoka", "Nunito Sans", sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.solutions-heading > p {
  max-width: 430px;
  margin: 0 0 5px;
  color: var(--muted);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-block {
  min-width: 0;
  padding: 28px 26px 30px;
  border-right: 1px solid var(--line);
}

.service-block:first-child {
  padding-left: 0;
}

.service-block:last-child {
  padding-right: 0;
  border-right: 0;
}

.service-block > span {
  display: block;
  margin-bottom: 28px;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-block h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

.service-block p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.method-section {
  padding: 90px 0 96px;
  background: var(--white);
}

.section-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  column-gap: 9vw;
  align-items: end;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.section-intro > p:last-child {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.05rem;
}

.method-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 58px;
  border-top: 1px solid var(--line);
}

.method-step {
  position: relative;
  min-height: 260px;
  padding: 36px 30px 24px 0;
  border-right: 1px solid var(--line);
}

.method-step:not(:first-child) {
  padding-left: 30px;
}

.method-step:last-child {
  border-right: 0;
  padding-right: 0;
}

.method-step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px var(--white);
}

.method-step:not(:first-child)::before {
  left: 30px;
}

.step-number {
  display: block;
  margin-bottom: 32px;
  color: rgba(62, 62, 62, 0.18);
  font-family: "Fredoka", sans-serif;
  font-size: 2.6rem;
  font-weight: 600;
}

.step-label {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.method-step h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.25;
}

.method-step div > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.explorer-section {
  padding: 90px 0 76px;
  background: var(--graphite);
  color: #fff;
}

.explorer-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.explorer-heading h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.75rem);
}

.explorer-heading > p {
  max-width: 390px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.6);
}

.explorer {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 26px;
  margin-top: 50px;
}

.problem-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.problem-button {
  width: 100%;
  display: grid;
  grid-template-columns: 42px 1fr 30px;
  gap: 13px;
  align-items: center;
  padding: 18px 10px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, padding 180ms ease, background 180ms ease;
}

.problem-button:hover,
.problem-button.is-selected {
  color: #fff;
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.problem-button > span:nth-child(2) {
  min-width: 0;
}

.problem-button b,
.problem-button small {
  display: block;
}

.problem-button b {
  font-size: 0.98rem;
}

.problem-button small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.8rem;
}

.problem-index {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

.problem-button i {
  color: var(--lime);
  font-style: normal;
  font-size: 1.3rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.problem-button.is-selected i,
.problem-button:hover i {
  opacity: 1;
  transform: translateX(0);
}

.solution-panel {
  position: sticky;
  top: 106px;
  align-self: start;
  min-height: 500px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.solution-panel.is-changing {
  animation: panel-in 260ms ease;
}

@keyframes panel-in {
  0% { opacity: 0.6; transform: translateY(7px); }
  100% { opacity: 1; transform: translateY(0); }
}

.solution-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--purple);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(155, 229, 100, 0.3);
  color: #456827;
  letter-spacing: 0;
  text-transform: none;
}

.solution-panel h3 {
  margin: 32px 0 14px;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.solution-panel > p {
  margin: 0;
  color: var(--muted);
}

.solution-modules {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.solution-modules > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.tag-list span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.74rem;
  font-weight: 800;
}

.solution-outcome {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 24px 0;
  padding: 16px;
  border-radius: 15px;
  background: rgba(140, 111, 247, 0.09);
}

.outcome-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  background: var(--purple);
  color: #fff;
  font-weight: 900;
}

.solution-outcome small,
.solution-outcome strong {
  display: block;
}

.solution-outcome small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.solution-outcome strong {
  margin-top: 2px;
  font-size: 0.85rem;
}

.diagnostic {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 8vw, 110px);
  margin-top: 88px;
  padding: 60px;
  border-radius: 32px;
  background: var(--paper);
  color: var(--ink);
}

.diagnostic-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.diagnostic-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
}

.selected-summary {
  margin-top: 38px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.selected-summary small,
.selected-summary strong {
  display: block;
}

.selected-summary small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-summary strong {
  margin-top: 9px;
  color: var(--purple);
  font-size: 1.08rem;
}

.diagnostic-form {
  padding: 32px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(40, 39, 36, 0.08);
}

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

.diagnostic-form label:not(.consent) {
  display: block;
  margin-bottom: 16px;
}

.diagnostic-form label > span:first-child {
  display: block;
  margin: 0 0 7px 2px;
  font-size: 0.76rem;
  font-weight: 800;
}

.diagnostic-form input[type="text"],
.diagnostic-form input[type="email"],
.diagnostic-form select,
.diagnostic-form textarea {
  width: 100%;
  border: 1px solid rgba(62, 62, 62, 0.15);
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.diagnostic-form input:focus,
.diagnostic-form select:focus,
.diagnostic-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(140, 111, 247, 0.1);
}

.diagnostic-form textarea {
  resize: vertical;
  min-height: 110px;
}

.diagnostic-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 18px;
  color: var(--muted);
  font-size: 0.73rem;
}

.consent input {
  margin-top: 2px;
  accent-color: var(--purple);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
}

.form-result {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(78, 135, 35, 0.23);
  border-radius: 14px;
  background: rgba(155, 229, 100, 0.14);
}

.form-result,
.form-result > div {
  align-items: center;
  gap: 11px;
}

.form-result {
  justify-content: space-between;
}

.form-result:not([hidden]),
.form-result > div {
  display: flex;
}

.form-result span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  font-weight: 900;
}

.form-result p {
  margin: 0;
  font-size: 0.76rem;
}

.form-result .text-link {
  font-size: 0.74rem;
  white-space: nowrap;
}

.direct-contact {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.direct-contact p,
.direct-contact small {
  margin: 0;
}

.direct-contact p {
  font-size: 0.84rem;
  font-weight: 800;
}

.direct-contact small {
  color: var(--muted);
  font-size: 0.68rem;
}

.button-whatsapp {
  min-height: 45px;
  border: 1px solid rgba(47, 128, 69, 0.28);
  background: rgba(155, 229, 100, 0.2);
  color: #315c2d;
  box-shadow: none;
}

.button-whatsapp:hover {
  background: rgba(155, 229, 100, 0.34);
}

.privacy-check {
  display: grid;
  grid-template-columns: 19px 1fr;
  align-items: start;
  gap: 10px;
  margin: 3px 0 18px;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--purple);
}

.privacy-check span {
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.45;
}

.privacy-check a,
.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 34px 0;
  background: #2e2e2e;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.brand-logo-footer {
  width: 150px;
  margin: 0;
  mix-blend-mode: normal;
}

.footer-grid > p,
.footer-links {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.footer-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-main {
  padding: 150px 0 92px;
  background:
    radial-gradient(circle at 88% 8%, rgba(140, 111, 247, 0.13), transparent 26%),
    var(--paper);
}

.legal-hero {
  max-width: 820px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-family: var(--display);
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.legal-hero > p:last-child {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 72px;
  align-items: start;
  padding-top: 56px;
}

.legal-content {
  max-width: 780px;
}

.legal-content section {
  padding: 0 0 38px;
}

.legal-content h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.legal-content h3 {
  margin: 24px 0 10px;
  font-size: 1rem;
}

.legal-content p,
.legal-content li {
  color: #565656;
  line-height: 1.75;
}

.legal-content p {
  margin: 0 0 13px;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-content a,
.legal-aside a {
  color: #6548dc;
  font-weight: 800;
  text-underline-offset: 3px;
}

.legal-notice {
  margin-bottom: 38px;
  padding: 20px 22px;
  border: 1px solid rgba(140, 111, 247, 0.22);
  border-radius: 16px;
  background: rgba(140, 111, 247, 0.08);
}

.legal-notice p {
  margin: 0;
  color: var(--ink);
}

.legal-aside {
  position: sticky;
  top: 112px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.legal-aside strong {
  display: block;
  margin-bottom: 13px;
  font-family: var(--display);
  font-size: 1.08rem;
}

.legal-aside nav {
  display: grid;
  gap: 10px;
}

.legal-aside a {
  font-size: 0.78rem;
  text-decoration: none;
}

.legal-meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.74rem;
}

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (max-width: 980px) {
  .brand-logo {
    width: 220px;
    margin: -15px 0;
  }

  .site-nav {
    gap: 18px;
  }

  .button-small {
    padding: 0 15px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 128px;
  }

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

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
  }

  .section-intro {
    grid-template-columns: 1fr;
  }

  .solutions-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .solutions-heading > p {
    max-width: 620px;
  }

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

  .service-block,
  .service-block:first-child,
  .service-block:last-child {
    padding: 26px;
  }

  .service-block:nth-child(2) {
    border-right: 0;
  }

  .service-block:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-intro > p:last-child {
    max-width: 600px;
    margin-top: 24px;
  }

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

  .method-step:nth-child(2) {
    border-right: 0;
  }

  .method-step:nth-child(3),
  .method-step:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .solution-panel {
    position: static;
  }

  .diagnostic {
    grid-template-columns: 1fr;
    padding: 52px;
  }

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

  .footer-links { justify-content: flex-end; }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .legal-aside {
    position: static;
    grid-row: 1;
  }

  .legal-aside nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 32px, 620px);
  }

  .nav-wrap {
    min-height: 76px;
  }

  .brand-logo {
    width: 210px;
    margin: -15px 0;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 62px;
    left: 16px;
    right: 16px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 254, 250, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.button) {
    padding: 9px 7px;
  }

  .hero {
    min-height: auto;
    padding: 116px 0 72px;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 15.2vw, 5rem);
  }

  .hero-lede {
    margin-top: 24px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  .trust-list {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 470px;
    margin-top: -6px;
  }

  .hero-visual::before {
    width: 430px;
    height: 430px;
  }

  .hero-visual::after {
    width: 330px;
    height: 330px;
  }

  .operation-card {
    padding: 20px;
  }

  .floating-note {
    font-size: 0.7rem;
  }

  .note-top { top: 54px; left: -4px; }
  .note-bottom { right: -4px; bottom: 50px; }

  .solutions-section,
  .method-section,
  .explorer-section {
    padding: 72px 0;
  }

  .solutions-heading h2,
  .section-intro h2,
  .explorer-heading h2,
  .diagnostic-copy h2 {
    font-size: clamp(2.65rem, 12vw, 4rem);
  }

  .method-track {
    grid-template-columns: 1fr;
    margin-top: 52px;
    border-top: 0;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .service-block,
  .service-block:first-child,
  .service-block:last-child {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-block:last-child {
    border-bottom: 0;
  }

  .service-block > span {
    margin-bottom: 12px;
  }

  .method-step,
  .method-step:not(:first-child),
  .method-step:last-child {
    min-height: 0;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 29px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .method-step:last-child {
    border-bottom: 1px solid var(--line);
  }

  .method-step::before,
  .method-step:not(:first-child)::before {
    display: none;
  }

  .step-number {
    margin: 0;
    font-size: 1.8rem;
  }

  .explorer-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .explorer {
    margin-top: 42px;
  }

  .problem-button {
    grid-template-columns: 32px 1fr 20px;
    padding: 18px 4px;
  }

  .problem-button:hover,
  .problem-button.is-selected {
    padding-left: 10px;
  }

  .problem-button b {
    font-size: 0.95rem;
  }

  .problem-button small {
    display: none;
  }

  .solution-panel {
    min-height: 0;
    padding: 28px 24px;
  }

  .diagnostic {
    margin-top: 72px;
    padding: 34px 20px 20px;
    border-radius: 24px;
    gap: 36px;
  }

  .diagnostic-form {
    padding: 21px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-result:not([hidden]) {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .footer-status {
    justify-content: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .legal-main {
    padding: 118px 0 70px;
  }

  .legal-hero {
    padding-bottom: 38px;
  }

  .legal-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .legal-layout {
    padding-top: 38px;
  }

  .legal-aside nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 190px;
    margin: -12px 0;
  }

  .flow-state {
    display: none;
  }

  .operation-foot > span:first-child {
    display: none;
  }

  .floating-note {
    padding: 8px 10px;
  }

  .floating-note span {
    width: 23px;
    height: 23px;
  }

  .solution-topline {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
