/* Stand-alone landing page: InstaQ CoV/Flu/RSV multiplex package (/lp/instaq/).
   Layout pattern: one 860px column on a soft background (long-scroll product sheet), sections
   alternate light / tinted / dark. Own copy, icons and colors (InstaQ orange). */
:root {
  --ink: #17191f;
  --ink-2: #3c4049;
  --ink-3: #6b707a;
  --orange: #f0661f;
  --orange-d: #c94f12;
  --orange-soft: #fff1e8;
  --soft: #f4f3f1;
  --line: #e4e2de;
  --dark: #1d2027;
  --s: clamp(16px, 4.6vw, 40px); /* section side padding */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #e8e6e2; color: var(--ink); font-family: 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; -webkit-font-smoothing: antialiased; word-break: keep-all; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.shell { width: min(100%, 860px); margin: 0 auto; background: #fff; overflow: hidden; box-shadow: 0 0 60px rgba(0, 0, 0, .06); }
.sec { padding: clamp(44px, 9vw, 76px) var(--s); display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 4.5vw, 36px); text-align: center; }
.sec.tint { background: var(--soft); }
.eyebrow { color: var(--orange); font-weight: 800; font-size: clamp(.9rem, 2.4vw, 1.1rem); letter-spacing: -.01em; }
.h2 { font-size: clamp(1.5rem, 5vw, 2.35rem); line-height: 1.34; font-weight: 800; letter-spacing: -.03em; }
.h2 .light { font-weight: 400; }
.o { color: var(--orange); }
.lead { font-size: clamp(.98rem, 2.5vw, 1.12rem); line-height: 1.65; color: var(--ink-2); }
.heading { display: flex; flex-direction: column; gap: 10px; align-items: center; }

/* top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--s); background: #fff; border-bottom: 1px solid var(--line); font-size: .9rem; }
.topbar .brand { font-weight: 800; letter-spacing: -.02em; }
.topbar .brand span { color: var(--orange); }
.topbar a.mini { text-decoration: none; font-weight: 700; color: var(--orange); }

/* hero */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 30%, #ffe3d0 0%, #fbf4ee 38%, #f4f3f1 70%); padding: clamp(40px, 8vw, 70px) var(--s) clamp(36px, 7vw, 60px); display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 12px; text-align: left; overflow: hidden; }
.hero .pill { display: inline-flex; gap: 6px; align-items: center; background: #fff; border: 1px solid #f6d3bd; color: var(--orange-d); border-radius: 99px; padding: 6px 12px; font-size: .82rem; font-weight: 800; }
.hero .pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(240, 102, 31, .18); }
.hero h1 { margin: 16px 0 14px; font-size: clamp(2rem, 7.2vw, 3.55rem); line-height: 1.16; font-weight: 900; letter-spacing: -.045em; border-block: 1px solid rgba(23, 25, 31, .75); padding: 16px 0; }
.hero h1 .o { display: block; }
.hero .hero-copy { font-size: clamp(.98rem, 2.5vw, 1.12rem); line-height: 1.65; color: var(--ink-2); }
.hero .hero-copy b { color: var(--ink); }
.hero .viruses { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.hero .viruses span { background: var(--dark); color: #fff; border-radius: 8px; padding: 5px 10px; font-size: .8rem; font-weight: 700; }
.hero-media { position: relative; }
.hero-media::before { content: ''; position: absolute; inset: 12% 0 6% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(240, 102, 31, .22), transparent 68%); filter: blur(6px); }
.hero-media img { position: relative; width: 118%; max-width: none; margin-left: -6%; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .22)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.cta-row { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: clamp(14px, 3vw, 26px); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 clamp(28px, 7vw, 64px); background: var(--orange); color: #fff; text-decoration: none; font-weight: 900; font-size: clamp(1.05rem, 3vw, 1.3rem); border-radius: 999px; border: 3px solid #fff; box-shadow: 0 10px 26px rgba(201, 79, 18, .35); transition: transform .15s, background .15s; }
.cta:hover { background: var(--orange-d); transform: translateY(-2px); }
.cta .arr { font-size: 1.1em; }

/* key points list */
.points { list-style: none; padding: 0; width: 100%; display: grid; gap: 12px; }
.points li { background: var(--soft); border-radius: 16px; padding: 18px 20px; font-size: clamp(1rem, 2.9vw, 1.25rem); font-weight: 800; line-height: 1.45; display: flex; align-items: center; justify-content: center; gap: 12px; }
.points li .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .9rem; display: grid; place-items: center; }

/* use cases */
.uses { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.use { background: #fff; border-radius: 16px; padding: 22px 10px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 2px 0 rgba(0, 0, 0, .03); }
.use .ic { width: 66px; height: 66px; border-radius: 50%; background: var(--orange-soft); display: grid; place-items: center; }
.use .ic svg { width: 34px; height: 34px; stroke: var(--orange); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.use p { font-size: clamp(.84rem, 2.2vw, .98rem); line-height: 1.45; font-weight: 800; }

/* before / after card */
.ba { width: 100%; display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); border-radius: 22px; overflow: hidden; text-align: left; }
.ba-copy { padding: clamp(20px, 4.5vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.ba-copy article + article { border-top: 1px solid #d8d5d0; padding-top: 18px; }
.ba-copy h3 { font-size: clamp(1.05rem, 3vw, 1.3rem); font-weight: 900; line-height: 1.35; }
.ba-copy p { margin-top: 8px; font-size: clamp(.9rem, 2.3vw, 1rem); line-height: 1.6; color: var(--ink-2); font-weight: 600; }
.ba-copy .x li::before { content: '✕'; color: #e2554a; font-weight: 900; margin-right: 6px; }
.ba-copy .ok li::before { content: '✓'; color: var(--orange); font-weight: 900; margin-right: 6px; }
.ba-copy ul { list-style: none; padding: 0; margin-top: 8px; display: grid; gap: 4px; font-size: clamp(.86rem, 2.2vw, .96rem); font-weight: 700; color: var(--ink-2); }
.ba-media { background: #fff; display: grid; place-items: center; padding: 18px; }
.ba-media img { width: 100%; }

/* dark band */
.band { background: var(--dark); color: #fff; }
.band .h2 .o { color: #ff9a5c; }
.band .lead { color: #c8cbd2; }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; }
.chips div { border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); border-radius: 16px; padding: 18px 8px; font-weight: 800; font-size: clamp(.84rem, 2.2vw, .98rem); line-height: 1.4; }
.chips b { display: block; font-size: 1.6rem; color: #ff9a5c; margin-bottom: 6px; }
.band .note { font-size: .86rem; color: #9aa0ab; }

/* solution blocks */
.sol { gap: 22px; }
.tag { background: var(--orange); color: #fff; border-radius: 0 0 14px 14px; padding: 7px 16px; font-weight: 800; font-size: .9rem; margin-top: calc(-1 * clamp(44px, 9vw, 76px)); }
.sol .h2 strong { display: block; color: var(--orange); font-weight: 900; }
.sol .h2 span { font-weight: 400; }
.figure-pair { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; width: 100%; align-items: center; }
.figure-pair img { border-radius: 16px; background: #fff; }
.figure-pair .screen { background: var(--dark); padding: 14px; border-radius: 18px; }

/* performance table */
.perf { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; background: #fff; font-size: clamp(.9rem, 2.4vw, 1.05rem); }
.perf th, .perf td { padding: 14px 10px; border-bottom: 1px solid var(--line); }
.perf thead th { background: var(--dark); color: #fff; font-weight: 800; }
.perf tbody th { text-align: left; padding-left: 20px; font-weight: 800; }
.perf td { font-weight: 900; color: var(--orange-d); font-variant-numeric: tabular-nums; }
.perf tr:last-child th, .perf tr:last-child td { border-bottom: 0; }
.fine { font-size: .82rem; color: var(--ink-3); line-height: 1.6; }

/* steps */
.mode { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.mode-h { display: flex; align-items: center; gap: 10px; text-align: left; }
.mode-h b { background: var(--orange); color: #fff; padding: 6px 14px; border-radius: 10px; font-size: .95rem; }
.mode-h span { font-weight: 700; color: var(--ink-2); font-size: clamp(.88rem, 2.3vw, 1rem); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; counter-reset: st; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 12px; counter-increment: st; }
.steps img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #fff; }
.steps p { margin-top: 8px; font-size: clamp(.78rem, 2vw, .9rem); font-weight: 800; line-height: 1.35; }
.steps p::before { content: counter(st); display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--dark); color: #fff; font-size: .72rem; margin-right: 5px; vertical-align: 1px; }
.quick { display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items: center; background: #fff; border-radius: 18px; padding: 16px; text-align: left; }
.quick p { font-size: clamp(.9rem, 2.3vw, 1rem); line-height: 1.65; color: var(--ink-2); font-weight: 600; }
.quick p b { color: var(--ink); }

/* package */
.pkg { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pkg article { background: #fff; border-radius: 16px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pkg h3 { font-size: clamp(.92rem, 2.5vw, 1.1rem); font-weight: 900; }
.pkg small { color: var(--ink-3); font-weight: 700; font-size: .8rem; }
.pkg .im { height: clamp(110px, 22vw, 170px); display: grid; place-items: center; width: 100%; }
.pkg .im { position: relative; overflow: hidden; }
.pkg .im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; } /* Safari: % max-height in grid items is unreliable */
.extras { width: 100%; background: #fff; border-radius: 14px; padding: 14px; font-weight: 700; font-size: clamp(.84rem, 2.2vw, .95rem); line-height: 1.6; color: var(--ink-2); margin-top: -8px; }

/* specs */
.specs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; }
.spec { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.spec h3 { background: var(--soft); padding: 12px 16px; font-size: 1rem; font-weight: 900; }
.spec dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.spec dt, .spec dd { margin: 0; padding: 9px 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.spec dt { color: var(--ink-3); font-weight: 700; white-space: nowrap; }
.spec dd { font-weight: 700; }

/* footer */
.foot { background: var(--dark); color: #fff; padding: clamp(44px, 9vw, 72px) var(--s); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.foot .h2 { color: #fff; }
.contact { background: #fff; color: var(--ink); border-radius: 18px; padding: 18px 28px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; font-weight: 800; }
.contact span { font-size: .9rem; color: var(--ink-3); }
.contact strong { font-size: clamp(1.05rem, 3.4vw, 1.4rem); }
.foot .cta { border-color: var(--dark); }
.foot .links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; font-size: .88rem; font-weight: 700; }
.foot .links a { color: #ffb48a; }
.foot .fine { color: #8d929c; max-width: 680px; }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .hero-media img { animation: none; } }

/* mobile */
@media (max-width: 620px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .viruses { justify-content: center; }
  .hero-media { order: -1; margin: 0 auto; width: 88%; }
  .hero-media img { width: 100%; margin: 0; }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ba { grid-template-columns: 1fr; }
  .chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure-pair { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:last-child { grid-column: 1 / -1; }
  .steps li:last-child img { max-width: 50%; margin: 0 auto; }
  .figure-pair .screen { width: 62%; margin: 0 auto; }
  .quick { grid-template-columns: 1fr; }
  .pkg { grid-template-columns: 1fr 1fr; }
  .pkg .im { height: 140px; }
  .pkg article:last-child { grid-column: 1 / -1; }
  .specs { grid-template-columns: 1fr; }
}
