/* durgical.com: one stylesheet. Brand tokens from the launch film (durgical_video/facts.json brand) and site/index.html. */
:root {
  --bg: #F3F7F8; --surface: #FFFFFF; --ink: #0D1A1F; --muted: #4F6066; --line: #D6E2E5;
  --cyan: #17C3D7; --cyan-ink: #087F8E; --cyan-wash: #E1F6F9; --warn: #9A3412; --warn-wash: #FFF4E5;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --shadow: 0 1px 2px rgba(13,26,31,.06), 0 12px 32px rgba(13,26,31,.07);
  --r: 18px; --gutter: 16px; --max: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1316; --surface: #101D21; --ink: #E6F0F2; --muted: #9DB0B5; --line: #1F3036;
    --cyan: #22CCE0; --cyan-ink: #5DDDEC; --cyan-wash: #0E2A30; --warn: #FDBA74; --warn-wash: #2A1A0C;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35);
  }
  .logo-light { display: none; } .logo-dark { display: inline; }
}
@media (prefers-color-scheme: light) { .logo-dark { display: none; } }
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--f-body); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 500 .78rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-ink); margin: 0 0 .8em; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; min-height: 44px; }
.brand img { height: 26px; width: auto; }
.nav { display: none; gap: 4px; }
.nav a, .lang a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .lang a:hover { background: var(--cyan-wash); }
.nav a[aria-current="page"] { color: var(--cyan-ink); }
.lang a { font: 600 .82rem var(--f-mono); letter-spacing: .06em; }
@media (min-width: 860px) { .nav { display: flex; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 1rem var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--cyan-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .92rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }

/* hero */
/* home hero: the floating 3D stage (website/hero_slot.md). No box, border or shadow: the loop is rendered on the exact
   page colour, and the stage edges are feathered so a few levels of difference never show as a rectangle. */
.stage-hero { --hero-bg: #F3F7F8; position: relative; background: var(--hero-bg); overflow: hidden; }
@media (prefers-color-scheme: dark) {
  /* without dark renders the hero stays light (a light loop on a dark band would show its edges) */
  .stage-hero:not(.has-dark) { --ink: #0D1A1F; --muted: #4F6066; --line: #D6E2E5; --surface: #FFFFFF; --bg: #F3F7F8; --cyan-ink: #087F8E; color: var(--ink); }
  .stage-hero:not(.has-dark) .btn-primary { background: #0D1A1F; color: #F3F7F8; }
  .stage-hero.has-dark { --hero-bg: #0A1316; }
}
.hero-copy { position: relative; z-index: 1; padding-top: 32px; padding-bottom: 4px; }
.stage-hero .lead { font-size: 1.22rem; color: var(--muted); max-width: 34ch; }
.stage-hero .line { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); max-width: 30ch; }
.offer { border: 2px dashed var(--line); border-radius: 12px; padding: 10px 14px; color: var(--muted); font-size: .95rem; max-width: 46ch; }
.stage { position: relative; width: 100%; aspect-ratio: 9 / 16; max-height: 80vh; margin: 0 auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%); }
.stage img, .stage video, .stage canvas, .stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border: 0; background: transparent; }
.stage video, .stage canvas, .stage iframe { opacity: 0; transition: opacity .7s ease; }
.stage .on { opacity: 1; }
/* the live scene draws on a transparent canvas: once it runs, the poster fades out underneath it */
.stage img { transition: opacity .7s ease; }
.stage.live img { opacity: 0; }
@media (min-width: 600px) and (max-width: 959px) { .stage { aspect-ratio: 16 / 9; max-height: none; } }
@media (min-width: 960px) {
  .stage-hero { min-height: min(86vh, 860px); display: flex; align-items: center; }
  .hero-copy { padding-top: 56px; padding-bottom: 56px; width: 100%; }
  .hero-copy > div { max-width: 480px; }
  .stage { position: absolute; inset: 0; width: auto; aspect-ratio: auto; max-height: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 96%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 96%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-composite: intersect; }
  /* the loop keeps its model in the right 60 % of a 16:9 frame; anchor it right so the left stays for the text */
  .stage img, .stage video { object-position: 100% 50%; }
}
/* until the floating loop exists the launch film fills the slot: keep it off the text on desktop */
@media (min-width: 960px) {
  .stage-hero.fallback .stage { left: 42%; right: 0; top: 50%; bottom: auto; aspect-ratio: 16 / 9; transform: translateY(-50%); }
}
.disclaimer { font: 500 .8rem/1.4 var(--f-mono); color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.disclaimer::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .35em; border-radius: 50%; background: var(--cyan); }

/* sections */
.band { padding: 56px 0; }
.band.alt { background: var(--surface); border-block: 1px solid var(--line); }
.band > .wrap > h2 { max-width: 22ch; }
.intro { max-width: 60ch; color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.band.alt .card { background: var(--bg); box-shadow: none; }
.card p:last-child { margin-bottom: 0; }
a.card { color: inherit; text-decoration: none; display: block; }
a.card:hover { border-color: var(--cyan); }
.card .more { color: var(--cyan-ink); font-weight: 700; }
.feature { display: grid; gap: 20px; align-items: center; margin: 0 0 40px; }
@media (min-width: 860px) { .feature { grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 64px; } .feature.flip .shot { order: -1; } }
.feature .shot { display: flex; justify-content: center; }
.feature .shot img { width: min(250px, 66vw); border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 860px) { .feature .shot img { width: 300px; border-radius: 28px; } }
.feature h3 { font-size: clamp(1.5rem, 3.6vw, 2rem); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 26px; position: relative; margin: 0 0 .5em; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 3px solid var(--cyan); border-bottom: 3px solid var(--cyan); transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { background: var(--cyan-wash); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: .92rem; }
.door { display: grid; gap: 16px; align-items: center; }
@media (min-width: 860px) { .door { grid-template-columns: 1.4fr auto; } }

/* product + legal pages */
.page-head { padding: 36px 0 12px; }
.page-head h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
.crumbs { font: 500 .82rem var(--f-mono); color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }
.panel { padding: 28px 0; border-top: 1px solid var(--line); }
.panel h2 { font-size: clamp(1.4rem, 3.6vw, 1.9rem); }
.rows { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
@media (min-width: 720px) { .rows.cols { grid-template-columns: 1fr 1fr; } }
.rows li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.rows li b { display: block; }
.rows li span { color: var(--muted); font-size: .95rem; }
.callout { background: var(--cyan-wash); border-radius: 14px; padding: 14px 16px; margin: 0 0 1em; }
.callout b { display: block; margin-bottom: 4px; }
.review { background: var(--warn-wash); color: var(--ink); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); border-radius: 14px; padding: 12px 16px; margin: 0 0 20px; font-size: .95rem; }
.review b { color: var(--warn); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }
.terms dt { font: 500 .78rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-ink); margin-top: 16px; }
.terms dd { margin: 4px 0 0; font-size: 1.1rem; }
.terms dd small { color: var(--muted); font-size: .85rem; }
.search { display: flex; gap: 8px; margin: 0 0 20px; max-width: 520px; }
.search input { flex: 1; min-height: 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 18px; font: 1rem var(--f-body); }

/* footer */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: .95rem; }
.foot .wrap { display: grid; gap: 24px; }
@media (min-width: 860px) { .foot .wrap { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot h2 { font: 600 .78rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li a { color: var(--ink); display: inline-block; padding: 6px 0; min-height: 32px; }
.foot .small { color: var(--muted); font-size: .85rem; }
