/* novaplugin.com — one stylesheet for every page. Nothing here loads from another address. */
@font-face { font-family: Pop; src: url(/assets/poppins-400-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Pop; src: url(/assets/poppins-700-latin.woff2) format("woff2"); font-weight: 700; font-display: swap; }
/* The logo's own two colors: NOVA black #231f20, PLUGIN grey #737373 (#6b6b6b for small text: AA contrast on the soft background) */
:root { --ink: #231f20; --grey: #6b6b6b; --line: #e7e5e4; --soft: #f7f6f5; --wrap: 1040px; --gut: 16px; color-scheme: light; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: #fff; }
body { margin: 0; font-family: Pop, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff;
  font-size: 16.5px; line-height: 1.7; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto;
  padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
.wrap.narrow { max-width: calc(780px + 2 * var(--gut)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2; }
.skip:focus { left: 16px; }

/* Header: the logo and all the links on wide screens; below 860px the same links sit in a «Menu» that opens
   in place (<details>: no script). Only one of the two lists is shown at a time (the other is display:none). */
.top { border-bottom: 1px solid var(--line); position: relative; z-index: 5; background: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: block; line-height: 0; border-radius: 6px; flex: none; }
.brand img { width: 84px; height: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 4px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--grey); }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 15px; user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.menu summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu .x { display: none; }
.menu[open] .x { display: block; }
.menu[open] .bars { display: none; }
.menu[open] summary { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu ul { position: absolute; left: 0; right: 0; top: 100%; margin: 0; list-style: none; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(35, 31, 32, .10); padding: 6px max(var(--gut), env(safe-area-inset-right)) 14px max(var(--gut), env(safe-area-inset-left));
  max-height: calc(100vh - 72px); max-height: calc(100svh - 72px); overflow-y: auto; }
.menu li + li { border-top: 1px solid var(--line); }
.menu ul a { display: flex; align-items: center; min-height: 50px; text-decoration: none; font-size: 17px; }
.menu ul a[aria-current="page"] { font-weight: 700; }
.menu ul a[aria-current="page"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-left: 10px; }

main { flex: 1; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(32px, 5.4vw, 52px); margin: 0 0 18px; }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 14px; }
h3 { font-size: 18px; margin: 0 0 6px; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(17px, 2.2vw, 19.5px); color: var(--grey); max-width: 36em; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--grey);
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 20px; }
.section { padding: clamp(44px, 7vw, 88px) 0; }
.section > .wrap > :last-child, .doc > :last-child { margin-bottom: 0; }
.page-head { padding-top: clamp(40px, 6vw, 72px); }
.section + .section { border-top: 1px solid var(--line); }
.soft { background: var(--soft); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--ink); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 15.5px; }
.btn:hover { box-shadow: 0 10px 24px rgba(35, 31, 32, .18); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Home hero: the company's text and the company's own mark (the logo's ringed star) side by side, filling the first
   screen below the header (capped on very tall screens); the mark is sized from the screen's width and height */
.hero { padding-top: clamp(40px, 6vh, 80px); padding-bottom: clamp(40px, 6vh, 80px);
  display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100vh - 73px), 980px); min-height: min(calc(100svh - 73px), 980px); }
.hero > .wrap { width: 100%; }
.hero h1 { max-width: 13em; }
.hero .product { grid-template-columns: minmax(0, 1fr) auto; }
.mark { position: relative; justify-self: center; margin: 24px; width: min(380px, 30vw, calc(100vh - 300px)); width: min(380px, 30vw, calc(100svh - 300px));
  min-width: 180px; aspect-ratio: 1; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }
.mark::before, .mark::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.mark::before { inset: -24px; }
.mark::after { inset: 14%; border-color: #dcd9d7; }
.mark img { width: 44%; height: auto; display: block; position: relative; z-index: 1; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .btns { justify-content: center; }

/* Home: Matner beside its screenshot */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(28px, 6vw, 72px); align-items: center; }
.shot { margin: 0; justify-self: center; width: 100%; max-width: min(300px, max(120px, calc((100vh - 190px) * .462))); }
.shot img { display: block; width: 100%; border-radius: 22px; box-shadow: 0 18px 44px rgba(35, 31, 32, .16); }
.shot figcaption { font-size: 13px; color: var(--grey); text-align: center; margin-top: 12px; line-height: 1.5; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; }
.card p { margin: 0; color: var(--grey); font-size: 15.5px; }

/* About / Contact: a list of facts */
.facts { margin: 26px 0 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.facts div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 4px 20px; padding: 16px 20px; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }

/* Privacy / Terms: readable text */
.doc { max-width: 46em; }
.page-head { padding-bottom: 0; }
.page-head + .section { border-top: 0; padding-top: clamp(28px, 4vw, 40px); }
/* Support: questions that open in place (no script) */
.faq { margin-top: 22px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--grey); }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.faq .ans { padding: 0 20px 18px; color: #3d3a3b; }
.faq .ans p:last-child { margin-bottom: 0; }
.links { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.links a { display: block; height: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none; background: #fff; }
.links a:hover { border-color: var(--ink); }
.links b { display: block; }
.links span { display: block; color: var(--grey); font-size: 14.5px; line-height: 1.5; margin-top: 2px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc ul { padding-left: 22px; margin: 0 0 16px; }
.doc li { margin-bottom: 6px; }
.updated { color: var(--grey); font-size: 14.5px; }
.note { margin-top: 22px; max-width: 46em; }

footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--grey); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding-top: 22px; padding-bottom: max(26px, env(safe-area-inset-bottom)); }
footer ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0; padding: 0; }
footer a { color: var(--grey); display: inline-block; padding: 6px 0; }
footer a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .shot { max-width: min(260px, max(120px, calc((100vh - 130px) * .462))); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .hero .product { grid-template-columns: minmax(0, 1fr); }
  .mark { display: none; }
  .hero { min-height: 0; }
}
@media (max-width: 860px) {
  .navwide { display: none; }
  .menu { display: block; }
}
@media (max-width: 680px) {
  .hero { min-height: 0; }
  .links { grid-template-columns: minmax(0, 1fr); }
  .cards.two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .wrap { min-height: 64px; }
  .brand img { width: 70px; }
  .hero { padding-top: 28px; padding-bottom: 44px; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero .lead { line-height: 1.6; }
  .center { text-align: left; }
  .center .btns { justify-content: flex-start; }
  .facts div { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .btns .btn { width: 100%; justify-content: center; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 360px) { .hero h1 { font-size: 29px; } .hero .lead { font-size: 16px; } }
@media (max-width: 340px) { .brand img { width: 62px; } }
@media (max-height: 560px) { .hero { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .top nav, .skip, .btns { display: none; } }
