:root {
  color-scheme: light;
  --paper: #f7f6f3;
  --surface: #ffffff;
  --surface-subtle: #efede7;
  --ink: #14151c;
  --muted: #525462;
  --line: rgba(20, 21, 28, 0.095);
  --line-strong: rgba(20, 21, 28, 0.16);
  --white: #ffffff;
  --blue: #2c44c0;
  --accent: var(--blue);
  --tint: #ebf0ff;
  --shadow-xs: 0 1px 2px rgba(17, 20, 34, 0.04);
  --shadow-sm: 0 1px 2px rgba(17, 20, 34, 0.04), 0 10px 26px -14px rgba(17, 20, 34, 0.11);
  --shadow-md: 0 3px 8px rgba(17, 20, 34, 0.05), 0 22px 44px -18px rgba(17, 20, 34, 0.16);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Plus Jakarta Sans", "Manrope", "SUIT Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 450 1rem/1.74 var(--font);
  letter-spacing: -0.012em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 {
  line-height: 1.24;
  letter-spacing: -0.024em;
  font-weight: 760;
  word-break: keep-all;
  overflow-wrap: break-word;
}
p { overflow-wrap: break-word; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 5.25rem; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: .35rem; }
.shell { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.skip-link {
  position: absolute; z-index: 30; top: .6rem; left: .6rem; padding: .55rem 1.05rem;
  border-radius: .5rem; border: 1px solid var(--line-strong);
  transform: translateY(-180%); background: var(--white); box-shadow: var(--shadow-sm);
  font-weight: 650; text-decoration: none;
}
.skip-link:focus { transform: none; }

/* Header & Footer */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 243, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  transition: box-shadow 260ms var(--ease-out), border-color 260ms var(--ease-out), background-color 260ms var(--ease-out);
}
body:not(:has(.product-page)) .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header[data-scrolled] {
  background: rgba(247, 246, 243, 0.94);
  border-bottom-color: var(--line-strong);
  box-shadow: 0 10px 30px -22px rgba(17, 20, 34, 0.28);
}
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: clamp(3.5rem, 8vw, 7rem);
  background: rgba(255, 255, 255, 0.45);
}
.header-inner, .footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem;
}
.header-right { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.footer-inner { padding-block: 1.5rem; }
.footer-langs {
  border-top: 1px solid var(--line);
  padding-block: 1rem 1.45rem;
}
.footer-langs .shell {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .55rem;
  font-size: .8rem; color: var(--muted);
}
.footer-langs-label {
  font-weight: 680; color: var(--ink); margin-right: .35rem; font-size: .8rem;
}
.footer-langs a {
  display: inline-flex; align-items: center;
  text-decoration: none; color: var(--muted);
  padding: .24rem .62rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.footer-langs a:hover {
  color: var(--ink); border-color: var(--line-strong); background: var(--white);
}
.footer-langs a[aria-current="true"] {
  color: var(--accent); border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  background: var(--tint); font-weight: 700;
}

.lang-picker {
  display: inline-flex; align-items: center; position: relative;
}
.lang-picker select {
  min-height: 2.1rem; padding: .28rem .58rem;
  border: 1px solid var(--line-strong); border-radius: .55rem;
  background-color: var(--white);
  color: var(--ink); font: 600 .82rem/1.2 var(--font);
  cursor: pointer; box-shadow: var(--shadow-xs);
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.lang-picker select:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem clamp(.55rem, 2vw, 1.4rem); }
.site-header nav a, .site-footer nav a {
  color: var(--muted); font-size: .89rem; font-weight: 600; padding: .36rem .25rem;
  text-decoration: none; transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.site-header nav a:hover, .site-footer nav a:hover, a[aria-current="page"] { color: var(--ink); }
.header-utilities a {
  position: relative; padding: .38rem .55rem; border-radius: .5rem;
}
.header-utilities a:hover { background: rgba(20, 21, 28, 0.05); color: var(--ink); }
.header-utilities a[aria-current="page"] { color: var(--blue); background: var(--tint); }

.wordmark {
  display: inline-flex; align-items: center; gap: .62rem; flex-shrink: 0;
  font-size: .96rem; font-weight: 760; letter-spacing: -0.03em; text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 1.48rem; height: 1.48rem; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 3px; transform: rotate(-7deg);
  transition: transform 320ms var(--ease-out);
}
.wordmark:hover .brand-mark { transform: rotate(0deg) scale(1.05); }
.brand-mark i { border-radius: 3.5px; background: #2c44c0; }
.brand-mark i:nth-child(2) { background: #6b4aa8; }
.brand-mark i:nth-child(3) { background: #984360; }
.brand-mark i:nth-child(4) { background: #1c766d; }

.site-header .app-menu {
  justify-content: center; gap: .2rem; padding: .24rem;
  border-radius: .75rem; background: rgba(20, 21, 28, 0.045);
  border: 1px solid var(--line);
}
.site-header .app-menu-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .38rem;
  min-height: 2.15rem; padding: .3rem .72rem;
  border: 1px solid transparent; border-radius: .54rem;
  background: transparent; color: var(--muted);
  font-size: .86rem; font-weight: 620; line-height: 1.2; text-align: center; white-space: nowrap;
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out),
              border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.site-header .app-menu-link::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: .55; flex: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.site-header .app-menu-link:hover {
  color: var(--ink); background: rgba(255, 255, 255, 0.72);
}
.site-header .app-menu-link:hover::before { opacity: 1; transform: scale(1.15); }
.site-header .app-menu-link[aria-current="page"] {
  color: var(--accent); background: var(--white);
  border-color: rgba(20, 21, 28, 0.08);
  box-shadow: 0 1px 3px rgba(17, 20, 34, 0.08);
  font-weight: 700;
}
.site-header .app-menu-link[aria-current="page"]::before { opacity: 1; }

/* Product Palette Tokens */
.studiolink { --accent: #2c44c0; --tint: #ebf0ff; --tint-soft: rgba(44, 68, 192, 0.08); }
.hanglish { --accent: #5f3a99; --tint: #f0e9fb; --tint-soft: rgba(95, 58, 153, 0.08); }
.photoattic { --accent: #8c3a57; --tint: #f8e9ef; --tint-soft: rgba(140, 58, 87, 0.08); }
.photomaster { --accent: #146a62; --tint: #e1f3ef; --tint-soft: rgba(20, 106, 98, 0.08); }

/* Hero & Actions */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(2rem, 5vw, 4.75rem);
  padding-block: clamp(3rem, 6.8vw, 6.25rem) clamp(3rem, 6.4vw, 5.5rem);
}
.hero-copy { min-width: 0; }
.eyebrow, .role {
  color: var(--accent); font-size: .82rem; font-weight: 700; letter-spacing: 0.02em;
}
.hero h1 {
  margin-block: 1rem 1.25rem;
  font-size: clamp(2.55rem, 5.1vw, 4.45rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
}
.lede {
  color: var(--muted); max-width: 32rem;
  font-size: clamp(1rem, 1.32vw, 1.13rem); line-height: 1.76; letter-spacing: -0.012em;
  word-break: keep-all;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .68rem; }
.hero .actions { margin-top: 1.85rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.85rem; padding: .58rem 1.22rem;
  border: 1px solid transparent; border-radius: .68rem;
  font-size: .94rem; font-weight: 680; letter-spacing: -0.015em;
  text-decoration: none; line-height: 1.35; text-align: center;
  transition: transform 200ms var(--ease-out), background-color 200ms var(--ease-out),
              border-color 200ms var(--ease-out), color 200ms var(--ease-out),
              box-shadow 200ms var(--ease-out), filter 200ms var(--ease-out);
}
.button:active { transform: translateY(0) scale(0.985); }
.button.primary {
  color: var(--white); background: var(--accent);
  box-shadow: 0 2px 6px rgba(17, 20, 34, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.button.primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 8px 20px -8px rgba(17, 20, 34, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.button.secondary {
  color: var(--ink); background: var(--white);
  border-color: var(--line-strong); box-shadow: var(--shadow-xs);
}
.button.secondary:hover {
  transform: translateY(-1px);
  border-color: var(--accent); color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.text-link {
  color: var(--accent); font-weight: 660; font-size: .94rem;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 38%, transparent);
  text-decoration-thickness: 1.2px; text-underline-offset: .26em;
  transition: color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}
.text-link:hover { text-decoration-color: currentColor; }

.quick-links { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 1.55rem 0 0; padding: 0; }
.quick-links a {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--tint); color: var(--accent);
  font-size: .84rem; font-weight: 680; text-decoration: none;
  padding: .36rem .78rem; border-radius: 999px;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.quick-links a::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.quick-links a:hover { transform: translateY(-1px); }

/* App Marks */
.app-mark {
  display: grid; place-items: center; width: 2.85rem; height: 2.85rem;
  border-radius: .82rem; background: var(--tint); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 2px 6px -2px rgba(17, 20, 34, 0.08);
  flex: none; font-size: 1.65rem;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
img.app-mark { object-fit: cover; padding: 0; background: var(--white); border-radius: .88rem; }
img.app-icon-img.studiolink { background: #141c3c; border-color: rgba(158, 247, 255, 0.25); }
img.app-icon-img.photoattic { background: #142246; border-color: rgba(255, 255, 255, 0.2); }
img.app-icon-img.photomaster { background: #ffffff; padding: 2px; border-color: rgba(255, 255, 255, 0.28); }
.app-mark i { display: block; position: relative; width: .93em; height: .69em; font-style: normal; }
.app-mark.studiolink i::before, .app-mark.studiolink i::after,
.app-mark.photomaster i::before, .app-mark.photomaster i::after {
  content: ""; position: absolute; width: .64em; height: .46em;
  border: .075em solid currentColor; border-radius: .115em; background: var(--tint);
}
.app-mark.studiolink i::before, .app-mark.photomaster i::before { top: 0; left: 0; }
.app-mark.studiolink i::after, .app-mark.photomaster i::after { bottom: 0; right: 0; }
.app-mark.photomaster i::after { background: linear-gradient(135deg, var(--tint) 58%, #9dcec5 59%); }
.app-mark.hanglish i { width: auto; height: auto; }
.app-mark.hanglish i::before { content: "한"; font-size: .87em; font-weight: 850; }
.app-mark.photoattic i { width: .9em; height: .52em; border: .075em solid currentColor; border-radius: .12em; margin-top: .19em; }
.app-mark.photoattic i::before { content: ""; position: absolute; top: -.14em; left: 19%; width: 62%; border-top: .075em solid currentColor; }
.app-mark.photoattic i::after { content: ""; position: absolute; bottom: .12em; right: .14em; width: .1em; height: .1em; border-radius: 50%; background: currentColor; }

/* Home Catalog & Cards */
.catalog h2, .body-stack h2 {
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  letter-spacing: -0.032em;
  margin-bottom: 1.35rem;
}
.collection + .collection { margin-top: clamp(2.8rem, 6vw, 4.8rem); }
.app-grid, .list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.app-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), border-color 280ms var(--ease-out);
}
.app-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 85%, transparent), color-mix(in srgb, var(--accent) 32%, transparent));
  opacity: .24;
  transition: opacity 280ms var(--ease-out);
  pointer-events: none;
}
.app-card:hover, .app-card:focus-within, .list-card:focus-within {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
}
.app-card:hover::after, .app-card:focus-within::after { opacity: 1; }
.app-card:hover .app-mark { transform: scale(1.04); }
.card-heading { display: flex; align-items: center; gap: .85rem; }
.card-heading h3 { font-size: clamp(1.18rem, 2.2vw, 1.5rem); letter-spacing: -0.028em; }
.card-heading .role { font-size: .78rem; letter-spacing: .01em; margin-bottom: .12rem; }
.app-card .visual { margin-top: 1.2rem; }
.card-copy { flex: 1; margin-top: 1.05rem; }
.card-copy > p:first-child { font-size: .98rem; line-height: 1.66; color: var(--ink); }
.environment {
  font-size: .85rem; color: var(--muted); margin-top: .55rem;
  padding-top: .55rem; border-top: 1px dashed var(--line);
}
.stretched-link {
  display: inline-flex; align-items: center; gap: .36rem;
  text-decoration: none;
}
.stretched-link::before {
  content: "→"; order: 2; font-size: 1em; line-height: 1;
  transition: transform 220ms var(--ease-out);
}
.app-card:hover .stretched-link::before,
.list-card:hover .stretched-link::before { transform: translateX(4px); }
.stretched-link::after { content: ""; position: absolute; inset: 0; }
.app-card > a { align-self: start; margin-top: 1.1rem; font-size: .93rem; }

.photo-choice {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
  margin-top: 1.5rem;
}
.photo-choice-item {
  display: flex; align-items: center; gap: .85rem;
  padding: 1rem 1.25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 1rem;
  box-shadow: var(--shadow-xs);
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.photo-choice-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  box-shadow: var(--shadow-sm);
}
.photo-choice-item .app-mark { width: 2.25rem; height: 2.25rem; border-radius: .62rem; }
.photo-choice-item .text-link { font-size: .94rem; }
.help-band {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem;
  margin-top: clamp(2.8rem, 6.5vw, 5.2rem);
  padding: clamp(1.4rem, 4vw, 2.6rem);
  border: 1px solid rgba(44, 68, 192, 0.14); border-radius: 1.3rem;
  background: linear-gradient(135deg, #ffffff 0%, #f1f0fb 62%, #e9edff 100%);
  box-shadow: var(--shadow-sm);
}
.help-band h2 { margin-bottom: .45rem; }
.help-band p { color: var(--muted); max-width: 36rem; }

/* Card Visual Scenes */
.visual { min-width: 0; }
.visual figcaption {
  color: var(--muted); font-size: .78rem; margin-top: .45rem; letter-spacing: -0.01em;
}
.scene {
  position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 11.2rem; padding: .95rem; gap: .62rem; overflow: hidden;
  background: var(--tint); border: 1px solid color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: .88rem;
}
.scene > * { transition: transform 420ms var(--ease-out); }
.app-card:hover .scene > * { transform: scale(1.022); }
.studio-scene {
  background: radial-gradient(ellipse at 85% 15%, rgba(255, 255, 255, 0.7), transparent 65%),
              linear-gradient(148deg, #dce9ff, #e8e7ff);
}
.studio-scene.has-desk {
  padding: 0; aspect-ratio: 2.12; min-height: 11.4rem;
  background: #0d1326; border-color: rgba(44, 68, 192, 0.24);
}
.studio-scene-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 82%;
  opacity: 1; pointer-events: none;
}
.studio-scene.has-desk::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 14, 28, 0.1) 0%, transparent 45%, rgba(8, 12, 26, 0.68) 100%);
}
.studio-card-beam {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2;
}
.studio-card-beam .beam-studio {
  opacity: .88; filter: drop-shadow(0 0 6px rgba(143, 244, 255, 0.8));
}
.studio-card-pill {
  position: absolute; left: .68rem; bottom: .62rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .38rem;
  padding: .22rem .62rem; border-radius: 999px;
  background: rgba(11, 17, 36, 0.82); backdrop-filter: blur(10px);
  border: 1px solid rgba(158, 247, 255, 0.34); color: #e2f6ff;
  font: 680 .68rem var(--font-mono); letter-spacing: .01em;
}
.studio-card-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.studio-scene .device-composition { position: relative; z-index: 1; }
.studio-scene.has-desk .device-composition {
  position: absolute; right: .55rem; top: .55rem; width: 7.4rem; z-index: 3;
  padding: .24rem; border-radius: .52rem;
  background: rgba(10, 15, 32, 0.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.device-composition { width: min(90%, 24rem); aspect-ratio: 2.15; position: relative; }
.device {
  position: absolute; padding: 1%; background: #202438;
  border: 1px solid #4a506b; border-radius: 7%;
  box-shadow: 0 .65rem 1.4rem rgba(20, 22, 54, 0.28); container-type: inline-size;
}
.device.mac { width: 65%; height: 79%; top: 0; left: 6%; }
.device.mac::after { content: ""; position: absolute; left: -6%; bottom: -5%; width: 112%; height: 7%; background: #777e9d; border-radius: 0 0 .5rem .5rem; }
.device.tablet { width: 42%; height: 64%; bottom: 0; left: 44%; }
.device.phone { width: 15%; height: 55%; bottom: -3%; right: 2%; border-radius: 14%; }
.pointer { position: absolute; top: 41%; left: 54%; width: .68rem; height: .8rem; background: white; filter: drop-shadow(0 1px 2px #263056); clip-path: polygon(0 0, 100% 68%, 59% 69%, 46% 100%); }
.typing-scene { flex-wrap: wrap; align-content: center; background: radial-gradient(ellipse at 82% 20%, rgba(255, 255, 255, 0.65), transparent 60%), linear-gradient(148deg, #f3ecfc, #ece2fb); }
.sample-key, .sample-space {
  display: inline-block; border: 1px solid #d1bfe6; background: #fffcff;
  padding: .5rem .68rem; border-radius: .46rem; white-space: nowrap; color: #48296f;
  box-shadow: 0 3px 0 #ddcdec, 0 4px 10px -4px rgba(72, 41, 111, 0.16);
  font: 660 clamp(.78rem, 1.9vw, 1.06rem)/1.35 ui-monospace, var(--font);
}
.sample-space { font-size: .78rem; }
.sample-key.result { background: #5f3a99; border-color: #5f3a99; color: white; font-family: var(--font); box-shadow: 0 3px 0 #3f246b; }
.attic-scene {
  background: radial-gradient(ellipse at 85% 15%, rgba(255, 255, 255, 0.72), transparent 62%), linear-gradient(148deg, #faedf2, #f3dee7);
}
.attic-card-mini {
  display: grid; grid-template-columns: minmax(0, .92fr) auto minmax(0, 1.15fr);
  align-items: center; gap: .55rem; width: min(100%, 23rem);
}
.attic-mini-phone {
  display: grid; gap: .22rem; padding: .55rem .62rem; border-radius: .75rem;
  background: #141416; border: 1px solid #303036; color: #f6f6f7;
  box-shadow: 0 10px 22px -12px rgba(20, 16, 28, 0.45);
}
.attic-mini-phone .mini-pill {
  display: inline-block; width: fit-content; padding: .1rem .38rem; border-radius: 999px;
  background: #ffffff; color: #121212; font-size: .62rem; font-weight: 760;
}
.mini-thumb-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .2rem; margin-block: .14rem; }
.mini-thumb-row span { display: block; aspect-ratio: 1.35; border-radius: .24rem; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); }
.attic-mini-phone strong { font-size: .78rem; font-weight: 700; }
.attic-mini-phone .mini-mono { font: 600 .66rem var(--font-mono); color: #ffb6cd; }
.mini-arrow { color: #8c3a57; font-weight: 700; font-size: 1rem; }
.attic-mini-targets { display: grid; gap: .38rem; }
.attic-mini-chip {
  display: grid; gap: .08rem; padding: .42rem .55rem; border-radius: .56rem;
  background: rgba(255, 255, 255, 0.9); border: 1px solid #e3c4d0; color: #5b2639;
  box-shadow: 0 3px 10px -6px rgba(112, 51, 74, 0.2);
}
.attic-mini-chip b { font: 700 .64rem var(--font-mono); color: #8c3a57; letter-spacing: .02em; }
.attic-mini-chip span { font-size: .74rem; font-weight: 680; line-height: 1.25; }
.storage-node { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; color: #70334a; text-align: center; font-size: .8rem; font-weight: 720; }
.destinations { display: grid; grid-template-columns: 1fr 1fr; gap: .42rem; width: min(100%, 22rem); }
.destinations .storage-node {
  background: rgba(255, 255, 255, 0.85); border: 1px solid #e5c9d3;
  padding: .42rem; border-radius: .5rem; word-break: keep-all;
  box-shadow: 0 2px 6px -3px rgba(112, 51, 74, 0.12);
}
.branch { height: .92rem; width: 51%; border: 1px solid #ad687e; border-bottom: 0; border-radius: .3rem .3rem 0 0; position: relative; margin-top: .25rem; }
.branch::before { content: ""; position: absolute; left: 50%; bottom: 100%; height: .5rem; border-left: 1px solid #ad687e; }
.line-icon { width: 1.55rem; height: 1.08rem; border: 2px solid currentColor; border-radius: .2rem; position: relative; }
.mobile-icon { width: .8rem; height: 1.25rem; }
.drive-icon { height: .75rem; }
.drive-icon::after { content: ""; position: absolute; right: .18rem; top: .17rem; width: .16rem; height: .16rem; background: currentColor; border-radius: 50%; }
.browser-icon::after { content: ""; position: absolute; width: 100%; top: .18rem; border-top: 1px solid currentColor; }
.master-scene {
  background: radial-gradient(ellipse at 85% 18%, rgba(255, 255, 255, 0.65), transparent 62%), linear-gradient(148deg, #e3f5f1, #d5ece6);
}
.photo-frame {
  background: #fbfffe; border: 1px solid #9dc5bf; border-radius: .68rem;
  padding: .36rem; width: min(46%, 11.4rem); color: #16524d;
  font-size: .76rem; font-weight: 700; text-align: left;
  box-shadow: 0 8px 18px -10px rgba(20, 82, 77, 0.25);
}
.sample-photo {
  aspect-ratio: 1.54; border-radius: .34rem; overflow: hidden; display: block;
  background: #173840; margin-bottom: .32rem;
}
.sample-photo-svg, .sample-photo-img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pf-meta { display: flex; align-items: center; gap: .3rem; padding-inline: .12rem; }
.pf-meta b {
  display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: .3rem;
  background: #e1f3ef; color: #146a62; font: 700 .66rem var(--font-mono);
}
.photomaster .photo-frame:first-child { border: 2px solid #146a62; }
.photomaster .photo-frame:first-child .pf-meta b { background: #146a62; color: #ffffff; }

/* Inner, Guide, Support & Product Details */
.product-hero h1 { font-size: clamp(2.15rem, 4.3vw, 3.6rem); letter-spacing: -0.028em; line-height: 1.17; }
.inner { padding-top: clamp(2.8rem, 6.2vw, 5.2rem); min-height: 55vh; }
.inner h1 { font-size: clamp(2.1rem, 4.1vw, 3.3rem); letter-spacing: -0.028em; margin-bottom: .8rem; }
.intro .eyebrow { margin-bottom: .6rem; }
.intro .lede { max-width: 44rem; }
.body-stack { display: grid; gap: clamp(2.2rem, 5.5vw, 4.2rem); }
.list-grid { margin-top: 2.1rem; }
.list-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 1.1rem; padding: 1.35rem 1.45rem;
  display: flex; align-items: flex-start; gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.list-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: var(--shadow-md);
}
.list-card h2 { font-size: 1.18rem; margin-bottom: .35rem; letter-spacing: -0.025em; }
.list-card p { margin-bottom: .65rem; color: var(--muted); font-size: .95rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-grid article, .platform-row, .faq details, .steps li {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: .95rem; padding: 1.2rem 1.35rem;
  box-shadow: var(--shadow-xs);
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.feature-grid article:hover, .platform-row:hover {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  box-shadow: var(--shadow-sm);
}
.feature-grid h3, .platform-row h3, .steps h3 { font-size: 1.08rem; letter-spacing: -0.024em; margin-bottom: .42rem; }
.feature-grid p, .platform-row p, .steps p, .faq details p { color: var(--muted); font-size: .95rem; line-height: 1.68; }

.conditions {
  background: linear-gradient(135deg, var(--surface) 0%, var(--tint) 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-left: 3.5px solid var(--accent);
  border-radius: 1rem; padding: 1.45rem 1.6rem;
  box-shadow: var(--shadow-xs);
}
.conditions h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: .75rem; }
.conditions p { max-width: 58ch; }
.conditions p + p, .conditions a { margin-top: .6rem; }
.conditions a { display: inline-block; }

.platforms, .faq, .steps { display: grid; gap: .78rem; }
.platform-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1.2rem; }
.platform-row h3 { margin-bottom: .2rem; }
.offer { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: .7rem; margin-top: .25rem; }

/* Custom Accordion FAQ */
.faq details { padding: 0; overflow: hidden; }
.faq details[open] {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.12rem 1.35rem; font-weight: 680; font-size: 1rem;
  cursor: pointer; list-style: none; color: var(--ink);
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); background: rgba(20, 21, 28, 0.02); }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--tint); color: var(--accent);
  font-size: 1.15rem; font-weight: 500; line-height: 1;
  transition: transform 260ms var(--ease-out), background-color 220ms var(--ease-out), color 220ms var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background: var(--accent); color: var(--white);
}
.faq details p, .faq details a { margin: 0 1.35rem 1.15rem; max-width: 62ch; }
.faq details p + a { margin-top: -.45rem; display: inline-block; }

/* Timeline Steps */
.steps { padding: 0; list-style: none; counter-reset: step; gap: .9rem; }
.steps li {
  position: relative; counter-increment: step;
  display: flex; align-items: flex-start; gap: 1rem;
}
.steps li::before {
  content: counter(step); position: relative; z-index: 1;
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; flex: none;
  color: var(--accent); background: var(--tint);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 50%; font-size: .88rem; font-weight: 760;
  font-variant-numeric: tabular-nums;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute;
  left: calc(1.35rem + 0.95rem - 0.5px);
  top: 3.1rem; bottom: -.95rem;
  width: 1px; background: var(--line-strong);
  pointer-events: none;
}
.prose p { max-width: 48rem; margin-bottom: 1.05rem; line-height: 1.78; }

/* Legal, Policy & Support Contact */
.legal-page { max-width: 54rem; }
.legal-meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  margin-top: 1.25rem; padding: .85rem 1.15rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: .85rem;
  box-shadow: var(--shadow-xs); font-size: .88rem; color: var(--muted);
}
.legal-meta strong { color: var(--ink); font-weight: 680; margin-right: .35rem; }
.legal-sections { display: grid; gap: 1.25rem; margin-top: 1.85rem; }
.legal-section {
  background: var(--surface); border: 1px solid var(--line); border-radius: 1rem;
  padding: clamp(1.15rem, 2.5vw, 1.65rem); box-shadow: var(--shadow-xs);
}
.legal-section h2 { font-size: clamp(1.15rem, 2vw, 1.38rem); margin-bottom: .7rem; letter-spacing: -0.025em; }
.legal-section p { color: var(--muted); font-size: .96rem; line-height: 1.78; max-width: 66ch; }
.legal-section p + p { margin-top: .75rem; }
.legal-nav-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem;
  margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.legal-directory { margin-top: 2rem; }
.legal-directory > h2 { font-size: clamp(1.2rem, 2.1vw, 1.45rem); margin-bottom: .9rem; }
.legal-app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
.legal-app-card {
  display: flex; align-items: flex-start; gap: .85rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: .95rem;
  padding: 1.1rem 1.2rem; box-shadow: var(--shadow-xs);
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.legal-app-card:hover {
  border-color: color-mix(in srgb, var(--accent) 36%, var(--line));
  box-shadow: var(--shadow-sm);
}
.legal-app-card h3 { font-size: 1.04rem; margin-bottom: .25rem; }
.legal-app-card p { font-size: .88rem; color: var(--muted); line-height: 1.55; margin-bottom: .55rem; }
.legal-app-card .actions { gap: .45rem .9rem; }
@media (max-width: 47rem) {
  .legal-app-grid { grid-template-columns: 1fr; }
}
.support-contact-card {
  margin-top: 2rem; padding: clamp(1.3rem, 3vw, 2rem);
  background: linear-gradient(135deg, var(--surface) 0%, #f1f0fb 100%);
  border: 1px solid rgba(44, 68, 192, 0.16); border-radius: 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
}
.support-contact-card h2 { font-size: clamp(1.22rem, 2.2vw, 1.55rem); margin-bottom: .4rem; }
.support-contact-card p { color: var(--muted); max-width: 42rem; font-size: .95rem; }
.legal-links-inline { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: .75rem; font-size: .88rem; }

/* Home Stage (Dark Editorial Hero) */
.home-stage {
  color: #f4f6ff;
  background:
    radial-gradient(ellipse 68% 58% at 76% 14%, rgba(69, 92, 189, 0.34), transparent 68%),
    radial-gradient(ellipse 52% 45% at 14% 88%, rgba(95, 58, 153, 0.16), transparent 65%),
    linear-gradient(180deg, #0f1323 0%, #14192e 100%);
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.home-stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(186, 196, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(186, 196, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 85% 90% at 72% 42%, #000 10%, transparent 82%);
}
.home-stage::after, .app-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  transition: opacity 260ms var(--ease-out);
}
.home-stage::after {
  z-index: -1;
  background: radial-gradient(circle 340px at var(--glow-x, 75%) var(--glow-y, 38%), rgba(124, 145, 255, 0.16), transparent 72%);
}
.home-stage .eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .28rem .78rem; border-radius: 999px;
  background: rgba(188, 202, 255, 0.1);
  border: 1px solid rgba(188, 202, 255, 0.22);
  color: #cfd8ff; font-size: .8rem; font-weight: 660;
}
.home-stage .eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #9db2ff;
}
.home-stage .lede { color: #cbd2e8; }
.home-stage .primary {
  background: #f4f6ff; color: #12172c;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.home-stage .primary:hover { background: #ffffff; filter: none; }
.home-stage .secondary {
  background: rgba(255, 255, 255, 0.07); color: #f1f4ff;
  border-color: rgba(186, 199, 245, 0.28); box-shadow: none;
}
.home-stage .secondary:hover {
  background: rgba(255, 255, 255, 0.13); border-color: rgba(215, 224, 255, 0.6); color: #ffffff;
}
.home-stage :focus-visible, .demo-console :focus-visible { outline-color: #bfcfff; }
.home-hero { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1.5rem, 3.8vw, 3.2rem); }
.home-hero h1 { font-size: clamp(2.45rem, 4.7vw, 4.1rem); }
.catalog { padding-top: clamp(2.8rem, 6vw, 4.8rem); }
.home-stage .quick-links a {
  background: rgba(255, 255, 255, 0.065); color: #e2e7ff;
  border: 1px solid rgba(176, 190, 248, 0.22);
}
.home-stage .quick-links a:hover {
  background: rgba(255, 255, 255, 0.13); border-color: rgba(206, 216, 255, 0.5);
}
.home-stage .quick-links .studiolink a::before { background: #8fa6ff; }
.home-stage .quick-links .hanglish a::before { background: #c5a8ff; }
.home-stage .quick-links .photoattic a::before { background: #ffa6c4; }
.home-stage .quick-links .photomaster a::before { background: #7ce6d2; }

/* Interactive Demo Console */
.demo-console {
  min-width: 0;
  background: linear-gradient(180deg, rgba(24, 30, 50, 0.96), rgba(16, 20, 35, 0.99));
  color: #eef1ff; border: 1px solid rgba(145, 165, 224, 0.24); border-radius: 1.25rem;
  box-shadow: 0 28px 60px -18px rgba(4, 7, 18, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.console-header, .console-meta {
  padding: .82rem 1.05rem; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: .4rem .75rem;
}
.console-header { border-bottom: 1px solid rgba(145, 165, 224, 0.16); }
.console-header h2 { font-size: .95rem; font-weight: 700; letter-spacing: -0.02em; }
.console-header > span, .console-meta > span { color: #b6c0de; font-size: .81rem; }
.console-meta { border-top: 1px solid rgba(145, 165, 224, 0.16); font-size: .86rem; }
.demo-console .text-link { color: #d5dfff; font-size: .86rem; }
.console-tabs {
  display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: .26rem;
  padding: .5rem .65rem; border-bottom: 1px solid rgba(145, 165, 224, 0.14);
  background: rgba(10, 14, 26, 0.34);
}
.console-tabs button {
  min-width: 0; padding: .4rem .3rem; border: 1px solid transparent; border-radius: .5rem;
  background: transparent; color: #b7c0dc; font-size: .81rem; font-weight: 660;
  line-height: 1.25; overflow-wrap: anywhere;
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.console-tabs button:hover { color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.console-tabs button[aria-selected="true"] {
  color: #ffffff; background: rgba(128, 149, 222, 0.22);
  border-color: rgba(164, 182, 240, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.demo-unit { --signal: #a9bbff; --panel: #222a45; --panel-border: rgba(154, 173, 228, 0.32); padding: .85rem; }
.demo-unit.hanglish { --signal: #d5bcff; --panel: #2d2444; --panel-border: rgba(190, 160, 232, 0.34); }
.demo-unit.photoattic { --signal: #ffb6cd; --panel: #39243a; --panel-border: rgba(226, 152, 184, 0.34); }
.demo-unit.photomaster { --signal: #a7ecd9; --panel: #163b3b; --panel-border: rgba(120, 206, 192, 0.34); }
.lab-canvas {
  position: relative; min-height: 13.4rem; display: grid; align-content: center; gap: .55rem; padding: .85rem;
  border: 1px solid rgba(150, 170, 226, 0.24); border-radius: .78rem;
  background:
    repeating-linear-gradient(90deg, rgba(183, 196, 239, 0.045) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(rgba(183, 196, 239, 0.045) 0 1px, transparent 1px 24px),
    #181f33;
}
.lab-figure figcaption, .lab-static-note { margin: .5rem .18rem 0; color: #c7cfe6; font-size: .81rem; line-height: 1.55; }
.lab-controls { min-height: 3.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .42rem; padding-top: .6rem; font-size: .83rem; }
.lab-button, .lab-select select {
  min-height: 2.3rem; padding: .32rem .68rem; border: 1px solid var(--panel-border); border-radius: .5rem;
  color: #f1f4fd; background: var(--panel); font: inherit; font-weight: 660;
  transition: border-color 180ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.lab-button:hover:not(:disabled) { border-color: var(--signal); transform: translateY(-1px); }
.lab-button[aria-pressed="true"], .lab-button.lab-action { background: var(--signal); color: #161b29; border-color: var(--signal); }
.lab-button:disabled { opacity: .52; cursor: default; }
.lab-status { color: #cdd5ec; margin-left: .2rem; min-height: 1em; }
.lab-coordinates { color: var(--signal); font: 640 .78rem ui-monospace, SFMono-Regular, monospace; font-variant-numeric: tabular-nums; }
.lab-select, .lab-zoom { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .38rem; }
.lab-zoom input { inline-size: clamp(4rem, 14vw, 7rem); accent-color: var(--signal); margin: 0; }

.device-pair { display: grid; grid-template-columns: minmax(0, 1.2fr) clamp(3.3rem, 6vw, 4.1rem) minmax(0, 1fr); align-items: center; gap: .38rem; }
.device-panel {
  border: 1px solid rgba(154, 173, 228, 0.34); padding: .42rem; border-radius: .74rem;
  background: linear-gradient(180deg, #161d34, #0f1526); min-width: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 24px -12px rgba(4, 7, 18, 0.7);
}
.device-chrome { display: flex; align-items: center; justify-content: space-between; gap: .35rem; padding: .1rem .15rem .36rem; }
.chrome-dots { display: inline-flex; align-items: center; gap: 4px; }
.chrome-dots i { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; display: block; }
.chrome-dots i:nth-child(2) { background: #febc2e; }
.chrome-dots i:nth-child(3) { background: #28c840; }
.viewer-pill { width: 1.4rem; height: 4px; border-radius: 999px; background: rgba(186, 204, 255, 0.35); }
.device-panel p { color: #e4e9ff; line-height: 1.25; padding: 0; font-size: .76rem; font-weight: 700; }
.device-panel p span { color: var(--signal); font: 600 .66rem var(--font-mono); margin-left: .2rem; }
.chrome-live {
  display: inline-flex; align-items: center; gap: .26rem; padding: .08rem .38rem; border-radius: 999px;
  background: rgba(158, 247, 255, 0.14); border: 1px solid rgba(158, 247, 255, 0.32);
  color: #b7f5ff; font: 700 .58rem var(--font-mono); letter-spacing: .04em;
}
.chrome-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #4ade80; }
[data-link="off"] .chrome-live::before { background: #6b7280; }
.screen {
  position: relative; aspect-ratio: 1.43; overflow: hidden;
  border: 1px solid rgba(154, 173, 228, 0.34); border-radius: .42rem;
  background: #101629; container-type: inline-size;
}
.surface[tabindex="0"] { cursor: crosshair; }
.screen-editor {
  display: grid; grid-template-rows: auto 1fr auto;
  height: 100%; overflow: hidden; border-radius: inherit; white-space: nowrap; pointer-events: none;
  background: #0d1324; color: #d6e0ff; font-size: .64rem; font-size: clamp(.32rem, 5cqi, .86rem);
  font-family: var(--font-mono);
}
.editor-tab {
  display: flex; align-items: center; gap: .55em; padding: .34em .7em;
  background: #172038; border-bottom: 1px solid #2b3a5d; color: #e2eaff;
}
.editor-tab-active { display: inline-flex; align-items: center; gap: .24em; font-weight: 650; }
.editor-tab-dim { color: #7e8fb5; opacity: .82; }
.editor-tab-lan {
  margin-left: auto; padding: .08em .42em; border-radius: 999px;
  background: rgba(158, 247, 255, 0.12); color: #9ef7ff; font-size: .8em; font-weight: 700;
}
.editor-tab i { display: inline-block; width: .52em; aspect-ratio: 1; border-radius: 50%; background: #8fd8cc; }
.editor-workspace { display: grid; grid-template-columns: 1.9em minmax(0, 1fr); min-height: 0; }
.editor-rail {
  display: grid; align-content: start; gap: .42em; padding: .55em .42em;
  background: rgba(10, 15, 28, 0.72); border-right: 1px solid rgba(154, 173, 228, 0.14);
}
.editor-rail span { display: block; height: .26em; border-radius: 999px; background: rgba(164, 184, 232, 0.24); }
.editor-rail span.on { background: #9ef7ff; box-shadow: 0 0 6px rgba(158, 247, 255, 0.55); }
.screen-editor pre { margin: 0; padding: .55em .65em; line-height: 1.48; overflow: hidden; }
.screen-editor .ln { color: #5b6d96; margin-right: .35em; user-select: none; }
.screen-editor b { color: #caabfa; }
.screen-editor strong { color: #a4eadf; }
.editor-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: .24em .7em; background: #141c32; border-top: 1px solid #263454;
  color: #8ea1cb; font-size: .78em;
}
.editor-status span:first-child { color: #86efac; }
.device .screen-editor { font-size: clamp(.22rem, 4.8cqi, .63rem); grid-template-rows: auto 1fr; }
.device .editor-workspace { grid-template-columns: 1fr; }
.device .editor-rail, .device .editor-tab-dim, .device .editor-tab-lan, .device .editor-status { display: none; }
.device-bridge {
  height: 2px; background: linear-gradient(90deg, rgba(129, 150, 250, 0.35), #9cb0ff, rgba(129, 150, 250, 0.35));
  position: relative; border-radius: 999px;
}
.bridge-tag {
  position: absolute; bottom: .65rem; left: 50%; transform: translateX(-50%);
  padding: .1rem .34rem; border-radius: 999px; white-space: nowrap;
  background: rgba(140, 162, 255, 0.16); border: 1px solid rgba(164, 184, 255, 0.34);
  color: #d6e0ff; font: 600 .6rem var(--font-mono);
}
.device-bridge i {
  display: block; width: .46rem; height: .46rem; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: #edf2ff; box-shadow: 0 0 .7rem #a9bbff, 0 0 0 3px rgba(169, 187, 255, 0.22);
}
.lab-pointer {
  position: absolute; left: var(--host-x, 34%); top: var(--host-y, 53%);
  width: .92rem; height: 1.08rem; background: #ffffff;
  clip-path: polygon(0 0, 100% 68%, 58% 70%, 45% 100%);
  filter: drop-shadow(0 2px 6px rgba(130, 156, 255, 0.65));
}
.viewer .lab-pointer {
  left: var(--viewer-x, 34%); top: var(--viewer-y, 53%); background: #9ef7ff;
  filter: drop-shadow(0 0 8px rgba(158, 247, 255, 0.75));
  transition: left 55ms linear, top 55ms linear, opacity 200ms ease;
}
.lab-ripple {
  position: absolute; left: var(--host-x, 34%); top: var(--host-y, 53%);
  width: 2.2rem; height: 2.2rem; border-radius: 50%; pointer-events: none;
  border: 2px solid #9ef7ff; opacity: 0;
  transform: translate(-50%, -50%) scale(.2);
}
.viewer .lab-ripple { left: var(--viewer-x, 34%); top: var(--viewer-y, 53%); }
[data-ripple="active"] { animation: clickRipple 560ms var(--ease-out) forwards; }
@keyframes clickRipple {
  0% { opacity: .9; transform: translate(-50%, -50%) scale(.25); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.65); }
}
[data-link="off"] .device-bridge { background: #5a647a; }
[data-link="off"] .bridge-tag { opacity: .5; }
[data-link="off"] .viewer .lab-pointer, [data-link="off"] .device-bridge i { opacity: .4; box-shadow: none; }

/* StudioLink Flagship Deskterior Stage & Dual iPad + iPhone Sync */
.sl-desk-stage {
  position: relative; aspect-ratio: 2.22; width: 100%;
  border-radius: .96rem; overflow: hidden; margin-bottom: .9rem;
  border: 1px solid rgba(158, 247, 255, 0.22); background: #0c1226;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 52px -22px rgba(0, 0, 0, 0.76);
}
.sl-desk-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(8, 12, 26, 0.24) 0%, transparent 28%, transparent 72%, rgba(8, 12, 26, 0.62) 100%);
}
.sl-desk-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 84%; display: block; }
.sl-desk-fallback { width: 100%; height: 100%; background: radial-gradient(circle at 50% 40%, #243778, #0f1630 75%); }
.sl-desk-beams {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2;
}
.sl-beam {
  fill: none; stroke: #8ff4ff; stroke-width: 2.6; stroke-linecap: round;
  stroke-dasharray: 10 14; opacity: .16;
  transition: opacity 480ms var(--ease-out), filter 480ms var(--ease-out);
}
.sl-beam.beam-sub { stroke-width: 2; stroke-dasharray: 7 12; }
[data-host="studio"] .beam-studio {
  opacity: .92; filter: drop-shadow(0 0 8px rgba(143, 244, 255, 0.85));
}
[data-host="macbook"] .beam-macbook {
  stroke: #c4b5fd; opacity: .94; filter: drop-shadow(0 0 8px rgba(196, 181, 253, 0.85));
}
[data-link="off"] .sl-beam { opacity: .1; filter: none; animation: none !important; }
.sl-pin {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .44rem;
  padding: .34rem .68rem .34rem .5rem; border-radius: 999px;
  background: rgba(11, 16, 34, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22); color: #eef3ff;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.72);
  font-size: .74rem; line-height: 1.15; text-align: left;
  transition: border-color 240ms var(--ease-out), background-color 240ms var(--ease-out), transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.sl-pin i {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: #8ff4ff; box-shadow: 0 0 8px rgba(143, 244, 255, 0.85);
}
.sl-pin span { display: inline-flex; align-items: baseline; gap: .36rem; white-space: nowrap; }
.sl-pin b { font-weight: 720; color: #ffffff; }
.sl-pin em { font: 650 .62rem var(--font-mono); font-style: normal; color: #a7c4ff; }
button.sl-pin { cursor: pointer; }
button.sl-pin:hover { border-color: #9ef7ff; background: rgba(18, 28, 58, 0.9); transform: translateY(-1px); }
button.sl-pin[aria-pressed="true"] {
  border-color: #9ef7ff; background: rgba(24, 40, 82, 0.9);
  box-shadow: 0 0 0 1px rgba(158, 247, 255, 0.42), 0 12px 28px -10px rgba(0, 0, 0, 0.75);
}
button.sl-pin[aria-pressed="false"] i { background: rgba(255, 255, 255, 0.35); box-shadow: none; }
.pin-macbook { left: 4%; top: 30%; }
.pin-studio { left: 50%; top: 3.5%; transform: translateX(-50%); }
.pin-studio:hover { transform: translate(-50%, -1px); }
.pin-ipad { right: 4%; top: 22%; }
.pin-iphone { right: 4%; bottom: 6%; }
.sl-p2p-badge {
  position: absolute; left: 50%; bottom: .7rem; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .24rem .72rem; border-radius: 999px;
  background: rgba(10, 16, 32, 0.82); backdrop-filter: blur(10px);
  border: 1px solid rgba(158, 247, 255, 0.36); color: #ccf8ff;
  font: 700 .66rem var(--font-mono); letter-spacing: .04em; white-space: nowrap;
}
.sl-p2p-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; }
[data-link="off"] .sl-p2p-badge::before { background: #6b7280; box-shadow: none; }

.viewer-duo { display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(0, .58fr); gap: .55rem; align-items: stretch; min-width: 0; }
.phone-viewer-frame {
  display: grid; grid-template-rows: auto 1fr; border-radius: .92rem; padding: .36rem;
  background: linear-gradient(180deg, #171d32, #0d1222);
}
.phone-viewer-frame .device-chrome { padding: .08rem .18rem .3rem; }
.phone-viewer-frame p { font-size: .66rem; }
.phone-island { width: 1.5rem; height: .28rem; border-radius: 999px; background: #262e48; }
.phone-screen { aspect-ratio: auto; min-height: 7.2rem; border-radius: .56rem; }
.phone-mini-ide {
  height: 100%; display: grid; grid-template-rows: auto 1fr auto;
  background: #0d1324; padding: .38rem .42rem; font: 600 .56rem var(--font-mono); color: #9db2e0;
}
.pm-mini-bar { display: flex; align-items: center; gap: .24rem; padding-bottom: .28rem; border-bottom: 1px solid rgba(154, 173, 228, 0.16); color: #dbe5ff; }
.pm-mini-bar i { width: 5px; height: 5px; border-radius: 50%; background: #8fd8cc; }
.pm-mini-lines { display: grid; align-content: center; gap: .32rem; padding-block: .36rem; }
.pm-mini-lines span { display: block; height: 4px; border-radius: 999px; background: rgba(180, 200, 255, 0.32); width: 88%; }
.pm-mini-lines span.c1 { width: 68%; background: rgba(202, 171, 250, 0.6); }
.pm-mini-lines span.c2 { width: 78%; background: rgba(164, 234, 223, 0.58); }
.pm-mini-lines span.c3 { width: 52%; }
.pm-mini-foot { font-size: .54rem; color: #86efac; border-top: 1px solid rgba(154, 173, 228, 0.14); padding-top: .22rem; }
.sl-host-pills {
  display: inline-flex; align-items: center; gap: .2rem; padding: .18rem;
  border-radius: .58rem; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--panel-border);
}
.sl-host-pills button {
  padding: .3rem .62rem; border: 0; border-radius: .42rem; background: transparent;
  color: #c2cceb; font: 660 .76rem var(--font); transition: background-color 180ms ease, color 180ms ease;
}
.sl-host-pills button:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.sl-host-pills button[aria-pressed="true"] { background: var(--signal); color: #11182c; }

/* Compact Home Console Deskterior Framing */
.demo-console:not(.hero-showcase) .sl-desk-stage { aspect-ratio: 2.32; margin-bottom: .62rem; }
.demo-console:not(.hero-showcase) .sl-pin { padding: .2rem .48rem .2rem .36rem; font-size: .64rem; }
.demo-console:not(.hero-showcase) .sl-pin em { display: none; }
.demo-console:not(.hero-showcase) .sl-p2p-badge { font-size: .58rem; padding: .18rem .56rem; bottom: .48rem; }
.demo-console:not(.hero-showcase) .studiolink .lab-canvas { min-height: 0; padding: .52rem; }
.demo-console:not(.hero-showcase) .studiolink .device-pair {
  grid-template-columns: minmax(0, 1.04fr) 3.4rem minmax(0, 1.34fr); gap: .36rem;
}
.demo-console:not(.hero-showcase) .studiolink .viewer-duo {
  grid-template-columns: minmax(0, 1.48fr) minmax(0, .58fr); gap: .36rem;
}
.demo-console:not(.hero-showcase) .studiolink .phone-screen { min-height: 0; }
.demo-console:not(.hero-showcase) .studiolink .chrome-live { display: none; }
.demo-console:not(.hero-showcase) .studiolink .sl-host-pills button { padding: .24rem .5rem; font-size: .72rem; }
.ui-story-banner {
  position: relative; aspect-ratio: 16 / 8.5; border-radius: .6rem; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16); background: #0c1226;
}
.ui-story-mobile { aspect-ratio: 16 / 10.2; }
.ui-banner-tag {
  position: absolute; left: .52rem; bottom: .48rem; padding: .16rem .52rem; border-radius: 999px;
  background: rgba(10, 15, 30, 0.8); backdrop-filter: blur(8px);
  border: 1px solid rgba(158, 247, 255, 0.34); color: #dcf6ff;
  font: 700 .64rem var(--font-mono);
}
.ui-story-mobile .ui-touch-ripple { left: 32%; top: 54%; right: auto; bottom: auto; }

.typing-canvas { gap: .62rem; padding: .78rem .88rem; }
.hl-hud-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .45rem;
  padding-bottom: .38rem; border-bottom: 1px solid rgba(213, 188, 255, 0.16);
  font-size: .72rem; font-weight: 700; color: #e5d8fa;
}
.hl-mode-pill {
  padding: .1rem .44rem; border-radius: 999px;
  background: rgba(213, 188, 255, 0.16); border: 1px solid rgba(213, 188, 255, 0.34);
  color: #e4d2ff; font: 700 .62rem var(--font-mono);
}
.typing-line {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: .55rem; align-items: center;
  background: rgba(39, 30, 62, 0.85); border: 1px solid var(--panel-border);
  border-radius: .64rem; min-height: 3.25rem; padding: .48rem .74rem;
}
.typing-output {
  background: linear-gradient(135deg, rgba(84, 54, 138, 0.42), rgba(45, 34, 72, 0.88));
  border-color: rgba(213, 188, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.typing-keys-wrap { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-width: 0; }
.hud-space {
  padding: .18rem .52rem; border-radius: .38rem; flex: none;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(213, 188, 255, 0.32);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35); color: #ddd0f8;
  font: 700 .64rem var(--font-mono);
}
.typing-line > span { font-size: .78rem; color: #d9c8f4; font-weight: 600; }
.typing-line code { color: #f2e8ff; font-size: clamp(.84rem, 1.55vw, 1.06rem); overflow-wrap: anywhere; }
.typing-line strong { color: var(--signal); font-size: clamp(1.08rem, 2.3vw, 1.44rem); letter-spacing: -0.02em; }
[data-typing] [data-keys]::after { content: "▍"; color: var(--signal); }

/* Legacy workbench compatibility rules */
.hanglish-lab { --lab-ink: #e7d5fc; background: #1d192b; border-color: #77638f; }
.hanglish-workbench { display: grid; gap: .65rem; padding: clamp(.55rem, 2vw, 1rem); }
.hanglish-mode, .hanglish-samples, .hanglish-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.hanglish-actions { justify-content: space-between; }
.hanglish-workbench button {
  border: 1px solid #685a80; border-radius: .42rem; padding: .32rem .58rem; min-height: 2.15rem;
  color: #f6f1fd; background: #302642; line-height: 1.15; font: inherit; font-size: .82rem;
}
.hanglish-workbench button:hover { border-color: #d1b7f3; }
.hanglish-workbench button[aria-pressed="true"], .hanglish-workbench [data-key-active] {
  color: #232031; border-color: #dfc8fb; background: #dfc8fb;
}
.hanglish-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.hanglish-field { min-width: 0; padding: .58rem .65rem; border: 1px solid #675680; border-radius: .55rem; background: #261f37; }
.hanglish-field > span { display: block; margin-bottom: .28rem; color: #e0ccea; font-size: .76rem; }
.hanglish-field textarea, .hanglish-field output {
  display: block; width: 100%; min-height: 2.85rem; padding: 0; margin: 0; border: 0; color: #f6f2ff;
  background: transparent; font: .97rem/1.4 ui-monospace, SFMono-Regular, system-ui, monospace;
}
.hanglish-field textarea { resize: vertical; }
.hanglish-field output { white-space: pre-wrap; overflow-wrap: anywhere; }
.hanglish-result { background: #39304c; border-color: #8d71aa; }
.hanglish-result output { color: var(--lab-ink); font-weight: 680; }
.hanglish-keyboard { background: #151322; border: 1px solid #54476b; border-radius: .6rem; padding: .42rem .31rem; display: grid; gap: .22rem; }
.hanglish-key-row { display: flex; justify-content: center; gap: .17rem; }
.hanglish-key-row button {
  flex: 0 1 calc((100% - 1.53rem) / 10); min-width: 0; min-height: 1.95rem; padding: .16rem 0;
  font: 670 .72rem/1.05 ui-monospace, SFMono-Regular, system-ui, monospace; display: grid; justify-items: center; align-content: center; gap: .09rem;
}
.hanglish-key-row button span:first-child { color: #e2c8fc; }
.hanglish-key-row button[data-key-active] span:first-child { color: #232031; }
.hanglish-key-bottom button { flex: 0 1 3.6rem; }
.hanglish-key-bottom button:nth-child(2) { flex: 0 1 43%; }
.hanglish-status { font-size: .78rem; color: #d4c2ea; }
.hanglish-status:empty { display: none; }

/* PhotoAttic Authentic Dark Mobile & Dual-Route Demo */
.route-canvas { justify-items: stretch; gap: .68rem; }
.attic-stage {
  display: grid; grid-template-columns: minmax(0, 1.06fr) 3.4rem minmax(0, .94fr);
  gap: .5rem; align-items: center;
}
.is-showcase .attic-stage {
  grid-template-columns: minmax(0, 1.02fr) 5.2rem minmax(0, 1fr);
  gap: .75rem;
}
.attic-source-col {
  display: grid; gap: .62rem; width: 100%; min-width: 0;
}
.attic-phone {
  display: grid; grid-template-rows: auto auto 1fr; gap: .46rem;
  background: linear-gradient(180deg, #131317, #0c0c10);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 1.05rem;
  padding: .62rem .68rem; color: #f4f4f6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 34px -16px rgba(0, 0, 0, 0.78);
  transition: box-shadow 260ms var(--ease-out), border-color 260ms var(--ease-out);
}
.is-showcase .attic-phone { padding: .82rem .88rem; border-radius: 1.25rem; }
.attic-phone-top { display: flex; align-items: center; justify-content: space-between; gap: .35rem; }
.attic-clock { font: 700 .64rem var(--font-mono); color: #d8d8e2; }
.attic-island { width: 2.35rem; height: .42rem; border-radius: 999px; background: #222229; border: 1px solid rgba(255, 255, 255, 0.08); }
.attic-app-title { font-size: .72rem; font-weight: 760; letter-spacing: -.02em; color: #ffffff; }
.attic-roll-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .34rem; }
.attic-roll-thumb {
  position: relative; display: block; aspect-ratio: 1.48; border-radius: .42rem; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14); background: #191920;
}
.attic-roll-thumb i {
  position: absolute; right: .22rem; bottom: .22rem; width: 1rem; height: 1rem; border-radius: 50%;
  display: grid; place-items: center; font-style: normal; font-size: .6rem; font-weight: 800;
  background: rgba(16, 18, 26, 0.72); color: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 220ms var(--ease-out), color 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.attic-roll-thumb[data-verified="true"] i {
  background: #22c55e; color: #052e16; border-color: #86efac; transform: scale(1.08);
}
.attic-phone-body {
  background: #1a1a20; border: 1px solid #2b2b34; border-radius: .72rem;
  padding: .62rem .68rem; display: grid; align-content: center;
}
[data-route="drive"] .attic-phone-body {
  background: linear-gradient(148deg, #1b3b2f 0%, #142a22 100%);
  border-color: rgba(134, 239, 172, 0.28);
}
.attic-mode-drive, .attic-mode-wifi { display: grid; gap: .38rem; }
[data-route="drive"] .attic-mode-wifi,
[data-route="wifi"] .attic-mode-drive { display: none; }
.attic-chip-row { display: flex; align-items: center; justify-content: space-between; gap: .35rem; }
.attic-badge-white {
  padding: .1rem .46rem; border-radius: 999px; background: #ffffff; color: #121214;
  font: 700 .66rem var(--font-mono);
}
.attic-mono-dim { font: 600 .64rem var(--font-mono); color: #bce3d0; }
.attic-path {
  padding: .26rem .46rem; border-radius: .42rem; background: rgba(8, 18, 14, 0.55); border: 1px solid rgba(255, 255, 255, 0.12);
  font: 500 .66rem var(--font-mono); color: #e2f5eb; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.attic-metric-row { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; margin-top: .08rem; }
.attic-metric-row strong { font: 760 1.42rem/1 var(--font-mono); color: #ffffff; font-variant-numeric: tabular-nums; }
.attic-count { font: 600 .7rem var(--font-mono); color: #ccebd9; font-variant-numeric: tabular-nums; }
.attic-foot-meta { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.attic-hash { font: 650 .64rem var(--font-mono); color: var(--signal); white-space: nowrap; }
[data-complete="true"] .attic-hash { color: #86efac; }
.attic-file-line { font: 500 .64rem var(--font-mono); color: #c4d7ce; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attic-ip-box {
  padding: .3rem .48rem; border-radius: .44rem; background: #101014; border: 1px solid #30303b;
  text-align: center; font: 700 .78rem var(--font-mono); color: #ffffff;
}
.attic-qr-row { display: flex; align-items: center; justify-content: space-between; gap: .48rem; }
.ui-qr-svg { width: 2.75rem; height: 2.75rem; flex: none; border-radius: .34rem; }
.attic-pin-box {
  flex: 1; display: grid; justify-items: center; padding: .26rem .38rem; border-radius: .46rem;
  background: #141419; border: 1px solid #32323e;
}
.attic-pin-box span { font: 600 .6rem var(--font-mono); color: #a1a1b0; letter-spacing: .06em; }
.attic-pin-box strong { font: 760 1rem var(--font-mono); color: #ffffff; letter-spacing: .12em; }

.attic-conduit {
  position: relative; display: grid; place-items: center; height: 2.4rem;
}
.attic-conduit::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px;
  background: linear-gradient(90deg, rgba(255, 182, 205, 0.28), var(--signal), rgba(255, 182, 205, 0.28));
  background-size: 200% 100%; border-radius: 999px;
}
.attic-conduit span {
  position: relative; z-index: 1; padding: .14rem .44rem; border-radius: 999px;
  background: #181020; border: 1px solid rgba(255, 182, 205, 0.45);
  color: #ffd9e7; font: 700 .62rem var(--font-mono);
}
[data-route="drive"] .conduit-wifi,
[data-route="wifi"] .conduit-drive { display: none; }
[data-transferring="true"] .attic-conduit::before { animation: flow-pulse 1s linear infinite; height: 3px; }
[data-complete="true"] .attic-conduit::before { background: linear-gradient(90deg, rgba(74, 222, 128, 0.4), #86efac, rgba(74, 222, 128, 0.4)); }

.route-branches.attic-targets {
  display: grid; grid-template-columns: 1fr; gap: .62rem; width: 100%; position: relative; text-align: left;
}
.route-branches.attic-targets::before { display: none; }
.attic-dest-card {
  display: grid; gap: .3rem; align-content: center; justify-items: start;
  width: 100%; text-align: left; font: inherit; cursor: pointer;
  padding: .78rem .88rem; border-radius: .82rem; min-height: 0;
  background: rgba(34, 22, 38, 0.78); border: 1px solid var(--panel-border);
  transition: border-color 220ms var(--ease-out), background-color 220ms var(--ease-out), transform 220ms var(--ease-out), opacity 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.attic-dest-card:hover {
  opacity: 1 !important;
  border-color: color-mix(in srgb, var(--signal) 78%, #ffffff);
  background: rgba(88, 38, 70, 0.56);
  transform: translateY(-1px);
}
.attic-dest-head { display: flex; align-items: center; gap: .42rem; width: 100%; color: #e2c6d4; }
.attic-dest-head .attic-tag { margin-left: auto; }
.attic-led {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); flex: none;
  transition: background-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
[data-route="drive"] .route-target:first-child .attic-led,
[data-route="wifi"] .route-target:last-child .attic-led {
  background: var(--signal); box-shadow: 0 0 8px var(--signal);
}
[data-complete="true"][data-route="drive"] .route-target:first-child .attic-led,
[data-complete="true"][data-route="wifi"] .route-target:last-child .attic-led {
  background: #4ade80; box-shadow: 0 0 10px #4ade80;
}
.attic-tag {
  padding: .08rem .4rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08);
  font: 650 .62rem var(--font-mono); color: #f6d5e4;
}
.attic-dest-card strong { font-size: .86rem; font-weight: 700; color: #ffffff; line-height: 1.25; }
.attic-dest-sub { font: 500 .68rem var(--font-mono); color: #d3bed0; }
.attic-dest-bar {
  display: block; width: 100%; height: 12px; border-radius: 999px; margin-top: .28rem;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.attic-dest-bar i {
  display: block; width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--signal), #fff0f6);
  box-shadow: 0 0 12px rgba(255, 182, 205, 0.5);
  transition: width 120ms linear, background 220ms ease, box-shadow 220ms ease;
}
[data-route="drive"] .route-target:first-child .attic-dest-bar i,
[data-route="wifi"] .route-target:last-child .attic-dest-bar i {
  width: var(--transfer-pct, 0%);
}
[data-complete="true"] .attic-dest-bar i {
  background: linear-gradient(90deg, #22c55e, #86efac);
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.55);
}
[data-route="drive"] .route-target:first-child,
[data-route="wifi"] .route-target:last-child {
  border-color: var(--signal); background: rgba(98, 42, 78, 0.52);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--signal) 45%, transparent), 0 14px 28px -16px rgba(0, 0, 0, 0.65);
}
[data-route="drive"] .route-target:last-child,
[data-route="wifi"] .route-target:first-child { opacity: .62; }
[data-transferring] .attic-phone { border-color: var(--signal); box-shadow: 0 0 1.4rem rgba(255, 182, 205, 0.32); }
.route-canvas progress {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 1rem; border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.12);
}
.route-canvas progress::-webkit-progress-bar { background: rgba(255, 255, 255, 0.12); border-radius: 999px; }
.route-canvas progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--signal), #fff0f6);
  border-radius: 999px; transition: width 120ms linear, background 220ms ease;
}
.route-canvas progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--signal), #fff0f6);
  border-radius: 999px;
}
[data-complete="true"] .route-canvas progress::-webkit-progress-value {
  background: linear-gradient(90deg, #22c55e, #86efac);
}
[data-complete="true"] .route-canvas progress::-moz-progress-bar {
  background: linear-gradient(90deg, #22c55e, #86efac);
}

/* PhotoMaster GT Authentic macOS Comparison Window + Optical Loupe */
.pm-lab { gap: .62rem; padding: .72rem; }
.is-showcase .pm-lab { gap: .82rem; padding: .95rem 1.05rem; }
.pm-window-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem .65rem;
  padding: .1rem .2rem .48rem; border-bottom: 1px solid rgba(167, 236, 217, 0.16);
}
.pm-win-left, .pm-win-right { display: inline-flex; align-items: center; gap: .5rem; }
.pm-win-title { font-size: .78rem; font-weight: 720; color: #e8f8f4; letter-spacing: -.01em; }
.pm-pair-pills {
  display: inline-flex; align-items: center; gap: .22rem; padding: .16rem;
  border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(167, 236, 217, 0.18);
}
.pm-pair-pills button {
  padding: .18rem .56rem; border: 0; border-radius: 999px; background: transparent;
  color: #b4dad3; font: 700 .66rem var(--font-mono); transition: background-color 180ms ease, color 180ms ease;
}
.pm-pair-pills button:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.pm-pair-pills button[aria-pressed="true"] { background: var(--signal); color: #0b2426; }
.pm-match-pill, .pm-hash-pill {
  padding: .14rem .5rem; border-radius: 999px;
  background: rgba(167, 236, 217, 0.13); border: 1px solid rgba(167, 236, 217, 0.3);
  color: #a7ecd9; font: 650 .64rem var(--font-mono); white-space: nowrap;
}
.pm-rescan-btn {
  padding: .16rem .56rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(167, 236, 217, 0.34);
  color: #e6fff8; font: 700 .64rem var(--font-mono);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.pm-rescan-btn:hover { background: rgba(167, 236, 217, 0.22); border-color: var(--signal); transform: translateY(-1px); }
.compare-canvas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: .62rem; }
.is-showcase .compare-canvas { gap: .95rem; }
.compare-choice {
  min-width: 0; color: #e9f2f7; background: rgba(13, 35, 38, 0.86);
  border: 1px solid var(--panel-border); border-radius: .78rem; text-align: left;
  padding: .46rem; display: grid; gap: .36rem;
  transition: border-color 440ms var(--ease-out), box-shadow 440ms var(--ease-out), opacity 440ms var(--ease-out), transform 440ms var(--ease-out);
}
.is-showcase .compare-choice { padding: .62rem; gap: .46rem; border-radius: .9rem; }
.pm-card-top { display: flex; align-items: center; justify-content: space-between; gap: .35rem; }
.pm-folder-tag {
  font: 650 .68rem var(--font-mono); color: #cdece6;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pm-exif {
  margin-left: auto; font: 500 .62rem var(--font-mono); color: #8cb7b0;
  white-space: nowrap; display: none;
}
.is-showcase .pm-exif { display: inline; }
.pm-radio {
  width: .82rem; height: .82rem; border-radius: 50%; flex: none;
  border: 1.5px solid rgba(167, 236, 217, 0.55); position: relative;
}
.compare-choice[aria-pressed="true"] {
  border-color: var(--signal); box-shadow: inset 0 0 0 1px var(--signal), 0 14px 28px -16px rgba(0, 0, 0, 0.72);
}
.compare-choice[aria-pressed="true"] .pm-radio { border-color: var(--signal); background: var(--signal); box-shadow: inset 0 0 0 2px #0f292c; }
.compare-choice:hover:not(:disabled) { border-color: #e4fffa; }
.compare-choice:disabled { cursor: default; }
.photo-window {
  display: block; overflow: hidden; border-radius: .5rem; background: #0c2023;
  position: relative; cursor: crosshair;
}
.photo-window .sample-photo {
  margin: 0; display: block;
  transform-origin: var(--pan-x, 50%) var(--pan-y, 50%);
  transform: scale(var(--photo-zoom, 1));
  transition: transform 320ms var(--ease-out), opacity 560ms var(--ease-out), filter 560ms var(--ease-out);
}
.pm-loupe {
  position: absolute; left: var(--pan-x, 50%); top: var(--pan-y, 50%);
  width: 3.4rem; height: 3.4rem; border-radius: 50%; pointer-events: none; z-index: 2;
  border: 1.5px solid rgba(167, 236, 217, 0.92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45), 0 0 22px rgba(167, 236, 217, 0.34), inset 0 0 12px rgba(167, 236, 217, 0.16);
  opacity: 0; transform: translate(-50%, -50%) scale(.78);
  transition: opacity 360ms ease, transform 360ms var(--ease-out);
}
.pm-loupe::before, .pm-loupe::after {
  content: ""; position: absolute; background: rgba(167, 236, 217, 0.78);
}
.pm-loupe::before { left: 26%; right: 26%; top: 50%; height: 1px; }
.pm-loupe::after { top: 26%; bottom: 26%; left: 50%; width: 1px; }
[data-loupe="on"] .pm-loupe { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.pm-scan-beam {
  position: absolute; left: 0; right: 0; top: -12%; height: 18%; pointer-events: none; z-index: 3; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(167, 236, 217, 0.55) 75%, #d6fff4 100%);
  box-shadow: 0 6px 24px rgba(167, 236, 217, 0.45);
}
[data-scanning="true"] .pm-scan-beam { animation: pmScanSweep 1680ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes pmScanSweep {
  0% { top: -18%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 104%; opacity: 0; }
}
.pm-moved-veil {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 4;
  background: rgba(8, 22, 24, 0.54); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity 560ms var(--ease-out);
}
.pm-moved-veil span {
  padding: .34rem .78rem; border-radius: 999px;
  background: rgba(16, 44, 46, 0.92); border: 1px solid var(--signal);
  color: var(--signal); font: 700 .74rem var(--font-mono);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.65);
}
[data-phase="moved"] .compare-choice[aria-pressed="false"] .pm-moved-veil { opacity: 1; }
.photo-label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem .35rem; padding: .12rem .14rem 0; font-size: .78rem; }
.photo-label > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-label em { font: 500 .66rem var(--font-mono); color: #9fc7c0; font-style: normal; }
.photo-label [data-photo-status] { color: var(--signal); font-weight: 720; font-size: .74rem; }
.lab-zoom-readout {
  display: inline-grid; place-items: center; min-width: 3rem; padding: .14rem .42rem; border-radius: .38rem;
  background: rgba(255, 255, 255, 0.08); color: var(--signal);
  font: 700 .72rem var(--font-mono); font-variant-numeric: tabular-nums;
}
[data-phase="moved"] .compare-choice[aria-pressed="false"] .sample-photo { opacity: .26; filter: grayscale(.65); transform: scale(.96); }
.product-console .lab-canvas { min-height: clamp(14rem, 28vw, 21rem); }

/* Workflow Overview & Capabilities */
.workflow-overview { margin-top: clamp(2.6rem, 6vw, 4.6rem); }
.workflow-overview dl {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 1.15rem; overflow: hidden; box-shadow: var(--shadow-sm);
}
.workflow-overview dl > div {
  display: grid; gap: .45rem 1.4rem; grid-template-columns: minmax(13.5rem, 28%) minmax(0, 1fr);
  padding: 1.05rem 1.35rem; align-items: center;
  transition: background-color 200ms var(--ease-out);
}
.workflow-overview dl > div:hover { background: var(--tint-soft); }
.workflow-overview dl > div + div { border-top: 1px solid var(--line); }
.workflow-overview dt {
  display: flex; align-items: center; gap: .78rem;
  color: var(--ink); font-weight: 740; font-size: .96rem;
}
.workflow-overview dt .app-mark { width: 2.3rem; height: 2.3rem; border-radius: .62rem; font-size: 1.25rem; }
.workflow-overview dt > div { display: grid; gap: .06rem; }
.workflow-overview dt em { font-style: normal; font-size: .76rem; font-weight: 600; color: var(--muted); }
.flow-line { color: var(--accent); font-weight: 720; font-size: .95rem; }
.workflow-overview dd { margin: 0; }
.workflow-overview dd strong { display: block; color: var(--accent); font-size: .94rem; font-weight: 700; margin-bottom: .18rem; }
.workflow-overview dd span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.capabilities { margin: .72rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .38rem; }
.capabilities li {
  padding: .18rem .58rem; border-radius: 999px;
  font-size: .79rem; font-weight: 650; color: var(--accent);
  background: var(--tint); border: 1px solid color-mix(in srgb, var(--accent) 16%, transparent);
}

/* Product Detail Pages */
.product-page { --scene-dark: #141c38; --scene-glow: #4e66b8; --story-light: #d9e2ff; --chapter-progress: 0; }
.product-page.hanglish { --scene-dark: #221638; --scene-glow: #7856a3; --story-light: #e8d8ff; }
.product-page.photoattic { --scene-dark: #2f172b; --scene-glow: #954f71; --story-light: #ffdaea; }
.product-page.photomaster { --scene-dark: #10282c; --scene-glow: #317875; --story-light: #c7ffec; }

.product-opening {
  position: relative; isolation: isolate; color: #f6f4fc;
  background:
    radial-gradient(ellipse 76% 58% at 50% 0%, color-mix(in srgb, var(--scene-glow) 64%, transparent), transparent 64%),
    radial-gradient(ellipse 64% 52% at 50% 85%, color-mix(in srgb, var(--scene-glow) 34%, transparent), transparent 66%),
    linear-gradient(180deg, var(--scene-dark) 0%, color-mix(in srgb, var(--scene-dark) 82%, #05080f) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.product-opening::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.036) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.036) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 84% 92% at 50% 42%, #000 18%, transparent 86%);
}
.product-opening .hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(1.35rem, 2.7vw, 1.95rem);
  padding-block: clamp(1.75rem, 3.6vw, 2.55rem) clamp(2.4rem, 4.8vw, 3.6rem);
}
.product-opening .hero-copy {
  display: grid; justify-items: center; text-align: center;
  max-width: 56rem; margin-inline: auto;
}
.product-opening .hero-badge {
  justify-content: center; gap: .7rem;
  padding: .34rem .9rem .34rem .42rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: .82rem;
}
.product-opening .hero-badge .app-mark { width: 2.25rem; height: 2.25rem; border-radius: .6rem; }
.product-opening .product-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 3.05rem);
  letter-spacing: -0.03em; line-height: 1.18; max-width: 28ch; text-wrap: balance;
}
.product-opening .role { color: var(--story-light); font-size: .86rem; font-weight: 680; margin: 0; }
.product-opening .lede {
  color: color-mix(in srgb, var(--story-light) 86%, #ffffff);
  max-width: 44ch; font-size: clamp(.98rem, 1.3vw, 1.12rem); margin-top: .72rem;
}
.product-page.photoattic .product-opening .lede {
  font-size: clamp(1.24rem, 2.35vw, 1.98rem);
  font-weight: 660;
  letter-spacing: -0.026em;
  line-height: 1.3;
  max-width: 34ch;
  text-wrap: balance;
  margin-top: .55rem;
  color: color-mix(in srgb, var(--story-light) 92%, #ffffff);
}
.product-opening .actions { justify-content: center; margin-top: 1.15rem; }
.product-opening .primary { background: var(--story-light); color: var(--scene-dark); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28); }
.product-opening .primary:hover { background: #ffffff; filter: none; }
.product-opening .secondary { background: rgba(255, 255, 255, 0.07); color: #ffffff; border-color: color-mix(in srgb, var(--story-light) 45%, transparent); box-shadow: none; }
.product-opening .secondary:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--story-light); color: #ffffff; }
.product-opening :focus-visible { outline-color: var(--story-light); }

/* Monumental Full-Width Floating Showcase */
.hero-showcase {
  width: min(100%, 66rem); position: relative; overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.88), rgba(9, 13, 22, 0.96));
  box-shadow:
    0 40px 92px -24px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.hero-showcase::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle 420px at var(--glow-x, 50%) var(--glow-y, 20%), color-mix(in srgb, var(--scene-glow) 22%, transparent), transparent 72%);
  opacity: .75;
}
.hero-showcase .demo-unit { padding: clamp(.78rem, 1.8vw, 1.25rem); position: relative; z-index: 1; }
.hero-showcase .lab-canvas {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 28px),
    rgba(9, 15, 22, 0.72);
}
.hero-showcase .is-showcase.studiolink .device-pair {
  grid-template-columns: minmax(0, 1.05fr) 4.4rem minmax(0, 1.32fr); gap: .55rem;
}
.hero-showcase .lab-controls {
  padding-top: .78rem; justify-content: space-between;
}
.hero-showcase .lab-status { margin-left: auto; font-size: .82rem; }
.product-page :is([data-scroll-section], [data-chapter], .faq details) { scroll-margin-top: 5.5rem; }

.product-nav {
  position: sticky; top: 0; z-index: 15;
  background: rgba(247, 246, 243, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 260ms var(--ease-out), background-color 260ms var(--ease-out);
}
.product-nav[data-stuck] {
  background: rgba(247, 246, 243, 0.94);
  box-shadow: 0 10px 28px -20px rgba(17, 20, 34, 0.28);
}
.product-nav::after {
  pointer-events: none; content: ""; position: absolute; inset: auto 0 -1px; height: 2.5px;
  transform: scaleX(var(--read-progress, 0)); transform-origin: left;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 65%, #ffffff));
  transition: transform 150ms var(--ease-out);
}
.product-nav .shell {
  display: flex; gap: clamp(.2rem, 1.4vw, .65rem); flex-wrap: wrap;
  align-items: center; min-height: 3.45rem; padding-block: .38rem;
}
.product-nav a {
  padding: .38rem .8rem; border-radius: 999px; font-weight: 650; font-size: .88rem;
  color: var(--muted); text-decoration: none;
  transition: color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.product-nav a:hover { color: var(--ink); background: rgba(20, 21, 28, 0.05); }
.product-nav a[aria-current="location"] {
  color: var(--accent); background: var(--tint); font-weight: 720;
}

/* Scroll Storytelling Section */
.product-story {
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 62%, var(--paper)) 0%, var(--paper) 42rem);
  padding-block: clamp(3.4rem, 7.5vw, 6.5rem);
}
.story-intro { margin-bottom: clamp(2rem, 4.5vw, 3.4rem); max-width: 46rem; }
.story-intro h2 { font-size: clamp(1.85rem, 3.8vw, 3rem); letter-spacing: -0.026em; margin-bottom: .75rem; line-height: 1.2; }
.story-intro p, .story-copy p { color: var(--muted); font-size: clamp(1rem, 1.32vw, 1.11rem); line-height: 1.75; letter-spacing: -0.012em; word-break: keep-all; }
.story-stage { display: none; }
.story-chapters { display: grid; gap: 1.65rem; min-width: 0; counter-reset: chapter; }
.story-chapter { min-width: 0; display: grid; gap: .8rem; counter-increment: chapter; }
.story-copy { padding: .35rem .15rem .85rem; }
.story-copy::before {
  content: "0" counter(chapter);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: .75rem; padding: .2rem .6rem; border-radius: 999px;
  background: var(--tint); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  font: 700 .75rem/1.2 var(--font-mono);
  letter-spacing: .06em; font-variant-numeric: tabular-nums;
  transition: background-color 320ms var(--ease-out), color 320ms var(--ease-out);
}
.story-copy h3 { margin-bottom: .7rem; font-size: clamp(1.45rem, 2.7vw, 2.2rem); letter-spacing: -0.024em; line-height: 1.24; max-width: 19em; }
.story-copy p { max-width: 28rem; }
.story-frame {
  display: grid; gap: .95rem; align-content: start; min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 1.15rem;
  padding: clamp(1rem, 3vw, 1.75rem); color: #ffffff;
  box-shadow: 0 18px 40px -18px rgba(15, 22, 44, 0.36);
  background:
    radial-gradient(ellipse 75% 65% at calc(22% + var(--chapter-progress, 0) * 58%) 22%, color-mix(in srgb, var(--scene-glow) 78%, transparent), transparent 76%),
    var(--scene-dark);
}
.story-frame figcaption {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: .95rem; letter-spacing: -0.015em;
  color: color-mix(in srgb, var(--story-light) 92%, #ffffff);
}
.story-frame figcaption span {
  display: inline-grid; place-items: center; padding: .12rem .48rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); color: var(--story-light);
  font: 700 .72rem var(--font-mono); letter-spacing: .05em;
}
.story-diagram {
  display: grid; align-items: center; min-height: clamp(16rem, 29vw, 23.5rem);
  padding: clamp(1rem, 2.2vw, 1.5rem); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: .96rem;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.036) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(rgba(255, 255, 255, 0.036) 0 1px, transparent 1px 26px),
    rgba(8, 12, 22, 0.68);
}
.story-ui { display: grid; gap: .78rem; width: 100%; align-items: center; }
.story-ui-host, .story-ui-qr, .story-ui-mirror {
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, .95fr);
}
.story-ui-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.ui-card {
  display: grid; gap: .62rem; padding: 1rem 1.08rem; border-radius: .92rem; min-width: 0;
  background: rgba(16, 22, 42, 0.9); border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 32px -14px rgba(0, 0, 0, 0.62);
  color: #eef2ff; font-size: .84rem;
}
.ui-attic-dark { background: #131318; border-color: #2f2f39; }
.ui-attic-ssd {
  background: linear-gradient(148deg, #1b3b2f 0%, #132820 100%);
  border-color: rgba(134, 239, 172, 0.3);
}
.ui-pm-win { background: rgba(12, 32, 36, 0.94); border-color: rgba(167, 236, 217, 0.26); }
.ui-bar {
  display: flex; align-items: center; justify-content: space-between; gap: .45rem;
  padding-bottom: .46rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: .76rem; font-weight: 700; color: #dbe4ff;
}
.ui-pill {
  display: inline-flex; align-items: center; padding: .12rem .48rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); color: var(--story-light);
  font: 700 .66rem var(--font-mono); white-space: nowrap;
}
.ui-pill.white { background: #ffffff; color: #14151c; }
.ui-pill.live { background: color-mix(in srgb, var(--story-light) 22%, transparent); border: 1px solid color-mix(in srgb, var(--story-light) 45%, transparent); color: var(--story-light); }
.ui-mono { font: 600 .68rem var(--font-mono); color: #b7c2dc; }
.ui-mono-path {
  padding: .28rem .5rem; border-radius: .42rem; background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font: 500 .66rem var(--font-mono); color: var(--story-light);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .8rem; }
.ui-row span { color: #c7d1eb; }
.ui-row strong { color: var(--story-light); font-weight: 700; }
.ui-check-list { display: grid; gap: .38rem; font: 500 .74rem var(--font-mono); color: #dce4fa; }
.ui-check-list span { display: flex; align-items: center; gap: .46rem; }
.ui-check-list i {
  display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: color-mix(in srgb, var(--story-light) 24%, transparent); color: var(--story-light);
  font-style: normal; font-size: .64rem; font-weight: 700; flex: none;
}
.ui-route-qr { display: flex; align-items: center; gap: .62rem; }
.ui-route-qr .ui-qr-svg { width: 2.9rem; height: 2.9rem; }
.ui-route-qr > div { display: grid; gap: .16rem; }
.ui-route-qr strong { font-size: .84rem; color: #ffffff; }
.ui-route-qr span { font-size: .74rem; color: #c8d1e8; }
.ui-verify-rows { display: grid; gap: .46rem; }
.ui-vrow {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem;
  padding: .42rem .55rem; border-radius: .56rem;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.09);
  font: 500 .72rem var(--font-mono); color: #e4eaf8;
}
.ui-vrow em { font-style: normal; font-weight: 700; color: #86efac; }
.ui-vthumb {
  display: block; width: 2.35rem; aspect-ratio: 1.48; border-radius: .34rem; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16); flex: none;
}
.ui-connector {
  display: grid; place-items: center; position: relative; padding-inline: .2rem;
}
.ui-connector::before {
  content: ""; position: absolute; left: -.35rem; right: -.35rem; top: 50%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--story-light), transparent);
  background-size: 200% 100%; opacity: .75;
}
.ui-connector span {
  position: relative; z-index: 1; padding: .16rem .48rem; border-radius: 999px;
  background: var(--scene-dark); border: 1px solid color-mix(in srgb, var(--story-light) 42%, transparent);
  color: var(--story-light); font: 700 .66rem var(--font-mono);
}
.ui-device-mini { justify-items: center; text-align: center; padding-block: 1.25rem; }
.ui-mini-kicker { font-size: .74rem; color: #c4cee8; }
.ui-qr-card { display: flex; align-items: center; gap: .8rem; }
.ui-qr-card .ui-qr-svg { width: 3.9rem; height: 3.9rem; }
.ui-qr-card > div { display: grid; gap: .22rem; justify-items: start; }
.ui-qr-card span { font-size: .76rem; color: #c5d0ea; }
.ui-qr-card strong { color: var(--story-light); font-size: .92rem; }
.ui-scan-card { justify-items: center; text-align: center; gap: .42rem; }
.ui-scan-box {
  width: 3rem; height: 3rem; border-radius: .56rem; position: relative;
  border: 2px dashed color-mix(in srgb, var(--story-light) 72%, transparent);
  display: grid; place-items: center;
}
.ui-scan-box span { width: 82%; height: 2px; background: var(--story-light); box-shadow: 0 0 10px var(--story-light); }
.ui-mini-code {
  position: relative; display: grid; gap: .38rem; padding: .78rem .82rem; border-radius: .56rem;
  background: rgba(8, 12, 24, 0.78); border: 1px solid rgba(255, 255, 255, 0.11);
}
.ui-mini-code span { display: block; height: 6px; border-radius: 999px; background: rgba(186, 204, 255, 0.34); width: 92%; }
.ui-mini-code span.w75 { width: 72%; background: rgba(202, 171, 250, 0.58); }
.ui-mini-code span.w55 { width: 54%; background: rgba(164, 234, 223, 0.58); }
.ui-mini-code span.w85 { width: 84%; }
.ui-mini-code span.w65 { width: 64%; background: rgba(186, 204, 255, 0.25); }
.ui-touch-ripple {
  position: absolute; right: 20%; bottom: 20%; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: rgba(158, 247, 255, 0.25); border: 2px solid #9ef7ff;
  box-shadow: 0 0 0 6px rgba(158, 247, 255, 0.12);
}
.ui-foot { display: flex; align-items: center; justify-content: space-between; gap: .4rem; font-size: .74rem; color: #c7d1ec; }
.ui-foot strong { color: var(--story-light); }
.ui-thumb-strip { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.ui-mini-thumb {
  position: relative; display: block; aspect-ratio: 1.48; border-radius: .48rem; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16); background: #141c24;
}
.ui-mini-thumb b {
  position: absolute; left: .28rem; bottom: .24rem; padding: .06rem .3rem; border-radius: .28rem;
  background: rgba(10, 14, 22, 0.76); color: #ffffff; font: 700 .56rem var(--font-mono);
}
.ui-mini-thumb i {
  position: absolute; right: .26rem; top: .26rem; width: 1rem; height: 1rem; border-radius: 50%;
  display: grid; place-items: center; background: #22c55e; color: #052e16;
  font-style: normal; font-size: .62rem; font-weight: 800;
}
.ui-scan-strip { overflow: hidden; border-radius: .52rem; }
.ui-scan-line {
  position: absolute; top: 0; bottom: 0; width: 22%; left: -24%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(167, 236, 217, 0.55) 75%, #e2fff6 100%);
}
.ui-story-photo { aspect-ratio: 1.42; }
.ui-reticle {
  position: absolute; left: 56%; top: 42%; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  border: 1.5px solid #a7ecd9; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 14px rgba(167, 236, 217, 0.45);
  transform: translate(-50%, -50%); pointer-events: none;
}
.ui-reticle::before, .ui-reticle::after { content: ""; position: absolute; background: rgba(167, 236, 217, 0.8); }
.ui-reticle::before { left: 26%; right: 26%; top: 50%; height: 1px; }
.ui-reticle::after { top: 26%; bottom: 26%; left: 50%; width: 1px; }
.ui-pm-recover-preview {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .68rem;
  padding: .56rem .68rem; border-radius: .64rem;
  background: rgba(167, 236, 217, 0.08); border: 1px solid rgba(167, 236, 217, 0.24);
}
.ui-pm-recover-preview > div { display: grid; gap: .12rem; min-width: 0; }
.ui-pm-recover-preview strong { font: 700 .76rem var(--font-mono); color: #ffffff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-pm-recover-preview span { font: 500 .66rem var(--font-mono); color: #aad5cc; }
.ui-bar-meter { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.ui-bar-meter i { display: block; width: 76%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--story-light), #ffffff); }
.ui-pm-folders { display: grid; gap: .54rem; }
.ui-pm-folders > div {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .58rem;
  padding: .58rem .7rem; border-radius: .62rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.11);
  font-size: .8rem;
}
.ui-pm-folders > div.highlight {
  background: rgba(167, 236, 217, 0.14); border-color: rgba(167, 236, 217, 0.42);
}
.ui-pm-folders strong { color: var(--story-light); font-size: .78rem; }
.ui-pm-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .68rem; }
.ui-pm-shot {
  display: grid; gap: .34rem; padding: .48rem; border-radius: .66rem;
  background: rgba(9, 25, 28, 0.78); border: 1px solid rgba(255, 255, 255, 0.14); font-size: .76rem;
}
.ui-pm-shot.keep { border-color: var(--story-light); box-shadow: 0 0 0 1px rgba(167, 236, 217, 0.25); }
.ui-pm-shot.copy .ui-mini-thumb { opacity: .76; }
.ui-pm-shot span b { font-family: var(--font-mono); color: var(--story-light); margin-right: .22rem; }
.ui-pm-shot strong { color: var(--story-light); font-size: .74rem; }

/* Legal Section Quick-Jump TOC */
.legal-toc {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem;
}
.legal-toc a {
  display: inline-flex; align-items: center;
  padding: .3rem .68rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 620;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}
.legal-toc a:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--accent); background: var(--tint); }
.legal-section { scroll-margin-top: 5.5rem; }

/* Guides, Guide Hub & Support Studio Headers */
.guide-page { --scene-dark: #141c38; --scene-glow: #4e66b8; --story-light: #d9e2ff; }
.guide-page.hanglish { --scene-dark: #221638; --scene-glow: #7856a3; --story-light: #e8d8ff; }
.guide-page.photoattic { --scene-dark: #2f172b; --scene-glow: #954f71; --story-light: #ffdaea; }
.guide-page.photomaster { --scene-dark: #10282c; --scene-glow: #317875; --story-light: #c7ffec; }

.page-hero, .guide-hero {
  position: relative; isolation: isolate; color: #f4f6ff;
  padding-block: clamp(2.2rem, 4.8vw, 3.6rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse 72% 65% at 80% 0%, rgba(69, 92, 189, 0.36), transparent 64%),
    linear-gradient(180deg, #101528 0%, #151b32 100%);
}
.guide-hero {
  background:
    radial-gradient(ellipse 72% 65% at 80% 0%, color-mix(in srgb, var(--scene-glow) 60%, transparent), transparent 64%),
    linear-gradient(180deg, var(--scene-dark) 0%, color-mix(in srgb, var(--scene-dark) 82%, #070a14) 100%);
}
.page-hero::before, .guide-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.036) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.036) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 84% 92% at 65% 40%, #000 14%, transparent 86%);
}
.page-hero :focus-visible, .guide-hero :focus-visible { outline-color: var(--story-light, #c7d4ff); }
.page-hero .eyebrow { color: #c7d4ff; margin-bottom: .55rem; }
.page-hero h1, .guide-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.16;
  color: #ffffff; margin-bottom: .65rem;
}
.page-hero .lede, .guide-hero .lede {
  color: #cdd6ee; max-width: 46rem; font-size: clamp(.98rem, 1.3vw, 1.12rem);
}
.guide-hero-top { display: flex; align-items: center; gap: 1.05rem; margin-bottom: .85rem; }
.guide-hero-top .app-mark { width: 3.45rem; height: 3.45rem; border-radius: .95rem; }
.guide-hero-top h1 { margin-bottom: 0; }
.guide-crumb {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .32rem;
  font-size: .82rem; color: var(--story-light);
}
.guide-crumb a { color: var(--story-light); text-decoration: none; font-weight: 660; }
.guide-crumb a:hover { text-decoration: underline; }
.guide-crumb span { opacity: .55; }
.guide-meta-strip { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.guide-meta-pill {
  display: inline-flex; align-items: center; padding: .26rem .72rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  color: color-mix(in srgb, var(--story-light) 92%, #ffffff);
  font-size: .8rem; font-weight: 620;
}
.hero-jump-bar { display: flex; flex-wrap: wrap; gap: .48rem; margin-top: 1.35rem; }
.hero-jump-pill {
  display: inline-flex; align-items: center; gap: .42rem;
  padding: .36rem .78rem .36rem .46rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f4f7ff; text-decoration: none; font-size: .83rem; font-weight: 640;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.hero-jump-pill span {
  display: inline-grid; place-items: center; padding: .1rem .42rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); color: var(--story-light, #c7d4ff);
  font: 700 .66rem var(--font-mono);
}
.hero-jump-pill:hover {
  background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}
.hub-body, .guide-body { padding-block: clamp(2.2rem, 5vw, 3.8rem); }
.hub-body .list-grid { margin-top: 0; }
.hub-card-body { flex: 1; min-width: 0; display: grid; gap: .38rem; }
.hub-card-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.hub-card-head h2 { margin: 0; }
.step-count-pill {
  padding: .16rem .52rem; border-radius: 999px; flex: none;
  background: var(--tint); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  font: 700 .7rem var(--font-mono);
}
.hub-role { font-size: .86rem; font-weight: 620; color: var(--ink); margin: 0; }
.hub-flow { font-size: .9rem; color: var(--muted); line-height: 1.58; margin: 0 0 .25rem; }
.guide-footer-bar {
  padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.guide-body .steps li { scroll-margin-top: 5.5rem; }

/* Product Details & StudioLink Relay */
.product-details { gap: clamp(3rem, 7vw, 5.8rem); }
.relay-section { min-width: 0; }
.relay-section .story-intro { margin-bottom: 1.5rem; }
.relay-section h3 { margin: 0; font-size: 1.12rem; letter-spacing: -0.025em; }
.relay-arch {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr) auto minmax(0, 1fr);
  align-items: center; gap: .7rem;
  padding: 1.15rem 1.35rem; margin-bottom: 1.15rem; border-radius: 1.1rem;
  background: linear-gradient(135deg, #0f1b2e 0%, #142a2d 100%);
  border: 1px solid rgba(158, 247, 255, 0.2);
  box-shadow: 0 18px 40px -20px rgba(10, 22, 34, 0.45);
}
.relay-node {
  display: grid; gap: .14rem; padding: .72rem .9rem; border-radius: .78rem;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}
.relay-node.relay-cloud {
  background: rgba(122, 232, 206, 0.12); border-color: rgba(122, 232, 206, 0.36);
}
.relay-node span { font: 700 .66rem var(--font-mono); color: #9fd8ce; letter-spacing: .04em; text-transform: uppercase; }
.relay-node strong { font-size: .88rem; color: #ffffff; }
.relay-link {
  position: relative; display: grid; place-items: center; padding-inline: .35rem;
}
.relay-link::before {
  content: ""; position: absolute; left: -.35rem; right: -.35rem; top: 50%; height: 2px;
  background: linear-gradient(90deg, transparent, #9ef7ff, transparent); opacity: .75;
}
.relay-link span {
  position: relative; z-index: 1; padding: .14rem .48rem; border-radius: 999px;
  background: #102030; border: 1px solid rgba(158, 247, 255, 0.38);
  color: #c8f7ff; font: 700 .64rem var(--font-mono); white-space: nowrap;
}
.relay-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: 1rem; }
.relay-panel, .relay-note {
  padding: clamp(1.15rem, 2.6vw, 1.65rem);
  border: 1px solid #d2e0d6; border-radius: 1.05rem;
  background: #f6faf7; box-shadow: var(--shadow-xs);
}
.relay-panel .steps { margin-top: .95rem; margin-bottom: 0; }
.relay-panel .steps li { background: var(--white); border-color: #dce7df; }
.relay-panel .steps p { margin-top: .22rem; }
.relay-modes dl { margin: .75rem 0 0; }
.relay-modes dt { color: #1b564a; font-weight: 740; margin: .72rem 0 .22rem; font-size: .96rem; }
.relay-modes dd { color: var(--muted); margin: 0 0 .72rem; font-size: .94rem; line-height: 1.65; }
.relay-modes dt:not(:first-child) { padding-top: .72rem; border-top: 1px solid #d5e2d9; }
.relay-note { margin-top: 1rem; background: linear-gradient(135deg, #f3f9f5 0%, #e7f2eb 100%); }
.relay-note p { color: var(--muted); max-width: 66ch; margin-top: .55rem; font-size: .95rem; }
.relay-note a { display: inline-block; margin-top: .65rem; }

.product-next {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.8rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, var(--surface) 0%, var(--tint) 100%);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 1.25rem; box-shadow: var(--shadow-sm);
}
.product-next h2 { margin-bottom: .42rem; }
.product-next p { max-width: 35rem; color: var(--muted); }

/* Motion & Scroll Choreography */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  [role="tabpanel"]:not([hidden]) { animation: panel-reveal 300ms var(--ease-out); }
  .faq details[open] > :not(summary) { animation: faq-open 260ms var(--ease-out); }
  [data-reveal-ready] [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 660ms var(--ease-out) var(--reveal-delay, 0ms),
                transform 660ms var(--ease-out) var(--reveal-delay, 0ms);
  }
  [data-reveal-ready] [data-reveal="visible"] {
    opacity: 1;
    transform: none;
  }
  .inner > * {
    animation: page-enter 320ms var(--ease-out) both;
  }
  .inner > :nth-child(2) { animation-delay: 40ms; }
  .inner > :nth-child(3) { animation-delay: 80ms; }
  .inner > :nth-child(4) { animation-delay: 110ms; }
  [data-scroll-ready] .story-inline .story-frame {
    opacity: .72; transform: translateY(.35rem);
    transition: transform 880ms var(--ease-out), opacity 880ms var(--ease-out), box-shadow 880ms var(--ease-out);
  }
  [data-scroll-ready] [data-current] .story-inline .story-frame {
    opacity: 1; transform: translateY(0); box-shadow: 0 20px 44px -18px rgba(15, 22, 44, 0.45);
  }
  .ui-connector::before { animation: flow-pulse 4.8s linear infinite; }
  .ui-touch-ripple { animation: ripple-pulse 4.4s ease-in-out infinite; }
  .ui-scan-box span { animation: scan-sweep 4.2s ease-in-out infinite; }
  .ui-scan-line { animation: h-scan-sweep 5.6s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
  .ui-reticle { animation: reticle-drift 9.2s ease-in-out infinite; }
  .studio-card-beam .beam-studio,
  [data-host="studio"] .beam-studio,
  [data-host="macbook"] .beam-macbook { animation: beamFlow 3.2s linear infinite; }
  @keyframes beamFlow {
    from { stroke-dashoffset: 48; }
    to { stroke-dashoffset: 0; }
  }
  @keyframes panel-reveal {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes faq-open {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes page-enter {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes flow-pulse {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
  }
  @keyframes ripple-pulse {
    0%, 100% { transform: scale(1); opacity: .95; }
    50% { transform: scale(1.16); opacity: .68; }
  }
  @keyframes scan-sweep {
    0%, 100% { transform: translateY(-6px); opacity: .72; }
    50% { transform: translateY(6px); opacity: 1; }
  }
  @keyframes h-scan-sweep {
    0% { left: -24%; opacity: 0; }
    12% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: 106%; opacity: 0; }
  }
  @keyframes reticle-drift {
    0%, 100% { left: 54%; top: 40%; }
    50% { left: 44%; top: 52%; }
  }
}

@media (min-width: 55rem) and (min-height: 38rem) and (prefers-reduced-motion: no-preference) {
  [data-scroll-ready] .story-grid {
    display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    gap: clamp(2rem, 5vw, 4.8rem);
  }
  [data-scroll-ready] .story-stage {
    display: grid; align-self: start; position: sticky; top: clamp(5rem, 13vh, 8.2rem); min-width: 0;
    border-radius: 1.3rem; background: var(--scene-dark); padding-bottom: .78rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 32px 72px -22px rgba(10, 16, 36, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  .story-inline { min-width: 0; }
  [data-scroll-ready] .story-inline { display: none; }
  [data-scroll-ready] .story-chapters { gap: 0; }
  [data-scroll-ready] .story-chapter {
    min-height: clamp(32rem, 86vh, 52rem); align-content: center;
    padding-left: 1.55rem; border-left: 2px solid var(--line);
    opacity: .34;
    transition: opacity 920ms var(--ease-out), transform 920ms var(--ease-out), border-color 920ms var(--ease-out);
  }
  [data-scroll-ready] .story-chapter[data-current] {
    opacity: 1; border-left-color: var(--accent); transform: translateX(4px);
  }
  [data-scroll-ready] .story-chapter[data-current] .story-copy::before {
    background: var(--accent); color: var(--white); border-color: var(--accent);
  }
  .story-stage-frame {
    grid-area: 1 / 1;
    animation: story-enter 1120ms var(--ease-out) both;
  }
  .story-stage-frame .ui-card {
    animation: node-enter 1000ms var(--ease-out) both;
  }
  .story-stage-frame .ui-card:nth-of-type(2) { animation-delay: 170ms; }
  .story-stage .story-frame { box-shadow: none; border-color: transparent; }
  .story-meter {
    grid-area: 2 / 1; height: 3px; border-radius: 999px; overflow: hidden;
    background: rgba(255, 255, 255, 0.18); margin: .45rem 1.45rem .15rem;
  }
  .story-meter::before {
    content: ""; display: block; height: 100%; border-radius: inherit;
    background: linear-gradient(90deg, var(--story-light), #ffffff);
    transform: scaleX(var(--chapter-progress)); transform-origin: left;
    transition: transform 320ms var(--ease-out);
  }
  [data-current] .story-copy h3 { color: var(--ink); }
  @keyframes story-enter {
    from { opacity: 0; transform: translateY(14px) scale(0.985); filter: blur(4px); }
    to { opacity: 1; transform: none; filter: blur(0); }
  }
  @keyframes node-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .product-opening::after, .page-hero::after, .guide-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
    transition: opacity 280ms var(--ease-out);
    background: radial-gradient(circle 380px at var(--glow-x, 50%) var(--glow-y, 35%), color-mix(in srgb, var(--scene-glow, #6e86ec) 30%, transparent), transparent 72%);
  }
  .list-card, .feature-grid article, .product-next, .support-contact-card, .legal-app-card {
    position: relative; overflow: hidden; isolation: isolate;
  }
  .list-card::before, .feature-grid article::before, .product-next::before,
  .support-contact-card::before, .legal-app-card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    z-index: -1; opacity: 0; transition: opacity 260ms var(--ease-out);
    background: radial-gradient(circle 220px at var(--glow-x, 50%) var(--glow-y, 50%), var(--tint), transparent 72%);
  }
  .home-stage:hover::after, .product-opening:hover::after, .page-hero:hover::after, .guide-hero:hover::after,
  .app-card:hover::before, .list-card:hover::before, .feature-grid article:hover::before,
  .product-next:hover::before, .support-contact-card:hover::before, .legal-app-card:hover::before {
    opacity: 1;
  }
  .app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .app-card::before {
    background: radial-gradient(circle 220px at var(--glow-x, 50%) var(--glow-y, 50%), var(--tint), transparent 72%);
    z-index: 0;
  }
  .app-card > * { position: relative; }
  .app-card > a { position: static; }
  .app-card .stretched-link::after { z-index: 1; }
  [data-transferring] .attic-dest-card { animation: transferPulse 520ms ease alternate infinite; }
  @keyframes transferPulse { to { border-color: var(--signal); } }
}

@media (max-width: 64rem) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .6rem; padding-block: .65rem; min-height: auto; }
  .site-header .app-menu { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 47rem) {
  .shell { width: min(100% - 2rem, 72rem); }
  .hero { grid-template-columns: 1fr; gap: 1.75rem; padding-block: 2.5rem; }
  .product-opening .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-block: 1.85rem 2.6rem; }
  .hero-showcase .is-showcase.studiolink .device-pair,
  .demo-console:not(.hero-showcase) .studiolink .device-pair { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .hero-showcase .is-showcase.studiolink .device-bridge,
  .demo-console:not(.hero-showcase) .studiolink .device-bridge { width: 6rem; margin-inline: auto; margin-block: .32rem; }
  .sl-pin { padding: .22rem .46rem .22rem .38rem; font-size: .64rem; }
  .sl-pin em { display: none; }
  .sl-p2p-badge { font-size: .58rem; bottom: .42rem; }
  .is-showcase .pm-exif, .pm-hash-pill { display: none; }
  .is-showcase .attic-stage, .attic-stage { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  .attic-conduit { height: 1.8rem; }
  .route-branches.attic-targets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-grid, .feature-grid, .list-grid, .photo-choice { grid-template-columns: 1fr; }
  .workflow-overview dl > div { grid-template-columns: minmax(0, 1fr); gap: .55rem; align-items: start; }
  .relay-grid, .relay-arch { grid-template-columns: minmax(0, 1fr); }
  .relay-link { padding-block: .18rem; }
  .relay-link::before { left: 18%; right: 18%; }
  .guide-hero-top { align-items: flex-start; }
  .steps li:not(:last-child)::after { left: calc(1.35rem + 0.95rem - 0.5px); }
  .story-ui-host, .story-ui-qr, .story-ui-mirror, .story-ui-routes { grid-template-columns: minmax(0, 1fr); }
  .ui-connector { padding-block: .18rem; }
  .ui-connector::before { left: 15%; right: 15%; }
}

@media (max-width: 34rem) {
  .attic-card-mini { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .mini-arrow { display: none; }
  .hero-showcase .lab-controls { justify-content: flex-start; }
  .hero-showcase .lab-status { margin-left: 0; flex-basis: 100%; }
}

@media (max-width: 25rem) {
  .site-header nav, .site-footer nav { gap: .25rem .55rem; }
  .site-header nav a { font-size: .82rem; }
  .header-inner { gap: .5rem; }
  .wordmark { gap: .42rem; font-size: .89rem; }
  .brand-mark { width: 1.15rem; height: 1.15rem; }
  .site-header .app-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header .app-menu-link::before { display: none; }
  .product-nav a { font-size: .81rem; padding: .34rem .58rem; }
  .product-page.studiolink :is([data-scroll-section], [data-chapter], .faq details) { scroll-margin-top: 6rem; }
  .footer-inner { flex-wrap: wrap; }
  .console-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-canvas { min-height: 11rem; padding: .58rem; }
  .device-pair { grid-template-columns: minmax(0, 1.18fr) 1.3rem minmax(0, 1fr); gap: .22rem; }
  .hero-showcase .is-showcase.studiolink .device-pair,
  .demo-console:not(.hero-showcase) .studiolink .device-pair { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  .viewer-duo { grid-template-columns: minmax(0, 1.45fr) minmax(0, .62fr); gap: .38rem; }
  .bridge-tag, .chrome-live { display: none; }
  .route-target .line-icon { display: none; }
  .route-branches.attic-targets { grid-template-columns: minmax(0, 1fr); }
  .compare-canvas { gap: .45rem; }
  .hanglish-fields { grid-template-columns: minmax(0, 1fr); }
  .hanglish-key-row button { min-height: 2.15rem; }
}
