@font-face { font-family: "Unbounded"; src: url("/fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --blueprint: #0B2A7A;
  --blueprint-deep: #071D5A;
  --grid: rgba(127, 178, 255, 0.09);
  --grid-strong: rgba(127, 178, 255, 0.16);
  --line: #7FB2FF;
  --cyan: #62E3FF;
  --paper: #F2F5FD;
  --paper-line: #D6DFF5;
  --ink: #0A1638;
  --ink-soft: #3B4A6B;
  --on-dark: #DCE6FF;
  --on-dark-soft: #AFC1EC;
  --accent: #62E3FF;
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.62 var(--body); color: var(--ink); background: var(--blueprint-deep); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 500; }
p { margin: 0 0 1em; }
.lead { font-size: 1.18rem; line-height: 1.6; max-width: 60ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* Blueprint and paper are the two surfaces. */
.blueprint {
  color: var(--on-dark);
  background-color: var(--blueprint);
  background-image:
    linear-gradient(var(--grid-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
}
.blueprint h1, .blueprint h2, .blueprint h3 { color: #fff; }
.paper { background: var(--paper); color: var(--ink); }

/* ---- buttons ---- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  border-radius: 10px; font: 600 16px/1.2 var(--body); text-decoration: none; border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -12px rgba(98, 227, 255, 0.7); }
.btn-light:hover { box-shadow: 0 14px 34px -10px rgba(98, 227, 255, 0.9); }
.btn-outline { color: #fff; border-color: rgba(220, 230, 255, 0.55); }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 10px 28px -14px var(--accent); }
.btn-accent:hover { box-shadow: 0 16px 32px -12px var(--accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost-dark { color: var(--ink); border-color: rgba(10, 22, 56, 0.35); }
.btn-ghost-dark:hover { border-color: var(--ink); }

/* ---- header ---- */
.preview-bar { background: #FFD84D; color: var(--ink); text-align: center; padding: 8px 16px; font-size: 15px; }
.preview-bar a { font-weight: 700; }
.top {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 max(28px, calc((100vw - var(--wrap)) / 2 + 28px)); height: 70px;
  background: rgba(7, 29, 90, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(127, 178, 255, 0.18); color: var(--on-dark);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 600 17px var(--display); letter-spacing: -0.01em; }
.mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 8px; font-weight: 500; color: var(--on-dark); transition: color 0.15s, background-color 0.15s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav .nav-cta { border: 1.5px solid rgba(220, 230, 255, 0.45); margin-left: 8px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 10px; border: 1px solid rgba(220, 230, 255, 0.35); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu nav { position: absolute; right: 0; top: 54px; min-width: 210px; display: grid; padding: 8px; border-radius: 14px; background: var(--blueprint-deep); border: 1px solid rgba(127, 178, 255, 0.3); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6); animation: menu-in 0.18s ease-out; }
.menu nav a { padding: 12px 14px; border-radius: 8px; text-decoration: none; color: #fff; }
.menu nav a:hover { background: rgba(255, 255, 255, 0.07); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---- hero and the building ---- */
.hero { padding: 72px 0 84px; overflow: hidden; }
.hero.short { padding: 110px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero-text .lead { color: var(--on-dark); margin-top: 22px; }
.hero-art { position: relative; max-width: 520px; justify-self: center; width: 100%; }
.building { width: 100%; height: auto; overflow: visible; }
.building .label text { font: 500 13px var(--display); fill: var(--on-dark); letter-spacing: 0; }
.building .label line { stroke: var(--line); stroke-width: 1.5; }
.building .floor { cursor: pointer; transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
.building .floor:hover, .building .floor:focus-visible { transform: translateY(-9px); outline: none; }
.building .floor:hover .label text, .building .floor:focus-visible .label text { fill: #fff; text-decoration: underline; }
.building .win { fill: rgba(4, 16, 52, 0.55); }
.building .next polygon { fill: rgba(127, 178, 255, 0.05); stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 5 5; }
.building .next .label text { fill: var(--on-dark-soft); }
.building .next .label line { stroke-dasharray: 3 3; }

/* The one orchestrated moment: the building assembles, floor by floor, then its lights come on. */
@media (prefers-reduced-motion: no-preference) {
  .building .plinth, .building .plinth-label { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: 0.15s; }
  .building .floor > polygon, .building .floor > .label { animation: drop 0.75s cubic-bezier(0.2, 1.25, 0.35, 1) both; animation-delay: calc(0.35s + var(--i) * 0.24s); }
  .building .floor .win { animation: lights 0.45s ease-out forwards; animation-delay: calc(0.9s + var(--i) * 0.24s + var(--w) * 0.05s); }
  .building .next { animation: plan 1s ease-out both; animation-delay: calc(0.6s + var(--i) * 0.24s); }
  .building .next polygon { animation: dash 14s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .building .floor .win { fill: #F2FAFF; }
  html { scroll-behavior: auto; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-90px); } 60% { opacity: 1; } }
@keyframes lights { to { fill: #F2FAFF; } }
@keyframes plan { from { opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -200; } }

/* ---- sections ---- */
.products, .features, .about, .audience, .others { padding: 96px 0; }
.promises, .screens, .contact { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head .lead { margin-top: 16px; color: var(--ink-soft); }

.product-panel {
  position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: center;
  padding: 52px 52px 52px 60px; margin-bottom: 36px; background: #fff; border: 1px solid var(--paper-line); border-radius: 26px; overflow: hidden;
}
.product-panel::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; background: var(--accent); }
.product-panel.flip { padding: 52px 60px 52px 52px; }
.product-panel.flip::before { inset: 0 0 0 auto; }
.product-panel.flip .panel-text { order: 2; }
.panel-name { display: flex; align-items: center; gap: 14px; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; color: var(--ink); }
.panel-name i { width: 22px; height: 22px; border-radius: 5px; background: var(--accent); box-shadow: 6px 6px 0 var(--accent-soft); flex: none; }
.panel-tagline { font: 500 1.15rem/1.4 var(--display); color: var(--accent-deep); margin: 14px 0 18px; letter-spacing: -0.01em; }
.panel-text p { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.34em; width: 18px; height: 18px; border-radius: 5px; background: var(--accent-soft); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(0.34em + 3px); width: 5px; height: 9px; border: solid var(--accent-deep); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.panel-shot { display: block; perspective: 1600px; }

/* A screenshot in a browser window. */
.frame { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(10, 22, 56, 0.12); box-shadow: 0 40px 70px -30px rgba(7, 29, 90, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; background: #EAF0FB; border-bottom: 1px solid #DCE4F5; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #C6D2EC; }
.frame-bar i:nth-child(1) { background: #FF8A7A; }
.frame-bar i:nth-child(2) { background: #FFCB5C; }
.frame-bar i:nth-child(3) { background: #5ED39A; }
.frame-bar span { margin-left: 10px; padding: 2px 12px; border-radius: 6px; background: #fff; color: #5B6B8E; font-size: 12px; }
.tilt { transform: rotateY(-9deg) rotateX(3deg) scale(0.98); transform-origin: left center; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.flip .tilt { transform: rotateY(9deg) rotateX(3deg) scale(0.98); transform-origin: right center; }
.product-panel:hover .tilt, .product-panel:focus-within .tilt { transform: none; }

.promises h2 { max-width: 700px; margin-bottom: 48px; }
.promise-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 64px; }
.promise-grid h3 { margin: 18px 0 10px; }
.promise-grid p { color: var(--on-dark-soft); max-width: 46ch; }
/* A dimension line, as on an architect's drawing. */
.dim { display: block; height: 14px; border-left: 1.5px solid var(--cyan); border-right: 1.5px solid var(--cyan); background: linear-gradient(var(--cyan), var(--cyan)) center / 100% 1.5px no-repeat; opacity: 0.85; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-word { font: 800 clamp(2.4rem, 5.4vw, 4.6rem)/1 var(--display); letter-spacing: -0.04em; margin: 0; color: transparent; -webkit-text-stroke: 1.5px var(--blueprint); overflow-wrap: anywhere; }
.about h2 { margin-bottom: 18px; }
.about p { color: var(--ink-soft); max-width: 58ch; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.contact .lead { margin-top: 16px; color: var(--on-dark); }
.address { color: var(--on-dark-soft); }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: grid; gap: 2px; padding: 20px 24px; border-radius: 14px; text-decoration: none; border: 1px solid rgba(127, 178, 255, 0.35); background: rgba(7, 29, 90, 0.45); transition: border-color 0.2s, background-color 0.2s, transform 0.2s; }
.contact-item span { color: var(--cyan); font-size: 14px; font-weight: 600; }
.contact-item strong { font: 500 1.15rem var(--display); color: #fff; overflow-wrap: anywhere; }
.contact-item:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); transform: translateX(4px); }

/* ---- product pages ---- */
.p-hero { padding: 64px 0 90px; overflow: hidden; background-image: radial-gradient(55% 60% at 85% 35%, color-mix(in srgb, var(--glow) 40%, transparent), transparent 70%), linear-gradient(var(--grid-strong) 1px, transparent 1px), linear-gradient(90deg, var(--grid-strong) 1px, transparent 1px), linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: auto, 160px 160px, 160px 160px, 32px 32px, 32px 32px; }
.p-hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center; }
.crumb { display: inline-block; color: var(--on-dark-soft); text-decoration: none; font-weight: 500; margin-bottom: 22px; }
.crumb::before { content: "‹ "; }
.crumb:hover { color: #fff; }
.p-name { font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.p-name::after { content: ""; display: block; width: 72px; height: 10px; border-radius: 3px; margin-top: 20px; background: var(--accent); }
.p-tagline { font: 500 1.35rem/1.35 var(--display); color: #fff; margin: 22px 0 16px; letter-spacing: -0.01em; }
.p-hero .lead { color: var(--on-dark); }
.p-hero-art { position: relative; padding-bottom: 40px; }
.phone { position: absolute; left: -36px; bottom: 0; width: 27%; margin: 0; border-radius: 26px; overflow: hidden; border: 7px solid var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); background: var(--ink); }

.audience { padding: 56px 0; border-bottom: 1px solid var(--paper-line); }
.audience-line { font: 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.45 var(--display); letter-spacing: -0.015em; max-width: 30em; margin: 0; }
.audience-line span { font-weight: 700; color: var(--accent-deep); }

.features h2 { margin-bottom: 44px; }
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 44px; }
.feature-grid li { border-top: 2px solid var(--accent); padding-top: 20px; }
.feature-grid i { display: block; width: 14px; height: 14px; border-radius: 3px; background: var(--accent); box-shadow: 4px 4px 0 var(--accent-soft); margin-bottom: 14px; }
.feature-grid h3 { margin-bottom: 8px; }
.feature-grid p { color: var(--ink-soft); }

.screens h2 { margin-bottom: 40px; }
.screen-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 36px; }
.screen:first-child { grid-column: 1 / -1; }
.screen { margin: 0; }
.screen figcaption { margin-top: 14px; color: var(--on-dark-soft); max-width: 60ch; }
.zoom { all: unset; display: block; width: 100%; cursor: zoom-in; border-radius: 14px; transition: transform 0.25s ease; }
.zoom:hover { transform: translateY(-4px); }
.zoom:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.pricing { background: var(--accent); color: var(--ink); padding: 64px 0; }
.pricing-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.pricing h2 { font-size: 1.1rem; font-weight: 600; color: var(--accent-deep); }
.price-line { font: 600 clamp(1.4rem, 2.6vw, 2rem)/1.3 var(--display); letter-spacing: -0.02em; margin: 8px 0 0; max-width: 26em; }
.pricing .actions { margin-top: 0; }

.others h2 { font-size: 1.5rem; margin-bottom: 24px; }
.other-list { display: flex; flex-wrap: wrap; gap: 16px; }
.other { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 18px 22px; min-width: min(100%, 360px); border-radius: 14px; background: #fff; border: 1px solid var(--paper-line); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.other i { grid-row: span 2; width: 18px; height: 18px; border-radius: 4px; background: var(--accent); }
.other strong { font: 600 1.15rem var(--display); }
.other span { color: var(--ink-soft); font-size: 15px; }
.other:hover { border-color: var(--accent); transform: translateY(-2px); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 12, 40, 0.88); }
.lightbox[open] { animation: zoom-in 0.22s ease-out; }
.lightbox img { max-width: 94vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox p { color: #fff; text-align: center; margin: 14px auto 0; max-width: 60ch; }
.lightbox .close { position: fixed; top: 16px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(7, 29, 90, 0.8); color: #fff; font-size: 26px; cursor: pointer; }
@keyframes zoom-in { from { opacity: 0; transform: scale(0.96); } }

/* ---- footer ---- */
.foot { background: var(--blueprint-deep); color: var(--on-dark-soft); padding: 40px 0; border-top: 1px solid rgba(127, 178, 255, 0.18); }
.foot-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; gap: 18px; }
.foot nav a { color: var(--on-dark); text-decoration: none; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot p { margin: 0 0 0 auto; font-size: 15px; }

/* ---- smaller screens ---- */
@media (max-width: 980px) {
  .hero-grid, .p-hero-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; }
  .product-panel, .product-panel.flip { grid-template-columns: 1fr; gap: 32px; padding: 36px 32px 36px 40px; }
  .product-panel.flip { padding: 36px 40px 36px 32px; }
  .product-panel.flip .panel-text { order: 0; }
  .tilt, .flip .tilt { transform: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .phone { left: auto; right: -8px; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .top { padding: 0 16px; height: 64px; }
  .hero { padding: 44px 0 56px; }
  .products, .features, .about, .promises, .screens, .contact, .others { padding: 64px 0; }
  .product-panel, .product-panel.flip { padding: 28px 22px 28px 30px; border-radius: 20px; }
  .product-panel.flip { padding: 28px 30px 28px 22px; }
  .promise-grid, .feature-grid, .screen-list { grid-template-columns: 1fr; }
  .p-hero { padding: 40px 0 60px; }
  .phone { width: 34%; border-width: 5px; border-radius: 18px; }
  .foot p { margin-left: 0; }
  .actions .btn { flex: 1 1 auto; }
}
