/*
 * LandoByte website. Design tokens first; components use tokens only.
 * Palette shared with TrustPass and Reppler:
 *   Trust Blue #00B6FF · Growth Green #7ED321 · Assurance Gold #FFC700 · Reliance Red #E02424 · Enterprise Navy #0B2545
 * Fonts are served from this site (Cinzel for names, Roboto for text, both SIL OFL 1.1).
 */

@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url('fonts/cinzel-700.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url('fonts/roboto-400.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 500; font-display: swap; src: url('fonts/roboto-500.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 700; font-display: swap; src: url('fonts/roboto-700.woff2') format('woff2'); }

:root {
  --font: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-brand: 'Cinzel', Georgia, "Times New Roman", serif;

  --trust-blue: #00B6FF;
  --growth-green: #7ED321;
  --assurance-gold: #FFC700;
  --reliance-red: #E02424;
  --navy: #0B2545;

  --bg: #f5f8fd;
  --bg-alt: #eaf1fb;
  --surface: #ffffff;
  --text: #0B2545;
  --muted: #4f5f78;
  --line: #d3ddec;
  --accent: #0a66c9;
  --accent-strong: #0a4aa8;
  --on-accent: #ffffff;
  --ok: #3f8a0b;
  --soon: #8a6100;
  --soon-bg: #fff3c2;

  --hero-text: #f2f6fc;
  --hero-muted: #b9c9e2;
  --hero-bg: #06183a;

  --button-fill: linear-gradient(180deg, #1c8df0 0%, #0a5cc4 100%);
  --button-glow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 18px rgba(10,92,196,.26);
  --shadow: 0 18px 44px rgba(11,37,69,.10), 0 2px 6px rgba(11,37,69,.05);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #04112c;
    --bg-alt: #071a3d;
    --surface: #0f2b52;
    --text: #f2f6fc;
    --muted: #a9bbd6;
    --line: #1f3d68;
    --accent: #3aa6ff;
    --accent-strong: #7cc6ff;
    --ok: #9be35a;
    --soon: #ffd75e;
    --soon-bg: #3a3000;
    --shadow: 0 18px 44px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --bg: #04112c;
  --bg-alt: #071a3d;
  --surface: #0f2b52;
  --text: #f2f6fc;
  --muted: #a9bbd6;
  --line: #1f3d68;
  --accent: #3aa6ff;
  --accent-strong: #7cc6ff;
  --ok: #9be35a;
  --soon: #ffd75e;
  --soon-bg: #3a3000;
  --shadow: 0 18px 44px rgba(0,0,0,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font: 400 17px/1.6 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.brand-name { font-family: var(--font-brand); font-weight: 700; letter-spacing: .02em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--hero-bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: 1.3rem; }
.logo-mark { height: 30px; width: auto; }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav a {
  color: var(--hero-muted); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav .btn { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 8px; padding: 6px 10px; font: inherit; cursor: pointer; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--hero-bg); padding: 8px var(--gutter) 16px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font: 500 1rem var(--font);
  text-decoration: none; cursor: pointer; border: 0;
  background: var(--button-fill); color: var(--on-accent); box-shadow: var(--button-glow);
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.nav .btn { padding: 8px 18px; color: #fff; }

/* Hero */
.hero {
  position: relative; color: var(--hero-text);
  background: url('img/backdrop-dark.webp') center / cover no-repeat, linear-gradient(180deg, #06183a 0%, #04112c 100%);
  padding: clamp(64px, 11vw, 140px) 0 clamp(56px, 9vw, 110px);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,17,44,.92) 0%, rgba(4,17,44,.65) 55%, rgba(4,17,44,.35) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--hero-muted); max-width: 640px; }
.hero h1 { max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--trust-blue); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.hero .eyebrow { color: var(--growth-green); }
.stripe { display: flex; height: 4px; }
.stripe span { flex: 1; }
.stripe span:nth-child(1) { background: var(--trust-blue); }
.stripe span:nth-child(2) { background: var(--growth-green); }
.stripe span:nth-child(3) { background: var(--assurance-gold); }
.stripe span:nth-child(4) { background: var(--reliance-red); }

/* Product hero (product pages) */
.product-hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.product-hero .art { justify-self: center; width: min(280px, 70vw); filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
@media (max-width: 760px) {
  .product-hero .wrap { grid-template-columns: 1fr; }
  .product-hero .art { order: -1; width: 160px; justify-self: start; }
}

/* Sections */
section { padding: clamp(56px, 8vw, 96px) 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
@media (max-width: 380px) { .grid.two { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  color: #fff;
}
.card .icon svg { width: 24px; height: 24px; }
.icon.blue { background: linear-gradient(135deg, #00B6FF, #0a66c9); }
.icon.green { background: linear-gradient(135deg, #7ED321, #3f8a0b); }
.icon.gold { background: linear-gradient(135deg, #FFC700, #d98f00); }
.icon.red { background: linear-gradient(135deg, #ff5a5a, #E02424); }
.icon.navy { background: linear-gradient(135deg, #1f4a85, #0B2545); }

/* Product cards */
.product {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative;
}
.product .mark { width: 76px; height: 76px; object-fit: contain; }
.product h3 { font-family: var(--font-brand); font-size: 1.5rem; margin: 0; }
.product .tagline { font-weight: 500; color: var(--text); margin: 0; }
.product p { color: var(--muted); margin: 0; }
.product ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.product .more { margin-top: auto; padding-top: 8px; font-weight: 500; text-decoration: none; }
.product .more:hover { text-decoration: underline; }
.badge {
  position: absolute; top: 20px; right: 20px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.badge.live { color: var(--ok); background: color-mix(in srgb, var(--growth-green) 18%, transparent); }
.badge.beta { color: var(--accent); background: color-mix(in srgb, var(--trust-blue) 16%, transparent); }
.badge.soon { color: var(--soon); background: var(--soon-bg); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 36px; }
.feature h3 { display: flex; gap: 10px; align-items: baseline; }
.feature h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--trust-blue); transform: translateY(-1px); }
.feature:nth-child(4n+2) h3::before { background: var(--growth-green); }
.feature:nth-child(4n+3) h3::before { background: var(--assurance-gold); }
.feature:nth-child(4n+4) h3::before { background: var(--reliance-red); }
.feature p { color: var(--muted); margin: 0; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px;
}
.steps li::before {
  content: counter(step); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--button-fill); color: #fff; font-weight: 700;
}
.steps strong { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.quote {
  border-left: 4px solid var(--assurance-gold); padding: 4px 0 4px 20px; margin: 0;
  font-size: 1.15rem; color: var(--text);
}
.quote cite { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); font-style: normal; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 24px; }
.stat { border-top: 3px solid var(--trust-blue); padding-top: 12px; }
.stat:nth-child(2) { border-color: var(--growth-green); }
.stat:nth-child(3) { border-color: var(--assurance-gold); }
.stat b { display: block; font-size: 1.15rem; }
.stat span { color: var(--muted); font-size: .95rem; }

.note {
  background: var(--soon-bg); color: var(--soon); border-radius: var(--radius-sm);
  padding: 14px 18px; font-weight: 500;
}

/* Contact */
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; margin: 0; font-weight: 500; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--reliance-red); }
.privacy { font-size: .9rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--hero-bg); color: var(--hero-muted); padding: 48px 0 32px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.site-footer a { color: var(--hero-muted); text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
@media (max-width: 700px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } .site-footer .cols > :first-child { grid-column: 1 / -1; } }

.cta-band { text-align: center; }

/* TrustPass: attacks and what happens */
.attack-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.attack-row { display: grid; grid-template-columns: 1fr 1.3fr; }
.attack-row > span { padding: 16px 20px; border-top: 1px solid var(--line); color: var(--muted); }
.attack-row > span b { display: block; color: var(--text); margin-bottom: 2px; }
.attack-row.head > span { border-top: 0; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg-alt); }
.attack-row > span.blocked { position: relative; padding-left: 52px; color: var(--text); }
.attack-row > span.blocked::before {
  content: ""; position: absolute; left: 20px; top: 18px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 680px) {
  .attack-row { grid-template-columns: 1fr; }
  .attack-row.head { display: none; }
  .attack-row > span.blocked { border-top: 0; padding-top: 0; }
  .attack-row > span.blocked::before { top: 2px; }
}

.callout {
  margin-top: 32px; display: flex; gap: 24px; align-items: center;
  padding: 28px; border-radius: var(--radius); color: var(--hero-text);
  background: linear-gradient(120deg, #06183a 0%, #0b2f66 100%);
  box-shadow: var(--shadow);
}
.callout img { width: 96px; flex: none; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.callout h3 { font-size: 1.4rem; color: #fff; }
.callout p { color: var(--hero-muted); margin: 0; }
@media (max-width: 600px) { .callout { flex-direction: column; align-items: flex-start; } .callout img { width: 72px; } }

/* TrustPass: policy rules and checkpoints */
.rule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.rule { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--trust-blue); border-radius: var(--radius-sm); padding: 14px 16px; }
.rule:nth-child(4n+2) { border-left-color: var(--growth-green); }
.rule:nth-child(4n+3) { border-left-color: var(--assurance-gold); }
.rule:nth-child(4n+4) { border-left-color: var(--reliance-red); }
.rule b { display: block; margin-bottom: 4px; }
.rule span { color: var(--muted); font-size: .95rem; }
.checkpoint {
  margin-top: 32px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  padding: 32px; border-radius: var(--radius); color: var(--hero-text);
  background: linear-gradient(120deg, #06183a 0%, #0b2f66 100%); box-shadow: var(--shadow);
}
.checkpoint .eyebrow { color: var(--growth-green); }
.checkpoint h3 { font-size: 1.5rem; color: #fff; }
.checkpoint p { color: var(--hero-muted); margin: 0; }
.checkpoint-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checkpoint-list li { padding: 10px 14px 10px 40px; border-radius: var(--radius-sm); background: rgba(255,255,255,.07); position: relative; }
.checkpoint-list li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 4px; background: var(--assurance-gold); }
@media (max-width: 760px) { .checkpoint { grid-template-columns: 1fr; padding: 24px; } }

.site-footer a.logo { display: flex; color: #fff; }

/* Wide product logos (FileByMagic) */
.product .mark.wide { width: auto; max-width: calc(100% - 96px); height: 76px; object-fit: contain; object-position: left center; }
.product-hero .art.wide-art { width: min(440px, 100%); }
@media (max-width: 760px) { .product-hero .art.wide-art { width: min(300px, 100%); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Screenshot frames: browser window and phone */
.browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(11,37,69,.12); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #e9eef6; border-bottom: 1px solid #d3ddec; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c5cfdd; }
.browser-bar span:nth-child(1) { background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; }
.browser-bar span:nth-child(3) { background: #28c840; }
.browser-bar i { margin-left: 10px; flex: 1; font: 400 .75rem var(--font); font-style: normal; color: #4f5f78; background: #fff; border-radius: 6px; padding: 3px 10px; max-width: 260px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; }
.phone { background: #0b1220; border-radius: 34px; padding: 9px; box-shadow: 0 30px 60px rgba(0,0,0,.4), inset 0 0 0 2px #2a3550; }
.phone img { width: 100%; height: auto; border-radius: 26px; }

/* TrustPass hero: computer and phone together */
.tp-hero .wrap { grid-template-columns: 1fr 1.15fr; }
.duo { position: relative; margin: 0; padding: 0 0 40px 0; }
.duo .browser { width: 88%; }
.duo .phone { position: absolute; right: 0; bottom: 0; width: 34%; border-radius: 28px; padding: 7px; }
.duo .phone img { border-radius: 22px; }
@media (max-width: 760px) {
  .tp-hero .wrap { grid-template-columns: 1fr; }
  .tp-hero .duo { order: 0; margin-top: 8px; }
}

/* Console screens with tabs */
.shot-tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.shot-tablist button {
  font: 500 .95rem var(--font); color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; cursor: pointer;
}
.shot-tablist button[aria-selected="true"] { background: var(--button-fill); color: #fff; border-color: transparent; box-shadow: var(--button-glow); }
.shot-caption { margin: 14px 0 0; color: var(--muted); max-width: 820px; }

/* The app: three phones */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.phones figure { margin: 0; display: grid; gap: 16px; justify-items: center; }
.phones .phone { width: min(280px, 100%); }
.phones figcaption { color: var(--muted); max-width: 300px; }
.phones figcaption b { display: block; color: var(--text); margin-bottom: 4px; }
@media (max-width: 860px) {
  .phones { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .phones figure { scroll-snap-align: start; }
}

/* LandoFX: approved logo, and the featured card */
.lfx-hero .wrap { grid-template-columns: 1fr; }
.lfx-hero .wrap > div { max-width: 760px; }
.lfx-logo { width: min(520px, 100%); height: auto; margin-bottom: 28px; filter: drop-shadow(0 16px 30px rgba(0,0,0,.45)); }
.lfx-card-logo img { width: min(300px, 100%); height: auto; }
.product.featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-bottom: 20px; padding-top: 56px; border-top: 4px solid var(--trust-blue); }
.featured-head { display: flex; flex-direction: column; gap: 12px; }
.featured-head .more { margin-top: 4px; }
.featured-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: center; }
.featured-list li { padding: 10px 14px 10px 38px; border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--text); position: relative; }
.featured-list li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 3px; background: var(--trust-blue); }
.featured-list li:nth-child(2)::before { background: var(--growth-green); }
.featured-list li:nth-child(3)::before { background: var(--assurance-gold); }
.featured-list li:nth-child(4)::before { background: var(--reliance-red); }
@media (max-width: 760px) { .product.featured { grid-template-columns: 1fr; padding-top: 28px; } .product.featured .badge { position: static; justify-self: start; } }

.hero-quote { margin-top: 20px; color: var(--hero-text); font-size: 1.05rem; font-style: italic; max-width: 560px; }
.hero-quote cite { color: var(--hero-muted); font-style: normal; }
.about-stats { margin-top: 0; grid-template-columns: 1fr; }
