:root {
  --ink: #0a1020;
  --navy: #101b35;
  --blue: #275df5;
  --cyan: #7ce7e1;
  --paper: #f5f7fb;
  --white: #ffffff;
  --muted: #687189;
  --line: rgba(16, 27, 53, 0.12);
  --shadow: 0 24px 70px rgba(17, 30, 63, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 247, 251, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 760; letter-spacing: -0.02em; }
.mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(140deg, var(--blue), #6638ef); font-weight: 850; font-size: 13px; letter-spacing: -0.03em; box-shadow: 0 10px 28px rgba(39, 93, 245, 0.25); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: #384158; font-size: 14px; font-weight: 650; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--blue); }
.contact-link { padding: 10px 16px; border-radius: 999px; background: var(--ink); color: white !important; }

.hero { padding: 82px 0 70px; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; width: 580px; height: 580px; border-radius: 50%; right: -190px; top: -250px; background: radial-gradient(circle, rgba(124,231,225,.45), rgba(39,93,245,.1) 50%, transparent 70%); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid rgba(39,93,245,.2); background: rgba(255,255,255,.75); border-radius: 999px; color: #29427a; font-size: 13px; font-weight: 720; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(39,93,245,.1); }
h1 { max-width: 900px; margin: 24px 0 24px; font-size: clamp(48px, 7vw, 88px); line-height: .98; letter-spacing: -.06em; font-weight: 800; }
.gradient-text { background: linear-gradient(100deg, var(--blue), #713bee 58%, #178c9d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 680px; margin: 0; color: #505a72; font-size: clamp(18px, 2.3vw, 23px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 15px; border: 1px solid var(--line); background: white; }
.button.primary { background: var(--blue); color: white; border-color: var(--blue); box-shadow: 0 14px 30px rgba(39,93,245,.22); }

.signal { margin-top: 64px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.signal-panel { min-height: 220px; padding: 30px; border-radius: 28px; background: var(--navy); color: white; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.signal-panel::after { content: "NKT"; position: absolute; right: -18px; bottom: -48px; font-weight: 900; font-size: 150px; color: rgba(255,255,255,.045); letter-spacing: -.1em; }
.signal-panel small { color: var(--cyan); font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.signal-panel p { max-width: 580px; margin: 22px 0 0; font-size: clamp(22px, 3vw, 34px); line-height: 1.18; letter-spacing: -.035em; font-weight: 680; }
.detail-panel { min-height: 220px; padding: 30px; border-radius: 28px; background: white; border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(17,30,63,.06); display: flex; flex-direction: column; justify-content: space-between; }
.detail-panel span { color: var(--muted); font-size: 13px; font-weight: 720; text-transform: uppercase; letter-spacing: .08em; }
.detail-panel strong { font-size: 22px; line-height: 1.25; letter-spacing: -.025em; }

section { padding: 84px 0; }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: end; margin-bottom: 36px; }
.kicker { margin: 0 0 10px; color: var(--blue); font-size: 13px; font-weight: 760; text-transform: uppercase; letter-spacing: .1em; }
h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.03; letter-spacing: -.05em; }
.section-head > p { margin: 0; max-width: 590px; color: var(--muted); font-size: 18px; }
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { min-height: 340px; border-radius: 26px; padding: 28px; background: white; border: 1px solid var(--line); box-shadow: 0 16px 44px rgba(17,30,63,.06); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: white; font-weight: 800; background: linear-gradient(145deg, #1c733f, #b19545); }
.status { align-self: flex-start; margin: 30px 0 12px; border-radius: 999px; padding: 6px 10px; background: #eef2ff; color: #3e55a5; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.product-card h3 { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -.035em; }
.product-card p { color: var(--muted); margin: 12px 0 24px; }
.product-card a { margin-top: auto; font-weight: 730; color: var(--blue); text-decoration: none; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-card { padding: 34px; background: white; border: 1px solid var(--line); border-radius: 26px; }
.about-card h3 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.03em; }
.about-card p { margin: 0; color: var(--muted); }
.cta { padding: 54px; border-radius: 32px; background: linear-gradient(130deg, var(--blue), #4027b5 62%, #162043); color: white; display: flex; align-items: center; justify-content: space-between; gap: 30px; box-shadow: var(--shadow); }
.cta h2 { max-width: 680px; font-size: clamp(34px, 4.6vw, 54px); }
.cta .button { flex: 0 0 auto; color: var(--ink); }

footer { padding: 36px 0 44px; }
.footer-inner { border-top: 1px solid var(--line); padding-top: 28px; display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }

.legal { min-height: 72vh; padding: 70px 0 100px; }
.legal article { max-width: 780px; }
.legal h1 { font-size: clamp(42px, 6vw, 68px); }
.legal h2 { margin-top: 42px; font-size: 27px; letter-spacing: -.03em; }
.legal p, .legal li { color: #515b71; }
.legal .updated { color: var(--muted); font-size: 14px; }

/* ---------- App showcase ---------- */
.app-strip { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px; }
.app-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: white; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 8px 24px rgba(17,30,63,.05); transition: transform .2s ease, border-color .2s ease; }
.app-chip:hover { transform: translateY(-2px); border-color: rgba(39,93,245,.35); }
.app-chip .dot { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; }

.showcase-section { padding-top: 40px; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px; margin-bottom: 26px; border-radius: 32px; background: white; border: 1px solid var(--line); box-shadow: 0 16px 44px rgba(17,30,63,.06); scroll-margin-top: 96px; }
.showcase.flip .showcase-copy { order: 2; }
.showcase h3 { margin: 18px 0 12px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -.04em; }
.showcase p { margin: 0; color: var(--muted); font-size: 17px; }
.app-logo { height: 46px; width: auto; display: block; }
.app-title { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 28px; letter-spacing: -.03em; }
.app-title img { width: 56px; height: 56px; border-radius: 14px; }
.app-title.cs { color: #f26a1b; font-size: 34px; letter-spacing: -.05em; text-transform: lowercase; }
.app-title.cm { color: #0d1b3d; font-size: 26px; text-transform: uppercase; letter-spacing: .02em; font-weight: 900; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge { border-radius: 999px; padding: 5px 11px; background: #eef2ff; color: #3e55a5; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.badge.live { background: #e3f7ec; color: #17784a; }
.badge.live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #1fae66; vertical-align: 1px; }
.badge.soon { background: #fff4e5; color: #a5600e; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; color: #2b344b; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.showcase-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.showcase-art { position: relative; min-height: 560px; border-radius: 26px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.showcase-art .phone { position: absolute; width: 230px; height: auto; filter: drop-shadow(0 30px 40px rgba(10,16,32,.35)); transition: transform .35s ease; }
.showcase-art .phone.back { transform: translate(-70px, 16px) rotate(-6deg) scale(.92); opacity: .96; }
.showcase-art .phone.front { transform: translate(70px, -10px) rotate(4deg); }
.showcase:hover .phone.back { transform: translate(-82px, 12px) rotate(-8deg) scale(.92); }
.showcase:hover .phone.front { transform: translate(82px, -16px) rotate(5deg); }
.art-bi { background: radial-gradient(circle at 30% 20%, #f3efe3, #d9d2bd 70%); }
.art-vf { background: radial-gradient(circle at 70% 20%, #5a1c6e, #1a0828 70%); }
.art-cs { background: radial-gradient(circle at 30% 25%, #ffe3cf, #f6a066 80%); }
.art-cm { background: radial-gradient(circle at 70% 20%, #1b2d5c, #0a142e 70%); }
.art-cm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 70%, rgba(201,162,74,.25)); pointer-events: none; }

.next-up { margin-top: 8px; padding: 30px 36px; border-radius: 26px; border: 1px dashed rgba(16,27,53,.22); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.next-up h3 { margin: 0 0 4px; font-size: 24px; letter-spacing: -.03em; }
.next-up p:not(.kicker) { margin: 0; color: var(--muted); }

@media (max-width: 960px) {
  .showcase { grid-template-columns: 1fr; gap: 34px; padding: 34px; }
  .showcase.flip .showcase-copy { order: 0; }
  .showcase-art { min-height: 460px; }
  .showcase-art .phone { width: 190px; }
}
@media (max-width: 820px) {
  .nav-links a:not(.contact-link) { display: none; }
  .hero { padding-top: 58px; }
  .signal, .section-head, .about-grid { grid-template-columns: 1fr; }
  .portfolio { grid-template-columns: 1fr; }
  .product-card { min-height: 290px; }
  .cta { padding: 34px; align-items: flex-start; flex-direction: column; }
  .next-up { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .brand-name { font-size: 14px; }
  h1 { font-size: 49px; }
  section { padding: 62px 0; }
  .signal { margin-top: 44px; }
  .signal-panel, .detail-panel, .about-card, .product-card { padding: 24px; border-radius: 22px; }
  .footer-inner { flex-direction: column; }
  .showcase { padding: 24px; border-radius: 24px; }
  .showcase-art { min-height: 380px; }
  .showcase-art .phone { width: 150px; }
  .showcase-art .phone.back { transform: translate(-48px, 12px) rotate(-6deg) scale(.92); }
  .showcase-art .phone.front { transform: translate(48px, -8px) rotate(4deg); }
  .showcase-actions .button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .product-card, .showcase-art .phone, .app-chip { transition: none; } }
