:root {
  --hero: #1d242e;
  --ink: #f8fafc;
  --muted: #b6bcc5;
  --section: #111323;
  --surface: #202a35;
  --accent: #e53042;
  --line: rgba(255, 255, 255, 0.12);
  --font: Inter, "Helvetica Neue", Arial, sans-serif;
  --page-max: 1440px;
  --gutter: clamp(24px, 5.8vw, 84px);
  --hero-gap: clamp(48px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--hero); font-family: var(--font); letter-spacing: -0.012em; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }

.topbar { position: absolute; inset: 0 0 auto; z-index: 10; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 40px; width: min(calc(var(--page-max) + var(--gutter) + var(--gutter)), 100%); margin: 0 auto; padding: 26px var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 22px; height: 31px; object-fit: contain; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: 17px; line-height: 1; letter-spacing: -0.04em; }
.brand-copy small { margin-top: 4px; color: #98a1ad; font-size: 9px; letter-spacing: 0; }
nav { display: flex; justify-content: flex-end; gap: clamp(24px, 3vw, 48px); color: #d5d9df; font-size: 15px; }
nav a { transition: color .2s ease; }
nav a:hover { color: var(--accent); }

.hero { padding: calc(var(--hero-gap) + 17px) var(--gutter) 72px; background: var(--hero); overflow: clip; }
.hero-grid, .role-cards, .interfaces, .value { width: min(var(--page-max), 100%); margin-inline: auto; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); gap: clamp(32px, 4vw, 70px); align-items: center; min-height: 480px; }
.hero-copy { align-self: start; max-width: 770px; padding-top: 34px; }
.eyebrow { margin: 0 0 22px; color: var(--accent); font-size: 13px; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 30px; font-size: clamp(52px, 4.7vw, 72px); line-height: .98; font-weight: 760; letter-spacing: -0.055em; }
.lead { max-width: 730px; margin-bottom: 0; color: #cbd0d7; font-size: clamp(18px, 1.8vw, 25px); line-height: 1.28; }
.hero-visual { position: relative; align-self: stretch; min-height: 0; container-type: size; }
.laptop { position: absolute; inset: 0; filter: drop-shadow(0 24px 28px rgba(0,0,0,.25)); }
/* Align the visible case, excluding the transparent margins in the Figma export. */
.laptop img { position: absolute; top: -25.1%; left: 50%; width: auto; max-width: none; height: 144.1%; transform: translateX(-51.7%); }
.hero-badge { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; min-width: 190px; min-height: 68px; padding: 14px 22px; border-radius: 25px; background: linear-gradient(120deg, rgb(169 46 62 / 60%), rgb(237 48 72 / 100%)); color: white; box-shadow: 0 14px 32px rgba(0,0,0,.22); font-size: 20px; font-weight: 760; line-height: 1.04; }
.badge-icon { display: grid; flex-shrink: 0; width: 28px; height: 28px; place-items: center; }
/* Follow the screen edge in the exported image, with 20% of the badge outside. */
.badge-publish { top: 0%; left: calc(50% - 53.5cqh); transform: translateX(-20%); }
.badge-search { right: -1%; top: 52%; }
.badge-agreement { right: 30%; bottom: -30px; }

.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: var(--hero-gap); }
.role-card { min-height: 180px; padding: 24px 26px 25px; border-radius: 9px; background: #fff; color: #18202b; box-shadow: 0 14px 28px rgba(0,0,0,.1); }
.role-icon { display: block; width: 40px; height: 40px; margin-bottom: 18px; }
.role-card h2 { margin-bottom: 13px; font-size: 20px; line-height: 1; letter-spacing: -0.035em; }
.role-card p { margin: 0; color: #777c84; font-size: 14px; line-height: 1.35; }

.interfaces { padding: 112px var(--gutter) 124px; background: var(--section); }
.section-head { max-width: 980px; margin-bottom: 46px; }
.section-head h2, .value h2 { margin-bottom: 24px; font-size: clamp(42px, 5.3vw, 76px); line-height: .98; font-weight: 760; letter-spacing: -0.055em; }
.section-head > p:last-child { max-width: 1090px; color: #c0c5cc; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.35; }
.screen-block { display: grid; grid-template-columns: 31% minmax(0, 69%); gap: clamp(28px, 4vw, 54px); align-items: center; min-height: 425px; margin-top: 24px; padding: clamp(28px, 3.5vw, 50px); border-radius: 19px; background: var(--hero); overflow: hidden; }
.screen-block.concept-block { background: #061625; }
.screen-copy h3 { margin-bottom: 24px; color: var(--ink); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.02; letter-spacing: -0.045em; }
.screen-copy p { margin: 0; color: #c0c5cd; font-size: clamp(15px, 1.4vw, 19px); line-height: 1.45; }
.screen-block figure { margin: 0; overflow: hidden; border-radius: 12px; background: #091421; }
.screen-block:not(.concept-block) figure { background: #fff; }
.zoomable { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.zoomable:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.screen-block img { width: 100%; height: auto; }

.value { display: grid; grid-template-columns: 1fr; gap: 48px; padding: 112px var(--gutter) 126px; background: var(--hero); }
.value-heading { width: 100%; max-width: 980px; margin-inline: auto; text-align: center; }
.value-heading h2 { margin-bottom: 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.value-grid article { padding: 27px 30px; border-radius: 9px; background: #fff; color: #17202b; }
.value-grid h3 { margin-bottom: 12px; font-size: 19px; line-height: 1.2; }
.value-grid p { margin: 0; color: #777d86; font-size: 14px; line-height: 1.45; }

.final-cta { width: min(var(--page-max), 100%); margin-inline: auto; padding: 94px var(--gutter) 102px; background: var(--section); }
.final-cta h2 { max-width: 900px; margin: 0 0 24px; font-size: clamp(42px, 5.3vw, 76px); line-height: .98; font-weight: 760; letter-spacing: -0.055em; }
.final-cta p { max-width: 700px; margin: 0; color: #b9bec7; font-size: 18px; line-height: 1.45; }

.site-footer { border-top: 1px solid rgba(255,255,255,.1); background: #0b0e1a; }
.footer-inner { display: grid; grid-template-columns: 200px 1fr; gap: 28px; width: min(var(--page-max), 100%); margin-inline: auto; padding: 30px var(--gutter) 34px; }
.footer-brand { display: inline-flex; align-items: flex-start; gap: 12px; height: fit-content; }
.footer-brand .brand-mark { width: 19px; height: 27px; }
.footer-brand .brand-copy strong { color: var(--ink); }
.footer-links { display: flex; align-items: center; gap: 32px; }
.footer-links a { color: #d5d9df; font-size: 13px; line-height: 1.35; }
.footer-links a:hover { color: var(--accent); }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 32px; background: rgba(4, 8, 15, .9); }
.lightbox.open { display: flex; }
.lightbox img { width: auto; max-width: 96vw; max-height: 92vh; border-radius: 12px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.lightbox-close { position: fixed; top: 20px; right: 22px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.12); color: white; cursor: pointer; font-size: 32px; line-height: 1; }

@media (max-width: 1000px) {
  .hero-copy { max-width: 720px; }
  .screen-block { grid-template-columns: 1fr; }
  .screen-copy { max-width: 720px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { height: clamp(420px, 58vw, 620px); }
}

@media (max-width: 680px) {
  :root { --gutter: 18px; }
  .topbar { position: relative; grid-template-columns: 1fr; gap: 18px; padding: 20px var(--gutter); background: var(--hero); }
  nav { justify-content: flex-start; gap: 18px; font-size: 13px; }
  .hero { padding-top: 52px; }
  h1 { font-size: clamp(42px, 12vw, 64px); }
  .lead { font-size: 18px; }
  .hero-visual { display: none; }
  .role-cards { grid-template-columns: 1fr; }
  .role-card { min-height: 0; }
  .interfaces, .value { padding-top: 76px; padding-bottom: 76px; }
  .value-grid { grid-template-columns: 1fr; }
  .section-head h2, .value h2 { font-size: 42px; }
  .screen-block { padding: 24px 20px; }
  .screen-copy h3 { font-size: 30px; }
  .final-cta { padding: 72px var(--gutter) 76px; }
  .final-cta h2 { font-size: 42px; }
  .footer-inner { padding-top: 28px; padding-bottom: 32px; gap: 22px; }
  .footer-links { flex-wrap: wrap; gap: 18px 24px; }
}
