:root {
  --paper: #f3f7fb;
  --ink: #122033;
  --muted: #54677c;
  --cyan: #1494c8;
  --blue: #1b6fb8;
  --deep: #0e4aae;
  --line: rgba(18, 52, 86, 0.12);
  --card: #ffffff;
  --shadow: 0 24px 60px rgba(18, 40, 70, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f4f8fc;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.06rem;
  overflow-x: hidden;
}

h1, h2, h3,
.navbar-brand strong,
.faq-shell .accordion-button,
.journey strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-optical-sizing: auto;
  letter-spacing: -0.025em;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.wash {
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.42;
}

.wash-a {
  top: -12rem;
  left: 12%;
  background: #8ed7f2;
}

.wash-b {
  right: -10rem;
  top: 28%;
  background: #b7c8f0;
}

.wave-mark {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 18%;
  width: 110%;
  height: 280px;
  color: rgba(27, 111, 184, 0.12);
}

.site-shell { position: relative; z-index: 1; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(244, 248, 252, 0.72);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}

.brand-logo {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.78rem;
  box-shadow: 0 10px 22px rgba(27, 111, 184, 0.22);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong { font-size: 1.18rem; font-weight: 650; }
.brand-copy small {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  color: var(--blue);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.nav-link {
  font-weight: 600;
  color: #3d536a !important;
}
.nav-link:hover { color: var(--deep) !important; }

.hero {
  padding: 3.2rem 0 1.5rem;
  text-align: center;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  color: #3f5a72;
  font-weight: 600;
  font-size: 0.88rem;
}

.led {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #16a36a;
  box-shadow: 0 0 0 5px rgba(22, 163, 106, 0.12);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 650;
  line-height: 1.02;
  max-width: 14ch;
  margin: 0 auto 1rem;
}

.hero-lead {
  max-width: 38rem;
  margin: 0 auto 1.6rem;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-actions { margin-bottom: 2.4rem; }

.btn-accent {
  background: linear-gradient(135deg, #18a8d8, var(--blue) 52%, var(--deep));
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding-inline: 1.4rem;
  box-shadow: 0 14px 28px rgba(14, 74, 174, 0.22);
}
.btn-accent:hover { color: #fff; transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid rgba(18, 52, 86, 0.18);
  color: var(--ink);
  background: rgba(255,255,255,0.8);
  font-weight: 650;
  border-radius: 999px;
}
.btn-ghost:hover { color: var(--deep); border-color: var(--blue); }

.product-stage {
  position: relative;
  max-width: 980px;
  margin: 0 auto 2.2rem;
}

.product-frame {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 1.25rem;
  overflow: hidden;
  transform: perspective(1400px) rotateX(2deg);
}

.frame-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(180deg, #f8fbfe, #eef4f9);
  border-bottom: 1px solid var(--line);
  color: #5a7085;
  font-size: 0.82rem;
  font-weight: 600;
}

.traffic { display: flex; gap: 0.38rem; }
.traffic span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
}
.traffic span:nth-child(1) { background: #ff5f57; }
.traffic span:nth-child(2) { background: #febc2e; }
.traffic span:nth-child(3) { background: #28c840; }

.frame-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #14805a;
}
.frame-live span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #16a36a;
}

.screenshot-stage { padding: 0.9rem; background: #edf3f8; }
.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.7rem;
  border: 1px solid rgba(18, 52, 86, 0.1);
}

.float-tag {
  position: absolute;
  z-index: 3;
  padding: 0.45rem 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--deep);
  box-shadow: 0 10px 24px rgba(18, 40, 70, 0.1);
}
.tag-left { left: -0.6rem; top: 38%; }
.tag-right { right: -0.6rem; top: 52%; }
.tag-bottom { left: 50%; bottom: -0.7rem; transform: translateX(-50%); }

.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 820px;
  margin: 2.4rem auto 0;
  text-align: left;
}
.proof-bar div {
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.proof-bar dt {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 650;
}
.proof-bar dd { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.95rem; }

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  padding: 0.85rem 0;
  margin-top: 2.5rem;
}
.ticker-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-weight: 700;
  color: #3d5a74;
  letter-spacing: 0.04em;
}
.ticker-track span::before {
  content: "●";
  margin-right: 0.8rem;
  color: var(--cyan);
  font-size: 0.65rem;
}

.section { padding: 5rem 0; }
.section-soft { background: rgba(255,255,255,0.38); }

.section-intro { max-width: 40rem; margin-bottom: 2.2rem; }
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.7rem;
}
.section-intro h2,
.pipeline h2,
.release-card h2,
#faq h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.muted { color: var(--muted); line-height: 1.7; }

.bento {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.bento-hero { grid-row: span 2; }
.bento-wide { grid-column: 2; }

.bento-card,
.proto-card,
.pipeline,
.release-card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(18, 40, 70, 0.05);
}

.bento-card,
.proto-card {
  padding: 1.6rem;
  border-radius: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bento-card:hover,
.proto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(18, 40, 70, 0.1);
}

.bento-hero {
  background:
    linear-gradient(180deg, rgba(24, 168, 216, 0.08), transparent 38%),
    #fff;
}

.module-id,
.proto-port {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bento-card h3,
.proto-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.55rem;
}
.bento-card p,
.proto-card p { color: var(--muted); margin: 0; line-height: 1.65; }

.proto-card { height: 100%; }

.pipeline {
  padding: 2.2rem;
  border-radius: 1.4rem;
}

.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.journey li {
  position: relative;
  padding: 1.1rem 1rem 1.1rem 0;
}
.journey li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.4rem;
  color: var(--deep);
  margin-bottom: 0.45rem;
}
.journey strong { display: block; font-size: 1.2rem; margin-bottom: 0.35rem; }
.journey span { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

.release-card {
  padding: 2.3rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(24, 168, 216, 0.16), transparent 32%),
    #fff;
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.spec-list li {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #eef5fb;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 650;
}

.faq-shell .accordion-item {
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 0.7rem;
  border-radius: 1rem;
  overflow: hidden;
}
.faq-shell .accordion-button {
  background: #fff;
  color: var(--ink);
  font-size: 1.12rem;
}
.faq-shell .accordion-button:not(.collapsed) {
  background: #f4f9fc;
  color: var(--ink);
  box-shadow: none;
}
.faq-shell .accordion-body { color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 991.98px) {
  .bento,
  .journey,
  .proof-bar {
    grid-template-columns: 1fr;
  }
  .bento-hero,
  .bento-wide { grid-column: auto; grid-row: auto; }
  .float-tag { display: none; }
  .product-frame { transform: none; }
  .frame-path { display: none; }
}

@media (max-width: 767.98px) {
  .hero { padding-top: 2rem; }
  .hero-title { max-width: none; }
}
