/* Hallmark v2: Midnight material adapted to OpenCinema graphite and mint; product-led split hero, workflow switcher, local install; no invented proof. */
/* Critique: owned motion-film stills show the workflow; all are labelled as product motion, not model-output guarantees. */
:root {
  color-scheme: dark;
  --page: #101315;
  --surface: #181c1f;
  --raised: #202629;
  --hover: #272e32;
  --ink: #f3f6f5;
  --muted: #acb7b7;
  --subtle: #84908f;
  --accent: #9be4d4;
  --accentHover: #b6eddf;
  --onAccent: #10211d;
  --line: rgb(243 246 245 / 12%);
  --strongLine: rgb(243 246 245 / 24%);
  --scrim: rgb(6 9 10 / 88%);
  --playSurface: rgb(243 246 245 / 94%);
  --focus: #b6eddf;
  --shadow: 0 24px 80px rgb(0 0 0 / 18%);
  --fontBody: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --fontCode: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --container: 1280px;
  --gap: 56px;
  --radius: 10px;
}
@font-face { font-family: "Inter"; src: url("/assets/interVariable.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html { background: var(--page); scroll-behavior: smooth; scroll-padding-top: 36px; }
body { color: var(--ink); background: var(--page); font-family: var(--fontBody); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.hasFilm { overflow-y: hidden; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { min-width: 0; overflow-wrap: break-word; }
h1, h2, h3 { font-weight: 450; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
a, button, summary { outline-offset: 6px; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible, [role="tabpanel"]:focus-visible { outline: 2px solid var(--focus); }
a:hover { color: var(--accent); }
a:active, button:active { transform: translateY(1px); }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
::selection { color: var(--onAccent); background: var(--accent); }
.container { width: min(var(--container), calc(100% - 112px)); margin-inline: auto; }
.sectionSpace { padding-block: 112px; }
.iconDefinitions { position: absolute; width: 0; height: 0; overflow: clip; }
.icon { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.skipLink { position: fixed; z-index: 20; top: 10px; left: 20px; padding: 10px 18px; color: var(--onAccent); background: var(--accent); transform: translateY(-150%); }
.skipLink:focus-visible { transform: none; }
.siteHeader { min-height: 102px; display: flex; align-items: center; gap: 38px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; width: 188px; flex: 0 0 auto; }
.brand img { width: 100%; }
.mainNav a { display: inline-flex; align-items: center; min-height: 44px; }
.mainNav { display: flex; align-items: center; justify-content: center; gap: 32px; margin-left: auto; font-size: 15px; color: var(--muted); }
.headerAction { display: inline-flex; min-height: 42px; align-items: center; padding: 4px 20px; font-size: 14px; border: 1px solid var(--strongLine); border-radius: 6px; transition: background 160ms ease, border-color 160ms ease; }
.headerAction:hover { color: var(--ink); border-color: var(--accent); background: var(--raised); }
.hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); column-gap: var(--gap); align-items: center; min-height: min(746px, calc(100svh - 102px)); padding-top: 64px; }
.heroCopy { padding-bottom: 46px; }
.hero h1 { font-size: clamp(58px, 5.5vw, 88px); line-height: 1.22; letter-spacing: -.065em; }
.heroDescription { margin-top: 28px; max-width: 380px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.heroActions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.primaryButton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 25px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: var(--onAccent); font-size: 15px; font-weight: 550; transition: background 160ms ease, border-color 160ms ease; }
.primaryButton:hover { color: var(--onAccent); background: var(--accentHover); border-color: var(--accentHover); }
.textButton { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; font-size: 15px; }
.textButton .icon { width: 18px; height: 18px; fill: currentColor; stroke-width: 1; }
.heroNote { margin-top: 24px; color: var(--subtle); font-size: 13px; }
.heroMedia { min-width: 0; margin-bottom: 26px; }
.filmLink { display: block; position: relative; border-radius: var(--radius); overflow: clip; border: 1px solid var(--strongLine); background: var(--surface); box-shadow: var(--shadow); }
.filmLink img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity 180ms ease; }
.filmLink:hover img { opacity: .8; }
.playButton { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--playSurface); color: var(--onAccent); transform: translate(-50%, -50%); transition: transform 180ms ease; }
.playButton .icon { width: 22px; height: 22px; fill: currentColor; stroke-width: 1; }
.filmLink:hover .playButton { transform: translate(-50%, -50%) scale(1.06); }
.heroMedia figcaption, .workflowPanel figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; color: var(--subtle); font-size: 12px; }
.heroMedia figcaption span:first-child { color: var(--muted); }
.heroFoot { grid-column: 1 / -1; align-self: end; display: flex; justify-content: space-between; gap: 24px; padding-block: 25px; border-top: 1px solid var(--line); font-size: 13px; color: var(--subtle); }
.heroFoot a { color: var(--muted); }
.workflowSection { background: var(--surface); }
.sectionHeading { display: flex; justify-content: space-between; align-items: end; gap: var(--gap); margin-bottom: 64px; }
h2 { font-size: clamp(34px, 3.45vw, 52px); line-height: 1.35; letter-spacing: -.055em; }
.sectionHeading > p { padding-bottom: 4px; color: var(--muted); font-size: 16px; }
.workflowLayout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 52px; align-items: start; }
.workflowTabs { display: none; }
.workflowLayout.isEnhanced { grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr); }
.isEnhanced .workflowTabs { display: grid; }
.workflowTabs button { display: flex; gap: 21px; align-items: start; text-align: left; border: 0; border-top: 1px solid var(--line); padding: 23px 0; background: transparent; color: var(--muted); transition: color 160ms ease; }
.workflowTabs button:last-child { border-bottom: 1px solid var(--line); }
.workflowTabs button:hover { color: var(--ink); }
.workflowTabs button[aria-selected="true"] { color: var(--ink); }
.stepNumber { flex: 0 0 auto; padding-top: 2px; font-size: 13px; color: var(--subtle); }
[aria-selected="true"] .stepNumber { color: var(--accent); }
.tabCopy { display: grid; gap: 8px; }
.tabTitle { font-size: 18px; font-weight: 500; line-height: 1.6; }
.tabDescription { font-size: 14px; color: var(--subtle); line-height: 1.8; }
[aria-selected="true"] .tabDescription { color: var(--muted); }
.workflowPanel { margin-bottom: 36px; min-width: 0; }
.workflowPanel img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--page); }
.workflowPanels { align-self: center; min-width: 0; }
.fallbackHeading { margin-bottom: 20px; }
.fallbackHeading h3 { font-size: 24px; }
.fallbackHeading p { color: var(--muted); }
.isEnhanced .fallbackHeading { display: none; }
.isEnhanced .workflowPanel { margin-bottom: 0; }
.openSection { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 112px; }
.openLead > p { margin-top: 28px; color: var(--muted); font-size: 16px; }
.openRows { border-top: 1px solid var(--line); }
.openRow { border-bottom: 1px solid var(--line); padding-block: 25px; }
.openRow h3 { margin-bottom: 9px; font-size: 19px; }
.openRow p { font-size: 16px; color: var(--muted); max-width: 470px; line-height: 1.85; }
.startSection { background: var(--surface); }
.startLayout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 112px; align-items: center; }
.startCopy > p { margin-top: 26px; max-width: 380px; font-size: 16px; color: var(--muted); }
.startCopy .primaryButton { margin-top: 28px; }
.startCopy .releaseNote { margin-top: 21px; font-size: 13px; color: var(--subtle); }
.inlineLink { display: inline-block; margin-top: 8px; border-bottom: 1px solid var(--strongLine); font-size: 14px; }
.installBox { min-width: 0; border: 1px solid var(--strongLine); border-radius: var(--radius); padding: 26px 28px 20px; background: var(--page); }
.installHeading { display: flex; align-items: center; gap: 12px; }
.installHeading .icon { color: var(--accent); }
.installHeading h3 { font-size: 17px; font-weight: 500; }
.installTabs { display: none; gap: 25px; margin-top: 25px; border-bottom: 1px solid var(--line); }
.installBox.isEnhanced .installTabs { display: flex; }
.installTabs button { border: 0; border-bottom: 2px solid transparent; padding: 0 0 11px; background: transparent; color: var(--subtle); font-size: 14px; transition: color 160ms ease; }
.installTabs button:hover { color: var(--ink); }
.installTabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.installPanel { margin-top: 28px; }
.installPanel pre { margin: 0; min-height: 85px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.85; font-size: 13px; color: var(--ink); }
.installPanel code { font-family: var(--fontCode); }
.installBottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.installBottom p { font-size: 12px; color: var(--subtle); }
.copyButton { display: none; align-items: center; gap: 7px; flex: 0 0 auto; min-height: 36px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--muted); font-size: 12px; transition: background 160ms ease; }
.isEnhanced .copyButton { display: inline-flex; }
.copyButton:hover { color: var(--ink); background: var(--raised); }
.copyButton .icon { width: 14px; height: 14px; }
.copyStatus { font-size: 12px; color: var(--accent); }
.copyStatus:not(:empty) { margin-top: 12px; }
.faqSection { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: 112px; }
.faqList { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; list-style: none; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent); }
summary .icon { width: 17px; height: 17px; color: var(--muted); transition: transform 160ms ease; }
details[open] summary .icon { transform: rotate(45deg); }
details > p { margin: 0 35px 24px 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
details > a { display: inline-block; margin-bottom: 25px; font-size: 14px; border-bottom: 1px solid var(--strongLine); }
.siteFooter { border-top: 1px solid var(--line); }
.footerTop { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 52px; border-bottom: 1px solid var(--line); }
.footerTop > p { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.5; letter-spacing: -.04em; }
.footerTop > a { flex: 0 0 auto; font-size: 14px; border-bottom: 1px solid var(--strongLine); }
.footerBottom { display: flex; align-items: center; gap: 28px; padding-block: 28px 42px; }
.footerBottom .brand { width: 148px; }
.footerBottom > p { color: var(--subtle); font-size: 12px; margin-left: auto; }
.footerBottom nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footerBottom nav { display: flex; gap: 24px; font-size: 12px; color: var(--muted); }
.filmDialog { width: min(1120px, calc(100% - 40px)); max-height: calc(100svh - 40px); margin: auto; padding: 18px; border: 1px solid var(--strongLine); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.filmDialog::backdrop { background: var(--scrim); }
.dialogHeading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 0 14px 8px; }
.dialogHeading h2 { font-size: 17px; font-weight: 500; letter-spacing: 0; line-height: 1.6; }
.closeButton { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); transition: background 160ms ease; }
.closeButton:hover { color: var(--ink); background: var(--hover); }
.filmDialog video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 5px; background: var(--page); }
.dialogFoot { display: flex; justify-content: space-between; align-items: start; gap: 30px; padding: 16px 8px 2px; }
.dialogFoot p, .videoStatus { font-size: 12px; color: var(--muted); }
.dialogFoot a { font-size: 12px; flex: 0 0 auto; border-bottom: 1px solid var(--strongLine); }
.videoStatus:not(:empty) { margin-top: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .heroCopy, .heroMedia { animation: arrival 420ms ease both; }
  .heroMedia { animation-delay: 80ms; }
  @keyframes arrival { from { opacity: .65; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (min-width: 1600px) { .hero { min-height: 760px; } }
@media (max-width: 1120px) {
  :root { --gap: 34px; }
  .container { width: calc(100% - 72px); }
  .hero h1 { font-size: 66px; }
  .heroDescription { max-width: 340px; font-size: 16px; }
  .heroActions { gap: 21px; }
  .openSection, .startLayout, .faqSection { gap: 64px; }
  .workflowLayout.isEnhanced { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 34px; }
  .tabTitle { font-size: 16px; }
  .tabDescription { font-size: 13px; }
}
@media (max-width: 820px) {
  .container { width: calc(100% - 48px); }
  .sectionSpace { padding-block: 76px; }
  .siteHeader { min-height: 84px; gap: 24px; }
  .brand { width: 158px; }
  .mainNav { gap: 22px; font-size: 14px; }
  .mainNav a:nth-child(2) { display: none; }
  .headerAction { padding-inline: 15px; margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 64px; }
  .heroCopy { padding-bottom: 42px; }
  .hero h1 { font-size: 68px; }
  .heroDescription { max-width: 450px; margin-top: 22px; }
  .heroMedia { margin-bottom: 36px; }
  .heroFoot { padding-block: 22px; font-size: 12px; }
  .sectionHeading { margin-bottom: 40px; align-items: start; }
  .sectionHeading > p { max-width: 220px; }
  .workflowLayout.isEnhanced { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .isEnhanced .workflowTabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .workflowTabs button { border-bottom: 1px solid var(--line); display: block; padding: 17px 0; }
  .workflowTabs button[aria-selected="true"] { border-top-color: var(--accent); }
  .stepNumber { display: block; margin-bottom: 9px; }
  .tabTitle { font-size: 14px; line-height: 1.6; }
  .tabDescription { display: none; }
  .openSection, .startLayout, .faqSection { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .openLead > p { margin-top: 22px; }
  .startCopy > p { max-width: 470px; }
  .startCopy .primaryButton { margin-top: 24px; }
  .installPanel pre { font-size: 14px; }
  .footerTop { gap: 28px; padding-block: 36px; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 40px); }
  .siteHeader { gap: 18px; min-height: 78px; }
  .brand { width: 145px; }
  .mainNav { margin-left: auto; }
  .mainNav a { display: none; }
  .mainNav a:last-child { display: inline-flex; font-size: 13px; }
  .headerAction { display: none; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(48px, 12.4vw, 64px); line-height: 1.2; letter-spacing: -.06em; }
  .heroDescription { margin-top: 23px; font-size: 16px; max-width: 350px; }
  .heroActions { margin-top: 26px; gap: 26px; }
  .primaryButton { min-height: 48px; padding-inline: 23px; font-size: 14px; }
  .heroNote { margin-top: 22px; font-size: 12px; }
  .heroCopy { padding-bottom: 32px; }
  .heroMedia figcaption, .workflowPanel figcaption { gap: 12px; font-size: 12px; margin-top: 12px; }
  .playButton { width: 46px; height: 46px; }
  .heroMedia { margin-bottom: 28px; }
  .heroFoot { display: block; padding-block: 18px; }
  .heroFoot a { display: inline-block; margin-top: 6px; }
  h2 { font-size: 35px; }
  .sectionHeading { display: block; }
  .sectionHeading > p { margin-top: 24px; max-width: none; font-size: 16px; }
  .sectionHeading > p br { display: none; }
  .isEnhanced .workflowTabs { gap: 10px; }
  .tabTitle { font-size: 13px; }
  .stepNumber { font-size: 11px; }
  .installBox { padding: 22px 20px 17px; }
  .installPanel pre { font-size: 12px; min-height: 105px; }
  .installBottom { display: block; }
  .copyButton { margin-top: 14px; }
  .installBottom p { font-size: 11px; }
  summary { font-size: 15px; gap: 16px; padding-block: 22px; }
  details > p { font-size: 16px; margin-right: 0; }
  .footerTop { display: block; }
  .footerTop > a { display: inline-block; margin-top: 20px; }
  .footerTop > p { font-size: 25px; }
  .footerBottom { flex-wrap: wrap; row-gap: 16px; padding-bottom: 30px; }
  .footerBottom .brand { width: 135px; }
  .footerBottom > p { font-size: 10px; }
  .footerBottom nav { width: 100%; font-size: 12px; }
  .filmDialog { width: calc(100% - 24px); padding: 10px; }
  .dialogHeading { padding-left: 5px; gap: 16px; }
  .dialogHeading h2 { font-size: 14px; }
  .dialogFoot { display: block; padding: 12px 5px 5px; }
  .dialogFoot a { display: inline-block; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
