:root {
  --ink: #120b13;
  --ink-soft: #231425;
  --surface: #2a1728;
  --surface-raised: #3a2034;
  --line: #6e3e5f;
  --text: #fff8f1;
  --muted: #d6b9c7;
  --rose: #ff5f9e;
  --blush: #ffb4c8;
  --amber: #ffc857;
  --wine: #8b2e63;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }

/* NINIKA AI marketing homepage */
.site-nav {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(18, 11, 19, .94);
  border-bottom: 1px solid rgba(255, 95, 158, .24);
  backdrop-filter: blur(12px);
}
.site-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-size: 19px; font-weight: 800; white-space: nowrap; }
.brand-mark { position: relative; display: grid; width: 35px; height: 35px; place-items: center; overflow: hidden; border-radius: 8px; background: var(--rose); color: var(--text); font-size: 12px; font-weight: 900; }
.brand-mark::after { position: absolute; right: -7px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--amber); content: ""; }
.brand-mark span { position: relative; z-index: 1; }
.site-links { display: flex; align-items: center; gap: 27px; margin: 0; padding: 0; list-style: none; }
.site-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-links a:hover { color: var(--text); }
.nav-download, .button-primary, .button-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 7px; font-size: 14px; font-weight: 800; text-decoration: none; transition: background-color .2s, color .2s, transform .2s; }
.nav-download, .button-primary { background: var(--rose); color: var(--text); }
.nav-download:hover, .button-primary:hover { background: #ff78ae; transform: translateY(-1px); }
.button-secondary { border: 1px solid rgba(243, 255, 248, .35); color: var(--text); }
.button-secondary:hover { border-color: var(--blush); color: var(--blush); }

.hero { position: relative; display: grid; min-height: 760px; padding: 138px max(24px, calc((100vw - 1180px) / 2)) 82px; overflow: hidden; background: #160c17; }
.hero::before { position: absolute; z-index: 0; inset: 0 0 0 44%; background: linear-gradient(90deg, rgba(18, 11, 19, .2), rgba(139, 46, 99, .34)); content: ""; }
.hero-art { position: absolute; z-index: 0; inset: 0 0 0 52%; background: #3a1731 url("/assets/ninika-creative-portrait.webp") center 37% / cover no-repeat; filter: saturate(1.08) contrast(1.04) hue-rotate(318deg); }
.hero-art::after { position: absolute; inset: 0; background: rgba(43, 15, 39, .36); content: ""; }
.hero-content { position: relative; z-index: 1; align-self: center; width: min(660px, 100%); }
.kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--blush); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.kicker::before { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); content: ""; }
.hero h1 { max-width: 690px; margin: 0; font-size: clamp(46px, 6vw, 78px); line-height: 1.02; letter-spacing: 0; }
.hero h1 strong { color: var(--blush); font-weight: 800; }
.hero-copy { max-width: 525px; margin: 24px 0 34px; color: #f1dce5; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: block; margin-top: 20px; color: var(--muted); font-size: 13px; }
.hero-scroll { position: absolute; bottom: 24px; left: max(24px, calc((100vw - 1180px) / 2)); color: var(--blush); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.proof { border-bottom: 1px solid var(--line); background: #211121; }
.proof-inner { display: grid; width: min(1180px, calc(100% - 48px)); margin: 0 auto; grid-template-columns: repeat(4, 1fr); }
.proof-item { min-height: 120px; padding: 29px 24px; border-right: 1px solid var(--line); }
.proof-item:last-child { border: 0; }
.proof-item strong { display: block; color: var(--amber); font-size: 28px; line-height: 1.1; }
.proof-item span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; }

.page-section { padding: 110px max(24px, calc((100vw - 1100px) / 2)); }
.section-heading { max-width: 635px; margin-bottom: 52px; }
.section-eyebrow { margin: 0 0 13px; color: var(--rose); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-size: clamp(31px, 4vw, 48px); line-height: 1.12; letter-spacing: 0; }
.section-heading p { margin: 17px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }

.capabilities { background: #160c17; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability { min-height: 250px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-index { color: var(--amber); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.capability h3 { margin: 46px 0 11px; font-size: 20px; line-height: 1.25; }
.capability p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.showcase { display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr); gap: 72px; align-items: center; background: var(--ink-soft); }
.showcase-copy h2 { margin: 0; font-size: clamp(31px, 4vw, 48px); line-height: 1.12; }
.showcase-copy p { margin: 21px 0 30px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.check-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; color: #fff0f5; font-size: 15px; line-height: 1.5; }
.check-list li::before { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border-radius: 50%; background: var(--rose); color: var(--text); content: "+"; font-size: 16px; font-weight: 900; }
.showcase-art { display: grid; min-height: 560px; place-items: center; overflow: hidden; border: 1px solid #81416d; background: #241122; }
.phone { position: relative; width: min(286px, 70%); height: 480px; overflow: hidden; border: 8px solid #120912; border-radius: 32px; background: #32182e; box-shadow: 22px 22px 0 #1a0c18; }
.phone img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.phone-bar { position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 17px 14px; background: rgba(18, 11, 19, .86); color: var(--text); font-size: 11px; font-weight: 800; }
.phone-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 4px; background: var(--amber); color: var(--ink); font-size: 10px; }

.workflow { background: #160c17; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.workflow-step { padding: 0 4px; }
.step-number { display: block; color: var(--amber); font-size: 42px; font-weight: 800; line-height: 1; }
.workflow-step h3 { margin: 21px 0 10px; font-size: 19px; }
.workflow-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.final-cta { padding: 110px 24px; border-top: 1px solid var(--line); background: #421d38; text-align: center; }
.final-cta h2 { max-width: 730px; margin: 0 auto; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; }
.final-cta p { max-width: 540px; margin: 20px auto 30px; color: #f1d0dc; font-size: 16px; line-height: 1.7; }

.site-footer { padding: 56px max(24px, calc((100vw - 1100px) / 2)) 30px; background: #100810; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-summary { max-width: 345px; margin: 17px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer-group h3 { margin: 2px 0 15px; color: var(--text); font-size: 14px; }
.footer-group a { display: block; margin: 9px 0; color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-group a:hover { color: var(--blush); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid #4e2947; color: #b58aa0; font-size: 12px; }

/* Legal pages */
.legal-page { color: var(--text); line-height: 1.7; }
.legal-page header { position: sticky; top: 0; z-index: 2; background: rgba(18, 11, 19, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.legal-page .bar, .legal-page main, .legal-page footer { width: min(900px, calc(100% - 40px)); margin: auto; }
.legal-page .bar { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-page .brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 20px; font-weight: 800; text-decoration: none; }
.legal-page .mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; background: var(--rose); color: var(--text); font-size: 13px; font-weight: 900; }
.legal-page nav { display: flex; gap: 18px; font-size: 14px; }
.legal-page nav a { color: var(--muted); text-decoration: none; }
.legal-page nav a:hover { color: var(--blush); }
.legal-page main { padding: 54px 0 72px; }
.legal-page .eyebrow { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--blush); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.legal-page h1 { margin: 15px 0 8px; font-size: clamp(30px, 6vw, 42px); line-height: 1.15; }
.legal-page .updated { margin: 0 0 34px; color: var(--muted); font-size: 14px; }
.legal-page section { margin: 16px 0; padding: 27px 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.legal-page h2 { margin: 0 0 12px; font-size: 19px; line-height: 1.35; }
.legal-page p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.legal-page p:last-child, .legal-page ul:last-child { margin-bottom: 0; }
.legal-page ul { margin: 0 0 12px; padding-left: 22px; color: var(--muted); font-size: 15px; }
.legal-page li { margin: 6px 0; }
.legal-page strong, .legal-page .package { color: var(--text); }
.legal-page .package { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.legal-page .notice { padding-left: 14px; border-left: 3px solid var(--rose); }
.legal-page footer { padding: 26px 0 38px; border-top: 1px solid var(--line); color: #b58aa0; font-size: 13px; }

@media (max-width: 800px) {
  .site-nav { min-height: 64px; padding: 12px 20px; }
  .site-links { display: none; }
  .nav-download { min-height: 39px; padding: 0 13px; font-size: 12px; }
  .hero { min-height: 720px; padding: 112px 24px 74px; }
  .hero::before { inset: 0; background: rgba(18, 11, 19, .62); }
  .hero-art { inset: 0; opacity: .72; }
  .hero h1 { font-size: clamp(43px, 12vw, 60px); }
  .hero-copy { max-width: 440px; font-size: 16px; }
  .proof-inner, .capability-grid, .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .showcase { grid-template-columns: 1fr; gap: 46px; }
  .showcase-art { min-height: 470px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .site-brand { font-size: 17px; }
  .brand-mark { width: 31px; height: 31px; }
  .hero { min-height: 680px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 280px; }
  .proof-inner, .capability-grid, .workflow-grid, .footer-grid { grid-template-columns: 1fr; }
  .proof-item, .proof-item:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .page-section { padding: 76px 24px; }
  .capability { min-height: 0; }
  .capability h3 { margin-top: 32px; }
  .phone { width: 236px; height: 410px; }
  .showcase-art { min-height: 440px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .legal-page .bar, .legal-page main, .legal-page footer { width: min(100% - 28px, 900px); }
  .legal-page .bar { min-height: 62px; }
  .legal-page nav { gap: 12px; font-size: 13px; }
  .legal-page section { padding: 22px 20px; }
  .legal-page main { padding-top: 36px; }
}
