: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); }
.product-card:nth-child(2) .product-icon { background: linear-gradient(145deg, #ef9d32, #a92f50); }
.product-card:nth-child(3) .product-icon { background: linear-gradient(145deg, #1d2435, #59667d); }
.product-card:nth-child(4) .product-icon { background: linear-gradient(145deg, #f66a35, #6f35d1); }
.product-card:nth-child(5) .product-icon { background: linear-gradient(145deg, #00a075, #1a4f91); }
.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; }

@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; }
}
@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; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .product-card { transition: none; } }
