/* laps-supply.com — single-page site. Fonts are self-hosted (SIL OFL, licences in /assets/fonts). */
@font-face { font-family: "Raleway"; src: url("fonts/raleway.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/open-sans.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --bg: #ffffff; --alt: #f4f8fa; --panel: #ffffff; --ink: #1d2a30; --muted: #5d6d73; --line: #e1e8eb;
  --brand: #0a6e8a; --head: #1b8fb4; --accent: #f6b638; --accent-ink: #2a1d00;
  --night: #0b2a3a; --night2: #06161f; --shadow: 0 10px 30px rgba(10, 40, 55, .12);
  --display: "Raleway", system-ui, sans-serif; --text: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f171b; --alt: #131e23; --panel: #18252b; --ink: #e5ecee; --muted: #9eb0b6; --line: #26363d;
    --brand: #48b3d1; --head: #5cc3e2; --shadow: 0 10px 30px rgba(0, 0, 0, .45); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f171b; --alt: #131e23; --panel: #18252b; --ink: #e5ecee; --muted: #9eb0b6; --line: #26363d;
  --brand: #48b3d1; --head: #5cc3e2; --shadow: 0 10px 30px rgba(0, 0, 0, .45); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--panel); padding: .5rem .8rem; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---- header: transparent over the hero, solid once scrolled (site.js) or on other pages ---- */
header.site { position: sticky; top: 0; z-index: 20; background: var(--night); transition: background .3s, box-shadow .3s; }
header.site.over { position: fixed; left: 0; right: 0; background: transparent; }
header.site.solid, header.site.menu { background: rgba(11, 42, 58, .96); box-shadow: 0 4px 20px rgba(0, 0, 0, .18); backdrop-filter: blur(8px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { font: 700 1.45rem/1 var(--display); color: #fff; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.logo span { font-weight: 400; }
.logo i, .wordmark i { color: var(--accent); font-style: normal; }
.logo.small { font-size: 1.05rem; color: var(--ink); margin-right: .4rem; }
#sitenav { display: flex; align-items: center; gap: .3rem; }
#sitenav a { color: rgba(255, 255, 255, .88); text-decoration: none; font: 600 .82rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; padding: .7rem .75rem; border-radius: 999px; }
#sitenav a:hover { color: #fff; }
#sitenav a.signin { border: 2px solid rgba(255, 255, 255, .75); padding: .55rem 1.1rem; margin-left: .4rem; }
#sitenav a.signin:hover { background: #fff; color: var(--night); }
.navtoggle { display: none; }
@media (max-width: 900px) {
  .navtoggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
  .navtoggle span[aria-hidden], .navtoggle span[aria-hidden]::before, .navtoggle span[aria-hidden]::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; content: ""; transition: transform .2s; }
  .navtoggle span[aria-hidden]::before { position: absolute; top: -7px; }
  .navtoggle span[aria-hidden]::after { position: absolute; top: 7px; }
  .navtoggle[aria-expanded="true"] span[aria-hidden] { background: transparent; }
  .navtoggle[aria-expanded="true"] span[aria-hidden]::before { transform: translateY(7px) rotate(45deg); }
  .navtoggle[aria-expanded="true"] span[aria-hidden]::after { transform: translateY(-7px) rotate(-45deg); }
  #sitenav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: .5rem 16px 1rem; background: var(--night); box-shadow: 0 12px 24px rgba(0, 0, 0, .3); }
  #sitenav.open { display: flex; }
  #sitenav a { padding: .9rem .5rem; border-radius: 8px; }
  #sitenav a.signin { margin: .4rem 0 0; text-align: center; }
  .no-js #sitenav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; background: none; padding: 0; }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; min-width: 190px; padding: .6rem 1.8rem; border-radius: 999px; font: 600 1rem/1 var(--text); text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px rgba(246, 182, 56, .35); }
.btn.accent:hover { background: #ffc54f; }
.btn.ghost { border-color: #fff; color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--night); }
.btn.wide { width: 100%; }

/* ---- hero ---- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #135a73 0%, var(--night) 55%, var(--night2) 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: -20%; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' viewBox='0 0 240 120'%3E%3Cpath d='M0 60 Q30 30 60 60 T120 60 T180 60 T240 60' fill='none' stroke='white' stroke-width='1.4'/%3E%3Cpath d='M0 100 Q30 70 60 100 T120 100 T180 100 T240 100' fill='none' stroke='white' stroke-width='1'/%3E%3Cpath d='M0 20 Q30 -10 60 20 T120 20 T180 20 T240 20' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E");
  animation: drift 40s linear infinite; }
.hero-bg span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: float 18s ease-in-out infinite alternate; }
.hero-bg span:nth-child(1) { width: 46vmax; height: 46vmax; left: -12vmax; top: 10%; background: #1aa0c4; }
.hero-bg span:nth-child(2) { width: 34vmax; height: 34vmax; right: -10vmax; top: -8vmax; background: #2fd3c5; opacity: .25; animation-duration: 22s; }
.hero-bg span:nth-child(3) { width: 30vmax; height: 30vmax; right: 8%; bottom: -14vmax; background: var(--accent); opacity: .16; animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(-240px, 60px, 0); } }
@keyframes float { to { transform: translate3d(4vmax, -3vmax, 0) scale(1.08); } }
.hero-in { position: relative; padding-top: 96px; padding-bottom: 96px; }
.wordmark { font: 700 clamp(3rem, 11vw, 6rem)/1 var(--display); margin: 0 0 1.4rem; letter-spacing: .01em; }
.wordmark span { font-weight: 300; }
.hero-sub { font: 300 clamp(1.1rem, 2.6vw, 1.4rem)/1.5 var(--text); max-width: 640px; margin: 0 auto 1.2rem; opacity: .92; }
.typed { font: 200 clamp(1.8rem, 5.6vw, 3.4rem)/1.2 var(--display); margin: 0 0 2.6rem; min-height: 1.25em; }
.typed b { font-weight: 600; color: var(--accent); }
.caret { display: inline-block; width: 2px; height: .9em; margin-left: .12em; background: rgba(255, 255, 255, .7); vertical-align: -.08em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 0 0 1.4rem; }
.hero-note { font-size: .9rem; opacity: .7; margin: 0; }
.scrolldown { position: absolute; left: 50%; bottom: 26px; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 16px; }
.scrolldown span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-height: 640px) { .scrolldown { display: none; } }

/* ---- sections ---- */
.block { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.block.alt { background: var(--alt); }
.head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); }
.headicon { display: inline-flex; color: var(--accent); margin-bottom: .6rem; }
.headicon svg { width: 60px; height: 60px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.head h2 { font: 300 clamp(1.9rem, 4.6vw, 2.9rem)/1.18 var(--display); color: var(--head); margin: 0 0 .8rem; }
.head h2 b, .band h2 b, .cta-band h2 b { font-weight: 700; }
.head p { font: 400 1.15rem/1.6 var(--display); color: var(--muted); margin: 0; }

.features { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem 1.4rem 1.5rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.ficon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(27, 143, 180, .1); color: var(--head); margin-bottom: 1rem; }
.ficon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 .45rem; line-height: 1.3; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.shots { display: grid; gap: 2rem 1.8rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .shots { grid-template-columns: repeat(3, 1fr); } }
.shot { margin: 0; text-align: center; }
.shot a { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(10, 40, 55, .16); transition: transform .3s, box-shadow .3s; background: var(--panel); }
.shot a:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(10, 40, 55, .22); }
.shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.shot figcaption { margin-top: 1rem; }
.shot figcaption b { display: block; font: 600 1.08rem/1.3 var(--display); }
.shot figcaption span { color: var(--muted); font-size: .93rem; }

/* ---- dark band (Rexo-style parallax) ---- */
.band { position: relative; color: #fff; padding: clamp(4rem, 9vw, 6.5rem) 0; overflow: hidden; background: var(--night2); }
.band-bg { position: absolute; inset: 0; opacity: .9;
  background: radial-gradient(circle at 12% 30%, rgba(246, 182, 56, .35) 0 2px, transparent 3px) 0 0 / 90px 70px,
              radial-gradient(circle at 60% 70%, rgba(255, 255, 255, .25) 0 1.5px, transparent 2.5px) 0 0 / 130px 110px,
              radial-gradient(80% 120% at 85% 50%, #12506a 0%, transparent 60%),
              linear-gradient(120deg, var(--night2), var(--night)); }
@media (min-width: 900px) and (hover: hover) { .band-bg { background-attachment: fixed, fixed, scroll, scroll; } }
.band-in { position: relative; display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .band-in { grid-template-columns: 1.25fr 1fr; } }
.band h2 { font: 300 clamp(2rem, 4.8vw, 3rem)/1.15 var(--display); margin: 0 0 1rem; }
.band p { font-size: 1.08rem; color: rgba(255, 255, 255, .82); max-width: 560px; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.ticks li { position: relative; padding-left: 2rem; margin: .65rem 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--accent); }
.ticks li::after { content: ""; position: absolute; left: .42rem; top: .45em; width: .38rem; height: .62rem; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.phone { justify-self: center; width: min(300px, 78vw); padding: 12px; border-radius: 42px; background: #0c0f12; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 0 0 2px #2a3036; }
.phone img { border-radius: 30px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }

/* ---- product lines ---- */
.eyebrow { font: 700 .8rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .7rem !important; }
.subnote { display: block; font-size: .95rem; margin-top: .3rem; }
.lines { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .lines { grid-template-columns: repeat(3, 1fr); } }
.line { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 2rem 1.7rem 1.7rem; color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.line:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.line .ficon { width: 64px; height: 64px; border-radius: 18px; }
.line .ficon img { width: 40px; height: 40px; }
.line .ficon svg { width: 32px; height: 32px; }
.line h3 { font-size: 1.35rem; margin: 0 0 .5rem; }
.line p { color: var(--muted); margin: 0 0 1.2rem; flex: 1; }
.more { font-weight: 700; color: var(--brand); }

.band.spagen { background: #000; }
.band.spagen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 50%, rgba(26, 160, 196, .22), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(246, 182, 56, .12), transparent 70%); }
.kicker { display: flex; align-items: center; gap: .5rem; font: 700 .85rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--accent) !important; margin: 0 0 1rem; }
.kicker img { width: 28px; height: 28px; }
.band-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1rem; }
.dim { color: rgba(255, 255, 255, .6) !important; }
.dim a { color: #fff; }
.product { margin: 0; justify-self: center; }
.product img { width: 100%; max-width: 560px; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(closest-side, #000 75%, transparent); mask-image: radial-gradient(closest-side, #000 75%, transparent); }

.chem { display: grid; gap: 1.4rem; grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
@media (min-width: 720px) { .chem { grid-template-columns: 1fr 1fr; } }
.chemcard { position: relative; background: var(--panel); border-radius: 18px; padding: 2.2rem 1.8rem 1.8rem; box-shadow: var(--shadow); border-top: 5px solid var(--accent); display: flex; flex-direction: column; align-items: flex-start; }
.chemcard.soon { border-top-color: var(--line); box-shadow: none; border: 1px dashed var(--line); border-top: 5px solid var(--line); background: transparent; }
.chemcard h3 { font-size: 1.6rem; margin: .8rem 0 .1rem; }
.chemcard .size { font: 600 1rem/1.3 var(--display); color: var(--head); margin: 0 0 .8rem; }
.chemcard p { color: var(--muted); margin: 0 0 1.4rem; flex: 1; }
.tag { font: 700 .72rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; padding: .45rem .7rem; border-radius: 999px; background: rgba(246, 182, 56, .18); color: #9a6a00; }
.soon .tag { background: var(--alt); color: var(--muted); border: 1px solid var(--line); }
.btn.ghost.dark { border-color: var(--head); color: var(--head); }
.btn.ghost.dark:hover { background: var(--head); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag { color: var(--accent); } }
:root[data-theme="dark"] .tag { color: var(--accent); }

/* ---- steps ---- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { text-align: center; padding: 0 .6rem; }
.steps li > span { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--accent); color: var(--head); font: 300 1.8rem/1 var(--display); margin-bottom: 1rem; }
.steps h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.steps p { color: var(--muted); margin: 0; }

/* ---- pricing ---- */
.plan { max-width: 480px; margin: 0 auto; background: var(--panel); border-radius: 20px; padding: 2.2rem 2rem; box-shadow: var(--shadow); border-top: 5px solid var(--accent); }
.price { display: flex; align-items: flex-start; justify-content: center; gap: .2rem; margin: 0 0 1.2rem; }
.cur { font: 600 1.6rem/1 var(--display); margin-top: .5rem; color: var(--head); }
.amount { font: 700 4.6rem/1 var(--display); color: var(--head); }
.per { align-self: flex-end; color: var(--muted); font-weight: 600; margin: 0 0 .7rem .4rem; }
.ticks.dark { margin: 0 0 1.8rem; }

/* ---- contact band ---- */
.cta-band { text-align: center; color: #fff; padding: clamp(3.5rem, 8vw, 5rem) 0; background: linear-gradient(120deg, #0a6e8a, #0b2a3a); }
.cta-band h2 { font: 300 clamp(1.8rem, 4.4vw, 2.6rem)/1.2 var(--display); margin: 0 0 .7rem; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 1.08rem; }
.cta-band a:not(.btn) { color: #fff; font-weight: 600; }
.cta-band .btn { margin-top: .6rem; }

/* ---- reveal on scroll (only when site.js runs and motion is welcome) ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg::before, .hero-bg span, .caret, .scrolldown span { animation: none; }
}

/* ---- legal pages ---- */
.doc { max-width: 760px; padding: 3rem 0 4rem; }
.doc h1 { font: 300 clamp(2rem, 5vw, 2.8rem)/1.15 var(--display); color: var(--head); margin: 0 0 .6rem; }
.doc h2 { font-size: 1.3rem; margin-top: 2rem; }
.doc li { margin: .3rem 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

footer.site { border-top: 1px solid var(--line); background: var(--bg); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; padding-top: 1.4rem; padding-bottom: 1.4rem; font-size: .9rem; color: var(--muted); }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 1.2rem; }
.logo.small span, .logo.small { color: var(--ink); }
