@font-face {
  font-family: "DM Sans";
  src: url("../assets/refined/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/refined/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

body[data-release-ui] {
  --body-font: "Geist", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --heading-font: var(--body-font);
  font-family: var(--body-font);
  --warm-white: #f8f7f3;
  --ink-black: #171717;
  --cobalt: #2a48dc;
  --violet: #bca8ff;
  --lime: #d4fa42;
  --coral: #c64338;
}
* { box-sizing: border-box; }
body[data-release-ui] {
  --refined-paper: #faf9f6;
  --refined-surface: #fff;
  --refined-ink: #171c32;
  --refined-muted: #505972;
  --refined-accent: var(--cobalt);
  --refined-emphasis: var(--refined-accent);
  --refined-on-accent: #fff;
  --refined-tint: #e9edfc;
  --studio-bg: #edf0f8;
  --refined-line: #daddea;
  --refined-outline: #aeb9d8;
  --refined-footer: #171d39;
  --refined-footer-ink: #f7f8ff;
  --refined-footer-muted: #c6cce1;
  --refined-shadow: 0 14px 42px #272c5d0d;
  background: var(--refined-paper);
}
body[data-release-ui][data-theme="ink-black"] {
  --refined-paper: #f7f5ef; --refined-surface: #fffefa; --refined-ink: #1e1d19; --refined-muted: #56524a;
  --refined-accent: var(--ink-black); --refined-tint: #eeebe2; --studio-bg: #f0ede5;
  --refined-line: #dcd7cd; --refined-outline: #b8b0a1; --refined-footer: #201f1a;
  --refined-footer-ink: #fffdf3; --refined-footer-muted: #d1cdc0;
}
body[data-release-ui][data-theme="coral"] {
  --refined-paper: #fdf6f1; --refined-surface: #fffdfa; --refined-ink: #321e1d; --refined-muted: #684e48;
  --refined-accent: var(--coral); --refined-emphasis: #a3332c; --refined-tint: #f9e7df;
  --studio-bg: #faece5; --refined-line: #e9d6ce; --refined-outline: #caaba0; --refined-footer: #37201f;
  --refined-footer-ink: #fff7f1; --refined-footer-muted: #ead0c9;
}
body[data-release-ui]:is([data-theme="warm-white"],[data-theme="violet"],[data-theme="lime"]) {
  --refined-on-accent: var(--refined-paper);
  --refined-footer-ink: var(--refined-ink);
  --refined-footer-muted: var(--refined-muted);
  --refined-shadow: 0 18px 52px #0004;
}
body[data-release-ui][data-theme="warm-white"] {
  --refined-paper: #141414; --refined-surface: #222220; --refined-ink: #f8f7f3; --refined-muted: #c3bfb4;
  --refined-accent: var(--warm-white); --refined-tint: #2c2a26; --studio-bg: #1a1917;
  --refined-line: #3f3b35; --refined-outline: #71695b; --refined-footer: #10100f;
}
body[data-release-ui][data-theme="violet"] {
  --refined-paper: #211a30; --refined-surface: #2b223c; --refined-ink: #f9f5ff; --refined-muted: #cbc0dc;
  --refined-accent: var(--violet); --refined-tint: #392d51; --studio-bg: #261e35;
  --refined-line: #483b5b; --refined-outline: #74618c; --refined-footer: #181224;
}
body[data-release-ui][data-theme="lime"] {
  --refined-paper: #0f1318; --refined-surface: #1a232d; --refined-ink: #f9f8f5; --refined-muted: #bfc7d1;
  --refined-accent: var(--lime); --refined-tint: #252e39; --studio-bg: #0f1318; --refined-on-accent: #1b2116;
  --refined-line: #303945; --refined-outline: #626f80; --refined-footer: #141b23;
}
@scope (.refined-visual, .refined-palette) {
:scope { background: var(--refined-paper); color: var(--refined-ink); font: 15px/1.55 var(--body-font); }
.refined-hero h1 { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button:enabled { cursor: pointer; }
a, button, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: none; box-shadow: inset 0 0 0 1px currentColor; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
h1, h2, h3 { font-family: var(--heading-font); font-weight: 700; }
h1, h2 { letter-spacing: -.064em; }
:lang(zh-CN) :is(h1,h2) { letter-spacing: -.045em; }
:lang(zh-CN) :is(h1,h2,h3) { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", var(--heading-font); }
.wrap { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--refined-muted); font-weight: 650; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 45px;
  padding: 11px 16px; border: 1px solid transparent; border-radius: 9px;
  font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap;
}
.primary { background: var(--refined-accent); color: var(--refined-on-accent); }
a.primary:hover { background: color-mix(in srgb,var(--refined-accent) 87%,var(--refined-on-accent)); }
.palette-bar { display: flex; justify-content: flex-end; padding-top: 14px; }
.palette-picker { display: flex; align-items: center; justify-content: center; gap: 3px; max-width: 100%; }
.palette-picker button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 34px; padding: 5px 9px; border: 1px solid transparent; border-radius: 99px;
  background: transparent; color: var(--refined-muted); font-size: 11.5px; font-weight: 650; white-space: nowrap;
}
.palette-picker button:is(:hover,[aria-pressed="true"]) { border-color: var(--refined-line); background: var(--refined-tint); color: var(--refined-ink); }
.palette-picker i { flex: none; width: 9px; height: 9px; border: 1px solid #7a768a80; border-radius: 50%; background: var(--chip); }
[data-theme-option="warm-white"] { --chip: var(--warm-white); }
[data-theme-option="ink-black"] { --chip: var(--ink-black); }
[data-theme-option="cobalt"] { --chip: var(--cobalt); }
[data-theme-option="violet"] { --chip: var(--violet); }
[data-theme-option="lime"] { --chip: var(--lime); }
[data-theme-option="coral"] { --chip: var(--coral); }

.refined-hero {
  display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  gap: clamp(27px,4.8vw,69px); align-items: center;
  padding-block: clamp(36px,4.2vw,62px) clamp(56px,5.6vw,82px);
}
.hero-copy { container-type: inline-size; padding-bottom: 21px; }
.eyebrow, .marker { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow { margin-bottom: 21px; color: var(--refined-emphasis); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow::before, .marker::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--refined-accent); }
.refined-hero h1 { font-size: clamp(39px,13.8cqi,74px); line-height: 1; }
.refined-hero h1 > span, .refined-hero h1 .title-flip-source > span, .refined-hero h1 .title-flip-visual > span { display: block; }
:lang(zh-CN) .refined-hero h1 { font-size: clamp(40px,min(5.2vw,15.2cqi),74px); line-height: 1.11; }
.emphasis { color: var(--refined-emphasis); }
.hero-intro { margin-top: 20px; max-width: 417px; font-size: clamp(14px,1.27vw,17px); line-height: 1.65; color: var(--refined-muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 20px; margin-top: 24px; font-size: 13px; }

.demo { min-width: 0; padding: 12px; background: var(--refined-surface); border: 1px solid var(--refined-line); border-radius: 19px; box-shadow: var(--refined-shadow); }
.demo-heading, .gallery-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.demo-heading { padding: 2px 3px 10px; font-size: 11.5px; }
#case-name, .gallery-meta { color: var(--refined-muted); }
#case-name { text-align: right; font-weight: 550; }
.comparison {
  --split: 50%;
  position: relative; display: grid; grid-template-columns: minmax(0,var(--split)) minmax(0,1fr);
  grid-template-rows: minmax(0,1fr); overflow: hidden; isolation: isolate;
  border: 1px solid var(--refined-line); border-radius: 11px; aspect-ratio: 1.58;
}
.compare-pane { display: grid; place-items: center; grid-template-rows: minmax(0,1fr); position: relative; overflow: hidden; min-width: 0; min-height: 0; padding: 12px 7px; }
.compare-pane img { width: 100%; height: 100%; object-fit: contain; }
.before { background: #fff; }
.after { background: #121217; }
[data-active-case="apparel"] .after { background: #000; }
[data-active-case="blanket"] .after { background: #f0cade; }
[data-active-case="tablecloth"] .after { background: #797572; }
[data-active-case^="gallery-"] .after { background: #ecebed; }
#comparison .image-label {
  position: absolute;
  top: 9px;
  z-index: 4;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: max-content;
  min-height: 23px;
  padding: 2px 8px;
  pointer-events: none;
  border: 1px solid #e1dfd9;
  border-radius: 6px;
  font: 700 11px/1.2 var(--body-font);
  white-space: nowrap;
}
#comparison .compare-pane { padding-block: 36px; }
#comparison .image-label:not(.result-label) {
  left: 9px;
  padding-inline: 8px;
  background: #fff;
  color: #22212a;
  pointer-events: none;
}
.split-rule { position: absolute; inset: 0 auto 0 var(--split); left: round(nearest, var(--split), var(--divider-pixel, 1px)); width: var(--divider-pixel, 1px); border: 0; outline: 0; box-shadow: none; background: var(--refined-accent); z-index: 2; pointer-events: none; }
.split-rule span {
  position: absolute; display: flex; align-items: center; justify-content: center; gap: 6px;
  left: 50%; top: 50%; width: 35px; height: 35px; transform: translate(-50%,-50%);
  border-radius: 50%; background: var(--refined-accent); color: var(--refined-on-accent); box-shadow: 0 1px 8px #0003;
}
.split-rule i, .gallery-arrows i { width: 6px; height: 6px; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); }
.split-rule i:first-child, .gallery-arrows .previous { transform: rotate(-135deg); }
.split-input { position: absolute; inset: 0 19%; width: 62%; height: 100%; z-index: 3; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.comparison:has(.split-input:focus-visible) .split-rule span { outline: none; box-shadow: inset 0 0 0 1px currentColor; }
.gallery { padding: 9px 3px 0; }
.gallery-meta { font-size: 11px; font-weight: 650; margin-bottom: 5px; }
.gallery-controls { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px; }
.case-picker { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 3px; margin: 0 -3px; overflow: auto hidden; scrollbar-width: none; scroll-padding-inline: 14px; }
.case-picker.has-more { mask-image: linear-gradient(90deg,#000 calc(100% - 15px),transparent); }
.case-picker::-webkit-scrollbar { display: none; }
.case-picker button {
  flex: none; border: 1px solid var(--refined-line); border-radius: 99px; background: transparent; color: var(--refined-muted);
  min-height: 31px; padding: 4px 10px; font-size: 11.5px; font-weight: 650; white-space: nowrap;
}
.case-picker button:hover { border-color: var(--refined-outline); }
.case-picker button[aria-pressed="true"] { color: var(--refined-emphasis); border-color: var(--refined-accent); background: var(--refined-tint); }

.gallery-arrows { display: flex; align-items: center; gap: 4px; }
.gallery-arrows button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 1px solid var(--refined-outline); border-radius: 50%; background: none; }
.gallery-arrows button:enabled:hover { border-color: var(--refined-accent); color: var(--refined-emphasis); }
.gallery-arrows button:disabled { border-color: var(--refined-line); color: var(--refined-muted); opacity: .54; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px 36px; margin-bottom: 24px; }
.section-heading h2 { font-size: clamp(34px,4.1vw,54px); line-height: 1.04; }
.section-heading > p { max-width: 310px; padding-bottom: 3px; color: var(--refined-muted); font-size: 14px; }
.process-section { padding-block: 70px 69px; }
.process-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; list-style: none; padding: 0; }
.step-visual { position: relative; display: grid; place-items: center; aspect-ratio: 2.12; overflow: hidden; border: 1px solid var(--refined-line); border-radius: 11px; background: var(--refined-tint); }
.step-visual > div { position: absolute; height: 94%; aspect-ratio: 1; }
.step-visual img { width: 100%; height: 100%; object-fit: contain; }
.step-source { background: #fff; }
.step-source i { position: absolute; inset: 27% 24% 32% 32%; border: 1px dashed #6683fa; border-radius: 3px; box-shadow: 0 0 0 1px #10101180; }
.step-correct > div { height: 74%; transform: rotate(-9deg) skewY(7deg); border: 1px dashed var(--refined-emphasis); border-radius: 3px; }
.step-correct i { position: absolute; width: 6px; height: 6px; border: 1px solid var(--refined-emphasis); background: var(--refined-surface); }
.step-correct i:nth-of-type(1) { top: -3px; left: -3px; }
.step-correct i:nth-of-type(2) { top: -3px; right: -3px; }
.step-correct i:nth-of-type(3) { bottom: -3px; left: -3px; }
.step-correct i:nth-of-type(4) { bottom: -3px; right: -3px; }
.step-output { background: #000; }
.step-output > div { height: 91%; }
.step-caption { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 7px; padding-top: 14px; }
.step-caption > span { padding-top: 1px; color: var(--refined-emphasis); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.step-caption h3 { font-size: clamp(17px,1.62vw,21px); line-height: 1.18; letter-spacing: -.036em; }
.step-caption p, .output-notes p { margin-top: 5px; color: var(--refined-muted); font-size: 13px; line-height: 1.56; }
.output-notes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 28px; padding-top: 19px; border-top: 1px solid var(--refined-line); }
.output-notes h3 { font: 680 13px/1.3 var(--body-font); }
.output-notes p { font-size: 12px; }

.contact-section { padding-top: 49px; background: var(--refined-footer); color: var(--refined-footer-ink); }
.contact-main { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); align-items: end; gap: 28px; padding-bottom: 32px; }
.contact-main h2 { font-size: clamp(30px,4.4vw,57px); line-height: 1.05; }
.contact-main p { max-width: 490px; margin-top: 14px; color: var(--refined-footer-muted); font-size: 14px; }
.contact-details { justify-self: end; text-align: right; padding-bottom: 2px; min-width: 0; }
.contact-email { display: inline-flex; align-items: center; gap: 11px; padding-bottom: 5px; border-bottom: 1px solid var(--refined-footer-muted); color: var(--refined-footer-ink); font: 650 clamp(16px,2.28vw,29px)/1.25 var(--heading-font); letter-spacing: -.045em; }
.contact-email span { font-size: .58em; }
.contact-section a.contact-email { color: #fff; border-color: currentColor; }
.contact-details p { margin-top: 8px; font-size: 12px; }

.footer-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 11px 20px; min-height: 61px; padding-block: 11px; border-top: 1px solid color-mix(in srgb,var(--refined-footer-muted) 32%,transparent); color: var(--refined-footer-muted); font-size: 12px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 7px 17px; margin-inline-start: auto; }
.footer-bottom a:hover, .footer-bottom .wordmark { color: var(--refined-footer-ink); }
.footer-bottom .wordmark { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex: none; }
.footer-bottom .wordmark img { filter: brightness(0) invert(1); }
.copyright { white-space: nowrap; }
@media (max-width: 1040px) {
  .wrap { width: calc(100% - 56px); }
}
@media (max-width: 840px) {
  .refined-hero { gap: 25px; }
  .step-caption { grid-template-columns: 22px minmax(0,1fr); gap: 5px; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .palette-bar { justify-content: center; padding-top: 9px; }
  .refined-hero { grid-template-columns: 1fr; padding-block: 24px 44px; gap: 22px; }
  .hero-copy { padding-bottom: 0; }
  .refined-hero h1 { font-size: calc(clamp(36px,12.5cqi,66px) * var(--editor-title, 1)); }
  :lang(zh-CN) .refined-hero h1 { font-size: calc(clamp(36px,11.7cqi,61px) * var(--editor-title, 1)); }
  .eyebrow { margin-bottom: 11px; }
  .hero-intro { margin-top: 13px; }
  .hero-actions { margin-top: 16px; }
  .demo { padding: 8px; border-radius: 15px; }
  .demo-heading { padding-bottom: 7px; }
  .process-section { padding-block: 42px; }
  .section-heading { flex-wrap: wrap; gap: 9px; margin-bottom: 16px; }
  .section-heading h2 { font-size: clamp(31px,7.7vw,43px); }
  .section-heading > p { padding-bottom: 0; }
  .process-steps { grid-template-columns: 1fr; gap: 14px; }
  .process-steps li { display: grid; grid-template-columns: minmax(102px,.9fr) minmax(0,1.1fr); align-items: center; gap: 11px; }
  .step-visual { aspect-ratio: 1.22; }
  .step-caption { padding-top: 0; }
  .step-caption p { font-size: 12px; }
  .output-notes { margin-top: 19px; padding-top: 13px; gap: 11px; }
  .contact-section { padding-top: 32px; }
  .contact-main { grid-template-columns: 1fr; gap: 16px; padding-bottom: 23px; }
  .contact-details { justify-self: start; text-align: left; }
}
@media (max-width: 510px) {
  .palette-picker { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; }
  .palette-picker button { min-height: 31px; padding-block: 3px; }
}
@media (max-width: 430px) {
  .comparison { aspect-ratio: 1.37; }
  .case-picker button { min-height: 33px; }
  .gallery-controls { gap: 7px; }
  .gallery-arrows { gap: 3px; }
  .gallery-arrows button { width: 29px; height: 29px; }
  .output-notes { grid-template-columns: 1fr; }
}
@media (max-width: 355px) {
  .step-caption { grid-template-columns: 1fr; gap: 3px; }
  .step-caption h3 { font-size: 15.5px; }
}
}

body[data-release-ui] .refined-palette {
  padding-inline: max(18px, calc((100% - 1200px) / 2));
}
body[data-release-ui] .refined-workspace #online-studio {
  background: var(--studio-bg);
  border-block: 1px solid var(--refined-line);
  padding-block: 58px 59px;
}
.refined-workspace #online-studio > .container {
  width: min(1200px, calc(100% - 88px));
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
body[data-release-ui][data-theme="cobalt"] .site-header { background: var(--refined-paper); }
@media (max-width: 1040px) {
  .refined-workspace #online-studio > .container { width: calc(100% - 56px); }
}
@media (max-width: 740px) {
  body[data-release-ui] .refined-workspace #online-studio { padding-block: 42px; }
  .refined-workspace #online-studio > .container { width: calc(100% - 36px); }
}
body[data-release-ui] .refined-palette {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
}
@media (max-width: 740px) {
  body[data-release-ui] .refined-palette {
    justify-content: center;
    padding-top: 9px;
  }
}
.refined-workspace #online-studio { scroll-margin-top: 90px; }


body[data-release-ui] .refined-workspace {
  --studio-shell: var(--refined-surface);
  --studio-surface: var(--refined-surface);
  --studio-text: var(--refined-ink);
  --studio-muted: var(--refined-muted);
  --studio-line: var(--refined-line);
  --studio-outline: var(--refined-outline);
  --studio-drop: var(--refined-tint);
  --home-blue: var(--refined-emphasis);
}
body[data-release-ui] .refined-workspace .upload-paper {
  background: var(--refined-surface);
}
body[data-release-ui] .refined-workspace .upload-paper i {
  background: linear-gradient(45deg, var(--refined-line) 49%, var(--refined-tint) 51%);
}
body[data-release-ui] .refined-workspace .online-studio :is(#pick-image, .workspace-add) {
  background: var(--refined-accent);
  color: var(--refined-on-accent);
}
body[data-release-ui] .refined-workspace #pick-image::before {
  background: var(--refined-on-accent);
}
body[data-release-ui] #process.process-section {
  background: var(--refined-paper);
}
body[data-release-ui] #process.process-section :is(h2, h3) {
  color: var(--refined-ink);
}
body[data-release-ui] #process.process-section p {
  color: var(--refined-muted);
}
.refined-visual :is(.hero-actions, .home-faq-cta) .button.primary {
  border-radius: 999px;
  padding-inline: 21px;
}
.refined-workspace #pick-image,
.refined-workspace .workspace-add { border-radius: 999px; }


/* In cobalt, the hero and workspace use two continuous color bands. */
body[data-release-ui][data-theme="cobalt"] :is(.site-header, .refined-palette, main > .refined-visual:first-child) {
  background: #ebedfc;
}
body[data-release-ui][data-theme="cobalt"] .refined-workspace #online-studio {
  background: #f9f8f5;
  border-block-start: 0;
}
body[data-release-ui] .refined-workspace #studio-drop {
  background: transparent;
  border: 1px dashed var(--studio-outline);
}

@media (min-width: 741px) {
  body[data-release-ui] {
    --hero-gutter: clamp(28px, var(--editor-gutter, 4vw), var(--editor-gutter-max, 72px));
    --hero-width: min(1224px, calc(100% - var(--hero-gutter) * 2));
  }
  body[data-release-ui] .refined-hero.wrap,
  body[data-release-ui] .site-header-inner {
    width: var(--hero-width);
  }
  body[data-release-ui] .refined-palette {
    padding-inline: calc((100% - var(--hero-width)) / 2);
  }
  .refined-hero.wrap {
    grid-template-columns: minmax(0, var(--editor-copy, 1fr)) minmax(0, var(--editor-demo, 1fr));
    gap: clamp(25px, 3.4vw, 45px);
  }
  .refined-hero h1 {
    font-size: calc(clamp(34px, 13cqi, 94px) * var(--editor-title, 1.1));
  }
  :lang(zh-CN) .refined-hero h1 {
    font-size: calc(clamp(32px, 13.5cqi, 90px) * var(--editor-title, 1.1));
  }
  .refined-hero .hero-intro {
    max-width: 36ch;
    font-size: clamp(14px, 1.2vw, 16px);
  }
}
@media (741px <= width <= 900px) {
  body[data-release-ui] .site-header-inner { flex-wrap: wrap; }
  body[data-release-ui] .site-header .preview-page-links {
    order: 3;
    width: 100%;
    padding-bottom: 8px;
  }
  body[data-release-ui] .site-header .site-tools { margin-inline-start: auto; }
}


body[data-release-ui] .refined-palette { flex-wrap: wrap; align-items: center; gap: 8px 14px; }


.refined-workspace .quality-switch[hidden] { display: none !important; }


.process-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.process-capability {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-content: center;
  column-gap: 12px;
  min-height: 100px;
  padding: 12px;
  border: 1px solid var(--refined-line);
  border-radius: 12px;
  background: var(--refined-surface);
}
.process-capability .tech-diagram {
  grid-row: span 2;
  align-self: center;
  height: 56px;
  color: var(--refined-ink);
}
.process-capability .tech-diagram svg { width: 100%; height: 100%; scale: 1.1; }
.process-capability h3 { margin: 0; font-size: 15px; line-height: 1.3; }
.process-capability p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; }
.process-capability .tech-diagram :is(.tech-accent, .tech-nodes, .tech-ghost) { stroke: var(--refined-emphasis); }
.process-capability .tech-diagram .tech-nodes { fill: var(--refined-surface); }
.process-capability .tech-diagram .tech-cutout { fill: var(--refined-tint); }
@media (max-width: 900px) {
  .process-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .process-capabilities { grid-template-columns: 1fr; }
}

.process-capabilities-heading {
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--refined-line);
}
body #process.process-section .process-capabilities-heading .eyebrow {
  color: var(--refined-emphasis);
  margin: 0 0 12px;
}
.process-capabilities-heading #process-capabilities-title {
  font-size: clamp(27px, 4vw, 48px);
  line-height: 1.13;
}
.process-capabilities-heading > p:last-child {
  margin-top: 12px;
  max-width: 62ch;
}

body #process.process-section .process-subheading {
  color: var(--refined-ink);
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.process-capabilities-heading {
  margin-top: 28px;
  padding-top: 0;
  border: 0;
}
.process-capabilities { margin-top: 0; }
.process-capability {
  grid-template-columns: 86px minmax(0, 1fr);
  min-height: 130px;
  padding: 16px;
}
.process-capability .tech-diagram { height: 80px; }

.process-section .process-intro {
  display: block;
}
.process-section .process-intro > p {
  max-width: 65ch;
  margin-top: 12px;
}

#process .step-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(3px, 1.2vw, 14px);
  padding: 10px;
}
#process .flow-photo {
  position: relative;
  margin: 0;
  width: min(35%, 112px);
  min-width: 0;
  aspect-ratio: 1;
  border: 1px solid var(--refined-outline);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 16px #10132618;
}
#process .flow-upload .flow-photo {
  width: min(45%, 126px);
  outline: 1px dashed var(--refined-outline);
  outline-offset: 5px;
}
#process .flow-photo img { border-radius: inherit; }
#process .flow-art { background: #101018; }
.flow-badge {
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: grid;
  place-items: center;
  width: 24px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--refined-accent);
  color: var(--refined-on-accent);
  font-weight: 700;
}
.flow-connector { color: var(--refined-emphasis); font-weight: 700; }
.flow-target {
  position: absolute;
  inset: 28% 28% 25%;
  border: 1px dashed var(--refined-accent);
  border-radius: 4px;
}

.site-header .site-logo .site-tagline { display: none; }
.site-header .site-logo:has(.redesign-mark) { gap: 5px; }
.site-header .site-logo .redesign-mark { margin-inline-end: 0; }
.site-header .site-logo:has(.redesign-mark)::after {
  content: "ART" / "";
  color: var(--refined-emphasis);
  font: 700 12px/1 var(--heading-font);
  letter-spacing: .05em;
}
body .site-header .site-links { margin-inline-start: 0; justify-content: center; }
@media (min-width: 901px) {
  body .site-header .site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
  }
  body .site-header .site-logo { justify-self: start; }
  body .site-header .site-tools { justify-self: end; margin: 0; }
}
@media (max-width: 900px) {
  body .site-header .site-header-inner { flex-wrap: wrap; }
  body .site-header .site-links { order: 3; width: 100%; grid-column: 1 / -1; }
}

.refined-palette:not(:has(.hero-layout-editor)) { display: none !important; }
.site-header .header-theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--refined-outline);
  border-radius: 50%;
  background: transparent;
  color: var(--refined-emphasis);
  font: 20px/1 system-ui, sans-serif;
}
.site-header .header-theme-toggle:hover { background: var(--refined-tint); }
.site-header .header-theme-toggle:focus-visible { outline: none; box-shadow: inset 0 0 0 1px currentColor; }

.refined-visual :is(.hero-actions, .home-faq-cta) .button.primary {
  box-shadow: 0 5px 18px color-mix(in srgb, var(--refined-accent) 27%, transparent);
  transition: box-shadow .2s ease, background-color .2s ease, transform .2s ease;
}
.refined-visual :is(.hero-actions, .home-faq-cta) .button.primary:hover {
  box-shadow: 0 7px 22px color-mix(in srgb, var(--refined-accent) 36%, transparent);
}

.refined-visual :is(.hero-actions, .home-faq-cta) .button.primary {
  min-inline-size: 158px;
  min-block-size: 48px;
  padding-inline: 25px;
}
@media (min-width: 741px) {
  .refined-visual .refined-hero .hero-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: clamp(10px, 2vw, 26px);
    padding-bottom: 0;
  }
  .refined-visual .refined-hero .hero-actions {
    margin-top: auto;
    padding-top: 24px;
  }
  .refined-visual .refined-hero .demo { align-self: end; }
}

body .site-header .site-links a:is([aria-current="page"], [aria-current="location"]) {
  color: var(--refined-emphasis);
  font-weight: 700;
}


/* Let the primary button shadow extend beyond the hero content edge. */
.refined-visual .refined-hero { overflow: visible; }

#comparison .compare-pane img {
  pointer-events: none;
  user-select: none;
}
#comparison .image-label.result-label {
  left: auto;
  right: 9px;
  border-color: #555663;
  color: #fff;
  background: #23232a;
}
.gallery-meta .demo-background {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery-meta .demo-background { transition: transform .16s ease; }
  .gallery-meta .demo-background:hover { transform: translateY(-2px); }
}
#comparison[data-background="white"] .after { background: #fff; }
#comparison[data-background="black"] .after { background: #000; }
#comparison[data-background="transparent"] .after {
  background: conic-gradient(#e3e4e7 25%, #fff 0 50%, #e3e4e7 0 75%, #fff 0) 0 0 / 16px 16px;
}

.site-header .language-picker > span { display: none; }
body .site-header .header-theme-toggle,
body .site-header .header-theme-toggle:hover {
  border: 0;
  background: transparent;
}
body .site-header .language-picker .lang-toggle,
body[data-theme] .site-header .language-picker .lang-toggle {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
body[data-theme] .site-header .language-picker .lang-toggle {
  field-sizing: content;
  width: auto;
  min-width: 0;
  padding-inline: 4px 2px;
}
body .site-header .language-picker .lang-toggle:focus-visible {
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body[data-theme] .site-header .account-links button[data-auth-open="login"] {
  padding: 7px 12px;
  border: 1px solid var(--refined-outline);
  border-radius: 999px;
  background: transparent;
}

@media (min-width: 741px) {
  .refined-visual .refined-hero .hero-actions { margin-bottom: 6px; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .refined-visual :is(.hero-actions, .home-faq-cta) .button.primary:hover { transform: translateY(-4px); }
}
.refined-workspace #pick-image::before { content: none; }

body .site-header .language-picker .lang-toggle:is(:focus, :focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

.home-faq {
  margin-top: clamp(36px, 6vw, 72px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--refined-line);
}
.home-faq h2 { font-size: clamp(24px, 3.6vw, 42px); line-height: 1.15; }
.home-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  margin-top: 24px;
}
.home-faq-grid > div { border-top: 1px solid var(--refined-line); padding-top: 14px; }
.home-faq-grid h3 { font-size: 17px; letter-spacing: -.025em; }
.home-faq-grid p { margin-top: 6px; font-size: 14px; line-height: 1.65; }
.home-faq-cta { margin-top: 36px; padding: 28px 16px; text-align: center; background: var(--refined-tint); border-radius: 14px; }
.home-faq-cta h2 { font-size: clamp(21px, 3vw, 32px); }
.home-faq-cta .button { margin-top: 22px; border-radius: 999px; }
@media (max-width: 600px) {
  .home-faq-grid { grid-template-columns: 1fr; gap: 14px; }
}

body[data-release-ui] :is(.site-header, #online-studio),
body[data-release-ui] #online-studio :is(h1, h2, h3) { font-family: var(--body-font); }
body[data-release-ui] :is(h1, h2, h3):lang(zh-CN) { font-family: "Noto Sans SC", var(--body-font); }
/* Results and export controls inherit the active homepage theme. */
body[data-release-ui] #online-studio :is(.batch-name, .export-options legend, .export-options label, .quality-control output) {
  color: var(--refined-ink);
  font-family: var(--body-font);
}
body[data-release-ui] #online-studio :is(.export-options small, #export-location, #export-message) { color: var(--refined-muted); }
body[data-release-ui] #online-studio .export-panel { border-color: var(--refined-line); }
body[data-release-ui] #online-studio .export-options input { accent-color: var(--refined-accent); }
body[data-release-ui] #online-studio :is(.export-color input, #export-hex) {
  border-color: var(--refined-line);
  background: var(--refined-surface);
  color: var(--refined-ink);
}
body[data-release-ui] #online-studio :is(.batch-retry, .export-actions button, .gallery-download) {
  border: 1px solid var(--refined-outline);
  border-radius: 999px;
  background: var(--refined-surface);
  color: var(--refined-emphasis);
  font-family: var(--body-font);
  font-weight: 650;
}
body[data-release-ui] #online-studio :is(a.credit-recharge, .batch-info a[download], #export-all, #studio-download) {
  border: 1px solid var(--refined-accent);
  border-radius: 999px;
  background: var(--refined-accent);
  color: var(--refined-on-accent);
  font-family: var(--body-font);
  font-weight: 700;
}
body[data-release-ui] #online-studio .batch-info a[download]::before { content: none; }
body[data-release-ui] #online-studio .batch-info a[download]:hover { box-shadow: 0 4px 12px color-mix(in srgb, var(--refined-accent) 24%, transparent); }
body[data-release-ui] #online-studio :is(.batch-original, .batch-close) {
  background: var(--refined-surface);
  color: var(--refined-ink);
  border-color: var(--refined-line);
}
body[data-release-ui] #online-studio .batch-card .batch-state { font-family: var(--body-font); color: inherit; }
body[data-release-ui] #online-studio :is(button, a, input):focus-visible {
  outline: none; box-shadow: inset 0 0 0 1px currentColor;
}

body[data-release-ui] #online-studio .workspace-credits .completed-gallery-button {
  border: 0;
  background: none;
}
body[data-release-ui] #online-studio .workspace-credits :is(.completed-gallery-button, p[role=status]) {
  color: var(--refined-emphasis);
}
body[data-release-ui] #online-studio .batch-overlay {
  background: color-mix(in srgb, var(--refined-surface) 68%, transparent);
  color: var(--refined-ink);
}
body[data-release-ui] #online-studio .batch-card[data-state=done] .batch-overlay {
  background: color-mix(in srgb, var(--refined-surface) 92%, transparent);
}
body[data-release-ui] .completed-gallery .gallery-all {
  border: 1px solid var(--refined-accent);
  border-radius: 999px;
  background: var(--refined-accent);
  color: var(--refined-on-accent);
  font: 700 14px/1.3 var(--body-font);
  padding: 10px 19px;
}
body[data-release-ui] .completed-gallery .gallery-all:disabled { opacity: .5; }
body[data-release-ui] .completed-gallery {
  background: #f9f8f5;
  border-color: var(--refined-line);
  color: var(--refined-ink);
}
body[data-release-ui][data-theme="lime"] .completed-gallery {
  background: color-mix(in srgb, var(--refined-paper) 82%, #000);
}
body[data-release-ui] .completed-gallery .completed-grid article {
  background: var(--refined-surface);
  border-color: var(--refined-line);
}
body[data-release-ui] .completed-gallery :is(.gallery-download, .completed-gallery-head button) {
  background: var(--refined-surface);
  border-color: var(--refined-outline);
  color: var(--refined-ink);
}


/* Shared account controls use the release palette on both pages. */
body[data-release-ui] :is(.site-header, .export-picker) .account-menu,
body[data-release-ui] .account-dialog {
  background: var(--refined-surface);
  border-color: var(--refined-line);
  color: var(--refined-ink);
  font-family: var(--body-font);
}
body[data-release-ui] :is(.site-header, .export-picker) .account-menu { z-index: 12; box-shadow: 0 8px 24px #0002; }
body[data-release-ui] :is(.site-header, .export-picker) .account-menu :is(a, button) {
  color: var(--refined-ink);
  border-radius: 5px;
}
body[data-release-ui] :is(.site-header, .export-picker) .account-menu :is(a, button):is(:hover, :focus-visible) {
  background: var(--refined-tint);
  color: var(--refined-emphasis);
}
body[data-release-ui] .account-dialog :is(.account-close, .password-eye, .password-copy) { color: var(--refined-ink); }
body[data-release-ui] .account-dialog :is(.account-divider, .account-tabs button, .account-summary, .account-password-note) { color: var(--refined-muted); }
body[data-release-ui] .account-dialog .account-tabs { border-color: var(--refined-line); }
body[data-release-ui] .account-dialog .account-divider::before,
body[data-release-ui] .account-dialog .account-divider::after { background: var(--refined-line); }
body[data-release-ui] .account-dialog input:not([type=checkbox]) {
  background: var(--refined-paper);
  border-color: var(--refined-outline);
  color: var(--refined-ink);
}
body[data-release-ui] .account-dialog input::placeholder { color: var(--refined-muted); opacity: 1; }
body[data-release-ui] .account-dialog input[type=checkbox] { accent-color: var(--refined-accent); }
body[data-release-ui] .account-dialog :is(.account-submit, .account-tabs button[aria-selected=true]) {
  border-radius: 999px;
  background: var(--refined-accent);
  color: var(--refined-on-accent);
}
body[data-release-ui] .account-dialog :is(a, button, input):focus-visible,
body[data-release-ui] .account-menu :is(a, button):focus-visible {
  outline: none; box-shadow: inset 0 0 0 1px currentColor;
}
body[data-release-ui][data-theme="lime"] .account-dialog #account-message[style*="color"] { color: #ffb4a8 !important; }

body[data-release-ui] .language-picker { position: relative; }
body[data-release-ui] .language-picker select[hidden] { display: none; }
body[data-release-ui] .language-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 6px 2px;
  background: transparent;
  color: var(--refined-ink);
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}
body[data-release-ui] .language-menu-trigger::after { content: '▾'; font-size: .75em; }
body[data-release-ui] .language-menu-trigger:focus-visible { outline: none; box-shadow: inset 0 0 0 1px currentColor; }
body[data-release-ui] :is(.site-header, .export-picker) .language-menu button[aria-pressed=true] { color: var(--refined-emphasis); font-weight: 700; }

body[data-release-ui] :is(.site-header, .export-picker) .language-menu button {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
body[data-release-ui] :is(.site-header, .export-picker) .language-menu button[aria-pressed=true] { font-weight: 700; }
body[data-release-ui] :is(.site-header, .export-picker) .language-menu button:is(:hover, :focus-visible) {
  background: var(--refined-tint);
}

body[data-release-ui][data-theme="lime"] .refined-workspace .upload-paper {
  background: #dce4ee;
  border-color: #a6b5c7;
}
body[data-release-ui][data-theme="lime"] .refined-workspace .upload-paper i {
  background: linear-gradient(45deg, #a6b5c7 49%, #eff3f8 51%);
}

body[data-release-ui][data-theme="lime"] .process-capability .tech-detail-fill { fill: #25323e; }
body[data-release-ui][data-theme="lime"] .process-capability .tech-stack-front { fill: var(--refined-surface); }

body[data-release-ui][data-theme="lime"] #studio-drop .upload-paper :is(svg, b) { color: #344963; }

#comparison:is([data-active-case^="gallery-"], [data-active-case="tablecloth"]) .before { padding: 0; }
#comparison:is([data-active-case^="gallery-"], [data-active-case="tablecloth"]) #source { object-fit: cover; }

#process .flow-upload { padding: 0; overflow: hidden; }
#process .flow-upload .process-capture-photo { display: block; width: 100%; height: 100%; object-fit: cover; }

#process .flow-upload { position: relative; }
.process-capture-scan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #e8ff80;
  pointer-events: none;
}
.capture-scan-band { transform: translateX(-174px); }
@media (prefers-reduced-motion: no-preference) {
  .capture-scan-band { animation: capture-scan-horizontal 4.6s linear infinite; }
}
@keyframes capture-scan-horizontal {
  0% { transform: translateX(-174px); }
  43%, 100% { transform: translateX(390px); }
}

#process .reconstruction-stage { padding: 0; background: #171b22; }
#process .reconstruction-stage > * { position: absolute; inset: 0; width: 100%; height: 100%; }
#process .reconstruction-source { object-fit: cover; }
.reconstruction-outline { color: #14f1b0; opacity: 0; z-index: 1; pointer-events: none; }
.reconstruction-line { stroke-dasharray: 1; }
.reconstruction-sparks {
  stroke: currentColor;
  stroke-width: 9;
  stroke-dasharray: .002 .036;
  filter: drop-shadow(0 0 5px #14f1b0);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .reconstruction-outline { animation: reconstruction-lines 13s ease-in-out infinite; }
  .reconstruction-line { animation: reconstruction-draw 13s ease-out infinite; }
  .reconstruction-sparks { animation: reconstruction-edge-glow 13s linear infinite; }
}
@keyframes reconstruction-lines {
  0%, 5.385%, 90.692%, 100% { opacity: 0; }
  10%, 83% { opacity: 1; }
}
@keyframes reconstruction-draw {
  0%, 5.385% { stroke-dashoffset: 1; }
  16.154%, 100% { stroke-dashoffset: 0; }
}
@keyframes reconstruction-edge-glow {
  0%, 14.615% { opacity: 0; stroke-dashoffset: .19; }
  17.692%, 23.846% { opacity: 1; }
  29.231%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
#process .delivery-stage {
  padding: 0;
  background: repeating-conic-gradient(#e0e2e6 0% 25%, #fff 0% 50%) 0 0 / 14px 14px;
}
.delivery-artwork {
  position: relative;
  height: 91%;
  max-width: 88%;
  aspect-ratio: 1.5;
  margin: 0;
}
#process .delivery-artwork img { display: block; object-fit: contain; }
.reconstruction-mesh { opacity: .48; }
@media (prefers-reduced-motion: no-preference) {
  .reconstruction-mesh { animation: reconstruction-mesh-on 13s ease-in-out infinite; }
}
@keyframes reconstruction-mesh-on {
  0%, 11.538%, 33.077%, 100% { opacity: 0; }
  17.692%, 25.385% { opacity: .32; }
}
.refined-visual :is(.hero-actions, .home-faq-cta) .button.primary span[data-zh] { font-size: 1.12em; }
.refined-visual :is(.hero-actions, .home-faq-cta) .button.primary svg { flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-speed-trails path { animation: hero-speed-slide 1.15s linear infinite; }
  .hero-speed-trails path:nth-child(2) { animation-delay: -.26s; }
  .hero-speed-trails path:nth-child(3) { animation-delay: -.52s; }
}
@keyframes hero-speed-slide {
  0% { transform: translateX(-65px); opacity: 0; }
  25%, 67% { opacity: 1; }
  100% { transform: translateX(85px); opacity: 0; }
}

@media (min-width: 1100px) {
  body[data-release-ui] .refined-hero.wrap {
    width: min(70vw, 1224px);
    grid-template-columns: minmax(0, .855fr) minmax(0, 1fr);
    gap: clamp(12px, 1vw, 18px);
    position: relative;
    left: min(2.2vw, 35px);
    padding-block: clamp(44px, 4vw, 64px) clamp(32px, 2.6vw, 42px);
  }
  .refined-visual .refined-hero .hero-copy { padding-top: 8px; }
  .refined-visual .refined-hero .hero-actions { margin-bottom: 0; padding-top: 16px; }
  .refined-hero .hero-intro { margin-top: 12px; }
  :lang(zh-CN) .refined-hero h1 { font-size: clamp(44px, 16cqi, 74px); line-height: 1.08; }
  .refined-hero h1 { font-size: clamp(42px, 15cqi, 71px); }
}

.refined-visual .hero-actions .button.primary { position: relative; top: -5px; }

html[data-theme-reveal="lime"] {
  --theme-reveal-start: 100% 0%;
  --theme-reveal-end: 0% 100%;
}
html[data-theme-reveal="cobalt"] {
  --theme-reveal-start: 0% 100%;
  --theme-reveal-end: 100% 0%;
}
html[data-theme-reveal]::view-transition-old(root),
html[data-theme-reveal]::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
html[data-theme-reveal]::view-transition-new(root) {
  animation: theme-ellipse-reveal 680ms cubic-bezier(.35,.05,.2,1) both;
}
@keyframes theme-ellipse-reveal {
  from { clip-path: ellipse(0vmax 0vmax at var(--theme-reveal-start)); }
  to { clip-path: ellipse(153vmax 146vmax at var(--theme-reveal-end)); }
}

:is(.secondary-hero, .pricing-hero) {
  position: relative;
  isolation: isolate;
}

:is(.secondary-hero-inner, .pricing-hero .pricing-inner) { position: relative; z-index: 1; }
.delivery-pixel-reveal { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.delivery-artwork.is-pixelating img { opacity: 0; }
.refined-visual:has(> .hero-paths) { position: relative; isolation: isolate; }
.hero-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  stroke-width: 1;
  mask-image: linear-gradient(transparent 3%, #000 28%, #000 81%, transparent 100%);
}
.hero-paths > path { stroke: var(--hero-muted); opacity: .16; }
.refined-visual > .hero-paths > path { opacity: .06; }
.refined-visual:has(> .hero-paths) > .refined-hero { position: relative; }

body[data-release-ui] #online-studio.batch-visible-running .workspace-modes {
  display: none !important;
}
body[data-release-ui] #online-studio .workspace-modes {
  width: min(100%, 435px);
  margin: 20px auto 24px;
  padding: 4px;
  gap: 4px;
  background: var(--refined-tint);
  border-color: var(--refined-line);
  border: 0;
  box-shadow: none;
}
body[data-release-ui] #online-studio .workspace-modes .quality-slider {
  background: var(--refined-surface);
  border: 0;
  box-shadow: 0 2px 5px #00000014;
}
body[data-release-ui] #online-studio .workspace-mode-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
}
body[data-release-ui] #online-studio .workspace-mode-check {
  display: none;
  flex: none;
  width: .85em;
  height: .85em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body[data-release-ui] #online-studio .quality-choice[aria-pressed="true"] .workspace-mode-check {
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  body[data-release-ui] #online-studio .quality-choice[aria-pressed="true"] .workspace-mode-check path {
    stroke-dasharray: 1;
    animation: workspace-check-draw .25s ease-out both;
  }
}
@keyframes workspace-check-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
body[data-release-ui] #online-studio .workspace-modes .quality-choice {
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  border-color: transparent;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  min-height: 44px;
  padding: 5px 4px;
  font-size: 14px;
  color: var(--refined-ink);
}
body[data-release-ui] #online-studio .workspace-modes .quality-choice small {
  white-space: normal;
  font-size: 11px;
  color: var(--refined-muted);
}
body[data-release-ui] #online-studio .workspace-modes .quality-choice[aria-pressed="true"] {
  color: var(--refined-emphasis);
  border-color: transparent;
  background: transparent;
}
body[data-release-ui] #online-studio .workspace-modes .quality-choice:focus-visible {
  outline-color: var(--refined-emphasis);
}

body[data-release-ui] #online-studio .export-pro {
  margin-block: 20px 14px;
  padding-block-start: 14px;
  border-top: 1px solid var(--refined-line);
}
.export-pro summary { cursor: pointer; font-weight: 650; }
.export-pro h3 { margin: 0 0 12px; font-size: 1rem; }
.export-resolution {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
.export-resolution legend { margin-bottom: 6px; padding: 0; }
.export-resolution label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.export-resolution input { margin: 0; accent-color: var(--refined-accent); }
.export-pro > label { display: block; margin-block: 12px; }
.export-pro small { display: block; margin-top: 10px; color: var(--refined-muted); }
#export-canvas-fields:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 12px;
}
#export-canvas-fields label { display: grid; gap: 5px; }
#export-canvas-fields input {
  width: 100%;
  box-sizing: border-box;
  padding: 7px 10px;
  border: 1px solid var(--refined-line);
  border-radius: 7px;
  background: var(--refined-surface);
  color: var(--refined-ink);
  font: inherit;
}

#process .reconstruction-result {
  opacity: 0;
}
#process .reconstruction-result .delivery-artwork {
  position: absolute;
  max-width: none;
}
#process .reconstruction-result .delivery-artwork :is(img, canvas) { object-fit: fill; }
@media (prefers-reduced-motion: no-preference) {
  .reconstruction-stage:not(.reconstruction-ready) :is(.reconstruction-outline, .reconstruction-line, .reconstruction-sparks, .reconstruction-mesh) {
    animation-play-state: paused;
  }
  .reconstruction-ready .reconstruction-result {
    animation: reconstruction-result 13s 4.35s ease-in-out infinite;
  }
}
#process .reconstruction-result .delivery-artwork img { visibility: hidden; }
@keyframes reconstruction-result {
  0%, 49.538% { opacity: 1; }
  57.231%, 100% { opacity: 0; }
}

.delivery-stage .delivery-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  stroke: #2a48dc;
  stroke-width: 1.2px;
  stroke-dasharray: 4px 5px;
  stroke-linecap: round;
}
@media (prefers-reduced-motion: no-preference) {
  .delivery-stage .delivery-outline path { animation: delivery-outline-drift 5s linear infinite; }
}
@keyframes delivery-outline-drift {
  to { stroke-dashoffset: -9px; }
}

#contact .contact-main {
  grid-template-columns: 1fr;
}

body[data-release-ui] #online-studio .export-panel {
  border: 1px solid var(--refined-line);
  border-radius: 14px;
  padding: clamp(16px, 3vw, 30px);
  background: color-mix(in srgb, var(--refined-surface) 45%, transparent);
}
#online-studio .export-standard-title {
  margin: 0 0 18px;
  font: 650 1rem/1.4 var(--body-font);
  color: var(--refined-ink);
}

body[data-release-ui] #online-studio .export-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
}
#online-studio .export-options > label { display: grid; gap: 6px; min-width: 0; }
#online-studio .export-options > [hidden] { display: none; }
#online-studio .export-options select {
  width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--refined-line);
  border-radius: 8px;
  background: var(--refined-surface);
  color: var(--refined-ink);
  font: inherit;
}
body[data-release-ui] #online-studio .export-panel .export-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--refined-line);
}
#online-studio .export-panel #export-message:empty { display: none; }
@media (max-width: 520px) {
  body[data-release-ui] #online-studio .export-options { grid-template-columns: minmax(0, 1fr); }
}

#online-studio .export-column { min-width: 0; }
#online-studio .export-picker { position: relative; }
#online-studio .export-picker > .account-menu {
  inset-inline: 0 auto;
  top: calc(100% + 3px);
}
#online-studio .export-picker .account-menu[hidden],
#online-studio .export-column > [hidden] { display: none !important; }
#online-studio .export-picker .language-menu-trigger {
  box-shadow: none;
}
#online-studio .export-picker .language-menu-trigger:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#online-studio .export-column :is(.export-color, .export-jpg, .export-filename-example) {
  margin-top: 8px;
}
#online-studio .export-filename-example { display: block; color: var(--refined-muted); }

#online-studio .export-pro [hidden] { display: none !important; }

body[data-release-ui] #online-studio .export-picker > .language-menu-trigger {
  width: 100%;
  min-height: 38px;
  justify-content: space-between;
  padding: 6px 10px;
  border: 1px solid var(--refined-line);
  border-radius: 8px;
  background: var(--refined-surface);
  color: var(--refined-ink);
}
body[data-release-ui] #online-studio .export-picker > .language-menu-trigger:is(:focus, :focus-visible) {
  outline: none;
  box-shadow: none;
}

@media (min-width: 1200px) {
  body[data-release-ui] .refined-hero.wrap {
    --hero-original-width: min(70vw, 1224px);
    --hero-column-gap: clamp(12px, 1vw, 18px);
    width: calc(var(--hero-original-width) + 64px);
    grid-template-columns: minmax(0, calc((var(--hero-original-width) - var(--hero-column-gap)) * .460916)) minmax(0, 1fr);
  }
  body[data-release-ui] .refined-hero #comparison {
    aspect-ratio: 1.73;
  }
}

#comparison .comparison-white-fade {
 position: absolute;
 inset: 0;
 z-index: 8;
 background: #fff;
 opacity: 0;
 pointer-events: none;
}




.refined-hero #headline :is(.title-flip-front, .title-flip-top) { background: transparent; }
@media (prefers-reduced-motion: reduce) {
  .refined-hero #headline .title-flip-source { opacity: 1; }
  .refined-hero #headline .title-flip-visual { display: none; }
}

.refined-hero #headline .title-flip-source {
  position: absolute;
  inset: 0;
}
.refined-hero #headline .title-flip-visual { position: relative; inset: auto; }
@media (prefers-reduced-motion: reduce) {
  .refined-hero #headline .title-flip-source { position: static; }
}

:lang(en) .refined-hero #headline {
  font-size: min(71px, 11.5cqi);
}
:lang(en) .refined-hero #headline > span:not(.title-flip-source, .title-flip-visual),
:lang(en) .refined-hero #headline :is(.title-flip-source, .title-flip-visual) > span {
  white-space: nowrap;
}
/* Keep translated headings inside their own grid column without clipping text. */
body[data-release-ui] .refined-hero .hero-copy { min-width: 0; }
body[data-release-ui] .refined-hero #headline { min-inline-size: 0; max-inline-size: 100%; overflow-wrap: anywhere; }
body[data-release-ui] .refined-hero #headline > span:not(.title-flip-source, .title-flip-visual),
body[data-release-ui] .refined-hero #headline :is(.title-flip-source, .title-flip-visual) > span {
 white-space: normal;
 overflow-wrap: anywhere;
 max-inline-size: 100%;
}
body[data-release-ui] .refined-hero #headline .title-flip-word {
 max-inline-size: 100%;
 white-space: normal;
 overflow-wrap: anywhere;
}
body[data-release-ui] .refined-hero #headline.is-browser-translated .title-flip-source {
 position: relative;
 inset: auto;
 opacity: 1;
 pointer-events: auto;
}
body[data-release-ui] .refined-hero #headline.is-browser-translated .title-flip-visual { display: none; }
body[data-release-ui] .refined-hero #headline.is-browser-translated :is(span, font) {
 white-space: normal;
 overflow-wrap: anywhere;
}

/* Fade the grid into the white workbench at the edges. */
body[data-release-ui]:is([data-theme="cobalt"], [data-theme="warm-white"]) .refined-workspace #online-studio {
  background:
    radial-gradient(ellipse 60% 70% at center, transparent 22%, #fff 100%),
    linear-gradient(to right, rgba(55, 70, 120, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(55, 70, 120, .045) 1px, transparent 1px),
    #fff;
  background-size: auto, 24px 24px, 24px 24px, auto;
  background-position: center;
}
body[data-release-ui]:is([data-theme="cobalt"], [data-theme="warm-white"]) .refined-workspace #studio-drop:not(:hover):not(.drag-over) {
  background: transparent;
}


body[data-release-ui] :is(.language-menu-trigger,.account-profile)::after,
body[data-release-ui] #online-studio .export-pro summary::after {
 content:""; display:inline-block; flex:0 0 1em; width:1em; height:1em;
 margin:0 0 0 .45em; vertical-align:middle; border:0;
 background:currentColor; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 5h11a.8.8 0 0 1 .57 1.36l-5.5 5.5a.8.8 0 0 1-1.14 0l-5.5-5.5A.8.8 0 0 1 2.5 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
 transform:none; font-size:inherit;
}
body[data-release-ui] #online-studio .export-pro[open] summary::after {transform:rotate(180deg)}
body[data-release-ui] select:not([multiple]):not([size]):not([hidden]) {
 appearance:none; padding-inline-end:2.2em;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 5h11a.8.8 0 0 1 .57 1.36l-5.5 5.5a.8.8 0 0 1-1.14 0l-5.5-5.5A.8.8 0 0 1 2.5 5Z'/%3E%3C/svg%3E"); background-repeat:no-repeat;
 background-position:right .72em center; background-size:1em 1em;
}
body[data-release-ui]:is([data-theme="lime"],[data-theme="ink-black"]) select:not([multiple]):not([size]):not([hidden]) {
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23e8eaf3' d='M2.5 5h11a.8.8 0 0 1 .57 1.36l-5.5 5.5a.8.8 0 0 1-1.14 0l-5.5-5.5A.8.8 0 0 1 2.5 5Z'/%3E%3C/svg%3E");
}

body[data-release-ui] .site-header .account-profile::after { font-size: 13px; }

body[data-release-ui] :is(.language-menu-trigger,.account-profile)::after {
  box-sizing:border-box; width:13px; height:13px; min-width:13px; min-height:13px;
  flex:0 0 13px; padding:0; font-size:13px;
}

body[data-release-ui] .site-header :is(.language-menu-trigger,.account-profile)::after {
  width:12px!important;height:12px!important;min-width:12px!important;max-width:12px!important;
  min-height:12px!important;max-height:12px!important;flex:0 0 12px!important;
  transform:none!important;padding:0!important;
}
#comparison .ripple-dot {background:var(--refined-accent,#4656df);animation-play-state:running;}
