:root {
  --ink: #1B1730;
  --ink-2: #120E20;
  --paper: #F8F5FC;
  --paper-2: #EFE9F9;
  --violet: #6C5CE7;
  --violet-deep: #4C3FC4;
  --gold: #EDA43A;
  --mauve: #C787C9;
  --muted: #6B6580;
  --muted-light: #9E96B8;
  --line: rgba(27, 23, 48, 0.10);
  --line-light: rgba(255, 255, 255, 0.14);
  --radius: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

em {
  font-style: italic;
  color: var(--violet);
}

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-deep);
}

.eyebrow.on-dark {
  color: var(--gold);
}

section {
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  font-family: 'DM Sans';
  font-weight: 700;
  font-size: 15.5px;
  padding: 16px 30px;
  border-radius: 100px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 8px 24px rgba(27, 23, 48, 0.18);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(27, 23, 48, 0.26);
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn .arrow {
  transition: transform .25s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn.on-dark {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn.on-dark:hover {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 252, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--ink);
}

.brand-word {
  font-family: 'Cormorant Garamond';
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav .tag {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-left: 1px solid var(--line);
  padding-left: 10px;
  margin-left: 2px;
}

.nav-cta {
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.lang-link {
  transition: color 0.2s ease;
}

.lang-link:hover {
  color: var(--ink);
}

.lang-link.active {
  color: var(--violet-deep);
  pointer-events: none;
}

.lang-sep {
  color: var(--line);
  font-weight: 400;
}

/* ---------- HERO ---------- */
.hero {
  padding: 96px 0 84px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(48px, 6.4vw, 84px);
}

.hero .lede {
  margin-top: 26px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
}

.hero .cta-row {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero .cta-note {
  font-size: 14px;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(237, 164, 58, 0.18);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signal-field {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: -3px;
  left: 50%;
  margin-left: -3px;
}

.ring.r1 {
  width: 56%;
  height: 56%;
  animation: spin 22s linear infinite;
}

.ring.r1::after {
  background: var(--violet);
  box-shadow: 0 0 8px rgba(108, 92, 231, 0.7);
}

.ring.r2 {
  width: 78%;
  height: 78%;
  animation: spin-rev 34s linear infinite;
}

.ring.r2::after {
  background: var(--mauve);
  box-shadow: 0 0 8px rgba(199, 135, 201, 0.6);
}

.ring.r3 {
  width: 100%;
  height: 100%;
  animation: spin 50s linear infinite;
}

.ring.r3::after {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(237, 164, 58, 0.6);
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spin-rev {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.core-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(237, 164, 58, 0.35), rgba(108, 92, 231, 0.35) 55%, transparent 75%);
  filter: blur(18px);
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    opacity: .7;
    transform: translate(-50%, -50%) scale(0.94);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.core {
  position: relative;
  width: 34%;
  height: 34%;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(27, 23, 48, 0.35);
}

.core img,
.core svg {
  width: 52%;
  height: 52%;
}

/* ---------- PROBLEM ---------- */
.problem {
  background: var(--ink);
  color: #fff;
  padding: 120px 0;
}

.problem .wrap {
  max-width: 820px;
}

.problem h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  color: #fff;
}

.problem h2 .soft {
  color: var(--muted-light);
  display: block;
  font-weight: 400;
}

.problem p {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 28px;
  max-width: 640px;
}

.problem .question {
  margin-top: 36px;
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-size: 28px;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  line-height: 1.4;
}

/* ---------- WHAT IS KAIRO ---------- */
.what {
  padding: 120px 0 100px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  margin-top: 14px;
}

.cards4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(27, 23, 48, 0.08);
  border-color: transparent;
}

.card .icn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  margin-bottom: 20px;
  font-size: 20px;
}

.card h3 {
  font-family: 'DM Sans';
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- HOW IT WORKS ---------- */
.how {
  background: var(--paper-2);
  padding: 120px 0;
}

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 14px;
  margin-top: 56px;
}

.flow-step {
  text-align: left;
}

.flow-num {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-size: 15px;
  color: var(--muted-light);
  margin-bottom: 14px;
}

.flow-icn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.flow-step h4 {
  font-family: 'DM Sans';
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

.flow-arrow {
  align-self: center;
  color: var(--muted-light);
  font-size: 20px;
  padding-top: 38px;
}

.how-note {
  margin-top: 60px;
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  text-align: center;
}

/* ---------- LEARNS ---------- */
.learns {
  padding: 120px 0;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}

.learn-card {
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
}

.learn-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.learn-card.accept .tag {
  background: rgba(108, 92, 231, 0.1);
  color: var(--violet-deep);
}

.learn-card.wait .tag {
  background: rgba(237, 164, 58, 0.14);
  color: #a8721c;
}

.learn-card.skip .tag {
  background: rgba(199, 135, 201, 0.16);
  color: #8a4f8c;
}

.learn-card .action {
  font-family: 'Cormorant Garamond';
  font-size: 22px;
  margin-bottom: 10px;
}

.learn-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- NOT DOES ---------- */
.notdoes {
  background: var(--ink);
  color: #fff;
  padding: 110px 0;
}

.notdoes .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.notdoes h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  color: #fff;
}

.notdoes .sub {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  margin-top: 18px;
  line-height: 1.6;
}

.no-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.no-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
}

.no-item:first-child {
  padding-top: 0;
}

.no-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--mauve);
  flex-shrink: 0;
}

.no-item span.txt {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- EXPERIMENTAL ---------- */
.experiment {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}

.experiment::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 135, 201, 0.20), transparent 68%);
  pointer-events: none;
}

.experiment .wrap {
  max-width: 700px;
  position: relative;
}

.experiment h2 {
  font-size: clamp(32px, 4.4vw, 50px);
}

.experiment p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 24px;
}

.exp-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.exp-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 16.5px;
  color: var(--ink);
  line-height: 1.5;
}

.exp-list .idx {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  color: var(--violet);
  font-size: 20px;
  flex-shrink: 0;
  width: 22px;
}

/* ---------- FINAL CTA ---------- */
.final {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 130px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final .glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(108, 92, 231, 0.28), transparent 65%);
  pointer-events: none;
}

.final .wrap {
  position: relative;
  max-width: 660px;
}

.final h2 {
  font-size: clamp(34px, 5vw, 54px);
  color: #fff;
}

.final p.msg {
  margin-top: 20px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.final .cta-row {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.final .cta-note {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- FOOTER ---------- */
footer {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

footer .quote {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.5;
}

footer .fbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted-light);
}

footer .fbrand img {
  background: var(--ink);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:880px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .hero-visual {
    order: -1;
    max-width: 280px;
    margin: 0 auto 20px;
  }

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

  .flow {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .flow-arrow {
    display: none;
  }

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

  .notdoes .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .nav .tag {
    display: none;
  }

  .problem,
  .what,
  .how,
  .learns,
  .notdoes,
  .experiment,
  .final {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}