/* Nisthora marketing site. Colours match marketing/video.html. */
:root {
  --navy: #0B2154;
  --navy-2: #13306f;
  --blue: #0A8FC9;
  --blue-ink: #0670A0;      /* blue text on white: 5.2:1 */
  --ink: #0B2154;
  --ink-2: #3D4D68;         /* body text: 8.6:1 on white */
  --line: #D5E0EC;
  --soft: #EEF4FA;
  --soft-2: #F6F9FC;
  --white: #ffffff;
  --green: #15803D;
  --amber: #B45309;
  --red: #B91C1C;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 33, 84, .06), 0 12px 32px rgba(11, 33, 84, .10);
  --max: 1600px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: Inter, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-ink); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.section { padding: 96px 0; }
.section.soft { background: var(--soft-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-ink); margin-bottom: 12px;
}
.lead { font-size: 1.2rem; max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.word { color: var(--ink); font-weight: 600; }
.note { font-size: .95rem; color: var(--ink-2); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav-links a:hover { color: var(--blue-ink); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { padding: 80px 0 40px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1025px) {
  /* The video gets the larger share: it is the first thing a visitor should watch. */
  .hero-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); align-items: center; column-gap: clamp(32px, 4vw, 64px); }
  .hero h1 { font-size: clamp(2.4rem, 3.4vw, 3.2rem); }
  .hero .lead { font-size: 1.18rem; }
  .hero-shot { grid-column: 1 / -1; margin-top: 16px; }
}
.hero-video .video-frame { margin: 0; max-width: none; }
.hero-video .note { margin: 12px 0 0; }
.hero-copy { max-width: 820px; }
.hero h1 span { color: var(--blue-ink); }
.hero .lead { font-size: 1.3rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; padding: 0; margin: 0; font-size: .98rem; color: var(--ink); font-weight: 600; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }

/* ---------- screenshot frame ---------- */
.frame {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c9d6e6; display: block; }
.frame-bar span { margin-left: 10px; font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.shot { position: relative; aspect-ratio: 16 / 10; background: var(--soft-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.shot.tall { aspect-ratio: 4 / 3; }
figcaption { font-size: .92rem; color: var(--ink-2); padding: 12px 16px; border-top: 1px solid var(--line); }

/* ---------- problem cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); font-size: 1.5rem; margin-bottom: 16px; }
.card p { margin: 0; font-size: 1rem; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: -18px; left: 24px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1rem;
}
.steps p { font-size: 1rem; margin: 0; }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-copy { order: 2; }
.feature ul { padding: 0; margin: 16px 0 0; list-style: none; }
.feature li { padding-left: 30px; position: relative; margin-bottom: 10px; font-size: 1.02rem; }
.feature li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--soft); border: 5px solid var(--blue); box-sizing: border-box; }

/* ---------- small feature grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile h3 { font-size: 1.08rem; }
.tile p { font-size: .98rem; margin: 0; }

/* ---------- connect strip ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; list-style: none; padding: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 700; color: var(--ink); font-size: 1rem; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 48px; }
.flow .node { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.flow .node b { display: block; color: var(--ink); font-size: 1.08rem; margin-bottom: 4px; }
.flow .node span { font-size: .95rem; }
.flow .arrow { color: var(--blue); font-size: 1.8rem; font-weight: 800; }

/* ---------- industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.industry { border-radius: var(--radius); padding: 26px; background: var(--navy); color: #DCE6F5; }
.industry h3 { color: #fff; }
.industry p { margin: 0; font-size: .98rem; }

/* ---------- product promise ---------- */
.promise { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .tick { width: 32px; height: 32px; border-radius: 50%; background: #E3F4EA; color: var(--green); display: grid; place-items: center; font-weight: 800; }
.checklist b { color: var(--ink); display: block; }
.checklist span { font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-ink); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 24px 20px; margin: 0; font-size: 1.02rem; }

/* ---------- CTA + footer ---------- */
.cta { background: var(--navy); color: #DCE6F5; border-radius: 20px; padding: 64px 48px; text-align: center; }
.cta h2 { color: #fff; }
.cta .lead { margin: 0 auto 28px; }
.site-footer { padding: 48px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-row ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-row a { color: var(--ink); text-decoration: none; font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .industries { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-copy { order: 0; }
  .promise { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 1.3rem; cursor: pointer;
  }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav .btn-primary { display: none; }
  .grid-3, .grid-4, .industries, .steps { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow .arrow { transform: rotate(90deg); justify-self: center; }
  .cta { padding: 44px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Keep jumped-to sections clear of the sticky header. */
section[id], main { scroll-margin-top: 72px; }
[tabindex="-1"]:focus { outline: none; }

/* ---------- video ---------- */
.video-frame {
  max-width: 1040px; margin: 40px auto 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--navy);
}
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* =================================================================
   Multi-page additions
   ================================================================= */

/* ---------- dropdown nav ---------- */
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button.dd {
  display: inline-flex; align-items: center; gap: 6px; padding: 24px 0; background: none; border: 0;
  font: inherit; font-weight: 600; font-size: .98rem; color: var(--ink); cursor: pointer; text-decoration: none;
}
.nav-links > li > a[aria-current="page"], .nav-links > li.active > button.dd { color: var(--blue-ink); }
.nav-links button.dd::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.menu {
  display: none; position: absolute; top: 100%; left: -20px; min-width: 300px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 10px; list-style: none; margin: 0;
}
.menu.wide { min-width: 560px; display: none; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.nav-links > li:hover > .menu, .nav-links > li:focus-within > .menu { display: block; }
.nav-links > li:hover > .menu.wide, .nav-links > li:focus-within > .menu.wide { display: grid; }
.menu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.menu a:hover, .menu a[aria-current="page"] { background: var(--soft); }
.menu a b { display: block; font-size: .95rem; }
.menu a span { display: block; font-size: .85rem; color: var(--ink-2); font-weight: 400; line-height: 1.4; }
.menu .menu-head { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); font-weight: 700; padding: 8px 12px 4px; grid-column: 1 / -1; }

/* ---------- page hero ---------- */
.page-hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 900px; }
.page-hero .lead { font-size: 1.22rem; max-width: 780px; }
.crumbs { font-size: .9rem; margin-bottom: 18px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- prose ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split-wide { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.aside-box { background: var(--soft-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.aside-box h3 { margin-top: 0; }
.aside-box ul { margin: 0; padding-left: 1.2em; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 24px 0; background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td b { color: var(--ink); }

/* ---------- badges ---------- */
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.badge.ok { background: #E3F4EA; color: #14532D; border-color: #BFE3CC; }
.badge.warn { background: #FEF3C7; color: #78350F; border-color: #F5DFA0; }

/* ---------- link cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
a.lcard {
  display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-decoration: none; color: var(--ink-2); transition: border-color .15s, transform .15s, box-shadow .15s;
}
a.lcard:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
a.lcard h3 { margin: 0; font-size: 1.12rem; }
a.lcard p { margin: 0; font-size: .98rem; }
a.lcard .more { margin-top: auto; padding-top: 8px; color: var(--blue-ink); font-weight: 700; font-size: .95rem; }
a.lcard .more::after { content: " →"; }
.lcard .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); font-size: 1.35rem; }

/* ---------- diagrams ---------- */
.uns-path {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1rem; background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: 28px; overflow-x: auto; line-height: 2;
}
.uns-path .seg { display: inline-block; padding: 2px 10px; border-radius: 6px; background: rgba(255,255,255,.1); margin: 0 2px; }
.uns-path .sep { color: #8FC9E8; }
.uns-legend { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 16px; }
.uns-legend div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: .9rem; }
.uns-legend b { display: block; color: var(--ink); }
.diagram { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { border: 0; padding: 12px 0 0; }

/* ---------- stats-free highlight band ---------- */
.band { background: var(--navy); color: #DCE6F5; }
.band h2, .band h3 { color: #fff; }
.band .kicker { color: #8FC9E8; }
.band .grid-4 .tile, .band .grid-3 .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #DCE6F5; }
.band .tile h3 { color: #fff; }
/* Cards keep their white background inside the band, so their headings stay dark. */
.band a.lcard h3 { color: var(--ink); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.contact-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; font-size: 1.2rem; }
.contact-item b { color: var(--ink); display: block; }

.footer-cols { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.footer-cols h4 { color: var(--ink); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: block; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols a { color: var(--ink-2); text-decoration: none; font-weight: 400; }
.footer-cols a:hover { color: var(--blue-ink); text-decoration: underline; }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
.byline { font-size: .95rem; margin-top: 12px; }
.byline b { color: var(--ink); }

@media (max-width: 1024px) {
  .cards, .cards.four { grid-template-columns: repeat(2, 1fr); }
  .split, .split-wide, .contact-grid { grid-template-columns: 1fr; }
  .uns-legend { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 18px; }
}
@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 1.3rem; cursor: pointer;
  }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a, .nav-links > li > button.dd { padding: 12px 0; width: 100%; justify-content: space-between; }
  .menu, .menu.wide { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; }
  .nav-links > li:hover > .menu, .nav-links > li:focus-within > .menu,
  .nav-links > li:hover > .menu.wide, .nav-links > li:focus-within > .menu.wide { display: none; }
  .nav-links > li.open > .menu { display: block; }
  .nav-links > li.open > .menu.wide { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cards, .cards.two, .cards.four, .uns-legend { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .page-hero { padding: 44px 0 40px; }
}

/* =================================================================
   Product screens on a small, tilted laptop
   ================================================================= */
.device {
  position: relative; isolation: isolate; margin: 0 auto; width: 100%; max-width: 580px;
  perspective: 1800px; -webkit-user-select: none; user-select: none;
  /* Side room for the wider base and the tilt, so neither pokes past the page edge. */
  padding: 12px 7% 20px;
}
.device-glow {
  position: absolute; inset: 8% 4% 4%; z-index: -1; border-radius: 40px;
  background: radial-gradient(closest-side, rgba(10, 143, 201, .32), rgba(11, 33, 84, .10) 70%, transparent);
  filter: blur(28px);
}
.device-body {
  transform: rotateY(-11deg) rotateX(5deg) rotateZ(.6deg);
  transform-origin: 50% 60%; transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
/* Tilt towards the text beside it. */
.feature.flip .device-body, .promise .device-body { transform: rotateY(11deg) rotateX(5deg) rotateZ(-.6deg); }
.device:hover .device-body { transform: rotateY(0) rotateX(0) rotateZ(0); }
.device-lid {
  background: linear-gradient(160deg, #2a2d34, #15171b); border-radius: 16px 16px 4px 4px; padding: 10px 10px 14px;
  box-shadow: 0 40px 70px -30px rgba(11, 33, 84, .55), inset 0 0 0 1px #34373f;
}
.device-screen { background: #fff; border-radius: 5px; overflow: hidden; }
.device-bar {
  height: 22px; display: flex; align-items: center; gap: 6px; padding: 0 10px;
  background: #eef1f5; border-bottom: 1px solid #dde3ea;
}
.device-bar i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.device-bar i:nth-child(1) { background: #ff5f57; }
.device-bar i:nth-child(2) { background: #febc2e; }
.device-bar i:nth-child(3) { background: #28c840; }
.device-bar span { margin: 0 auto; transform: translateX(-24px); font-size: 11px; font-weight: 600; color: #5b6678; }
.device-screen img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left;
  pointer-events: none; -webkit-user-drag: none;
}
.device-base {
  position: relative; height: 14px; margin: 0 -8%;
  background: linear-gradient(180deg, #eceef2 0%, #c9ced6 55%, #a9afb9 100%);
  border-radius: 2px 2px 14px 14px / 2px 2px 10px 10px;
  box-shadow: 0 18px 26px -14px rgba(11, 33, 84, .45);
}
.device-base::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 5px; transform: translateX(-50%);
  background: #b3b9c3; border-radius: 0 0 8px 8px;
}
.device-cap { text-align: center; font-size: .92rem; color: var(--ink-2); margin-top: 18px; }

/* Rows: screen on one side, words on the other, at equal weight. */
.feature, .feature.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding: 44px 0; }
.section { padding: 80px 0; }

@media (max-width: 1024px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .device { max-width: 520px; }
  .device-body, .feature.flip .device-body, .promise .device-body { transform: rotateY(-5deg) rotateX(3deg); }
}
@media (max-width: 760px) {
  .section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .device-body { transition: none; }
}

/* Safety net: a tilted screen must never make the page scroll sideways. */
main { overflow-x: clip; }

/* "A product of Prishora", with the company logo. */
.product-of { display: inline-flex; align-items: center; gap: 12px; margin: 4px 0 16px; text-decoration: none; color: var(--ink-2); font-size: .9rem; }
.product-of img { height: 56px; width: auto; }
.product-of:hover span { color: var(--blue-ink); text-decoration: underline; }
