/* ---- shared GRAPHD header / footer / info panel ---- */
body.info-open .scroll-progress {
  opacity: 0;
}
.scroll-progress {
  position: fixed;
  right: 13px;
  top: 50%;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transform: translateY(-50%);
  pointer-events: none;
  mix-blend-mode: normal;
}
.scroll-progress i {
  display: block;
  width: 9px;
  height: 1px;
  background: var(--fg);
  opacity: 0.42;
  transform: translateX(var(--shift, 0px));
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.16s ease,
    background-color 0.16s ease;
}
.scroll-progress i.lit {
  background: var(--fg);
  opacity: 1;
}
.scroll-progress i.active {
  background: var(--fg);
  opacity: 1;
}
@media (max-width: 640px) {
  .scroll-progress {
    right: 9px;
    gap: 6px;
  }
  .scroll-progress i {
    width: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress i {
    transition: none;
  }
}
.thead {
  position: sticky;
  top: var(--hh);
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 56px;
}
.brand {
  display: block;
  color: var(--fg);
}
.brand svg {
  display: block;
  height: 20px;
  width: 49px;
}
.by {
  font-size: 13px;
  color: var(--mut);
  padding-left: 20px;
  border-left: 1px solid var(--line2);
}
.links {
  display: flex;
  gap: 4px;
  margin-left: 12px;
  font-size: 14px;
  color: var(--mut);
}
.links a {
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s;
}
.links a:hover,
.by:hover {
  color: var(--fg);
}
.actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang,
.theme {
  width: 16px;
  height: 16px;
  padding: 0;
  cursor: pointer;
  display: block;
  color: var(--fg);
}
.lang {
  border: 0;
  background: none;
}
.lang svg {
  display: block;
  width: 16px;
  height: 16px;
  overflow: visible;
}
.lang polygon {
  fill: transparent;
  stroke: var(--fg);
  stroke-width: 1;
  stroke-linejoin: miter;
  transition: fill 0.2s;
}
.lang[data-lang="ja"] polygon {
  fill: var(--fg);
}
.theme {
  border: 1.5px solid var(--fg);
  border-radius: 50%;
  background: none;
}
.lang:focus-visible,
.theme:focus-visible,
.gicon:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}
.btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line2);
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn:hover {
  border-color: var(--mut);
}
.btn.pri {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn.pri:hover {
  opacity: 0.88;
}
.btn.sm {
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
}
.gwrap,
.gfoot,
.info {
  font-family: "Pliant", "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 13px;
  line-height: 1.15;
  font-stretch: 125%;
  font-weight: 400;
  color: var(--fg);
}
.gwrap {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--hh);
  margin-top: calc(-1 * env(safe-area-inset-top, 0px));
  padding: calc(13px + env(safe-area-inset-top, 0px)) 13px 13px;
  background: var(--bg);
}
.ghead {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}
.glogo {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
}
.glogo b {
  font-weight: 700;
}
.glogo sup {
  font-size: 6px;
  vertical-align: top;
  position: relative;
  top: -2px;
}
.gttl {
  grid-column: 2;
  justify-self: start;
  font-size: 13px;
  text-transform: uppercase;
}
.glogo:hover,
.gttl:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gactions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.clock {
  font-size: 12px;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gicon {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--fg);
  display: block;
  position: relative;
  padding: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.gicon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: var(--fg);
  opacity: 0;
  transition: opacity 0.2s;
}
.gicon[aria-expanded="true"]::before {
  opacity: 1;
}
.gicon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 1.5px solid var(--fg);
}
.info {
  position: fixed;
  top: var(--hh);
  bottom: 0;
  right: 0;
  width: max(33.333vw, 340px);
  max-width: 100%;
  border-left: 1px solid var(--fg);
  z-index: 25;
  background: var(--bg);
  overflow-y: auto;
  padding: 30px 13px calc(24px + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s,
    visibility 0s 0.25s;
}
.info.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s;
}
html.head-hidden .gwrap {
  transform: translateY(-100%);
}
.thead {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
html.head-hidden .thead {
  transform: translateY(calc(-1 * var(--hh)));
}
@media (prefers-reduced-motion: reduce) {
  .thead {
    transition: none;
  }
}
html.head-hidden .info {
  top: 0;
}
@media (prefers-reduced-motion: reduce) {
  .gwrap {
    transition: none;
  }
}
.info h2 {
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
}
.info dl {
  margin: 0;
  max-width: 900px;
}
.info .row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--fg);
}
.info dt {
  font-size: 12px;
  text-transform: uppercase;
}
.info dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
.info dd p {
  margin: 0 0 0.6em;
}
.info dd .n {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}
.info a {
  color: inherit;
  text-decoration: underline;
}
.info .upd {
  margin: 28px 0 0;
  font-size: 12px;
}
.gfoot {
  padding: 26px 13px 13px;
  font-size: 12px;
}
.gfoot .copy {
  display: flex;
  gap: 14px;
  word-spacing: 0.3em;
}
.gfoot .logo {
  font-size: inherit;
  font-weight: 400;
}
.gfoot .logo b {
  font-weight: 700;
}
.gfoot .logo sup {
  font-size: 6px;
  vertical-align: top;
  position: relative;
  top: -2px;
}
.totop {
  margin-left: auto;
  color: inherit;
  text-decoration: none;
  display: block;
  line-height: 0;
  word-spacing: 0;
}
.totop svg {
  display: block;
  width: 14px;
  height: 14px;
  overflow: visible;
}
.totop polygon {
  fill: transparent;
  stroke: var(--fg);
  stroke-width: 1;
  stroke-linejoin: miter;
  transition: fill 0.2s;
}
.totop:hover polygon {
  fill: var(--fg);
}
.totop:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}
.gfoot .mark {
  display: block;
  width: 100%;
  aspect-ratio: 1084.795 / 132.297;
  margin-top: 14px;
  background-color: currentColor;
  -webkit-mask: url("../../images/graphd-mark.svg") center / 100% 100% no-repeat;
  mask: url("../../images/graphd-mark.svg") center / 100% 100% no-repeat;
}
@media (max-width: 640px) {
  .ghead {
    grid-template-columns: auto 1fr auto;
  }
  .gttl {
    padding-left: 16px;
  }
  .clock .city {
    display: none;
  }
  .info .row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .info,
  .info.open,
  .gicon::before {
    transition: none;
  }
}
::selection {
  background: #fff;
  color: #000;
}
::-moz-selection {
  background: #fff;
  color: #000;
}
:root[data-theme="light"] ::selection {
  background: #000;
  color: #fff;
}
:root[data-theme="light"] ::-moz-selection {
  background: #000;
  color: #fff;
}
/* ---- page ---- */
:root {
  --hh: calc(42px + env(safe-area-inset-top, 0px));
  --bg: #0e0e0d;
  --fg: #f1f0ec;
  --fg2: #c9c8c3;
  --mut: #8f8e89;
  --line: rgba(255, 255, 255, 0.1);
  --line2: rgba(255, 255, 255, 0.2);
  --panel: #171716;
  --glow: rgba(255, 255, 255, 0.07);
  --acc: var(--fg);
  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
:root[data-theme="light"] {
  --bg: #f5f4f0;
  --fg: #111110;
  --fg2: #3a3a37;
  --mut: #6c6b66;
  --line: rgba(0, 0, 0, 0.1);
  --line2: rgba(0, 0, 0, 0.2);
  --panel: #fff;
  --glow: rgba(0, 0, 0, 0.14);
  color-scheme: light;
}
html {
  scroll-padding-top: calc(72px + var(--hh));
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    400 15px/1.7 "Helvetica Neue",
    Arial,
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}
.ul {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--fg);
  color: var(--bg);
  padding: 8px 14px;
}
.skip:focus {
  left: 8px;
  top: 8px;
}
.c {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
h1,
h2,
h3 {
  word-break: keep-all;
  overflow-wrap: anywhere;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}

/* top bar */
.thead {
  background: var(--bg);
}
.brand svg {
  height: 18px;
  width: 44px;
}
.links {
  margin-left: 8px;
}
.links a {
  padding: 6px 9px;
}
.btn {
  border-radius: 6px;
  height: 42px;
  padding: 0 20px;
  font-weight: 500;
  background: none;
  color: var(--fg);
  cursor: pointer;
}
.btn:hover {
  border-color: var(--fg);
}
.btn.pri {
  background: var(--fg);
  color: var(--bg);
}
.btn.sm {
  height: 32px;
  padding: 0 14px;
}

/* hero */
.hero {
  padding: 72px 0 48px;
}
.hero h1 {
  font-size: clamp(27px, 5.4vw, 60px);
  line-height: 1.2;
  max-width: 15em;
}
.lede {
  max-width: 36em;
  margin: 22px 0 0;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--fg2);
  line-height: 1.8;
}
.cta {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--mut);
}
.bul {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  max-width: 760px;
}
.bul li {
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: 14px;
}
.bul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 10px;
  height: 1px;
  background: var(--fg);
}

/* demo window */
.win {
  border: 1px solid var(--line2);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}
.wbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--mut);
}
.wbody {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
}
.stage {
  background: var(--bg);
  border-right: 1px solid var(--line);
}
#demo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
}
.ctl {
  font-size: 13px;
  display: flex;
  flex-direction: column;
}
.ctl h2 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--mut);
  padding: 14px 16px 10px;
}
.ctl .g {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
}
.ctl .lb {
  color: var(--mut);
}
.ctl .g > div {
  display: flex;
  gap: 6px;
}
.ctl button {
  font: inherit;
  font-size: 12px;
  color: var(--fg);
  background: none;
  border: 1px solid var(--line2);
  border-radius: 5px;
  padding: 3px 10px;
  cursor: pointer;
}
.ctl button[aria-pressed="true"] {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}
.ctl .cap {
  margin: auto 0 0;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--mut);
}
.after-demo {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--mut);
}

/* sections */
section {
  padding: 88px 0 0;
}
.sh {
  margin-bottom: 36px;
  max-width: 42em;
}
.sh h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.25;
}
.sh p {
  margin: 12px 0 0;
  color: var(--fg2);
}
h3 {
  font-size: 16px;
  line-height: 1.4;
}

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: 40px;
}
.tags li {
  break-inside: avoid;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.split-s {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-top: 56px;
}
.kv {
  margin: 0;
}
.kv .row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.kv .row:first-child {
  border-top: 0;
  padding-top: 0;
}
.kv dt {
  color: var(--mut);
  font-size: 14px;
}
.kv dd {
  margin: 0;
}
.split-s .kv .row {
  grid-template-columns: 1fr 2.2fr;
}

img.shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line2);
  border-radius: 5px;
  background: var(--panel);
}
figure {
  margin: 0;
}
figcaption {
  margin-top: 12px;
}
figcaption h3 {
  font-size: 15px;
  margin-bottom: 4px;
}
figcaption h3 b {
  font-weight: 500;
  color: var(--mut);
  margin-right: 8px;
  font-size: 12px;
}
figcaption p {
  margin: 0;
  color: var(--mut);
  font-size: 13px;
  line-height: 1.6;
}

.duo {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: start;
}
.duo.rev > :first-child {
  order: 2;
}
.duo h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
}
.duo > div > p {
  margin: 12px 0 28px;
  color: var(--fg2);
  max-width: 30em;
}
.shots {
  display: grid;
  gap: 16px;
}
.pts > div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.pts b {
  display: block;
  font-weight: 500;
  font-size: 14px;
}
.pts span {
  color: var(--mut);
  font-size: 13px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line2);
  border-radius: 8px;
  background: var(--panel);
}
.plan.hi {
  border: 2px solid var(--fg);
  padding: 27px;
}
.plan h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.plan .price {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.plan .lead-s {
  margin: 0;
  color: var(--fg2);
  font-size: 14px;
}
.plan ul {
  list-style: none;
  margin: 8px 0 20px;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 14px;
}
.plan li {
  padding-left: 18px;
  position: relative;
}
.plan li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 9px;
  height: 1px;
  background: var(--fg);
}
.plan .btn {
  margin-top: auto;
  justify-content: center;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  color: var(--mut);
}
.faq details[open] summary:after {
  content: "−";
}
.faq details p {
  margin: 10px 0 0;
  color: var(--fg2);
  font-size: 14px;
  max-width: 42em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 56px 0 0;
  margin-top: 88px;
  border-top: 1px solid var(--line);
}
section.split {
  padding-top: 56px;
}
.split h2 {
  font-size: 22px;
}
#log {
  padding-bottom: 96px;
}

@media (max-width: 820px) {
  .links {
    display: none;
  }
  .hero {
    padding-top: 44px;
  }
  section {
    padding-top: 64px;
  }
  .wbody {
    grid-template-columns: 1fr;
  }
  .stage {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .bul {
    grid-template-columns: 1fr;
  }
  .tags {
    columns: 1;
  }
  .split-s,
  .split,
  .kv .row,
  .split-s .kv .row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .split,
  .split-s {
    gap: 20px;
  }
  .split {
    margin-top: 64px;
  }
  .duo {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .duo.rev > :first-child {
    order: 0;
  }
  .cmp-tag {
    top: 8px;
    font-size: 10px;
    padding: 3px 6px;
  }
  .cmp-tag.d {
    left: 8px;
  }
  .cmp-tag.l {
    right: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---- restored ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.grid > * {
  background: var(--bg);
  padding: 28px;
}
.grid p {
  margin: 0;
  color: var(--mut);
  font-size: 14px;
  max-width: 36ch;
}
.feat article {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.feat .n {
  line-height: 0;
  color: var(--acc);
}
.feat .n svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.feat h3 {
  margin-bottom: 8px;
}
.ph {
  display: grid;
  place-items: center;
  aspect-ratio: 16/10;
  padding: 16px;
  text-align: center;
  border: 1px dashed var(--line2);
  border-radius: 12px;
  color: var(--mut);
  font-size: 12px;
  background:
    radial-gradient(circle, var(--line2) 1px, transparent 1.5px) 0 0/14px 14px,
    var(--panel);
}
.ph.sq {
  aspect-ratio: 1;
}
.ph.wide {
  max-width: 940px;
  margin: 0 auto;
}
.ph.has-img {
  animation: none;
  display: block;
  padding: 0;
  overflow: hidden;
  background: var(--panel);
  border-style: solid;
}
.ph.has-img:not(.sq) {
  aspect-ratio: auto;
}
.ph.has-img img {
  display: block;
  width: 100%;
  height: auto;
}
.shots {
  display: grid;
  gap: 16px;
}
.gal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.gal.m {
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 20px;
}
.gal figure {
  margin: 0;
}
.gal h3 {
  margin: 14px 0 6px;
  font-size: 15px;
}
.gal h3 b {
  font-weight: 500;
  color: var(--mut);
  margin-right: 8px;
  font-size: 12px;
}
.gal p {
  margin: 0;
  color: var(--mut);
  font-size: 13px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 24px 0;
}
.stats > div {
  padding: 36px 24px;
  border-left: 1px solid var(--line);
}
.stats > div:first-child {
  border-left: 0;
}
.stats b {
  display: block;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}
.stats span {
  display: block;
  margin-top: 10px;
  color: var(--mut);
  font-size: 13px;
}
#flow .n {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--acc);
  line-height: 1;
}
.gal figure .ph {
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.gal figure:hover .ph {
  transform: translateY(-4px);
  border-color: var(--acc);
}
/* ---- screenshot frame (Linear-like) ---- */
.ph.has-img {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line2);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: none;
}
:root[data-theme="light"] .ph.has-img {
  box-shadow: none;
}
.ph.has-img.sq {
  border-radius: 4px;
}

/* ---- cursor-reactive tilt + glare on screenshots ---- */
.ph.has-img,
.gal figure:hover .ph.has-img {
  transform: perspective(1000px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.25s,
    box-shadow 0.3s;
  will-change: transform;
}
.gal figure:hover .ph.has-img {
  --lift: -4px;
}
.ph.has-img.tilting,
.gal figure:hover .ph.has-img.tilting {
  transition:
    transform 0.12s linear,
    border-color 0.25s,
    box-shadow 0.3s;
}
.ph.has-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0.04) 40%,
    transparent 70%
  );
}
:root[data-theme="light"] .ph.has-img::after {
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 0, 0, 0.07),
    rgba(0, 0, 0, 0.02) 40%,
    transparent 70%
  );
}
.ph.has-img.tilting::after {
  opacity: 1;
}
.ph.has-img.tilting {
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce), (hover: none) {
  .ph.has-img,
  .gal figure:hover .ph.has-img {
    transform: none;
  }
  .ph.has-img::after {
    display: none;
  }
}
.shots {
  gap: 28px;
}
/* ---- stacked image pair: click to swap layers ---- */
.shots.stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  padding: 22px 22px 0 0;
}
.shots.stack > .ph.has-img {
  grid-area: 1/1;
  position: relative;
  z-index: 2;
  cursor: pointer;
  translate: 0 0;
  transform-origin: top right;
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    translate 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.4s,
    border-color 0.25s,
    box-shadow 0.3s;
}
.shots.stack > .ph.has-img.tilting {
  transition:
    transform 0.12s linear,
    translate 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.4s,
    border-color 0.25s,
    box-shadow 0.3s;
}
.shots.stack > .ph.has-img.is-back {
  z-index: 1;
  translate: 22px -22px;
  filter: brightness(0.55) saturate(0.85);
}
:root[data-theme="light"] .shots.stack > .ph.has-img.is-back {
  filter: brightness(0.88) saturate(0.9);
}
.shots.stack > .ph.has-img.is-back:hover {
  filter: brightness(0.75) saturate(0.95);
}
:root[data-theme="light"] .shots.stack > .ph.has-img.is-back:hover {
  filter: brightness(0.96);
}
@media (max-width: 820px) {
  .shots.stack {
    padding: 16px 16px 0 0;
  }
  .shots.stack > .ph.has-img.is-back {
    translate: 16px -16px;
  }
}
.gal.m.car {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 4px;
} /* ---- dark / light compare slider ---- */
.cmp {
  --p: 40%;
  isolation: isolate;
  aspect-ratio: 1600/861;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.cmp.ph.has-img:not(.sq) {
  aspect-ratio: 1600/861;
}
.cmp:has(.cmp-bar:focus-visible) {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}
.cmp.ph.has-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}
.cmp-dark {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--p)) 0 0);
}
.cmp-tag {
  position: absolute;
  top: 12px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 6px;
  font:
    500 11px/1 system-ui,
    "Helvetica Neue",
    Arial,
    sans-serif;
  letter-spacing: 0.1em;
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: opacity 0.2s;
}
.cmp-tag.d {
  left: 12px;
  color: #f7f8f8;
  background: rgba(8, 9, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.cmp-tag.l {
  right: 12px;
  color: #0b0c0e;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.cmp-tag.off {
  opacity: 0;
}
.cmp-bar {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--p);
  width: 40px;
  margin-left: -20px;
  touch-action: none;
  outline: none;
  mix-blend-mode: difference;
}
.cmp-bar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  margin-left: -0.5px;
  background: #fff;
}
.cmp-bar i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #fff;
}
html.cmp-drag,
html.cmp-drag * {
  user-select: none;
  -webkit-user-select: none;
}
html.has-dot.cmp-drag .cursor-dot {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  background: transparent;
  box-shadow: inset 0 0 0 1px #fff;
}
@media (max-width: 820px) {
  .cmp-tag {
    top: 8px;
    font-size: 10px;
    padding: 3px 6px;
  }
  .cmp-tag.d {
    left: 8px;
  }
  .cmp-tag.l {
    right: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cmp-tag {
    transition: none;
  }
}
.gal.m.car::-webkit-scrollbar {
  display: none;
}
/* overflow-x:auto clips vertically too: give the lift/tilt/shadow room, cancel it with negative margin */
.gal.m.car {
  padding-top: 20px;
  padding-bottom: 28px;
  margin-top: -20px;
  margin-bottom: -24px;
}
.gal.m.car figure {
  flex: 0 0 clamp(190px, 24vw, 270px);
  scroll-snap-align: start;
  user-select: none;
}
.gal.m.car.dg {
  scroll-snap-type: none;
  cursor: grabbing;
}
.cnav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 16px;
}
.cnav .btn {
  cursor: pointer;
  background: none;
  color: var(--fg);
  width: 40px;
  padding: 0;
  justify-content: center;
}
/* custom cursor: small dot */
.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  display: none;
  will-change: transform;
  transition:
    width 0.18s,
    height 0.18s,
    margin 0.18s,
    opacity 0.15s,
    background-color 0.18s,
    box-shadow 0.18s;
}
html.has-dot,
html.has-dot * {
  cursor: none !important;
}
html.has-dot .cursor-dot {
  display: block;
}
.cursor-dot.on {
  opacity: 1;
}
html.has-dot .cursor-dot.hot {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  background: transparent;
  box-shadow: inset 0 0 0 1px #fff;
}
@media (prefers-reduced-motion: reduce) {
  .cursor-dot {
    transition: none;
  }
}
.duo .ph {
  margin: 0;
}
.pts {
  display: grid;
  gap: 14px;
}
.pts > div {
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--line2);
  transition: border-color 0.2s;
}
.pts > div:hover {
  border-color: var(--acc);
}
@media (max-width: 820px) {
  .gal,
  .gal.m {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
}
@media (max-width: 820px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats > div:nth-child(3) {
    border-left: 0;
  }
  .duo {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
  .duo.rev > :first-child {
    order: 0;
  }
}
/* ---- look: soft grey page, white rounded cards, centered tight headlines (after cooldock.app) ---- */
:root {
  --bg: #0f0f0e;
  --panel: #1a1a19;
  --fg2: #c9c8c3;
}
:root[data-theme="light"] {
  --bg: #edecea;
  --panel: #f9f9f8;
  --line: rgba(0, 0, 0, 0.09);
  --line2: rgba(0, 0, 0, 0.14);
}
html {
  scroll-padding-top: calc(88px + var(--hh));
}

/* floating pill nav */
.thead {
  background: transparent;
  border-bottom: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
}
.thead .bar {
  pointer-events: auto;
  max-width: 780px;
  width: calc(100% - 24px);
  height: 48px;
  margin: 12px auto 0;
  padding: 0 6px 0 18px;
  gap: 6px;
  background: var(--panel);
  border-radius: 999px;
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.25);
}
.thead .links {
  margin-left: 10px;
  gap: 0;
}
.thead .links a {
  padding: 6px 9px;
  font-size: 13px;
}
html.head-hidden .thead {
  transform: translateY(-130%);
}
@media (max-width: 980px) {
  .thead .links {
    display: none;
  }
}

/* buttons */
.btn {
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--panel);
  color: var(--fg);
}
.btn:hover {
  border: 0;
  opacity: 0.85;
}
.btn.pri {
  background: var(--fg);
  color: var(--bg);
}
.btn.sm {
  height: 36px;
  padding: 0 16px;
}
.plan .btn:not(.pri) {
  background: var(--bg);
}

/* headlines */
h1,
h2,
h3 {
  letter-spacing: -0.045em;
}
:lang(ja) h1,
:lang(ja) h2,
:lang(ja) h3 {
  letter-spacing: -0.02em;
}
.hero {
  text-align: center;
  padding: 56px 0 56px;
}
.hero h1 {
  font-size: clamp(40px, 7.2vw, 76px);
  line-height: 1.04;
  max-width: 12em;
  margin: 0 auto;
}
:lang(ja) .hero h1 {
  font-size: clamp(25px, 5.8vw, 60px);
  line-height: 1.2;
  max-width: none;
}
.lede {
  margin: 24px auto 0;
  max-width: 34em;
}
.cta {
  justify-content: center;
  margin-top: 28px;
}
.note {
  margin-top: 16px;
}
.bul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  max-width: none;
  margin: 28px auto 0;
}
.bul li {
  padding: 0;
  border: 0;
  font-size: 13px;
  color: var(--mut);
}
.bul li:before {
  display: none;
}
.sh {
  margin: 0 auto 40px;
  text-align: center;
}
.sh h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
}
:lang(ja) .sh h2 {
  font-size: clamp(28px, 4.2vw, 46px);
}
.sh p {
  margin-left: auto;
  margin-right: auto;
}

/* demo window */
.win {
  border: 0;
  border-radius: 28px;
}
.wbar {
  padding: 14px 22px;
  border-bottom: 0;
}
.stage {
  border-right: 0;
}
.after-demo {
  text-align: center;
}

/* images */
.ph.has-img {
  border: 0;
  border-radius: 24px;
}
.ph.has-img.sq {
  border-radius: 20px;
}

/* feature cards */
.grid {
  background: none;
  border: 0;
  border-radius: 0;
  gap: 16px;
  overflow: visible;
}
.grid > * {
  background: var(--panel);
  border-radius: 24px;
  padding: 32px;
}
.feat article {
  gap: 48px;
}
.stats {
  border: 0;
  margin: 56px 0 0;
}
.stats > div {
  border: 0;
  text-align: center;
}
.tags {
  columns: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tags li {
  background: var(--panel);
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
}

/* image + text blocks as cards */
.duo {
  background: var(--panel);
  border-radius: 28px;
  padding: 44px;
  margin-top: 16px;
  align-items: center;
}
#sound {
  margin-top: 88px;
}
.pts > div:first-child {
  border-top: 0;
}
.duo .ph {
  margin: 0;
}

/* plans, faq, specs */
.plan {
  border: 0;
  border-radius: 16px;
  padding: 32px;
}
.plan.hi {
  border: 2px solid var(--fg);
  padding: 30px;
}
.faq details {
  padding: 18px 4px;
}
section.split {
  background: var(--panel);
  border: 0;
  border-radius: 28px;
  padding: 40px;
  margin-top: 16px;
}
#spec {
  margin-top: 88px;
}
#log {
  padding-bottom: 40px;
  margin-bottom: 96px;
}

@media (max-width: 820px) {
  .duo {
    padding: 24px;
    border-radius: 24px;
  }
  section.split {
    padding: 28px 24px;
    border-radius: 24px;
  }
  #spec,
  #sound {
    margin-top: 64px;
  }
  .grid > * {
    padding: 24px;
  }
  .win {
    border-radius: 20px;
  }
}
.split-s {
  background: var(--panel);
  border-radius: 28px;
  padding: 40px;
}
@media (max-width: 820px) {
  .split-s {
    padding: 28px 24px;
    border-radius: 24px;
  }
}
.plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.plan {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 820px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* TITTLE header: always visible, richer */
.thead .bar {
  background: color-mix(in srgb, var(--panel) 30%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line);
}
.thead {
  top: var(--hh);
  transition: top 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
html.head-hidden .thead {
  top: 0;
  transform: none;
}
.thead .bar {
  position: relative;
  max-width: 860px;
  height: 56px;
  padding: 0 8px 0 20px;
  gap: 10px;
}
.thead .brand svg {
  height: 20px;
  width: 49px;
}
.thead .links {
  margin-left: 14px;
  gap: 2px;
}
.thead .links a {
  padding: 7px 11px;
  font-size: 13px;
  border-radius: 999px;
  transition:
    background 0.2s,
    color 0.2s;
}
.thead .links a:hover {
  color: var(--fg);
}
.thead .links a.on {
  background: var(--bg);
  color: var(--fg);
}
.thead .actions {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.thead .btn.sm:not(.pri) {
  background: var(--bg);
}
@media (max-width: 980px) {
  .thead .bar {
    max-width: 520px;
  }
  .thead .btn.sm:not(.pri) {
    display: none;
  }
}

/* FULL plan: stand out */
.plan.hi {
  position: relative;
  border: 0;
  padding: 32px;
  background: var(--fg);
  color: var(--bg);
  transform: translateY(-8px);
}
.plan.hi .lead-s {
  color: color-mix(in srgb, var(--bg) 72%, transparent);
}
.plan.hi li:before {
  background: var(--bg);
}
.plan.hi .btn.pri {
  background: var(--bg);
  color: var(--fg);
}
.plan.hi .price {
  font-size: 44px;
}
@media (max-width: 820px) {
  .plan.hi {
    transform: none;
  }
}
/* feature list by category */
.fgroup {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px 24px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.fgroup h3 {
  margin: 6px 0 0;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.fgroup .tags {
  columns: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}
.fgroup .tags li {
  background: var(--panel);
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
}
@media (max-width: 820px) {
  .fgroup {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* CoolDock-style polish: card sections, soft glow, rounder media */
section {
  padding-top: clamp(72px, 10vw, 120px);
}
.hero {
  position: relative;
}
.hero:before {
  content: "";
  position: absolute;
  inset: -40px 0 auto;
  height: 560px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 60% 70% at 50% 0%,
    color-mix(in srgb, var(--fg) 11%, transparent),
    transparent 70%
  );
}
.sh p {
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
  color: var(--mut);
}
.feat .grid {
  gap: 16px;
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.feat .grid > * {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}
.fgroup {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 16px;
}
.fgroup .tags li {
  background: var(--bg);
}
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 12px;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.ph.has-img:not(.sq) {
  border-radius: 16px;
}
.ph.has-img.sq {
  border-radius: 10px;
}
.plan {
  box-shadow: 0 1px 0 var(--line);
}
@media (max-width: 820px) {
  .fgroup {
    padding: 22px;
  }
  .feat .grid > * {
    padding: 26px;
  }
  .faq details {
    padding: 16px 18px;
  }
}
/* hero chips + stats band */
.bul {
  gap: 10px;
  margin-top: 32px;
  max-width: 760px;
}
.bul li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--fg2);
  font-size: 13px;
}
.bul li:before {
  display: block;
  position: static;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg);
  opacity: 0.5;
  margin-right: 8px;
}
.bul li {
  display: inline-flex;
  align-items: center;
}
.stats {
  margin: 56px 0 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.stats > div {
  padding: 40px 16px;
  border-left: 1px solid var(--line);
}
.stats > div:first-child {
  border-left: 0;
}
.stats b {
  font-size: clamp(36px, 5.4vw, 64px);
}
@media (max-width: 820px) {
  .stats > div:nth-child(3) {
    border-left: 0;
  }
  .stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
/* hero highlights: numbered cards instead of capsules */
.bul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 1040px;
  margin: 40px auto 0;
  counter-reset: b;
  text-align: left;
}
.bul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 18px 18px 20px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 13px;
  line-height: 1.5;
  counter-increment: b;
}
.bul li:before {
  content: "0" counter(b);
  display: block;
  position: static;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  opacity: 1;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mut);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 980px) {
  .bul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bul li:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 480px) {
  .bul li {
    gap: 16px;
  }
}
/* full-width inverted sections */
:root {
  --ibg: #f1f0ec;
  --ifg: #0f0f0e;
  --ifg2: #2a2a28;
  --imut: #6c6b66;
  --iline: rgba(0, 0, 0, 0.12);
  --ipanel: #fff;
}
:root[data-theme="light"] {
  --ibg: #111110;
  --ifg: #f5f4f0;
  --ifg2: #c9c8c3;
  --imut: #8f8e89;
  --iline: rgba(255, 255, 255, 0.14);
  --ipanel: #1c1c1b;
}
html {
  overflow-x: clip;
}
section.inv {
  --bg: var(--ibg);
  --fg: var(--ifg);
  --fg2: var(--ifg2);
  --mut: var(--imut);
  --line: var(--iline);
  --line2: var(--iline);
  --panel: var(--ipanel);
  background: var(--ibg);
  color: var(--ifg);
  box-shadow: 0 0 0 100vmax var(--ibg);
  clip-path: inset(0 -100vmax);
  padding-bottom: clamp(72px, 10vw, 120px);
  margin-top: clamp(72px, 10vw, 120px);
  padding-top: clamp(72px, 10vw, 120px);
}
section.inv + section {
  padding-top: clamp(72px, 10vw, 120px);
}
/* demo: breathing room */
#try {
  max-width: 720px;
  margin: clamp(48px, 8vw, 96px) auto clamp(24px, 5vw, 64px);
  border-radius: 16px;
}
@media (max-width: 820px) {
  #try {
    margin-left: 0;
    margin-right: 0;
    border-radius: 12px;
  }
}
/* hero like CoolDock: big type, landscape glow, glass demo frame */
:root {
  --hglow: rgba(255, 205, 120, 0.14);
  --hill1: rgba(120, 140, 80, 0.2);
  --hill2: rgba(70, 90, 50, 0.28);
}
:root[data-theme="light"] {
  --hglow: rgba(255, 214, 140, 0.7);
  --hill1: rgba(130, 150, 90, 0.35);
  --hill2: rgba(95, 115, 65, 0.32);
}
.herowrap {
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(40px, 8vw, 110px);
}
.herowrap:before {
  display: none;
}
.hero:before {
  display: none;
}
.hero {
  padding-top: clamp(56px, 9vw, 120px);
}
.hero h1 {
  font-size: clamp(44px, 8.4vw, 92px);
  line-height: 1;
  letter-spacing: -0.055em;
  max-width: 10.5em;
}
:lang(ja) .hero h1 {
  font-size: clamp(30px, 6.8vw, 70px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.hero .lede {
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
  color: var(--mut);
}
.hero .cta .btn.pri {
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.5);
}
#try {
  background: color-mix(in srgb, var(--panel) 55%, transparent);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
/* smaller overall, wide side margins, unified buttons */
.c {
  max-width: 1120px;
  padding-left: var(--gut);
  padding-right: var(--gut);
}
.hero h1 {
  font-size: clamp(34px, 6.2vw, 66px);
}
:lang(ja) .hero h1 {
  font-size: clamp(24px, 5vw, 50px);
}
.sh h2 {
  font-size: clamp(24px, 3.8vw, 38px);
}
.hero .lede {
  font-size: 15px;
}
#try {
  max-width: 680px;
}
.btn {
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
}
.hero .cta .btn,
.plan .btn {
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
}
.thead .btn.sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
}
/* header pill matches the content / headline width */
@media (min-width: 821px) {
  .thead .bar {
    width: calc(min(1120px, 100vw) - 2 * var(--gut));
    max-width: none;
    padding: 0 8px 0 18px;
    gap: 6px;
  }
  .thead .links {
    min-width: 0;
    margin-left: 8px;
    gap: 0;
  }
  .thead .links a {
    padding: 7px 8px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .thead .btn.sm:not(.pri) {
    display: none;
  }
}
/* header: more space above */
.thead {
  padding-top: 12px;
  transition:
    top 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    padding-top 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.thead .bar {
  margin-top: 0;
}
html.head-hidden .thead {
  padding-top: 24px;
}
html {
  scroll-padding-top: calc(112px + var(--hh));
}
/* footer: intro + link columns above the wordmark */
.gfoot .fmain {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px clamp(19px, calc(9vw - 13px), 107px) 72px;
  display: grid;
  gap: 48px;
}
.gfoot .ftag {
  margin: 0;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-stretch: 100%;
}
.gfoot .fdesc {
  margin: 14px 0 0;
  max-width: 44em;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg2);
  font-stretch: 100%;
}
.gfoot .fcta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.gfoot .fcols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 36px 24px;
}
.gfoot .fcols h3 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-stretch: 100%;
}
.gfoot .fcols a {
  display: block;
  padding: 5px 0;
  font-size: 12px;
  color: var(--fg2);
  font-stretch: 100%;
  transition: color 0.15s;
}
.gfoot .fcols a:hover {
  color: var(--fg);
}
/* footer intro: faithful to reference */
.gfoot .fintro {
  font-stretch: 100%;
  font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
}
.gfoot .fname {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.gfoot .ftag {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.gfoot .fdesc {
  margin: 14px 0 0;
  max-width: 46em;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--fg);
}
.gfoot .fbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  margin-top: 14px;
  padding: 0 12px;
  border-radius: 5px;
  background: var(--fg);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  transition: opacity 0.15s;
}
.gfoot .fbtn:hover {
  opacity: 0.85;
}
.gfoot .fcopy {
  margin: 22px 0 0;
  font-size: 11.5px;
  color: var(--fg);
}
.gfoot .fbuilt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  font-size: 13px;
}
.gfoot .fby {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* footer intro: black logo tile + name, wrap at header width */
.gfoot .fbrand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.gfoot .ficon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: #000;
  color: #fff;
  box-shadow: 0 0 0 1px var(--line2);
}
.gfoot .ficon .flogo {
  display: block;
  height: 8px;
  width: auto;
  flex: none;
  color: inherit;
}
.gfoot .fname {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.gfoot .fmain {
  max-width: none;
  width: calc(min(1120px, 100vw) - 2 * var(--gut));
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}
.gfoot .fdesc,
.gfoot .ftag {
  max-width: none;
}

/* mobile menu */
.menu:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}
.menu {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu i,
.menu i:before,
.menu i:after {
  display: block;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  content: "";
}
.menu i:before {
  position: absolute;
  top: -5px;
}
.menu i:after {
  position: absolute;
  top: 5px;
}
@media (max-width: 980px) {
  .menu {
    display: inline-flex;
  }
  .thead .links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    margin: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.4);
  }
  .thead .links.open {
    display: flex;
  }
  .thead .links a {
    padding: 12px 14px;
    font-size: 14px;
  }
}

/* ---- mobile polish ---- */
:root {
  --gut: clamp(32px, 9vw, 120px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html {
  -webkit-tap-highlight-color: transparent;
}
body {
  overflow-wrap: anywhere;
}
img,
canvas,
svg {
  max-width: 100%;
}
@media (hover: none) {
  .scroll-progress {
    display: none;
  }
}
@media (max-width: 640px) {
  :root {
    --gut: 18px;
  }
  .thead .bar {
    width: calc(100% - 24px);
    height: 52px;
    padding: 0 8px 0 16px;
    gap: 6px;
  }
  .thead .btn.sm,
  .menu {
    height: 40px;
  }
  .menu {
    width: 40px;
  }
  .thead .btn.sm.pri {
    padding: 0 16px;
  }
  .thead .links a {
    padding: 14px 16px;
    font-size: 15px;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 32px;
  }
  .hero h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.08;
  }
  :lang(ja) .hero h1 {
    font-size: clamp(25px, 7.2vw, 34px);
    line-height: 1.25;
  }
  .hero .lede {
    font-size: 14px;
    line-height: 1.75;
  }
  .cta {
    flex-direction: column;
    align-items: stretch;
  }
  .cta .btn {
    justify-content: center;
    width: 100%;
    height: 48px;
  }
  .note {
    font-size: 12px;
  }
  .bul {
    gap: 8px;
    margin-top: 28px;
  }
  .bul li {
    padding: 14px 14px 16px;
    gap: 18px;
    font-size: 12.5px;
  }
  #try {
    margin: 28px 0 20px;
    border-radius: 14px;
  }
  .wbar {
    padding: 12px 16px;
  }
  .ctl button {
    padding: 8px 14px;
    font-size: 13px;
    min-height: 36px;
  }
  .ctl .g {
    padding: 12px 16px;
  }
  section {
    padding-top: 56px;
  }
  .sh {
    margin-bottom: 28px;
  }
  .sh h2 {
    font-size: clamp(24px, 7vw, 30px);
  }
  :lang(ja) .sh h2 {
    font-size: clamp(23px, 6.6vw, 28px);
  }
  .sh p {
    font-size: 14px;
  }
  .stats > div {
    padding: 26px 8px;
  }
  .grid > *,
  .feat .grid > * {
    padding: 22px;
  }
  .feat article {
    gap: 28px;
  }
  .fgroup {
    padding: 18px;
    gap: 10px;
  }
  .fgroup .tags li {
    padding: 7px 14px;
    font-size: 12.5px;
  }
  .gal,
  .gal.m {
    gap: 20px 12px;
  }
  .gal.m.car figure {
    flex-basis: 62vw;
  }
  .gal h3 {
    font-size: 14px;
  }
  .duo {
    padding: 20px;
    gap: 24px;
    border-radius: 20px;
  }
  .duo h2 {
    font-size: clamp(22px, 6.4vw, 28px);
  }
  .shots.stack {
    padding: 12px 12px 0 0;
  }
  .shots.stack > .ph.has-img.is-back {
    translate: 12px -12px;
  }
  .plans {
    gap: 14px;
  }
  .plan {
    padding: 24px;
  }
  .plan.hi {
    padding: 24px;
  }
  .plan .price {
    font-size: 32px;
  }
  .plan.hi .price {
    font-size: 36px;
  }
  .plan .btn {
    height: 48px;
  }
  section.split,
  .split-s {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .kv .row {
    padding: 12px 0;
  }
  .faq details {
    padding: 14px 16px;
  }
  .faq summary {
    font-size: 14.5px;
    min-height: 28px;
    align-items: center;
  }
  .faq details p {
    font-size: 13.5px;
  }
  .cmp-tag {
    font-size: 9px;
  }
  .gfoot .fmain {
    padding-top: 40px;
    padding-bottom: 48px;
    gap: 36px;
  }
  .gfoot .fcols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .gfoot .fcols a {
    padding: 8px 0;
  }
  .info {
    width: 100%;
    border-left: 0;
  }
}
@media (max-width: 380px) {
  .bul {
    grid-template-columns: 1fr;
  }
  .bul li:last-child {
    grid-column: auto;
  }
}

/* wider multi-column blocks (cards were ~230px wide) */
.plan .price {
  white-space: nowrap;
}
.plan .price small {
  vertical-align: baseline;
}
@media (min-width: 821px) {
  :root {
    --wide: var(--hw);
  }
  .plans,
  .feat .grid,
  .gal:not(.m),
  .stats,
  .bul {
    width: var(--wide);
    max-width: none;
    margin-left: calc(50% - var(--wide) / 2);
    margin-right: 0;
  }
  .plan {
    padding: 28px;
  }
  .plan.hi {
    padding: 28px;
  }
  .grid > *,
  .feat .grid > * {
    padding: 28px;
  }
}
@media (min-width: 821px) and (max-width: 1000px) {
  .bul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bul li:last-child {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid > :last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
}
@media (max-width: 600px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .feat article {
    gap: 20px;
    flex-direction: column;
  }
}
section.inv {
  --acc: var(--ifg);
}

/* dots + modes: align to the header pill, modes bleed to the screen edges at the same card size */
:root {
  --hw: calc(min(1120px, 100vw) - 2 * var(--gut));
  --n: 4;
  --gg: 24px;
  --fw: calc((var(--hw) - (var(--n) - 1) * var(--gg)) / var(--n));
}
@media (max-width: 820px) {
  :root {
    --hw: min(520px, 100vw - 24px);
    --n: 2;
    --gg: 16px;
  }
}
@media (max-width: 640px) {
  :root {
    --gg: 12px;
  }
}
.gal:not(.m) {
  width: var(--hw);
  max-width: none;
  margin-left: calc(50% - var(--hw) / 2);
  margin-right: 0;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  column-gap: var(--gg);
}
.cnav {
  width: var(--hw);
  margin-left: calc(50% - var(--hw) / 2);
}
.gal.m.car {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  padding-left: calc(50vw - var(--hw) / 2);
  padding-right: calc(50vw - var(--hw) / 2);
  gap: var(--gg);
}
.gal.m.car figure {
  flex: 0 0 var(--fw);
}

/* one column width: header pill, content and footer all share it */
@media (max-width: 820px) {
  :root {
    --hw: calc(100vw - 2 * var(--gut));
  }
  .thead .bar {
    width: calc(100% - 2 * var(--gut));
    max-width: none;
  }
}

/* hero text stays pinned in place; the rest of the page slides over it */
.hero {
  position: sticky;
  top: var(--pin, 110px);
  z-index: 0;
}
.cover {
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.after-demo {
  padding-bottom: clamp(40px, 8vw, 110px);
}

/* cover sheet = same width, top edge and corner radius as the demo window */
:root {
  --demo-r: 16px;
}
@media (max-width: 820px) {
  :root {
    --demo-r: 12px;
  }
}
@media (max-width: 640px) {
  :root {
    --demo-r: 14px;
  }
}
#try {
  border-radius: var(--demo-r);
  margin-top: 0;
}
.hero {
  padding-bottom: calc(56px + clamp(48px, 8vw, 96px));
}
@media (max-width: 640px) {
  .hero {
    padding-bottom: 60px;
  }
}
.hero h1,
.hero .lede {
  max-width: min(10.5em, 680px);
}
.hero .lede {
  max-width: min(34em, 680px);
}
.cover {
  background: none;
}
.cover::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: min(680px, 100%);
  background: var(--bg);
  border-radius: var(--demo-r) var(--demo-r) 0 0;
}

/* emphasis: italic serif (Latin) / Mincho (Japanese) */
em {
  font-family: "Instrument Serif", "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
.hero h1 em,
.sh h2 em {
  font-size: 1.12em;
  line-height: 1;
}
html[lang="ja"] .hero h1 em,
html[lang="ja"] .sh h2 em {
  font-size: 1em;
  font-weight: 500;
}
/* stacked screenshot panels: each panel pins below the previous one and slides over it,
leaving only its title strip (title + number) visible at the top */
.gal.pstack:not(.m) {
  display: block;
  width: auto;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  --S: 36px;
  --b: 84px;
  --b0: 88px;
  counter-reset: pn;
}
.gal.pstack figure {
  --i: 0;
  position: sticky;
  top: calc(var(--bs, var(--b)) + var(--i) * var(--S));
  z-index: var(--z, 1);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: var(--S) auto auto;
  padding: 0 0 18px;
  background: var(--bg);
  border-top: 1px solid var(--line2);
  counter-increment: pn;
}
.gal.pstack figure:nth-child(2) {
  --i: 1;
  --z: 2;
}
.gal.pstack figure:nth-child(3) {
  --i: 2;
  --z: 3;
}
.gal.pstack figure:nth-child(4) {
  --i: 3;
  --z: 4;
}
.gal.pstack figure:nth-child(5) {
  --i: 4;
  --z: 5;
}
.gal.pstack figure:nth-child(6) {
  --i: 5;
  --z: 6;
}
.gal.pstack h3 {
  grid-area: 1/2;
  align-self: center;
  justify-self: start;
  margin: 0;
}
.gal.pstack .pi {
  grid-area: 1/1;
  align-self: center;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  color: var(--fg);
}
.gal.pstack .pi svg {
  display: block;
  width: 16px;
  height: 16px;
}
.gal.pstack figure::before {
  content: counter(pn, decimal-leading-zero);
  grid-area: 1/3;
  align-self: center;
  margin-left: 16px;
  font-size: 12px;
  color: var(--mut);
  font-variant-numeric: tabular-nums;
}
.gal.pstack {
  --gap: 16px;
  --w: min(100%, calc(100vh - var(--b0) - 4 * var(--S) - 130px));
  --w: min(100%, calc(100svh - var(--b0) - 4 * var(--S) - 130px));
}
/* the space between the title strip and the image is the same on every panel */
.gal.pstack .ph {
  grid-area: 2/1/3/-1;
  align-self: start;
  justify-self: center;
  width: var(--w);
  margin-top: var(--gap);
}
/* the last panel changes height while it closes; stop the browser from re-adjusting the scroll position for that */
html {
  overflow-anchor: none;
}
/* less space between the stacked gallery and the Ten modes heading */
#modes {
  padding-top: clamp(24px, 3vw, 40px);
}
.gal.pstack p {
  grid-area: 3/1/4/-1;
  margin-top: 12px;
}
/* the finished stack stays pinned for this long after the last panel lands; the last panel closes during it */
.gal.pstack::after {
  content: "";
  display: block;
  height: 60vh;
  height: 60svh;
}
@media (prefers-reduced-motion: reduce) {
  .gal.pstack figure {
    position: static;
  }
  .gal.pstack::after {
    display: none;
  }
}
