:root {
  --ink: #18212f;
  --muted: #607084;
  --paper: #ffffff;
  --wash: #f7fafc;
  --line: #dce7ef;
  --tone: #e2653f;
  --tone-soft: #fff0e9;
  --shadow: 0 22px 70px rgba(24, 33, 47, 0.12);
}

body[data-tone="friendly"] { --tone: #e2653f; --tone-soft: #fff0e9; }
body[data-tone="friendly"] { --dc-logo-filter: brightness(0) saturate(100%) invert(50%) sepia(48%) saturate(1088%) hue-rotate(326deg) brightness(94%) contrast(89%); }
body[data-tone="affordable"] { --tone: #276ef1; --tone-soft: #eaf1ff; --dc-logo-filter: brightness(0) saturate(100%) invert(37%) sepia(93%) saturate(2138%) hue-rotate(211deg) brightness(97%) contrast(95%); }
body[data-tone="practical"] { --tone: #4f7f61; --tone-soft: #edf7f0; --dc-logo-filter: brightness(0) saturate(100%) invert(43%) sepia(14%) saturate(1111%) hue-rotate(86deg) brightness(93%) contrast(87%); }
body[data-tone="ai"] { --tone: #7c3aed; --tone-soft: #f2ecff; --dc-logo-filter: brightness(0) saturate(100%) invert(28%) sepia(88%) saturate(2268%) hue-rotate(252deg) brightness(94%) contrast(98%); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "SF Pro Rounded", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background-color 400ms ease;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; line-height: 0.98; letter-spacing: 0; }
p { color: var(--muted); line-height: 1.58; }

.kc-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(255,255,255,0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.kc-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.kc-brand img {
  display: block;
  width: min(210px, 46vw);
  height: 45px;
  object-fit: contain;
  object-position: left center;
  filter: var(--dc-logo-filter, none);
  transition: filter 400ms ease;
}

.kc-header nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-weight: 760;
}

.kc-header nav a:hover { color: var(--tone); }

.kc-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.74);
}

.kc-language-switch a {
  min-width: 38px;
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 950;
  text-align: center;
}

.kc-language-switch a[aria-current="true"] {
  color: white;
  background: var(--tone);
}

.kc-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  min-height: calc(100vh - 67px);
  padding: clamp(54px, 8vw, 104px) clamp(18px, 6vw, 82px);
  background:
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--tone) 28%, transparent), transparent 32%),
    linear-gradient(135deg, var(--tone-soft), #ffffff 56%);
  transition: background 400ms ease;
}

.kc-eyebrow {
  margin: 0 0 12px;
  color: var(--tone);
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  font-weight: 950;
  text-transform: uppercase;
}

.kc-hero h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

.kc-hero p:not(.kc-eyebrow) {
  max-width: 650px;
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.kc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.kc-button,
.kc-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 13px 18px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: var(--tone);
  font-weight: 900;
  cursor: pointer;
  transition: transform 200ms ease, background-color 400ms ease;
}

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

.kc-link {
  color: var(--tone);
  font-weight: 900;
}

.kc-hero-orbit {
  position: relative;
  min-height: 520px;
}

.kc-orbit-card {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 156px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--tone) 22%, var(--line));
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 950;
  text-align: center;
  animation: float 5s ease-in-out infinite;
}

.kc-orbit-card.main {
  inset: 50% auto auto 50%;
  width: min(78%, 340px);
  min-height: 190px;
  transform: translate(-50%, -50%);
  color: white;
  background: var(--tone);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 0.95;
}

.kc-orbit-card.one { top: 18px; left: 12%; }
.kc-orbit-card.two { top: 92px; right: 0; animation-delay: -1s; }
.kc-orbit-card.three { bottom: 86px; left: 0; animation-delay: -2s; }
.kc-orbit-card.four { right: 10%; bottom: 14px; animation-delay: -3s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.kc-services,
.kc-angle-lab,
.kc-stats,
.kc-reviews,
.kc-process,
.kc-pricing,
.kc-contact {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 10vw, 130px) 0;
}

.kc-section-label {
  max-width: 780px;
  margin-bottom: 28px;
}

.kc-section-label h2,
.kc-angle-copy h2,
.kc-contact h2,
.kc-pricing h2 {
  font-size: clamp(2.2rem, 6vw, 5.2rem);
}

.kc-service-rail,
.kc-review-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x mandatory;
}

.kc-scroll-cue {
  display: none;
}

.kc-service-card,
.kc-review-rail figure {
  scroll-snap-align: start;
  min-height: 330px;
  padding: 24px;
  border-radius: 28px;
  color: white;
  box-shadow: var(--shadow);
}

.kc-service-card span {
  display: block;
  margin-bottom: 72px;
  font-size: 3.4rem;
  font-weight: 950;
  opacity: 0.58;
}

.kc-service-card h3 { font-size: 1.65rem; }
.kc-service-card p { color: rgba(255,255,255,0.84); }
.kc-service-card.red { background: #e2653f; }
.kc-service-card.blue { background: #276ef1; }
.kc-service-card.green { background: #4f7f61; }
.kc-service-card.violet { background: #7c3aed; }

.kc-angle-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(380px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.kc-angle-stage {
  padding: 18px;
  border-radius: 34px;
  background: var(--tone-soft);
  box-shadow: var(--shadow);
  transition: background-color 420ms ease;
}

.kc-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.kc-tabs button {
  min-height: 54px;
  padding: 12px;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  background: white;
  font-weight: 900;
  cursor: pointer;
}

.kc-tabs button.active {
  color: white;
  background: var(--tone);
}

.kc-tone-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.5fr) 1fr;
  gap: 24px;
  min-height: 370px;
  padding: clamp(22px, 4vw, 38px);
  border-radius: 26px;
  color: white;
  background: var(--tone);
  transition: background-color 420ms ease;
}

.kc-tone-symbol {
  position: relative;
  min-height: 260px;
}

.kc-tone-symbol span {
  position: absolute;
  border-radius: 28px;
  background: rgba(255,255,255,0.28);
  transition: transform 420ms ease, opacity 420ms ease;
}

.kc-tone-symbol span:nth-child(1) { inset: 18px 16px 80px 12px; }
.kc-tone-symbol span:nth-child(2) { inset: 112px 54px 24px 46px; }
.kc-tone-symbol span:nth-child(3) { width: 96px; height: 96px; right: 18px; bottom: 44px; border-radius: 50%; }

.kc-tone-card.switching .kc-tone-symbol span:nth-child(1) { transform: rotate(8deg) translateY(-10px); }
.kc-tone-card.switching .kc-tone-symbol span:nth-child(2) { transform: rotate(-7deg) translateX(12px); }
.kc-tone-card.switching .kc-tone-symbol span:nth-child(3) { transform: scale(1.16); }

.kc-tone-text {
  align-self: end;
}

.kc-tone-text p,
.kc-tone-text h3 {
  color: white;
}

.kc-tone-text p:first-child {
  font-weight: 950;
  opacity: 0.76;
}

.kc-tone-text h3 {
  font-size: clamp(2rem, 4.5vw, 4.3rem);
}

.kc-tone-text.fade {
  animation: copyIn 360ms ease both;
}

@keyframes copyIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.kc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.kc-stats div {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--wash);
}

.kc-stats strong {
  display: block;
  color: var(--tone);
  font-size: clamp(3.6rem, 8vw, 7rem);
  line-height: 0.88;
}

.kc-stats span {
  color: var(--muted);
  font-weight: 850;
}

.kc-review-rail figure {
  margin: 0;
  color: var(--ink);
  background: var(--tone-soft);
}

.kc-review-rail div {
  color: var(--tone);
}

.kc-review-rail blockquote {
  margin: 18px 0;
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.25;
}

.kc-review-rail figcaption {
  color: var(--muted);
}

.kc-process {
  background: linear-gradient(180deg, white, var(--tone-soft));
  border-radius: 38px;
  padding-inline: clamp(18px, 4vw, 44px);
}

.kc-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  list-style: none;
}

.kc-process-grid li {
  padding: 24px;
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow);
}

.kc-process-grid span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 42px;
  border-radius: 18px;
  color: white;
  background: var(--tone);
  font-weight: 950;
}

.kc-pricing {
  display: grid;
  justify-items: start;
  gap: 20px;
  padding-inline: clamp(22px, 5vw, 58px);
  border-radius: 38px;
  background: var(--ink);
}

.kc-pricing h2,
.kc-pricing strong {
  color: white;
}

.kc-pricing p {
  max-width: 760px;
  color: rgba(255,255,255,0.72);
}

.kc-pricing strong {
  color: var(--tone);
  font-size: clamp(4rem, 12vw, 11rem);
  line-height: 0.86;
}

.kc-contact {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: stretch;
}

.kc-contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(34px, 4.4vw, 58px);
  border-radius: 32px;
  background: var(--tone-soft);
}

.kc-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: center;
  gap: 16px;
  min-height: 100%;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: white;
  box-shadow: var(--shadow);
}

.kc-form input,
.kc-form select {
  min-height: 58px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
}

.kc-form input::placeholder {
  color: #667485;
  opacity: 1;
  font-size: 1rem;
  font-weight: 760;
}

.kc-form button {
  grid-column: 1 / -1;
  min-height: 58px;
  font-size: 1rem;
}

.kc-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(18px, 4vw, 54px);
  color: var(--muted);
}

.kc-footer a {
  color: var(--tone);
  font-weight: 900;
}

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

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

@media (max-width: 960px) {
  .kc-header nav:not(.kc-language-switch) { display: none; }

  .kc-hero,
  .kc-angle-lab,
  .kc-contact {
    grid-template-columns: 1fr;
  }

  .kc-hero-orbit {
    min-height: 450px;
  }

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

@media (max-width: 650px) {
  .kc-header {
    gap: 12px;
  }

  .kc-brand img {
    width: min(184px, 54vw);
    height: 40px;
  }

  .kc-hero {
    min-height: auto;
    padding-top: 48px;
  }

  .kc-actions,
  .kc-tabs,
  .kc-tone-card,
  .kc-stats,
  .kc-process-grid,
  .kc-form {
    grid-template-columns: 1fr;
  }

  .kc-actions {
    display: grid;
  }

  .kc-hero-orbit {
    min-height: 390px;
  }

  .kc-orbit-card.main {
    min-height: 180px;
  }

  .kc-service-rail,
  .kc-review-rail {
    padding-bottom: 10px;
  }

  .kc-scroll-cue {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    color: var(--tone);
    font-size: 0.86rem;
    font-weight: 950;
  }

  .kc-scroll-cue span {
    height: 8px;
    border-radius: 999px;
    background:
      linear-gradient(90deg, var(--tone) 0 34%, color-mix(in srgb, var(--tone) 18%, transparent) 34% 100%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 22%, transparent);
  }
}

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