.brand .brand-wordmark { width: 106px; height: auto; border-radius: 0; }
.foot .brand .brand-wordmark { width: 90px; }
.landing {
  --bg: #100e15;
  --panel: #181620;
  --text: #faf7fd;
  --muted: #c5becd;
  --accent: #ffbe87;
  --violet: #cbc0ff;
  background: var(--bg);
}
.landing .mast { background: #100e15e6; border-color: #f4ddff25; }
.landing main,.landing .foot { position: relative; }
.ambient {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto;
  height: clamp(780px, 90vw, 1120px);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse 66% 52% at 78% 29%, #29213f, #100e15 94%);
  mask-image: linear-gradient(#000 0% 53%, transparent 100%);
}
.ambient i {
  display: block;
  position: absolute;
  pointer-events: none;
  width: min(1040px, 125vw);
  height: min(690px, 90vw);
  opacity: .67;
  background: radial-gradient(ellipse at 49% 50%, #9160b455 0%, #6330828f 21%, #79468e51 42%, transparent 69%);
  transform-origin: 45% 55%;
  animation: drift-violet 22s ease-in-out infinite alternate;
  inset: -12% -23% auto auto;
}
.ambient i+i {
  inset: 3% auto auto -23%;
  opacity: .54;
  background: radial-gradient(ellipse at 50% 52%, #d283597d, #b8544d46 30%, #a84e532e 47%, transparent 68%);
  animation: drift-amber 26s ease-in-out infinite alternate;
}
.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background: radial-gradient(circle, #f9e7ff21 0 1px, transparent 1.2px) 0 0 / 27px 27px;
  mask-image: radial-gradient(ellipse 60% 65% at 78% 32%, #000, transparent);
}
@keyframes drift-violet {
  from { transform: translate3d(2%, -4%, 0) rotate(-24deg) scale(1.1, .8); }
  to { transform: translate3d(-18%, 16%, 0) rotate(15deg) scale(.96, 1.15); }
}
@keyframes drift-amber {
  from { transform: translate3d(-5%, 8%, 0) rotate(15deg) scale(1, .82); }
  to { transform: translate3d(13%, -11%, 0) rotate(-25deg) scale(1.2, .94); }
}
.landing .hero { min-height: 590px; }
.landing .hero h1 { text-shadow: 0 2px 32px #110c1ab3; }
.landing:lang(ja) .hero h1 { font-size: clamp(34px, 4.1vw, 65px); letter-spacing: -.03em; }
.landing .hero .screen { border-color: #f4ddff4a; box-shadow: 0 30px 80px #08060d9e; }
.landing .hero .screen:hover { border-color: var(--accent); }
.landing .hero .screen-top { background: #1b1824; }
.landing .artwork { background: linear-gradient(125deg,#1a1520, #1c1828 68%, #22192b); }
.no-hardware {
  display: flex;
  align-items: start;
  gap: 9px;
  color: #ffcb9f;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.5;
  margin-top: 15px;
}
.no-hardware svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.tour-note { display: flex; gap: 11px; align-items: baseline; font-size: 13px; color: var(--muted); line-height: 1.55; margin-block: -6px 14px; }
.tour-dot { border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #ffc0952f; width: 8px; height: 8px; flex: none; }
.screen-tour .tabs { gap: 8px; }
.screen-tour .tabs button { min-height: 44px; }
.demo-screen { position: relative; isolation: isolate; }
.hotspot {
  position: absolute;
  inset-inline-start: var(--x);
  inset-block-start: var(--y);
  width: var(--w);
  height: var(--h);
  min-width: 22px;
  min-height: 22px;
  padding: 0;
  border: 2px solid #ffc095c2;
  border-radius: 6px;
  box-shadow: 0 0 0 2px #11131aba, 0 0 0 5px #ffc09529;
  background: #ffbd8712;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.hotspot:hover,.hotspot:focus-visible { background: #ffc09528; border-color: #fff3e2; box-shadow: 0 0 0 4px #ffc0955c; }
.hotspot::after { content: ""; position: absolute; top: -6px; right: -6px; width: 10px; height: 10px; background: #ffc095; border-radius: 50%; border: 1px solid #3d2519; }
.hotspot-close { border-radius: 50%; }
.tour-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding-top: 13px; }
.tour-actions p,.file-demo p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.tour-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  gap: 9px;
  color: #ffd3b6;
  background: #ffc09512;
  border: 1px solid #ffc09555;
  border-radius: 8px;
  font-weight: 640;
  font-size: 13px;
  cursor: pointer;
}
.tour-button:hover { border-color: var(--accent); background: #ffc09526; }

.artwork-story { align-items: center; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.cover-comparison {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid #f6c29e30;
  border-radius: 16px;
  padding: clamp(14px, 2.5vw, 27px);
  background: radial-gradient(ellipse at 86% 42%, #272b3f, transparent 72%), #111318;
}
.cover-compare-card { align-self: stretch; display: grid; grid-template-rows: 1fr auto; gap: 10px; align-items: end; min-width: 0; }
.cover-tag { font-size: clamp(11px, 1vw, 14px); line-height: 1.45; font-weight: 650; color: var(--muted); }
.cover-compare-card.poster .cover-tag,.compare-arrow { color: #ffcb9f; }
.cover-compare-card img {
  width: 100%;
  border-radius: 7px;
  border: 1px solid #f8f2ff2b;
  aspect-ratio: 292/418;
  object-fit: cover;
}
.cover-compare-card.poster img { border-color: #ffc0958c; box-shadow: 0 16px 26px #02020597; }
.compare-arrow { font-size: 25px; }
.cover-comparison figcaption { grid-column: 1/-1; color: var(--muted); font-size: 12px; line-height: 1.5; }
.artwork-demo { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.artwork-demo summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 58px; padding: 12px 2px; color: var(--text); font-size: 16px; font-weight: 660; cursor: pointer; list-style: none; }
.artwork-demo summary::-webkit-details-marker { display: none; }
.summary-icon { border-inline-end: 1.5px solid var(--accent); border-block-end: 1.5px solid var(--accent); width: 10px; height: 10px; transform: translate(-4px, -3px) rotate(45deg); }
.artwork-demo[open] .summary-icon { transform: translate(-4px, 3px) rotate(225deg); }
.artwork-demo[open] .gallery { margin-bottom: 18px; }
.file-demo { min-height: 190px; display: grid; align-content: center; justify-items: start; gap: 13px; padding: 22px; border-radius: 12px; border: 1px solid var(--line); background: #13161e; }
.file-button { display: flex; align-items: center; gap: 12px; width: min(100%, 440px); padding: 10px; background: #1c222e; color: var(--text); border: 1px solid #ffc09555; border-radius: 8px; text-align: start; cursor: pointer; }
.file-button:hover { border-color: var(--accent); }
.file-button img { width: 39px; height: auto; border-radius: 4px; }
.file-button span:last-child { color: var(--accent); margin-inline-start: auto; }

.setup .setup-steps { gap: 12px; }
.setup .setup-steps li { position: relative; background: linear-gradient(142deg,#ffc09513,transparent 70%),var(--panel); }
.step-head { display: flex; align-items: center; justify-content: space-between; }
.step-number { color: var(--accent); font: 650 13px/1 ui-monospace,monospace; letter-spacing: .11em; }
.step-head svg { width: 54px; height: 54px; padding: 3px; color: var(--accent); background: #ffc09514; border: 1px solid #ffc09536; border-radius: 12px; fill: none; stroke: currentColor; stroke-width: 2.9; stroke-linejoin: round; stroke-linecap: round; }
.setup .setup-foot { color: #ffcb9f; margin-top: 17px; font-size: 14px; font-weight: 650; }

@media (max-width: 520px) {
  .landing .hero { min-height: 0; }
  .landing:lang(ja) .hero h1 { font-size: clamp(34px, 8.6vw, 45px); }
  .brand .brand-wordmark { width: 87px; }
  .cover-comparison { gap: 9px; }
  .compare-arrow { font-size: 18px; }
  .tour-actions { align-items: start; }
  .hotspot { border-width: 1px; box-shadow: 0 0 0 2px #ffc09532; }
  .hotspot::after { width: 7px; height: 7px; top: -4px; right: -4px; }
  .hotspot-close { border-radius: 5px; }
  .step-head svg { width: 45px; height: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  .ambient i { animation: none; transform: rotate(-14deg); }
  .ambient i+i { transform: rotate(14deg); }
}
