:root {
  --bg: #08090d;
  --bg-2: #0e1016;
  --card: #12141b;
  --line: #20232d;
  --text: #ecedf2;
  --muted: #9a9cab;
  --blue: #4f7cff;
  --blue-2: #8aa7ff;
  --teal: #2dd4bf;
  --amber: #f5a524;
  --radius: 20px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(8, 9, 13, .78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.brand img { border-radius: 8px; }
.brand em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .85em; letter-spacing: .12em; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-size: 14px; transition: color .15s; }
.links a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; transition: background .15s, transform .15s; border: 1px solid transparent; }
.btn:hover { background: #3d6af0; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--card); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }

/* Film band: full width, 16:9, never covered by text */
.film { padding: 40px 0 0; }
.film-frame { position: relative; width: min(910px, 100%); aspect-ratio: 16 / 9; margin-inline: auto; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: #000; box-shadow: 0 40px 100px -40px rgba(79, 124, 255, .45); }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 1.2s ease; }
.film-frame iframe.on { opacity: 1; }

/* Hero */
.hero { position: relative; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 15% 0%, rgba(79, 124, 255, .14), transparent 55%); }
.hero-in { position: relative; padding: 72px 0 104px; }
.eyebrow { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); margin: 0 0 16px; }
h1 { font-size: clamp(44px, 7vw, 88px); line-height: 1.02; letter-spacing: -.035em; margin: 0; font-weight: 600; }
.lede { max-width: 60ch; font-size: clamp(17px, 1.6vw, 20px); color: #c6c8d4; margin: 24px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Sections */
.section { padding: 112px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.025em; margin: 0; font-weight: 600; }
.sub { color: var(--muted); font-size: 18px; max-width: 62ch; margin: 14px 0 0; }

/* Products */
.product { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-top: 72px; padding: 40px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, var(--card), var(--bg)); }
.product.flip .product-text { order: 2; }
.tag-row { display: flex; align-items: center; gap: 10px; }
.tag { font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; }
.tag.live { background: rgba(45, 212, 191, .12); color: var(--teal); border: 1px solid rgba(45, 212, 191, .3); }
.tag.soon { background: rgba(245, 165, 36, .12); color: var(--amber); border: 1px solid rgba(245, 165, 36, .3); }
.domain { font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted); }
.product h3 { font-size: 36px; letter-spacing: -.02em; margin: 18px 0 4px; font-weight: 600; }
.product h3 b { color: var(--amber); font-weight: 600; }
.pitch { font-size: 19px; color: var(--text); margin: 0 0 14px; }
.product-text > p:not(.pitch) { color: var(--muted); margin: 0; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); color: var(--accent, var(--blue)); }
.p-domika { --accent: var(--blue); }
.p-molekto { --accent: var(--teal); }
.p-molekto .btn { background: var(--teal); color: #04221e; }
.p-molekto .btn:hover { background: #22c3ae; }
.p-nukleo { --accent: var(--amber); }
.p-nukleo .product-text > p:not(.pitch) { margin-bottom: 28px; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--accent) 45%, transparent); }
.nukleo-card { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); padding: 8px 24px; box-shadow: 0 30px 80px -30px rgba(245, 165, 36, .35); }
.nk-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.nk-row:last-child { border-bottom: 0; }
.nk-row span { color: var(--muted); font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; padding-top: 3px; }
.nk-row b { font-weight: 500; text-align: right; }

/* Principles */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); }
.num { font-family: "Geist Mono", ui-monospace, monospace; color: var(--blue-2); font-size: 13px; }
.card h3 { font-size: 20px; margin: 14px 0 8px; font-weight: 600; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Brief */
.brief { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 48px; border-radius: 28px; border: 1px solid rgba(79, 124, 255, .35); background: radial-gradient(ellipse at top left, rgba(79, 124, 255, .18), transparent 60%), var(--card); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.about-text p { margin: 0 0 16px; color: #c6c8d4; font-size: 17px; }
.about-text strong { color: var(--text); font-weight: 600; }
.person-links { display: flex; flex-wrap: wrap; gap: 18px; }
.person-links a { color: var(--blue-2); text-decoration: none; font-size: 15px; }
.person-links a:hover { text-decoration: underline; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 10px; }
.contact-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .15s, background .15s; }
.contact-item:hover { border-color: rgba(79, 124, 255, .5); background: var(--card); }
.contact-item span { color: var(--muted); font-size: 14px; }
.contact-item b { font-weight: 500; overflow-wrap: anywhere; text-align: right; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .muted { margin-left: auto; }

@media (max-width: 900px) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .product, .about, .contact { grid-template-columns: 1fr; gap: 32px; }
  .product { padding: 24px; margin-top: 40px; }
  .product.flip .product-text { order: 0; }
  .grid3 { grid-template-columns: 1fr; }
  .brief { flex-direction: column; align-items: flex-start; padding: 28px; }
  .section { padding: 80px 0; }
  .film { padding-top: 20px; }
  .hero-in { padding: 48px 0 72px; }
  .foot .muted { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film-frame iframe { display: none; }
}
