:root {
  --off-white:   #F7F6F3;
  --white:       #FFFFFF;
  --ink-navy:    #0B1020;
  --deep-slate:  #151B2C;
  --violet:      #7B4DFF;
  --cobalt:      #256BFF;
  --teal:        #00C2A8;
  --soft-lilac:  #F2ECFF;
  --light-border:#E8E5DF;
  --gold:        #B5840F;
  --text-2:      #565B73;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-head:   'Space Grotesk', 'Inter', -apple-system, system-ui, sans-serif;
  --radius:      16px;
  --radius-lg:   24px;
  --shadow-soft: 0 12px 32px rgba(11, 16, 32, 0.08);
  --shadow-card: 0 8px 24px rgba(11, 16, 32, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--off-white);
  color: var(--ink-navy);
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Nav ---------- */
.imk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.imk-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 999px;
  overflow: hidden;
}
.lang-btn {
  border: none;
  background: none;
  cursor: pointer;
  padding: 7px 12px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-2);
  transition: color .12s ease, background .12s ease;
}
.lang-btn:hover { color: var(--ink-navy); }
.lang-btn.active { color: var(--white); background: var(--violet); }

.imk-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink-navy);
}
.imk-logo.on-dark { color: var(--off-white); }

.imk-logo-sm { font-size: 15px; gap: 8px; }
.imk-logo-sm .imk-logo-bars { height: 13px; }

.imk-logo-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 17px;
}
.imk-logo-bars span {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--violet), var(--cobalt) 55%, var(--teal));
}
.imk-logo-bars span:nth-child(1) { height: 60%; }
.imk-logo-bars span:nth-child(2) { height: 100%; }
.imk-logo-bars span:nth-child(3) { height: 40%; }
.imk-logo-bars span:nth-child(4) { height: 80%; }
.imk-logo-bars span:nth-child(5) { height: 55%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--cobalt));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-secondary {
  background: var(--white);
  color: var(--ink-navy);
  border-color: var(--light-border);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  padding: 13px 8px;
}
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-bg-glow {
  position: absolute;
  top: -140px;
  left: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(123,77,255,.14), rgba(37,107,255,.08) 45%, transparent 72%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-copy, .hero-visual { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--soft-lilac);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: 53px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--ink-navy);
}

.hero p.sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 30px;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

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

.hero-visual .card-glow {
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle at 35% 30%, var(--soft-lilac), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 78%;
  max-width: 340px;
  filter: drop-shadow(0 20px 40px rgba(11,16,32,.12));
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.section-eyebrow {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.section-head h2 {
  font-family: var(--font-head);
  font-size: 32px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink-navy);
}

.section-head p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Product preview ---------- */
.preview-card {
  position: relative;
  overflow: hidden;
  background: var(--ink-navy);
  border-radius: var(--radius-lg);
  padding: 28px 30px 32px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}
.preview-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -12%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0,194,168,.18), transparent 70%);
  pointer-events: none;
}

.preview-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.preview-song {
  font-size: 13.5px;
  color: #C7CBE0;
  text-align: right;
}
.preview-song em { font-style: normal; color: #7B81A3; }

.preview-controls {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.preview-control {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pc-label {
  font-size: 13px;
  font-weight: 600;
  color: #C7CBE0;
  min-width: 56px;
}

.pc-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pc-stepper span.pc-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: var(--white);
  font-size: 14px;
  line-height: 24px;
  text-align: center;
}
.pc-val {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  min-width: 32px;
  text-align: center;
}

.pc-slider {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.pc-slider-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--cobalt), var(--teal));
}
.pc-slider-handle {
  position: absolute;
  top: 50%;
  left: 62%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 3px rgba(123,77,255,.35);
}

.pc-loop {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #C7CBE0;
}
.pc-loop-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,194,168,.18);
}

/* ---------- Feature cards ---------- */
#features { padding-top: 104px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft-lilac);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card:nth-child(3n+2) .feature-icon {
  background: rgba(0, 194, 168, .14);
  color: var(--teal);
}

.feature-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink-navy);
}

.feature-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
}

/* ---------- How it works ---------- */
#how-it-works {
  padding-top: 104px;
  padding-bottom: 80px;
}

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

.step {
  position: relative;
  background: var(--soft-lilac);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}

.step-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--cobalt));
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 16.5px;
  margin: 0 0 8px;
  color: var(--ink-navy);
}

.step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Beta section ---------- */
#beta { padding-top: 52px; }

.beta-section {
  position: relative;
  overflow: hidden;
  background: var(--deep-slate);
  border-radius: var(--radius-lg);
  margin: 0 24px;
  padding: 56px 40px;
  display: grid;
  grid-template-columns: 1fr 170px;
  align-items: center;
  gap: 40px;
  max-width: 1072px;
  margin-left: auto;
  margin-right: auto;
}

.beta-section::before {
  content: '';
  position: absolute;
  top: -35%;
  right: -8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(123,77,255,.16), transparent 70%);
  pointer-events: none;
}

.beta-copy, .beta-visual { position: relative; z-index: 1; }

.beta-section .section-eyebrow { color: var(--teal); }

.beta-copy h2 {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--white);
  margin: 8px 0 16px;
}

.beta-copy p {
  color: #C7CBE0;
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 0 26px;
}

.beta-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.beta-visual img {
  width: 130px;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,.35));
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-navy);
  padding: 48px 0 56px;
}
.footer-inner { text-align: center; }
.footer-inner .imk-logo {
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
  gap: 12px;
}
.footer-inner .imk-logo-bars { height: 18px; }
.footer-inner .imk-logo-bars span { width: 3.5px; }
.footer-tagline {
  color: #C7CBE0;
  font-size: 14.5px;
  margin: 0 0 6px;
}
.footer-micro {
  color: #7B81A3;
  font-size: 12.5px;
  margin: 0;
}
.footer-domain { color: #9FA6C7; font-weight: 600; }

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 2px 0 14px;
}
.footer-links a {
  color: #9FA6C7;
  font-size: 12.5px;
  font-weight: 500;
  transition: color .12s ease;
}
.footer-links a:hover { color: var(--white); }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-hero { padding: 48px 0 4px; }
.legal-hero h1 {
  font-family: var(--font-head);
  font-size: 34px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink-navy);
}
.legal-updated {
  color: var(--text-2);
  font-size: 13.5px;
  margin: 0 0 32px;
}

.legal-content { max-width: 740px; margin: 0 auto; padding-bottom: 88px; }
.legal-intro {
  background: var(--soft-lilac);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-navy);
  margin: 0 0 36px;
}
.legal-content h2 {
  font-family: var(--font-head);
  font-size: 19px;
  letter-spacing: -0.005em;
  margin: 38px 0 12px;
  color: var(--ink-navy);
  scroll-margin-top: 24px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 14px;
}
.legal-content ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal-content li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 7px;
}
.legal-content strong { color: var(--ink-navy); font-weight: 600; }
.legal-content a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--cobalt); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero-visual { order: -1; max-width: 260px; margin: 0 auto; }
  .hero h1 { font-size: 36px; }
  .hero-bg-glow { width: 380px; height: 380px; top: -100px; left: -100px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .beta-section { grid-template-columns: 1fr; text-align: center; padding: 40px 26px; }
  .beta-visual { order: -1; justify-content: center; }
  .preview-card { padding: 24px 22px 28px; }
  .preview-song { text-align: left; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .preview-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .preview-song { text-align: left; }
  .pc-label { min-width: 48px; font-size: 12px; }
}

@media (max-width: 420px) {
  .imk-nav { flex-wrap: wrap; gap: 10px; }
  .imk-logo { font-size: 17px; }
  .imk-nav-right { gap: 8px; }
  .lang-btn { padding: 6px 9px; font-size: 11px; }
}
