/* logiops. marketing site. Palette from the app's Ruled sheet tokens (src/app/globals.css):
   ledger ground, white sheets, near-black ink, black actions, the stamp violet as the one accent. */
:root {
  --ground: #f3f4f1;
  --sheet: #ffffff;
  --well: #e9ebe7;
  --ink: #15171a;
  --graphite: #4e5459;
  --faint: #5f6569;
  --rule: #d5d9d3;
  --stamp: #3e3a9e;
  --night: #0c0e0f;
  --night-sheet: #141719;
  --night-well: #1b1f21;
  --night-ink: #edefec;
  --night-graphite: #a4abb0;
  --night-rule: #2a2f32;
  --night-stamp: #b3aaff;
  --mark-soft: #8a9096;
  --radius: 28px;
  --radius-sm: 18px;
  --wrap: 1240px;
  --gutter: clamp(16px, 3vw, 28px);
  --pad: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/1.55 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; }
h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
.center { text-align: center; }
.lead { color: var(--graphite); font-size: clamp(16px, 1.3vw, 18px); max-width: 56ch; }
.lead.center { margin-inline: auto; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); }
.accent { color: var(--night-stamp); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: #2b2e33; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #d9dcd8; }
.btn-block { width: 100%; }
.arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
:focus-visible { outline: 2px solid var(--stamp); outline-offset: 3px; }
.dark :focus-visible, .cta :focus-visible { outline-color: var(--night-stamp); }

.pill {
  display: table; margin: 0 auto 22px; padding: 7px 14px; border-radius: 999px;
  background: var(--sheet); border: 1px solid var(--rule);
  font-size: 13px; font-weight: 500; color: var(--graphite);
}
.pill-dark { margin: 0 0 22px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--night-graphite); }

/* Nav: a floating pill, as in the reference */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 14px var(--gutter) 0; }
.nav {
  max-width: 980px; margin: 0 auto; height: 64px; padding: 0 12px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(21,23,26,.08); border-radius: 999px;
  box-shadow: 0 8px 30px -12px rgba(21,23,26,.18);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; }
.wordmark { font-weight: 600; font-size: 21px; letter-spacing: -0.04em; line-height: 1; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--graphite); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 8vw, 104px) var(--gutter) 0; }
.hero-head { display: grid; grid-template-columns: 1.75fr 1fr; gap: 24px 56px; align-items: end; padding-inline: var(--pad); }
.hero-head .eyebrow { grid-column: 1 / -1; }
.hero h1 { font-size: clamp(52px, 7.6vw, 116px); line-height: .94; letter-spacing: -0.055em; }
.hero-side { padding-bottom: 10px; }
.hero-side p { color: var(--graphite); font-size: 17px; margin-bottom: 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-photo {
  position: relative; margin: clamp(40px, 6vw, 72px) 0 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 8; background: var(--night);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transform: scale(1.04); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.hero-photo.in img { transform: scale(1); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,14,15,0) 55%, rgba(12,14,15,.55)); pointer-events: none; }
.hero-chip {
  position: absolute; left: 24px; bottom: 24px; z-index: 1;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px; font-size: 14px; color: var(--graphite);
}
.hero-chip strong { color: var(--ink); font-weight: 600; }
.chip-mark { width: 22px; height: 22px; color: var(--ink); }
.strip { list-style: none; margin: 28px 0 0; padding: 0 var(--pad); display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: space-between; }
.strip li { font-size: 15px; font-weight: 500; color: var(--faint); letter-spacing: -0.01em; }

/* Sections */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(88px, 12vw, 150px) var(--gutter) 0; }
.section h2 + .lead { margin-top: 20px; }

/* Problem */
.problem-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 56px auto 0; }
.pcard { background: var(--sheet); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--rule); }
.pcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.85); }
.pcard-foot { display: flex; align-items: center; gap: 12px; padding: 18px 22px; font-weight: 500; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-red { background: #b42318; box-shadow: 0 0 0 4px #fce8e6; }
.dot-amber { background: #8f5200; box-shadow: 0 0 0 4px #fbf0dc; }
.marquee { max-width: 760px; margin: 36px auto 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: slide 38s linear infinite; }
.marquee-track span { white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: var(--sheet); border: 1px solid var(--rule); font-size: 14px; color: var(--graphite); }
.marquee-track span::first-letter { color: #b42318; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Dark panel */
.dark {
  position: relative; max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: clamp(88px, 12vw, 150px) auto 0;
  padding: clamp(40px, 6vw, 80px) var(--pad); border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 90% at 70% 10%, #1d2124 0%, var(--night) 60%); color: var(--night-ink);
}
.dark-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.dark h2 { font-size: clamp(32px, 3.8vw, 50px); }
.dark .lead { color: var(--night-graphite); margin: 22px 0 32px; }
.dark-photo { margin: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3.1; }
.dark-photo img { width: 100%; height: 100%; object-fit: cover; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(48px, 6vw, 80px); padding-top: 36px; border-top: 1px solid var(--night-rule); }
.step-n { display: block; font-size: 13px; font-weight: 500; color: var(--night-stamp); margin-bottom: 14px; letter-spacing: .04em; }
.step h3 { color: #fff; margin-bottom: 8px; }
.step p { color: var(--night-graphite); font-size: 15px; }

/* Chevron rails, the reference's ornament */
.chevrons { position: absolute; top: 0; bottom: 0; width: 22px; opacity: .22; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='18'%3E%3Cpath d='M6 6l5 5 5-5' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-y center / 22px 18px;
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 45%, transparent 70%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 45%, transparent 70%);
  border-inline: 1px solid rgba(255,255,255,.35);
}
.chevrons-r { right: 22px; }
.chevrons-l { left: 22px; transform: scaleY(-1); }

/* Features */
.fgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.fcard { grid-column: span 2; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; }
.fcard-text { padding: 24px 24px 22px; }
.fcard h3 { margin-bottom: 8px; }
.fcard p { color: var(--graphite); font-size: 15px; }
.fcard-photo img { width: 100%; flex: 1; min-height: 220px; max-height: 280px; object-fit: cover; margin-top: auto; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.fcard-photo:hover img { transform: scale(1.04); }
.fcard-wide { grid-column: span 3; }
.fcard-icon { flex-direction: row; align-items: flex-start; gap: 20px; padding: 28px; }
.ficon, .wicon { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #000; color: #fff; }
.ficon svg, .wicon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fcard-dark { background: #2b2e33; border-color: #2b2e33; color: #fff; }
.fcard-dark p { color: #c9cdc8; }
.fcard-dark .ficon { background: #fff; color: #000; }

/* Why */
.why-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 56px; align-items: end; padding-inline: var(--pad); }
.why-head .eyebrow { margin-bottom: 22px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 64px; padding: 44px var(--pad) 0; border-top: 1px solid var(--rule); }
.why-item .wicon { width: 40px; height: 40px; background: transparent; color: var(--ink); border: 1px solid var(--rule); margin-bottom: 24px; }
.why-item .wicon svg { width: 19px; height: 19px; }
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--graphite); font-size: 15px; }

/* CTA + form */
.cta {
  position: relative; max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: clamp(88px, 12vw, 150px) auto 0;
  padding: clamp(40px, 6vw, 80px) var(--pad); border-radius: var(--radius); overflow: hidden; color: var(--night-ink); background: var(--night);
}
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,14,15,.92) 30%, rgba(12,14,15,.55)); }
.cta-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.cta h2 { font-size: clamp(36px, 4.4vw, 58px); color: #fff; }
.cta .lead { color: var(--night-graphite); margin-top: 22px; }
.cta-mail { margin-top: 28px; font-size: 15px; color: var(--night-graphite); }
.cta-mail a { color: #fff; }
.form { display: grid; gap: 14px; padding: 28px; border-radius: var(--radius-sm); background: rgba(20,23,25,.78); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--night-graphite); }
.opt { font-weight: 400; opacity: .7; }
.form input, .form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid #3a4044; background: var(--night-well);
  color: #fff; font-family: inherit; font-size: 15px; line-height: 1.4; transition: border-color .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input::placeholder, .form textarea::placeholder { color: #6f767b; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--night-stamp); }
.form .invalid { border-color: #f97066; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.4em; font-size: 14px; color: var(--night-graphite); }
.form-status.ok { color: #6ce9a6; }
.form-status.err { color: #f97066; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* Footer */
.footer { max-width: var(--wrap); margin: 0 auto; padding: 72px calc(var(--gutter) + var(--pad)) 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-note { margin-top: 14px; color: var(--faint); font-size: 14px; }
.foot-h { font-size: 13px; color: var(--faint); margin-bottom: 14px; }
.foot-grid > div > a:not(.brand), .foot-grid > div > span { display: block; font-size: 14.5px; margin-bottom: 9px; text-decoration: none; color: var(--ink); }
.foot-grid > div > a:not(.brand):hover { color: var(--stamp); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--faint); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hero-photo img { transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-head, .why-head, .dark-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero-head, .why-head, .strip { padding-inline: 4px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .fcard { grid-column: span 3; }
  .fcard-wide { grid-column: span 6; }
  .why-grid { grid-template-columns: 1fr 1fr; padding-inline: 4px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .chevrons { display: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav { padding-left: 18px; }
  .hero-photo { aspect-ratio: 4 / 4.2; }
  .hero-chip { left: 14px; right: 14px; bottom: 14px; font-size: 13px; }
  .strip { justify-content: flex-start; gap: 8px 22px; }
  .problem-cards { grid-template-columns: 1fr; }
  .fcard, .fcard-wide { grid-column: span 6; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .row2 { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .footer { padding-inline: calc(var(--gutter) + 4px); }
  h2 br, .hero-side br { display: none; }
}
