:root {
  --header-height: 73px;
  --motion-out: cubic-bezier(.23, 1, .32, 1);
  --motion-shift: cubic-bezier(.65, 0, .35, 1);
}

.header {
  position: sticky;
  z-index: 4;
  top: 0;
  isolation: isolate;
}
.header-inner { min-height: var(--header-height); }
.header-contact {
  display: flex;
  align-items: center;
  flex: none;
  color: #e3ddd1;
  font-size: .85rem;
  white-space: nowrap;
}
.header-contact > span:first-child { margin-right: .4em; }
.header-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.header-contact a:is(:hover,:focus-visible) { text-decoration: underline; text-underline-offset: 4px; }
.header::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #0d0c09;
  box-shadow: 0 5px 16px #0003;
  content: "";
  opacity: 0;
  transition: opacity 180ms var(--motion-out);
}
.header-scrolled::after { opacity: .92; }
.header nav a { position: relative; }
.header nav a:not(.nav-guide)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 170ms var(--motion-out);
}
.header nav a:not(.nav-guide):is(:focus-visible,[aria-current])::after {
  transform: scaleX(1);
  transform-origin: left;
}
:where(#main,#workflow,#products,.article [id]) {
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.reading-progress { position: absolute; inset: auto 0 0; height: 2px; pointer-events: none; }
.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.hero {
  background:
    radial-gradient(ellipse 63% 56% at 75% 22%, #3c2b18b0, transparent 71%),
    var(--night);
}
.hero-copy > * { position: relative; }
.hero-enter .hero-label { animation: hero-text 420ms var(--motion-out) both; }
.hero-enter h1 { animation: hero-text 530ms 35ms var(--motion-out) both; }
.hero-enter .hero-lead { animation: hero-text 480ms 85ms var(--motion-out) both; }
.hero-enter .actions { animation: hero-text 440ms 120ms var(--motion-out) both; }
.hero-enter .hero-visual { animation: hero-visual 620ms 45ms var(--motion-out) both; }
.hero-enter .phone-frame { animation: hero-phone 650ms 95ms var(--motion-out) both; }
.hero-enter .actions:focus-within { animation: none; }
@keyframes hero-text {
  from { opacity: .1; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes hero-visual {
  from { opacity: .4; translate: 0 12px; scale: .986; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes hero-phone {
  from { translate: 0 13px; }
  to { translate: 0 0; }
}
@media (hover: hover) and (pointer: fine) {
  .hero-visual :is(.desktop-frame,.phone-frame) { transition: transform 280ms var(--motion-out); }
  .header nav a:not(.nav-guide):hover::after { transform: scaleX(1); transform-origin: left; }
  .product-tile:hover > svg { transform: translateY(-3px); }
  .product-tile:hover .tile-link svg, .role-links a:hover svg, .actions a:hover svg,
  .flow-copy a:hover svg { transform: translateX(4px); }
  .shot-link:hover .zoom { transform: scale(1.08); }
}
:is(.actions,.tile-link,.role-links,.flow-copy) svg,
.product-tile > svg, .shot-link .zoom {
  transition: transform 180ms var(--motion-out);
}
.product-tile:active .tile-link svg, .role-links a:active svg { transform: translateX(4px); }
.shot-link:active .zoom { transform: scale(.94); }

.flow { border-top: 1px solid #ffffff25; padding-block: 36px 53px; }
.flow-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.flow-heading h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.45rem); }
.flow-heading p { color: #d4c9b5; font-size: .92rem; }
.flow-buttons { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.flow-buttons > :is(a, button) {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 77px;
  gap: 4px;
  padding: 6px 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #e2d4be;
  font-weight: 650;
  transition: background-color 160ms ease, color 160ms ease;
}
.flow-node {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid #8b7455;
  border-radius: 50%;
  background: var(--night-raised);
  color: var(--gold);
  transition: transform 150ms var(--motion-out), background-color 150ms ease, color 150ms ease;
}
.flow-node svg { width: 19px; height: 19px; }
.flow-buttons > :is(a, button):active .flow-node { transform: scale(.93); }
.flow-buttons :is([aria-selected="true"],.flow-complete) .flow-node { border-color: var(--gold); }
.flow-buttons [aria-selected="true"] { background: #e6bd8218; color: #ffe9c7; }
.flow-buttons [aria-selected="true"] .flow-node { background: var(--gold); color: #24180c; }
.flow-connector {
  position: absolute;
  top: calc(50% - 12px);
  left: calc(50% + 20px);
  width: max(0px, calc(100% - 30px));
  height: 1px;
  background: #66533a;
  pointer-events: none;
}
.flow-connector::after {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 210ms var(--motion-shift);
}
.flow-complete .flow-connector::after { transform: scaleX(1); }
.flow-buttons > :last-child .flow-connector { display: none; }
.flow-instant :is(button,.flow-node), .flow-instant .flow-connector::after { transition: none; }
.flow-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  min-height: 265px;
  margin-top: 15px;
  padding: 22px 26px;
  overflow: clip;
  border: 1px solid #ffffff28;
  border-radius: 12px;
  background: #ffffff06;
}
.flow-copy h3 { color: var(--white); font-family: var(--heading); font-size: clamp(1.24rem, 2.7vw, 2.15rem); }
.flow-copy p { max-width: 29em; margin-top: 10px; color: #e1d8c9; }
.flow-copy a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; color: var(--gold); font-weight: 650; }
.flow-visual { min-width: 0; }
.flow-visual img {
  width: 100%;
  height: clamp(110px, 16vw, 193px);
  border: 1px solid #ffffff26;
  border-radius: 6px;
  background: #171510;
  object-fit: contain;
}
.flow-visual figcaption { margin-top: 5px; color: #d4c9b5; font-size: .75rem; text-align: end; }
@media (hover: hover) and (pointer: fine) {
  .flow-buttons button:hover { background: #e6bd8224; }
}

.article-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 23px;
  padding: 3px 7px;
  border-bottom: 1px solid var(--line);
}
.article-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 7px;
  color: var(--brown);
  font-size: .92rem;
}
.article-jump a:is(:hover,[aria-current]) { text-decoration: underline; text-underline-offset: 5px; }
.article .done, .article .preparation { scroll-margin-top: calc(var(--header-height) + 18px); }

@media (max-width: 840px) {
  :root { --header-height: 110px; }
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 65px 44px;
    gap: 0 12px;
    min-height: var(--header-height);
  }
  .header-contact { grid-column: 1 / -1; justify-content: flex-end; border-top: 1px solid #ffffff25; }
  .flow { padding-block: 27px 35px; }
  .flow-detail { gap: 15px; padding: 16px; min-height: 210px; }
}
@media (max-width: 560px) {
  .flow-buttons { gap: 4px; }
  .flow-buttons > :is(a, button) { min-height: 68px; font-size: .87rem; }
  .flow-node { width: 32px; height: 32px; }
  .flow-connector { left: calc(50% + 17px); width: max(0px, calc(100% - 30px)); }
  .flow-detail { grid-template-columns: 1fr; grid-template-rows: minmax(125px,auto) 133px; align-items: start; min-height: 0; }
  .flow-copy p { font-size: .88rem; }
  .flow-visual img { height: 105px; }
  .article-jump { gap: 0 5px; padding-inline: 0; }
  .article-jump a { padding-inline: 5px; font-size: .83rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.header .nav-download {
  min-height: 42px;
  padding-inline: 13px;
  border: 1px solid #c6995f;
  border-radius: 6px;
  background: var(--gold);
  color: #251a0f;
  font-weight: 750;
  transition: background-color 150ms ease, transform 150ms var(--motion-out);
}
.header .nav-download:is(:hover,[aria-current]) { background: #f5d6a6; color: #251a0f; }
.header .nav-download:active { transform: scale(.97); }
.header nav .nav-download::after { display: none; }
.footer-inner nav { display: flex; align-items: center; gap: 18px; }
.footer-inner nav a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-inner nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.library-start {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 26px;
}
.library-start a, .step-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--brown);
  font-weight: 650;
}
.library-start a svg, .step-link svg { width: 18px; height: 18px; }
.library-start a:hover, .step-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-size: .88rem; }
.article-meta span { margin: 0; }
.preparation ul { margin: 12px 0 0; padding-inline-start: 1.3rem; }
.preparation li + li { margin-top: 4px; }
.guide-entry { color: var(--brown); font-weight: 680; }
.steps { margin-top: 23px; }
.steps > li {
  margin-bottom: 0;
  padding: 4px 0 21px 10px;
}
.steps > li + li { padding-top: 19px; border-top: 1px solid var(--line); }
.steps > li h3 { font-size: 1.19rem; }
.steps .step-check {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 12px;
  padding: 9px 11px;
  border-left: 2px solid #768a60;
  background: #e9eee1;
  color: #2b3a27;
  font-size: .91rem;
}
.step-check svg { width: 15px; height: 15px; margin-top: .32em; }
.step-check strong { margin-right: 4px; }
.questions h2 { margin-bottom: 12px; }
.questions details { padding: 0; }
.questions summary { padding-block: 11px; }
.questions details p { margin: 0 0 13px; padding-left: 14px; color: var(--muted); }
.next-copy { margin-top: 10px; color: var(--muted); }
.next-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding: 15px 18px;
  border: 1px solid #b9a78b;
  border-radius: 7px;
  background: #eee6d7;
}
.next-guide:hover { background: #e9ddc8; }
.next-guide small { display: block; color: var(--muted); }

.device-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.device-jump a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding-inline: 11px;
  border: 1px solid #b393695c;
  border-radius: 6px;
  color: var(--white);
  font-size: .88rem;
}
.device-jump a:hover { background: #e6bd8220; }
.device-jump svg { width: 18px; height: 18px; color: var(--gold); }
.download-section { padding-top: 50px; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin-top: 20px;
}
.download-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.download-card:target { border-color: #a36e2a; box-shadow: inset 0 0 0 1px #a36e2a; }
.download-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 12px; border-radius: 9px; color: var(--brown); background: #efe4d2; }
.download-card .download-platform { color: var(--brown); font-size: .82rem; font-weight: 700; }
.download-card h3 { margin: 2px 0 6px; font-size: 1.4rem; }
.download-card p { color: var(--muted); font-size: .91rem; }
.download-card .download-version { margin-block: 14px; font-size: .8rem; }
.download-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; }
.download-secondary { min-height: 44px; border-color: var(--line); color: var(--brown); }
.download-secondary:hover { background: #eee6d7; }
.download-guide, .download-notes > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: .87rem;
  color: var(--brown);
  font-weight: 700;
}
.download-guide:hover,.download-notes a:hover { text-decoration: underline; text-underline-offset: 4px; }
.download-guide svg,.download-notes a svg { width: 17px; height: 17px; }
.download-notes { margin-top: 18px; }
.download-notes details a { color: var(--brown); text-decoration: underline; }
.download-notes code { overflow-wrap: anywhere; }
.role-links small { display: block; color: var(--muted); font-size: .77rem; font-weight: 400; }

@media (max-width: 920px) {
  .header nav { gap: 16px; }
  .download-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .header .nav-workflow { display: none; }
  .header nav { gap: 9px; }
  .header .nav-download { padding-inline: 8px; }
  .steps > li { padding-left: 4px; }
  .download-grid { grid-template-columns: 1fr; }
}
@media (max-width: 425px) {
  .header .nav-products { display: none; }
}

.page-intro.product-intro { background: var(--night); }
.hero-feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  margin-top: 14px;
}
.hero-feature-links a {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 44px;
  color: #d9c4a8;
  font-size: .83rem;
}
.hero-feature-links a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }
.hero-feature-links svg { width: 16px; height: 16px; color: var(--gold); }
.highlights {
  scroll-margin-top: calc(var(--header-height) + 16px);
  background: #eee6d7;
}
.highlights .section { padding-block: 50px 61px; }
.highlights-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.highlight-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cfc0a6;
  border-radius: 10px;
  background: var(--white);
}
.highlight-media {
  height: clamp(120px,15vw,196px);
  background: #1d1913;
  overflow: hidden;
  padding: 14px 16px 0;
}
.highlight-media img {
  width: 100%;
  border: 1px solid #817058;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 8px 30px #0006;
  transition: transform 260ms var(--motion-out);
}
.highlight-portrait img { width: min(186px,70%); margin-inline: auto; border-radius: 9px 9px 0 0; }
.highlight-copy { flex: 1; padding: 17px 17px 15px; }
.highlight-copy h3 { display: inline; font-size: 1.19rem; vertical-align: middle; }
.highlight-icon { display: inline-flex; vertical-align: middle; margin-right: 7px; color: var(--brown); }
.highlight-icon svg { width: 20px; height: 20px; }
.highlight-copy p { margin-top: 7px; color: var(--muted); font-size: .9rem; }
.highlight-copy .tile-link { margin-top: 12px; }
@media (hover: hover) and (pointer: fine) {
  .highlight-card:hover { border-color: #a17b48; }
  .highlight-card:hover .highlight-media img { transform: translateY(-4px); }
  .highlight-card:hover .tile-link svg { transform: translateX(4px); }
}
.workflow-section { background: var(--night); color: var(--white); }
.workflow-section .flow { border-top: 0; padding-top: 44px; }
.workflow-section :focus-visible { outline-color: var(--gold); }
.feature-intro .product-header { min-height: 300px; }
.product-header-wide { grid-template-columns: minmax(0,850px); }
.guide-reference { margin: -10px 0 30px; }
.guide-reference .portrait { margin-inline: 0; }

@media (max-width: 760px) {
  .highlights-grid { grid-template-columns: 1fr; gap: 12px; }
  .highlight-card { display: grid; grid-template-columns: minmax(120px, 36%) minmax(0, 1fr); }
  .highlight-media { height: 100%; min-height: 143px; padding: 9px 7px 0; }
  .highlight-media img { width: 100%; }
  .highlight-portrait img { width: 86%; }
  .highlight-copy { padding: 12px 12px 11px; }
  .highlight-copy p { font-size: .85rem; }
  .highlights .section { padding-block: 34px 40px; }
  .workflow-section .flow { padding-top: 30px; }
}
@media (max-width: 360px) {
  .hero-feature-links { gap: 0 9px; }
  .hero-feature-links a { font-size: .78rem; }
  .highlight-card { grid-template-columns: minmax(96px,32%) minmax(0,1fr); }
}
