/* lopono website. Colors follow src/Lopono.Ui/lopono-ui.css (BIZZCORE petrol). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --bg-alt: #eef2f5;
  --surface: #ffffff;
  --text: #111827;
  --muted: #556070;
  --border: #e4e7ec;
  --accent: #17769d;
  --accent-hover: #125f7f;
  --accent-soft: #e6f2f7;
  --accent-text: #0f5a78;
  --on-accent: #ffffff;
  --hero-from: #0b3141;
  --hero-to: #0f4a60;
  --hero-text: #ffffff;
  --hero-muted: #b9d9e6;
  --code-bg: #0d1317;
  --code-text: #e6edf3;
  --ok: #15803d;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 32px -12px rgba(16, 24, 40, .18);
  --radius: 10px;
  --max: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d1317;
    --bg-alt: #10181d;
    --surface: #141b21;
    --text: #e6edf3;
    --muted: #9aa7b4;
    --border: #243039;
    --accent: #5fb3d6;
    --accent-hover: #82c6e3;
    --accent-soft: #16303c;
    --accent-text: #8fd0ea;
    --on-accent: #0b1c24;
    --hero-from: #081f29;
    --hero-to: #0b3141;
    --hero-muted: #8fc3d8;
    --code-bg: #0a0f12;
    --ok: #4ade80;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1317;
  --bg-alt: #10181d;
  --surface: #141b21;
  --text: #e6edf3;
  --muted: #9aa7b4;
  --border: #243039;
  --accent: #5fb3d6;
  --accent-hover: #82c6e3;
  --accent-soft: #16303c;
  --accent-text: #8fd0ea;
  --on-accent: #0b1c24;
  --hero-from: #081f29;
  --hero-to: #0b3141;
  --hero-muted: #8fc3d8;
  --code-bg: #0a0f12;
  --ok: #4ade80;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-text); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font: 500 .88em/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
:not(pre) > code { background: var(--accent-soft); color: var(--accent-text); padding: .1em .35em; border-radius: 4px; overflow-wrap: anywhere; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none !important; }
  :root:not([data-theme="light"]) .logo-dark { display: block !important; }
}
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: .94rem; font-weight: 500; }
.nav a:hover { color: var(--text); }
.lang { display: flex; gap: 2px; border: 1px solid var(--border); border-radius: 999px; padding: 2px; }
.lang a { padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--accent-soft); color: var(--accent-text); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 8px; color: var(--text); width: 40px; height: 40px; }
@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 1rem; }
  .nav .lang { align-self: flex-start; margin-top: 8px; }
  .nav .btn { margin-top: 8px; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px; border: 1px solid transparent;
  font-family: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 7px 14px; font-size: .88rem; }
.nav .btn-primary { color: var(--on-accent); }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(127, 211, 238, .22), transparent 60%),
              linear-gradient(160deg, var(--hero-from), var(--hero-to));
  color: var(--hero-text);
  padding: 80px 0 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.hero-copy { max-width: 760px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 14px;
}
.hero .eyebrow { color: #7fd3ee; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #7fd3ee; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--hero-muted); max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero .btn-primary { background: #7fd3ee; color: #0b3141; }
.hero .btn-primary:hover { background: #a6e2f5; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--hero-muted); font-size: .92rem; }
.hero-facts li::before { content: "✓"; color: #7fd3ee; margin-right: 8px; font-weight: 700; }

.frame {
  border-radius: 12px 12px 0 0; overflow: hidden; background: #fff;
  box-shadow: 0 -2px 0 rgba(255, 255, 255, .08), 0 30px 80px -20px rgba(0, 0, 0, .55);
  border: 1px solid rgba(255, 255, 255, .14); border-bottom: 0;
}
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #e9eef2; }
.frame-bar span { width: 11px; height: 11px; border-radius: 50%; background: #c8d1d8; }
.frame-bar em { margin-left: 12px; font: 500 .75rem/1 "Inter", sans-serif; color: #6b7785; font-style: normal; background: #fff; padding: 5px 12px; border-radius: 6px; flex: 1; max-width: 360px; }
.frame video, .frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #f6f7f9; }
.hero .frame { max-width: 1100px; margin: 0 auto; }

/* Sections */
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }
@media (max-width: 600px) { section { padding: 64px 0; } .hero { padding-top: 48px; } }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head strong { color: var(--text); font-weight: 600; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 7fr 5fr; }
.split > *, .hero-grid > *, .grid > * { min-width: 0; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
}
.media {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); background: var(--surface);
}
.media video, .media img { width: 100%; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--muted); }
.checks li::before {
  content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2317769d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checks strong { color: var(--text); font-weight: 600; }

/* Pipeline */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.pipeline li {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 18px; box-shadow: var(--shadow);
}
.pipeline li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: .85rem; margin-bottom: 12px;
}
.pipeline li:not(:last-child)::after {
  content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-weight: 700; z-index: 1;
}
.pipeline h3 { font-size: 1rem; margin-bottom: 4px; }
.pipeline p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 900px) {
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipeline li::after { display: none; }
}
@media (max-width: 480px) { .pipeline { grid-template-columns: 1fr; } }

/* Gallery */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs button {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  padding: 8px 14px; border-radius: 999px; font-family: inherit; font-size: .9rem; font-weight: 550; line-height: 1; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tab-panel[hidden] { display: none; }
.tab-panel figure { margin: 0; }
.tab-panel figcaption { color: var(--muted); font-size: .95rem; margin-top: 14px; }
.zoom { cursor: zoom-in; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(96vw, 1600px); max-height: 94vh;
}
.lightbox::backdrop { background: rgba(5, 12, 16, .86); }
.lightbox img { max-height: 90vh; width: auto; border-radius: 8px; }
.lightbox button {
  position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.4rem; cursor: pointer;
}

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid, .grid.two { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid, .grid.two { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-text); margin-bottom: 16px;
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Code */
pre.code {
  margin: 0; background: var(--code-bg); color: var(--code-text); border-radius: var(--radius);
  padding: 22px 24px; overflow-x: auto; font-size: .86rem; line-height: 1.65; box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .06);
}
pre.code .c { color: #7d8b99; }
pre.code .k { color: #7fd3ee; }
pre.code .s { color: #a5d6a7; }
pre.code .h { color: #f3c178; }
.code-label { font-size: .78rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }

/* Studio roles */
.roles { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .93rem; }
.roles th, .roles td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.roles th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.roles td:first-child { font-weight: 600; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* CTA */
.cta {
  background: linear-gradient(150deg, var(--hero-from), var(--hero-to)); color: #fff;
  border-radius: 16px; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; }
.cta p { color: var(--hero-muted); margin: 0; max-width: 620px; }
.cta .btn-primary { background: #7fd3ee; color: #0b3141; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer img { height: 26px; width: auto; }
.note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* Studio: the video at full width, so its content can be read */
.studio-video { margin-top: 8px; }
.studio-video video { width: 100%; aspect-ratio: 16 / 10; background: #f6f7f9; }
.checks-row { grid-template-columns: repeat(2, 1fr); gap: 12px 32px; margin: 28px 0 8px; }
@media (max-width: 760px) { .checks-row { grid-template-columns: 1fr; } }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin: 40px 0 16px; }
.step-title span {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; flex: none;
  background: var(--accent-soft); color: var(--accent-text); font-size: .9rem; font-weight: 700;
}

/* Pricing */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 1.15rem; margin-bottom: 10px; }
.plan h3 span { color: var(--accent-text); font-weight: 500; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; }
.price strong { color: var(--text); font-size: 2.6rem; line-height: 1.1; letter-spacing: -.02em; }
.price span { color: var(--muted); }
.plan .checks { margin-top: 18px; }
.plan.featured { border: 2px solid var(--accent); padding: 23px; }
.plan.dark { background: linear-gradient(150deg, var(--hero-from), var(--hero-to)); border-color: transparent; color: #fff; }
.plan.dark h3, .plan.dark .price strong, .plan.dark .checks strong { color: #fff; }
.plan.dark h3 span { color: #7fd3ee; }
.plan.dark .price span, .plan.dark .checks li { color: var(--hero-muted); }
.plan.dark .checks li::before { background-color: rgba(127, 211, 238, .18); }
.included { margin-top: 20px; }
.included h3, .addons-title { font-size: 1.05rem; margin: 0; }
.included .checks-row { margin: 16px 0 0; }
.addons-title { margin: 48px 0 16px; }
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.addons .card { padding: 18px 20px; }
.addons .card p { font-size: .9rem; }
.addons .card strong { display: block; color: var(--text); font-size: 1.05rem; margin: 2px 0; }
.pricing-facts { margin: 48px 0 28px; grid-template-columns: repeat(4, 1fr); gap: 16px 28px; }
@media (max-width: 900px) { .pricing-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pricing-facts { grid-template-columns: 1fr; } }

/* Imprint and privacy */
.legal { padding-top: 64px; }
.legal .wrap { max-width: 820px; }
.legal h1 { margin-bottom: 32px; font-size: clamp(1.9rem, 7vw, 3.4rem); hyphens: auto; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.08rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); overflow-wrap: anywhere; }
.legal strong { color: var(--text); }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
