/* ==========================================================================
   天天科技 · public site
   ========================================================================== */

:root {
  --paper: #f3f0e6;
  --paper-rgb: 243, 240, 230;
  --paper-deep: #e9e4d5;
  --card: #fbf9f2;
  --ink: #101318;
  --ink-rgb: 16, 19, 24;
  --ink-soft: #2a2d33;
  --muted: #6b6e74;
  --line: rgba(var(--ink-rgb), 0.14);
  --line-strong: rgba(var(--ink-rgb), 0.28);
  --lime: #ff5a1f;
  --lime-deep: #ef4a0c;
  --orange: #ff5a1f;
  --accent-rgb: 255, 90, 31;
  --blue: #c7d7ff;
  --white: #fffdf8;
  --white-rgb: 255, 253, 248;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 24px 70px -42px rgba(var(--ink-rgb), 0.55);
  --sans: "Sora", "Manrope", "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Songti SC", "STSong", serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 64px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::selection,
::selection {
  background: var(--lime);
  color: var(--ink);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
dt,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(17, 19, 14, 0.07);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.12em 0.36em;
}

.shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.icon {
  flex: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(var(--paper-rgb), 0.88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  color: var(--ink);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-text strong {
  font-size: 16px;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.brand-text small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.brand--light {
  color: var(--paper);
}

.brand--light .brand-text small {
  color: rgba(var(--paper-rgb), 0.55);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transition: right 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  background: var(--ink-soft);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle span:first-child {
  top: 15px;
}

.nav-toggle span:last-child {
  top: 25px;
}

body.nav-open .nav-toggle span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Type & buttons
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.19em;
  line-height: 1.4;
  color: var(--muted);
  text-transform: uppercase;
}

.eyebrow--pill {
  display: inline-flex;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 254, 248, 0.45);
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 61, 0.15);
}

.accent-dot {
  color: var(--orange);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button--dark {
  background: var(--ink);
  color: var(--paper);
}

.button--dark:hover {
  background: #25291d;
}

.button--light {
  background: var(--paper);
  color: var(--ink);
}

.button--light:hover {
  background: var(--white);
}

.button--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 254, 248, 0.55);
}

.button--small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12.5px;
}

.button--large {
  min-height: 54px;
  padding: 0 26px;
  font-size: 15px;
}

.button--disabled {
  background: rgba(17, 19, 14, 0.08);
  color: var(--muted);
  cursor: default;
}

.button--disabled:hover {
  transform: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 0.2s ease, gap 0.2s ease;
}

.text-link:hover {
  border-color: var(--ink);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 58px;
  background:
    radial-gradient(1100px 560px at 78% 18%, rgba(var(--accent-rgb), 0.28), transparent 64%),
    radial-gradient(720px 500px at 8% 92%, rgba(185, 212, 255, 0.24), transparent 68%),
    var(--paper);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(17, 19, 14, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 19, 14, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(60px, 7.4vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 500;
}

.hero h1 em {
  font-weight: 400;
  font-style: italic;
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -2%;
  bottom: 6%;
  height: 13%;
  background: var(--lime);
  z-index: -1;
  transform: rotate(-1.3deg);
}

.hero-lede {
  max-width: 540px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-metrics {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-metrics div {
  display: grid;
  gap: 2px;
}

.hero-metrics dt {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-metrics dt span {
  font-family: var(--sans);
  font-size: 13px;
  margin-left: 2px;
}

.hero-metrics dd {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Stage */

.hero-stage {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-noise {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 40%, rgba(255, 254, 248, 0.9), transparent 55%),
    radial-gradient(circle at 65% 70%, rgba(var(--accent-rgb), 0.5), transparent 58%);
  filter: blur(2px);
}

.stage-orbit {
  position: absolute;
  border: 1px solid rgba(17, 19, 14, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.stage-orbit--one {
  width: 500px;
  height: 500px;
  transform: rotate(-18deg) scaleY(0.58);
}

.stage-orbit--two {
  width: 390px;
  height: 390px;
  border-style: dashed;
  transform: rotate(28deg) scaleY(0.72);
  opacity: 0.8;
}

.stage-cross {
  position: absolute;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 18px;
}

.stage-cross--one {
  top: 8%;
  right: 8%;
}

.stage-cross--two {
  bottom: 4%;
  left: 5%;
}

.stage-card {
  position: relative;
  z-index: 3;
  width: min(360px, 82%);
  min-height: 390px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border-radius: 27px;
  background: var(--accent, var(--lime));
  color: var(--accent-ink, var(--ink));
  box-shadow: 0 45px 90px -55px rgba(17, 19, 14, 0.85), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  transform: rotate(3.2deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stage-card:hover {
  transform: rotate(0.8deg) translateY(-6px);
}

.stage-card--empty {
  justify-content: space-between;
}

.stage-card-top,
.stage-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.stage-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.stage-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}

.stage-card > .app-icon {
  margin: 40px 0 26px;
}

.stage-card-copy {
  margin-top: auto;
}

.stage-card-copy p {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  opacity: 0.62;
  text-transform: uppercase;
}

.stage-card-copy h2 {
  margin: 4px 0 10px;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.stage-card-copy > span {
  display: block;
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 280px;
  opacity: 0.78;
}

.stage-card-foot {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

.stage-card-foot .platform-chip {
  border-color: color-mix(in srgb, currentColor 24%, transparent);
  color: currentColor;
}

.stage-arrow {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-ink, var(--ink));
  color: var(--accent, var(--lime));
}

.stage-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(17, 19, 14, 0.13);
  border-radius: 14px;
  background: rgba(255, 254, 248, 0.83);
  box-shadow: 0 18px 40px -28px rgba(17, 19, 14, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stage-note--license {
  left: 0;
  bottom: 1%;
  transform: rotate(-2deg);
}

.stage-note--license div {
  display: grid;
  line-height: 1.3;
}

.stage-note--license strong {
  font-size: 12px;
}

.stage-note--license span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.stage-note--sign {
  right: 0;
  bottom: 4%;
  padding: 9px 12px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
  color: #3d4b1d;
  background: rgba(244, 250, 211, 0.9);
  transform: rotate(2deg);
}

.stage-label {
  position: absolute;
  right: -8px;
  bottom: 8%;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding: 14px 0;
  animation: ticker 42s linear infinite;
}

.ticker-track span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  opacity: 0.85;
}

.ticker-track b {
  color: var(--lime);
  font-size: 11px;
  font-weight: 400;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 108px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 52px;
}

.section-heading h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.07;
  letter-spacing: -0.045em;
  font-weight: 500;
  white-space: pre-line;
}

.section-heading-side {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding-bottom: 8px;
}

.section-heading-side p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
  max-width: 440px;
}

/* Software cards */

.section--software {
  background:
    radial-gradient(900px 440px at 88% 0%, rgba(185, 212, 255, 0.2), transparent 60%),
    var(--paper);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 248, 0.55);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 961px) {
  .app-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .app-grid--three .cover--card {
    height: 220px;
  }

  .app-grid--three .app-card-body {
    padding: 20px 6px 6px;
  }

  .app-grid--three .app-title-row h3 {
    font-size: 27px;
  }

  .app-grid--three .app-tagline {
    font-size: 13px;
  }
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 260px at 80% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.app-card:hover::after {
  opacity: 1;
}

.app-card-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 2px 14px;
}

.app-index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.app-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-badge--ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.app-card-body {
  position: relative;
  z-index: 2;
  padding: 22px 8px 8px;
}

.app-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.app-title-row h3 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.app-en {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.17em;
  color: var(--muted);
}

.app-go {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.app-card:hover .app-go {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(8deg);
}

.app-tagline {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  max-width: 440px;
}

.app-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.app-version {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

/* Covers */

.cover {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent, var(--lime));
  color: var(--accent-ink, var(--ink));
  isolation: isolate;
}

.cover--card {
  height: 250px;
  border-radius: 18px;
}

.cover--detail {
  height: 100%;
  min-height: 480px;
  border-radius: 30px;
}

.cover-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, currentColor 11%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, currentColor 11%, transparent) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.52;
  mask-image: radial-gradient(circle at 50% 45%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000, transparent 72%);
}

.cover--grid .cover-grid {
  opacity: 0.78;
  mask-image: none;
  -webkit-mask-image: none;
}

.cover--stripes .cover-grid {
  background-image: repeating-linear-gradient(125deg, transparent 0 18px, color-mix(in srgb, currentColor 10%, transparent) 18px 19px);
  background-size: auto;
  opacity: 0.75;
}

.cover--dots .cover-grid {
  background-image: radial-gradient(color-mix(in srgb, currentColor 22%, transparent) 1.4px, transparent 1.4px);
  background-size: 20px 20px;
  opacity: 0.7;
}

.cover-ring {
  position: absolute;
  border: 1px solid color-mix(in srgb, currentColor 26%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.cover-ring--one {
  width: 70%;
  aspect-ratio: 1;
  transform: scaleY(0.55) rotate(-16deg);
}

.cover-ring--two {
  width: 50%;
  aspect-ratio: 1;
  border-style: dashed;
  transform: scaleY(0.72) rotate(22deg);
  opacity: 0.75;
}

.cover--tide .cover-ring--one {
  border-radius: 42% 58% 61% 39% / 48% 43% 57% 52%;
  transform: rotate(-8deg);
  width: 78%;
}

.cover--tide .cover-ring--two {
  border-radius: 55% 45% 38% 62% / 40% 58% 42% 60%;
  transform: rotate(12deg);
  width: 58%;
}

.cover-spark {
  position: absolute;
  top: 18px;
  right: 18px;
  opacity: 0.7;
}

.cover-code {
  position: absolute;
  left: 18px;
  bottom: 15px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.15em;
  opacity: 0.55;
}

.app-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 24px;
  background: var(--accent-ink, var(--ink));
  color: var(--accent, var(--lime));
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.06em;
  box-shadow: 0 18px 40px -22px rgba(17, 19, 14, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.cover--card .app-icon {
  width: 96px;
  height: 96px;
  font-size: 38px;
  border-radius: 28px;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.app-card:hover .cover--card .app-icon {
  transform: rotate(-5deg) scale(1.05);
}

.app-icon--sm {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 18px;
}

.app-icon--lg {
  width: 128px;
  height: 128px;
  border-radius: 36px;
  font-size: 50px;
}

.app-icon--xl {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  font-size: 38px;
}

.app-icon--image {
  overflow: hidden;
  background: rgba(255, 254, 248, 0.8);
}

.app-icon--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Platform chips */

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255, 254, 248, 0.45);
}

.platform-chips--small .platform-chip {
  min-height: 22px;
  font-size: 8px;
  padding: 0 8px;
}

.platform-empty {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}

/* Difference */

.section--difference {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.difference-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 254, 248, 0.18);
  transition: background 0.3s ease;
}

.difference-card:hover {
  background: rgba(255, 254, 248, 0.6);
}

.difference-num {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--orange);
}

.difference-card h3 {
  margin-top: auto;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.difference-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.difference-tag {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* Activation split */

.section--activation {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.section--activation::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -16%;
  top: -45%;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(var(--accent-rgb), 0.035), 0 0 0 180px rgba(var(--accent-rgb), 0.02);
}

.activation-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 90px;
  align-items: start;
}

.activation-copy .eyebrow {
  color: rgba(var(--paper-rgb), 0.5);
}

.activation-copy h2 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 400;
}

.activation-copy h2 em {
  color: var(--lime);
  font-weight: 400;
}

.activation-copy > p {
  max-width: 460px;
  margin: 26px 0 32px;
  color: rgba(var(--paper-rgb), 0.66);
  font-size: 14.5px;
  line-height: 1.9;
}

.step-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(var(--paper-rgb), 0.16);
}

.step-list li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(var(--paper-rgb), 0.16);
}

.step-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--lime);
  padding-top: 4px;
}

.step-list h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.step-list p {
  margin-top: 8px;
  color: rgba(var(--paper-rgb), 0.58);
  font-size: 13.5px;
  line-height: 1.8;
}

/* Support */

.section--support {
  background: var(--paper);
}

.support-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
  padding: 66px 58px;
  border-radius: var(--radius-xl);
  background: var(--lime);
  overflow: hidden;
}

.support-card::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -80px;
  bottom: -150px;
  border: 1px solid rgba(17, 19, 14, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(17, 19, 14, 0.04), 0 0 0 100px rgba(17, 19, 14, 0.025);
}

.support-card .eyebrow {
  color: rgba(17, 19, 14, 0.55);
}

.support-card h2 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.support-card > div > p:not(.eyebrow) {
  margin-top: 16px;
  max-width: 460px;
  color: rgba(17, 19, 14, 0.68);
  font-size: 14px;
}

.support-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(17, 19, 14, 0.25);
  padding-bottom: 3px;
}

.support-year {
  position: absolute;
  right: 22px;
  top: 10px;
  font-family: var(--serif);
  font-size: 104px;
  line-height: 1;
  color: rgba(17, 19, 14, 0.06);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 76px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(var(--paper-rgb), 0.14);
}

.footer-brand p {
  margin-top: 18px;
  max-width: 310px;
  color: rgba(var(--paper-rgb), 0.62);
  font-size: 13.5px;
  line-height: 1.8;
}

.footer-brand .footer-note {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: rgba(var(--paper-rgb), 0.35);
  text-transform: uppercase;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-col h4 {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(var(--paper-rgb), 0.4);
  font-weight: 500;
  text-transform: uppercase;
}

.footer-col a {
  font-size: 13px;
  color: rgba(var(--paper-rgb), 0.72);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-admin {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 9px !important;
  color: rgba(var(--paper-rgb), 0.3) !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: rgba(var(--paper-rgb), 0.38);
}

.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Page hero (listing / activate)
   -------------------------------------------------------------------------- */

.page-hero {
  padding: calc(var(--header-h) + 84px) 0 84px;
  background:
    radial-gradient(760px 420px at 82% 22%, rgba(var(--accent-rgb), 0.3), transparent 65%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero--compact {
  padding-bottom: 64px;
}

.page-hero h1 {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 500;
}

.page-hero h1 em {
  font-weight: 400;
  font-style: italic;
}

.page-hero > .shell > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}

.page-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.page-hero-grid > div > p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.section--listing {
  padding-top: 72px;
}

.app-grid--listing {
  row-gap: 28px;
}

/* --------------------------------------------------------------------------
   License visual
   -------------------------------------------------------------------------- */

.license-visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.license-card {
  position: relative;
  z-index: 2;
  width: min(360px, 92%);
  padding: 24px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 38px 70px -42px rgba(17, 19, 14, 0.8);
  transform: rotate(-4deg);
}

.license-card-head,
.license-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(var(--paper-rgb), 0.45);
}

.license-card > strong {
  display: block;
  margin-top: 42px;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--lime);
  font-weight: 700;
}

.license-card > p {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(var(--paper-rgb), 0.55);
}

.license-card-code {
  margin-top: 42px;
  padding: 13px 0;
  border-top: 1px dashed rgba(var(--paper-rgb), 0.22);
  border-bottom: 1px dashed rgba(var(--paper-rgb), 0.22);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.17em;
  color: rgba(var(--paper-rgb), 0.8);
}

.license-card-foot {
  margin-top: 18px;
}

.license-orbit {
  position: absolute;
  border: 1px solid rgba(17, 19, 14, 0.18);
  border-radius: 50%;
}

.license-orbit--a {
  width: 430px;
  height: 430px;
  transform: scaleY(0.55) rotate(22deg);
}

.license-orbit--b {
  width: 320px;
  height: 320px;
  border-style: dashed;
  transform: scaleY(0.7) rotate(-18deg);
}

/* --------------------------------------------------------------------------
   Detail page
   -------------------------------------------------------------------------- */

.detail-hero {
  padding: calc(var(--header-h) + 54px) 0 78px;
  background:
    radial-gradient(720px 460px at 78% 24%, color-mix(in srgb, var(--accent) 48%, transparent), transparent 68%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 46px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  align-items: center;
}

.detail-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-copy h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 7.2vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 500;
}

.detail-en {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.detail-tagline {
  margin-top: 26px;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 560px;
}

.detail-summary {
  margin-top: 14px;
  max-width: 540px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.detail-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.detail-version {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.detail-version strong {
  color: var(--ink);
  font-weight: 600;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.detail-footnote {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-size: 10.5px;
  color: var(--muted);
}

.detail-visual {
  position: relative;
}

.detail-visual .cover--detail {
  min-height: 470px;
}

.detail-window {
  position: absolute;
  left: -8%;
  bottom: 8%;
  z-index: 4;
  width: min(280px, 72%);
  border: 1px solid rgba(17, 19, 14, 0.14);
  border-radius: 14px;
  background: rgba(255, 254, 248, 0.92);
  box-shadow: 0 30px 60px -35px rgba(17, 19, 14, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.window-dots {
  display: flex;
  gap: 4px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--line);
}

.window-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(17, 19, 14, 0.2);
}

.window-body {
  padding: 14px;
}

.window-body > span {
  display: block;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.window-body strong {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.window-lines {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}

.window-lines i {
  height: 4px;
  border-radius: 2px;
  background: rgba(17, 19, 14, 0.09);
}

.window-lines i:nth-child(2) {
  width: 80%;
}

.window-lines i:nth-child(3) {
  width: 55%;
}

.detail-float {
  position: absolute;
  z-index: 5;
  right: -6px;
  top: 8%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 254, 248, 0.92);
  box-shadow: 0 16px 34px -26px rgba(17, 19, 14, 0.6);
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--muted);
  transform: rotate(3deg);
}

.detail-float strong {
  color: #45621a;
  letter-spacing: 0.1em;
}

.detail-subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(var(--paper-rgb), 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.detail-subnav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 56px;
}

.detail-subnav a {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.detail-subnav a:hover {
  color: var(--ink);
}

.detail-subnav-cta {
  margin-left: auto;
}

.detail-subnav-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}

/* Download */

.section--download {
  padding-top: 76px;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: start;
}

.download-main .section-heading {
  grid-template-columns: 1fr;
  margin-bottom: 30px;
}

.download-main .section-heading-side p {
  max-width: 600px;
}

.release-list {
  border-top: 1px solid var(--line-strong);
}

.release-row {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 1.1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}

.release-row:hover {
  background: rgba(255, 254, 248, 0.5);
}

.release-platform {
  display: grid;
  gap: 3px;
}

.release-platform-label {
  font-size: 14px;
  font-weight: 650;
}

.release-arch {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.release-version {
  display: grid;
  gap: 3px;
}

.release-version strong {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.release-version span {
  font-size: 10px;
  color: var(--muted);
}

.release-size {
  display: grid;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
}

.copy-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
}

.copy-mini:hover {
  color: var(--ink);
}

.release-action {
  justify-self: end;
}

.release-pending {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}

.download-empty {
  display: flex;
  gap: 16px;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 248, 0.3);
}

.download-empty h3 {
  font-size: 16px;
}

.download-empty p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.spec-card {
  position: sticky;
  top: calc(var(--header-h) + 80px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 248, 0.55);
}

.spec-card dl {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.spec-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.spec-card dt {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

.spec-card dd {
  font-size: 11.5px;
  font-weight: 600;
  text-align: right;
}

.spec-note {
  display: flex;
  gap: 9px;
  margin-top: 20px;
  padding: 13px;
  border-radius: 10px;
  background: var(--paper-deep);
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* Features */

.section--features {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.feature-card {
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 254, 248, 0.18);
}

.feature-index {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.feature-card h3 {
  margin-top: 46px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.feature-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* About / prose */

.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.about-heading h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.about-rule {
  width: 40px;
  height: 2px;
  margin: 26px 0 14px;
  background: var(--orange);
}

.about-meta {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.prose {
  max-width: 700px;
}

.prose h2,
.prose h3 {
  margin: 38px 0 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose p {
  margin: 14px 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.prose ul,
.prose ol {
  margin: 16px 0;
  padding-left: 1.3em;
  list-style: disc;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin: 6px 0;
}

.prose blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--lime-deep);
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--ink-soft);
  font-size: 14px;
}

.prose pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
}

.prose pre code {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

.prose a {
  border-bottom: 1px solid var(--line-strong);
}

/* Activation detail */

.section--activate-detail {
  background: var(--ink);
  color: var(--paper);
}

.activation-detail {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.activation-detail .eyebrow {
  color: rgba(var(--paper-rgb), 0.45);
}

.activation-detail h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 400;
}

.activation-detail > div > p:not(.eyebrow) {
  max-width: 570px;
  margin: 20px 0 24px;
  color: rgba(var(--paper-rgb), 0.62);
  font-size: 14px;
  line-height: 1.9;
}

.activation-detail .text-link {
  border-color: rgba(var(--paper-rgb), 0.3);
  color: var(--paper);
}

.mini-flow {
  display: grid;
  border-top: 1px solid rgba(var(--paper-rgb), 0.16);
}

.mini-flow > div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(var(--paper-rgb), 0.16);
}

.mini-flow span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--lime);
}

.mini-flow p {
  font-size: 14px;
  color: rgba(var(--paper-rgb), 0.8);
}

/* Changelog */

.section--changelog {
  background: var(--paper);
}

.changelog-list {
  border-top: 1px solid var(--line-strong);
}

.changelog-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.changelog-version {
  display: grid;
  align-content: start;
  gap: 5px;
}

.changelog-version strong {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.changelog-version span {
  font-size: 10px;
  color: var(--muted);
}

.changelog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.changelog-tags span {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.changelog-tags .tag-accent {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.changelog-body p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.inline-empty {
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* FAQ */

.section--faq {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.faq-grid h2 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.faq-grid > div > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
}

.faq-grid > div > p a {
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
  position: relative;
  padding: 20px 38px 20px 0;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 700px;
  padding: 0 38px 22px 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

/* Related */

.section--related {
  background: var(--paper);
  padding-top: 84px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 248, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.related-card > div {
  min-width: 0;
  flex: 1;
}

.related-card h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.related-card p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-card > .icon {
  color: var(--muted);
}

/* Activation page guide */

.section--guide {
  background: var(--paper);
}

.section--guide.section--alt {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.guide-card {
  min-height: 250px;
  padding: 26px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.guide-step {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.guide-card h3 {
  margin-top: 76px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.guide-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.code-panel {
  margin-top: 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.code-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(var(--paper-rgb), 0.16);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: rgba(var(--paper-rgb), 0.5);
}

.code-panel pre {
  overflow-x: auto;
  padding: 22px;
  margin: 0;
}

.code-panel code {
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(var(--paper-rgb), 0.84);
  font-size: 12px;
  line-height: 1.8;
}

.offline-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.offline-step {
  min-height: 280px;
  padding: 24px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.offline-step > span {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--orange);
  font-style: italic;
}

.offline-step h3 {
  margin-top: 74px;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.offline-step p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.notice-strip {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 254, 248, 0.45);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.notice-strip strong {
  color: var(--ink);
}

.weekly-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.weekly-grid h2 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(42px, 4.8vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.weekly-grid p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.verify-timeline {
  border-top: 1px solid var(--line-strong);
}

.timeline-row {
  display: grid;
  grid-template-columns: 70px 18px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-row span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.timeline-row i {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime-deep);
  border: 1px solid var(--ink);
}

.timeline-row p {
  font-size: 13px;
}

.timeline-row--muted i {
  background: var(--paper);
}

.timeline-row--muted p {
  color: var(--muted);
}

.section--cta {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.final-cta {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 58px;
  border-radius: var(--radius-xl);
  background: var(--lime);
  overflow: hidden;
}

.final-cta h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.final-cta .eyebrow {
  color: rgba(17, 19, 14, 0.5);
}

.final-cta-mark {
  position: absolute;
  right: 24%;
  bottom: -20px;
  font-size: 140px;
  line-height: 1;
  color: rgba(17, 19, 14, 0.06);
  pointer-events: none;
}

/* Empty and 404 */

.empty-state {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 76px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 248, 0.35);
}

.empty-state .icon {
  color: var(--muted);
}

.empty-state h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.empty-state p {
  max-width: 420px;
  color: var(--muted);
  font-size: 13.5px;
}

.empty-state .button {
  margin-top: 8px;
}

.not-found {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
}

.not-found h1 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 92px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.not-found p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

/* Reveal animation */

.reveal {
  opacity: 1;
  transform: translateY(0);
}

body.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.reveal-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr 0.82fr;
    gap: 40px;
  }

  .hero-stage {
    min-height: 480px;
  }

  .stage-orbit--one {
    width: 430px;
    height: 430px;
  }

  .stage-orbit--two {
    width: 330px;
    height: 330px;
  }

  .difference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-hero-grid {
    gap: 46px;
  }

  .download-grid {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 32px;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .shell {
    width: min(100% - 40px, 760px);
  }

  .header-inner {
    gap: 18px;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav a::after {
    display: none;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .header-cta {
    height: 38px;
    padding: 0 14px;
    font-size: 11.5px;
  }

  .header-cta .icon {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 54px);
  }

  .hero-grid,
  .page-hero-grid,
  .detail-hero-grid,
  .download-grid,
  .activation-grid,
  .about-grid,
  .faq-grid,
  .weekly-grid,
  .activation-detail {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero-stage {
    min-height: 500px;
    margin-top: 24px;
  }

  .hero-metrics {
    margin-top: 38px;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 38px;
  }

  .section-heading-side {
    max-width: 560px;
  }

  .section {
    padding: 78px 0;
  }

  .support-card {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 44px 30px;
    gap: 30px;
  }

  .support-year {
    font-size: 80px;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 58px;
  }

  .license-visual {
    min-height: 340px;
    margin-top: 10px;
  }

  .detail-hero {
    padding-bottom: 52px;
  }

  .detail-visual {
    max-width: 560px;
  }

  .detail-visual .cover--detail {
    min-height: 400px;
  }

  .detail-window {
    left: 4%;
  }

  .detail-subnav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .detail-subnav::-webkit-scrollbar {
    display: none;
  }

  .detail-subnav-inner {
    width: max-content;
    padding-right: 20px;
  }

  .detail-subnav-cta {
    margin-left: 8px;
  }

  .spec-card {
    position: static;
  }

  .feature-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offline-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activation-grid,
  .weekly-grid,
  .about-grid,
  .faq-grid,
  .activation-detail {
    gap: 42px;
  }

  .changelog-item {
    grid-template-columns: 140px 1fr;
    gap: 24px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 40px 30px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 32px);
  }

  .brand-text small {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero h1 {
    font-size: clamp(50px, 16vw, 76px);
    margin-top: 22px;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 14.5px;
  }

  .hero-actions .button {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
  }

  .hero-metrics {
    gap: 22px;
    justify-content: space-between;
  }

  .hero-metrics dt {
    font-size: 30px;
  }

  .hero-stage {
    min-height: 430px;
  }

  .stage-card {
    width: min(300px, 86%);
    min-height: 340px;
    padding: 18px;
  }

  .stage-card-copy h2 {
    font-size: 31px;
  }

  .stage-note--license,
  .stage-note--sign {
    display: none;
  }

  .stage-orbit--one {
    width: 340px;
    height: 340px;
  }

  .stage-orbit--two {
    width: 280px;
    height: 280px;
  }

  .stage-label {
    display: none;
  }

  .app-card {
    padding: 12px;
  }

  .cover--card {
    height: 200px;
  }

  .app-title-row h3 {
    font-size: 25px;
  }

  .app-card-body {
    padding: 18px 5px 5px;
  }

  .difference-grid,
  .feature-grid,
  .guide-grid,
  .offline-flow {
    grid-template-columns: 1fr;
  }

  .difference-card,
  .feature-card,
  .guide-card,
  .offline-step {
    min-height: 0;
  }

  .difference-card h3 {
    margin-top: 34px;
  }

  .feature-card h3 {
    margin-top: 30px;
  }

  .guide-card h3,
  .offline-step h3 {
    margin-top: 34px;
  }

  .release-row {
    grid-template-columns: 1fr auto;
    gap: 12px 16px;
    padding: 18px 0;
  }

  .release-platform {
    grid-column: 1;
  }

  .release-version {
    grid-column: 2;
    grid-row: 1;
    justify-items: end;
    text-align: right;
  }

  .release-size {
    grid-column: 1;
  }

  .release-action {
    grid-column: 2;
    grid-row: 2;
  }

  .detail-actions .button {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
    font-size: 13px;
  }

  .detail-footnote {
    align-items: flex-start;
    font-size: 10px;
    line-height: 1.6;
  }

  .detail-window {
    display: none;
  }

  .detail-float {
    top: 4%;
    right: 0;
  }

  .detail-visual .cover--detail {
    min-height: 320px;
  }

  .cover--detail .app-icon--lg {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    font-size: 40px;
  }

  .changelog-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .changelog-version {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .final-cta {
    padding: 34px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .support-card {
    padding: 34px 22px;
  }

  .code-panel-head span:last-child {
    display: none;
  }

  .page-hero-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .page-hero h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  body.reveal-enabled .reveal {
    opacity: 1;
    transform: none;
  }

  .ticker-track {
    animation: none;
  }
}

/* ==========================================================================
   天天科技 · 2026 additions
   ========================================================================== */

[hidden] {
  display: none !important;
}

/* Announcement bar -------------------------------------------------------- */
body.has-announce {
  --header-h: 108px;
}

.site-header {
  display: flex;
  flex-direction: column;
  height: var(--header-h);
}

.announce-bar {
  flex: 0 0 32px;
  background: var(--ink);
  color: rgba(var(--paper-rgb), 0.86);
  overflow: hidden;
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  font-size: 11.5px;
  letter-spacing: 0.01em;
}

.announce-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.25);
  flex: none;
}

.announce-inner p {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.announce-inner a {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  font-size: 11px;
  color: var(--white);
  border-bottom: 1px solid rgba(var(--paper-rgb), 0.35);
}

.header-inner {
  flex: 0 0 76px;
  height: 76px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  flex: none;
  background: #fff;
  box-shadow: 0 6px 16px -12px rgba(var(--ink-rgb), 0.6), inset 0 0 0 1px rgba(var(--ink-rgb), 0.08);
}

.header-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(var(--white-rgb), 0.35);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-share:hover {
  border-color: var(--ink);
  background: var(--white);
}

/* Hero product stage ----------------------------------------------------- */
.hero .hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  gap: 48px;
}

.hero h1 {
  font-size: clamp(56px, 6.7vw, 94px);
}

.hero-footnote {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}

.hero-stage--products {
  min-height: 600px;
  display: block;
  isolation: isolate;
}

.stage-glow {
  position: absolute;
  inset: 2% 0 4%;
  border-radius: 46% 54% 50% 50%;
  background:
    radial-gradient(circle at 66% 32%, rgba(var(--accent-rgb), 0.24), transparent 56%),
    radial-gradient(circle at 26% 76%, rgba(90, 138, 255, 0.2), transparent 58%),
    rgba(var(--white-rgb), 0.42);
  filter: blur(6px);
}

.stage-grid {
  position: absolute;
  inset: 6% 4%;
  background-image:
    linear-gradient(to right, rgba(var(--ink-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--ink-rgb), 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
}

.stage-ring {
  position: absolute;
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.stage-ring--one {
  width: 86%;
  height: 86%;
  left: 7%;
  top: 7%;
  transform: scaleY(0.54) rotate(-16deg);
}

.stage-ring--two {
  width: 64%;
  height: 64%;
  left: 18%;
  top: 18%;
  border-style: dashed;
  transform: scaleY(0.72) rotate(18deg);
  opacity: 0.75;
}

.stage-browser {
  position: absolute;
  z-index: 3;
  top: 26px;
  left: 12px;
  width: 86%;
  border-radius: 17px;
  overflow: hidden;
  background: #0f1115;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -36px rgba(var(--ink-rgb), 0.62);
  transform: rotate(-1.2deg);
  transition: transform 0.35s ease;
}

.stage-browser:hover {
  transform: rotate(0deg) translateY(-4px);
}

.stage-browser-top {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: #171a20;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.stage-browser-top > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.stage-browser-top .stage-live {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.78);
}

.stage-browser img {
  width: 100%;
  display: block;
}

.stage-phone {
  position: absolute;
  z-index: 5;
  width: 27%;
  padding: 7px;
  border-radius: 27px;
  background: #101318;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px -24px rgba(var(--ink-rgb), 0.6);
  transition: transform 0.35s ease;
}

.stage-phone img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.stage-phone--one {
  left: -3%;
  bottom: 6px;
  transform: rotate(-5deg);
}

.stage-phone--two {
  right: 0;
  bottom: -18px;
  width: 24%;
  transform: rotate(4deg);
}

.stage-phone:hover {
  transform: rotate(0deg) translateY(-6px);
}

.stage-phone-label {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.stage-chip {
  position: absolute;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(var(--white-rgb), 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -18px rgba(var(--ink-rgb), 0.5);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  backdrop-filter: blur(8px);
}

.stage-chip svg {
  color: var(--orange);
}

.stage-chip strong {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.stage-chip--license {
  left: 40%;
  bottom: 8px;
  top: auto;
}

.stage-chip--verify {
  right: -3%;
  top: 3%;
}

.stage-label {
  position: absolute;
  right: -22px;
  bottom: 44%;
  transform: rotate(90deg);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.hero-stage--upload {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.hero-upload {
  width: 100%;
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stage--upload .stage-chip--license {
  left: 18px;
  top: auto;
  bottom: 22px;
}

.hero-stage--upload .stage-chip--verify {
  right: 18px;
  top: 18px;
}

/* Kind chips ------------------------------------------------------------- */
.kind-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  background: rgba(var(--accent-rgb), 0.09);
  color: #b83a0a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.kind-chip--mobile {
  border-color: rgba(50, 100, 210, 0.28);
  background: rgba(76, 141, 255, 0.12);
  color: #2a5bb5;
}

.kind-chip--web {
  border-color: rgba(var(--ink-rgb), 0.25);
  background: rgba(var(--ink-rgb), 0.06);
  color: var(--ink-soft);
}

/* PC feature card -------------------------------------------------------- */
.pc-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 34px 80px -60px rgba(var(--ink-rgb), 0.5);
}

.pc-feature-visual {
  position: relative;
  display: flex;
  align-items: center;
  padding: 40px;
  background:
    radial-gradient(520px 320px at 20% 20%, rgba(var(--accent-rgb), 0.16), transparent 62%),
    linear-gradient(140deg, #efeadb, #e4dfd0);
  border-right: 1px solid var(--line);
}

.pc-window {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  background: #0f1115;
  border: 1px solid rgba(var(--ink-rgb), 0.2);
  box-shadow: 0 36px 70px -34px rgba(var(--ink-rgb), 0.62);
}

.pc-window-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: #191c22;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
}

.pc-window-bar > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pc-window-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.75);
}

.pc-window-live i,
.stage-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}

.pc-window img {
  display: block;
  width: 100%;
}

.pc-feature-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(var(--white-rgb), 0.92);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  box-shadow: 0 12px 24px -16px rgba(var(--ink-rgb), 0.5);
}

.pc-feature-chip--a {
  right: 22px;
  top: 22px;
}

.pc-feature-chip--b {
  left: 22px;
  bottom: 22px;
}

.pc-feature-copy {
  padding: 42px 38px 38px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pc-feature-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pc-category {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.pc-feature-copy h3 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(38px, 3.8vw, 54px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.pc-en {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.pc-tagline {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.pc-summary {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.pc-points {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}

.pc-points li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.pc-points svg {
  margin-top: 3px;
  color: var(--orange);
  flex: none;
}

.pc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

/* Mobile showcase -------------------------------------------------------- */
.section--mobile {
  background:
    radial-gradient(700px 420px at 88% 10%, rgba(76, 141, 255, 0.1), transparent 65%),
    var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.mobile-card {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 26px;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mobile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -40px rgba(var(--ink-rgb), 0.55);
}

.mobile-card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 22px 12px;
  border-radius: 22px;
  background: linear-gradient(160deg, #161a21, #0c0f14);
  background:
    radial-gradient(220px 220px at 50% 18%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 72%),
    linear-gradient(160deg, #161a21, #0c0f14);
  overflow: hidden;
}

.mobile-index {
  position: absolute;
  left: 14px;
  top: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
}

.phone {
  position: relative;
  background: #101318;
  border-radius: 30px;
  padding: 7px;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7);
}

.phone img {
  display: block;
  width: 100%;
  border-radius: 23px;
}

.phone-notch {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 14px;
  border-radius: 999px;
  background: #101318;
}

.phone--card {
  width: 168px;
}

.phone--hero {
  width: min(280px, 78%);
  border-radius: 38px;
  padding: 9px;
  margin: 0 auto;
}

.phone--hero img {
  border-radius: 30px;
}

.mobile-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 0;
}

.mobile-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-version {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}

.mobile-card-copy h3 {
  margin-top: 15px;
  font-family: var(--serif);
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.mobile-en {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.mobile-tagline {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.mobile-summary {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.mobile-points {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.mobile-points li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-soft);
}

.mobile-points svg {
  color: var(--orange);
  flex: none;
}

.mobile-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  font-size: 10.5px;
  color: var(--muted);
}

.mobile-card-foot .text-link {
  font-size: 11.5px;
}

/* Screenshot frames ------------------------------------------------------ */
.section--gallery {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.shot-grid {
  display: grid;
  gap: 22px;
}

.shot-grid--desktop {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shot-grid--mobile {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shot-browser {
  background: #0f1115;
  border: 1px solid rgba(var(--ink-rgb), 0.18);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 50px -34px rgba(var(--ink-rgb), 0.55);
}

.shot-browser-bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  background: #191c22;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.shot-address {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.shot-bar-spark {
  margin-left: auto;
  color: rgba(var(--accent-rgb), 0.85);
}

.shot-dots {
  display: inline-flex;
  gap: 4px;
  flex: none;
}

.shot-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.shot-browser img {
  display: block;
  width: 100%;
}

.shot-browser figcaption,
.shot-phone figcaption {
  padding: 12px 15px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  background: var(--card);
  border-top: 1px solid var(--line);
}

.shot-browser--hero {
  box-shadow: 0 36px 70px -34px rgba(var(--ink-rgb), 0.5);
  transform: rotate(-1deg);
}

.shot-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.shot-phone .phone {
  width: min(230px, 100%);
}

.shot-phone figcaption {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}

/* Detail additions ------------------------------------------------------- */
.detail-subdomain {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 2px;
}

.detail-mobile-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

.detail-float--verify {
  left: 8px;
  right: auto;
  top: auto;
  bottom: 18px;
  transform: rotate(-2deg);
}

.detail-visual--mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.detail-visual--mobile::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.14);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 24%, transparent), transparent 68%);
  filter: blur(6px);
}

.detail-visual--mobile .phone {
  position: relative;
  z-index: 2;
}

.notice-strip--soft {
  margin-top: 4px;
  border: 1px solid var(--line);
  background: rgba(var(--white-rgb), 0.55);
  border-radius: 14px;
}

.notice-strip--soft strong {
  color: var(--ink);
}

/* Support dock ----------------------------------------------------------- */
.support-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 130;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-size: 13px;
}

.support-fab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 50px;
  padding: 0 18px 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  box-shadow: 0 18px 40px -18px rgba(var(--ink-rgb), 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
}

.support-fab:hover {
  transform: translateY(-2px);
  background: #1b1f27;
}

.support-fab-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: #fff;
  flex: none;
}

.support-fab-text {
  font-size: 13px;
  font-weight: 700;
}

.support-panel {
  width: min(360px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 120px));
  overflow: auto;
  padding: 22px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 34px 80px -34px rgba(var(--ink-rgb), 0.55);
  transform-origin: bottom right;
  animation: support-pop 0.22s ease both;
}

@keyframes support-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.support-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.support-panel-head h3 {
  margin-top: 7px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.support-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}

.support-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.support-qr {
  margin: 16px 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.support-qr img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 8px;
}

.support-qr span {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.support-methods {
  display: grid;
  gap: 2px;
  margin-top: 10px;
}

.support-methods > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.support-methods dt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
}

.support-methods dd {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
}

.support-copy {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
}

.support-hours {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
}

.support-link-btn {
  margin-top: 12px;
  width: 100%;
}

.support-inline-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 12px;
  color: rgba(var(--ink-rgb), 0.66);
}

.support-inline-methods span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.support-mini-qr {
  width: 54px;
  height: 54px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.support-mini-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Share modal ------------------------------------------------------------ */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
}

.share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--ink-rgb), 0.56);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.share-card {
  position: relative;
  z-index: 2;
  width: min(430px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 40px 100px -30px rgba(var(--ink-rgb), 0.7);
  text-align: center;
}

.share-card h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.share-sub {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

.share-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.share-qr-wrap {
  display: inline-flex;
  padding: 12px;
  margin: 18px auto 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.share-qr-wrap canvas {
  width: 220px;
  height: 220px;
  max-width: 100%;
}

.share-url-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.share-url-row input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.share-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.share-short {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  font-size: 11px;
  text-align: left;
}

.share-short > span {
  color: var(--muted);
  flex: none;
}

.share-short a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  color: #b83a0a;
}

.share-note {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--muted);
}

body.share-open {
  overflow: hidden;
}

/* Detail subnav arrow spacing ------------------------------------------- */
.detail-subnav-inner {
  gap: 18px;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
  .site-nav {
    gap: 20px;
  }

  .header-share span {
    display: none;
  }

  .hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.92fr);
    gap: 30px;
  }

  .pc-feature {
    grid-template-columns: 1fr;
  }

  .pc-feature-visual {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 30px;
  }

  .pc-feature-copy {
    padding: 32px;
  }
}

@media (max-width: 1080px) {
  .mobile-grid {
    grid-template-columns: 1fr;
  }

  .mobile-card {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .shot-grid--mobile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .header-share,
  .header-cta {
    display: none;
  }

  .hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-stage--products {
    min-height: 540px;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .stage-browser {
    width: 84%;
    left: 8%;
  }

  .stage-phone--one {
    left: 0;
    width: 29%;
  }

  .stage-phone--two {
    right: 2%;
    width: 26%;
  }

  .stage-chip--license {
    left: -2%;
    top: 42%;
  }

  .stage-chip--verify {
    right: 2%;
    top: 0;
  }

  .stage-label {
    display: none;
  }

  .detail-visual--mobile {
    min-height: 460px;
  }

  .shot-grid--desktop {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .announce-inner p {
    font-size: 10.5px;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 44px);
  }

  .hero-metrics {
    gap: 22px;
  }

  .hero-stage--products {
    min-height: 470px;
  }

  .stage-browser {
    width: 88%;
    left: 6%;
    top: 18px;
  }

  .stage-phone--one {
    width: 31%;
    left: -1%;
    bottom: 8px;
  }

  .stage-phone--two {
    width: 28%;
    right: 0;
    bottom: -6px;
  }

  .stage-chip {
    display: none;
  }

  .mobile-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mobile-card-visual {
    min-height: 330px;
  }

  .phone--card {
    width: 150px;
  }

  .mobile-card-foot {
    padding-top: 12px;
  }

  .support-dock {
    right: 12px;
    bottom: 12px;
  }

  .support-fab {
    height: 46px;
  }

  .support-fab-text {
    display: none;
  }

  .support-fab {
    padding: 0;
    width: 52px;
    justify-content: center;
  }

  .support-panel {
    width: calc(100vw - 24px);
  }

  .shot-grid--mobile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .shot-phone .phone {
    width: 100%;
  }

  .shot-phone figcaption {
    font-size: 10px;
    padding: 9px;
  }

  .share-card {
    padding: 24px 18px;
  }

  .share-card h3 {
    font-size: 28px;
  }

  .share-qr-wrap canvas {
    width: 190px;
    height: 190px;
  }

  .share-actions {
    flex-direction: column;
  }

  .detail-subnav-inner {
    gap: 14px;
    padding-bottom: 2px;
  }
}

@media (max-width: 520px) {
  .announce-bar {
    display: none;
  }

  body.has-announce {
    --header-h: 76px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 62px);
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }

  .pc-feature-visual {
    padding: 20px;
  }

  .pc-feature-copy {
    padding: 26px 22px;
  }

  .pc-feature-chip {
    display: none;
  }

  .mobile-card {
    padding: 18px;
  }

  .mobile-card-visual {
    min-height: 300px;
  }

  .shot-grid--mobile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .detail-float {
    display: none;
  }
}

/* ==========================================================================
   2026 company homepage / works pages
   ========================================================================== */

.hero--company {
  background:
    radial-gradient(1000px 560px at 82% 14%, rgba(var(--accent-rgb), 0.22), transparent 62%),
    radial-gradient(760px 520px at 4% 96%, rgba(86, 133, 255, 0.14), transparent 68%),
    var(--paper);
}

.hero--company .hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(460px, 0.98fr);
  gap: 46px;
}

.hero--company h1 {
  font-size: clamp(54px, 6.4vw, 92px);
}

.hero--company .hero-metrics dt {
  font-family: var(--mono);
  font-size: 24px;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.hero--company .hero-metrics div {
  min-width: 106px;
}

/* Development stage ------------------------------------------------------ */
.dev-stage {
  position: relative;
  min-height: 590px;
  isolation: isolate;
}

.dev-glow {
  position: absolute;
  inset: 5% 0 4%;
  border-radius: 48% 52% 46% 54%;
  background:
    radial-gradient(circle at 66% 30%, rgba(var(--accent-rgb), 0.22), transparent 55%),
    radial-gradient(circle at 22% 76%, rgba(86, 133, 255, 0.2), transparent 58%),
    rgba(var(--white-rgb), 0.38);
  filter: blur(8px);
}

.dev-grid-bg {
  position: absolute;
  inset: 4% 2%;
  background-image:
    linear-gradient(to right, rgba(var(--ink-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--ink-rgb), 0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 52% 46%, #000, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 52% 46%, #000, transparent 74%);
}

.dev-window {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 0;
  width: 92%;
  border-radius: 17px;
  overflow: hidden;
  background: #0f1115;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 44px 90px -40px rgba(var(--ink-rgb), 0.7);
  transform: rotate(-1.2deg);
  transition: transform 0.35s ease;
}

.dev-window:hover {
  transform: rotate(0) translateY(-4px);
}

.dev-window-bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: #171a20;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.dev-window-bar > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dev-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.dev-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}

.dev-body {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  min-height: 370px;
}

.dev-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 12px;
  background: #12151b;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.dev-side-label {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.35);
}

.dev-side > span:not(.dev-side-label):not(.dev-side-foot) {
  padding: 7px 8px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.3;
}

.dev-side > span.is-active {
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--orange);
}

.dev-side-foot {
  margin-top: auto;
  padding: 7px 8px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--mono);
  font-size: 8px;
  text-align: center;
}

.dev-main {
  padding: 18px 18px 20px;
  background: #0d1015;
  color: #d9dee8;
  min-width: 0;
}

.dev-main-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.dev-main-head p {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.38);
}

.dev-main-head h3 {
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

.dev-version {
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.dev-platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 14px;
}

.dev-platforms div {
  padding: 9px 8px;
  border-radius: 8px;
  background: #151920;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dev-platforms b {
  display: block;
  font-family: var(--mono);
  font-size: 15px;
  color: #ff8a5c;
  letter-spacing: 0.02em;
}

.dev-platforms span {
  display: block;
  margin-top: 3px;
  font-size: 8px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.48);
}

.dev-progress {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: rgba(255, 255, 255, 0.38);
}

.dev-progress i {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.dev-progress .is-on {
  color: var(--orange);
}

.dev-tasks {
  margin-top: 11px;
  display: grid;
  gap: 5px;
}

.dev-tasks div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
}

.dev-tasks b {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.34);
}

.dev-tasks b.is-on {
  color: var(--orange);
}

.dev-phone {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  width: 24%;
  min-width: 136px;
  padding: 7px;
  border-radius: 26px;
  background: #101318;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px -24px rgba(var(--ink-rgb), 0.65);
  transform: rotate(4deg);
}

.dev-phone-screen {
  position: relative;
  overflow: hidden;
  padding: 22px 10px 10px;
  border-radius: 19px;
  background: #f5f2e9;
  color: #161a20;
}

.dev-phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dev-phone-head span {
  width: 42%;
  height: 6px;
  border-radius: 999px;
  background: #d8d3c6;
}

.dev-phone-head i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.8;
}

.dev-phone-hero {
  margin-top: 12px;
  padding: 10px;
  border-radius: 9px;
  background: #101318;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.dev-phone-line {
  height: 5px;
  margin-top: 7px;
  border-radius: 999px;
  background: #ded9cd;
}

.dev-phone-line:nth-of-type(3) {
  width: 72%;
}

.dev-phone-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 9px;
}

.dev-phone-cards span {
  height: 34px;
  border-radius: 6px;
  background: #e7e2d6;
}

.dev-phone-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 7px;
  border-top: 1px solid #ded9cd;
}

.dev-phone-nav i {
  width: 12px;
  height: 5px;
  border-radius: 999px;
  background: #c9c3b5;
}

.dev-phone-label {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 7.5px;
  white-space: nowrap;
}

.dev-mini {
  position: absolute;
  z-index: 5;
  left: 1%;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 35%;
  padding: 12px;
  border-radius: 13px;
  background: rgba(var(--white-rgb), 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(var(--ink-rgb), 0.55);
  backdrop-filter: blur(8px);
}

.dev-mini-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--orange);
  flex: none;
}

.dev-mini strong {
  display: block;
  font-size: 11px;
}

.dev-mini span {
  display: block;
  margin-top: 2px;
  font-size: 8.5px;
  color: var(--muted);
}

.dev-chip {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(var(--white-rgb), 0.94);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  color: var(--ink-soft);
  box-shadow: 0 12px 28px -18px rgba(var(--ink-rgb), 0.5);
}

.dev-chip svg {
  color: var(--orange);
}

.dev-chip--a {
  left: 2%;
  top: 2%;
}

.dev-chip--b {
  right: -2%;
  top: 47%;
}

/* Services --------------------------------------------------------------- */
.section--services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 60px -46px rgba(var(--ink-rgb), 0.55);
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--orange);
}

.service-num {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}

.service-card h3 {
  margin-top: auto;
  padding-top: 34px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.service-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.service-tags span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--muted);
}

/* Process ---------------------------------------------------------------- */
.section--process {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.process-step {
  padding: 22px 18px 0 0;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-num {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--orange);
  letter-spacing: 0.1em;
}

.process-step h3 {
  margin-top: 14px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.process-step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* Values ----------------------------------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.value-card {
  min-height: 220px;
  padding: 24px 22px;
  background: rgba(var(--white-rgb), 0.42);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.value-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--orange);
}

.value-card h3 {
  margin-top: 34px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.value-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.tech-label {
  margin-right: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.tech-tag {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--ink-soft);
  background: rgba(var(--white-rgb), 0.4);
}

/* About company ---------------------------------------------------------- */
.section--about-company {
  background: var(--ink);
  color: var(--paper);
}

.about-company {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 70px;
  align-items: start;
}

.about-company .eyebrow {
  color: rgba(var(--paper-rgb), 0.5);
}

.about-company h2 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.about-company-main > p:not(.eyebrow):not(.about-company-note) {
  margin-top: 22px;
  max-width: 580px;
  color: rgba(var(--paper-rgb), 0.72);
  font-size: 14px;
  line-height: 1.85;
}

.about-company-note {
  margin-top: 14px;
  max-width: 560px;
  color: rgba(var(--paper-rgb), 0.46);
  font-size: 12.5px;
  line-height: 1.8;
}

.about-company .text-link {
  margin-top: 26px;
  color: var(--paper);
  border-color: rgba(var(--paper-rgb), 0.35);
}

.about-facts {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(var(--paper-rgb), 0.16);
}

.about-facts div {
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(var(--paper-rgb), 0.16);
}

.about-facts strong {
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--paper);
  font-weight: 600;
}

.about-facts span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: rgba(var(--paper-rgb), 0.45);
}

/* Works CTA -------------------------------------------------------------- */
.section--works {
  background: var(--paper);
}

.works-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 46px 0 0;
  border-top: 1px solid var(--line-strong);
}

.works-panel h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.works-panel > div > p:not(.eyebrow) {
  margin-top: 12px;
  max-width: 430px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.works-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* Contact ---------------------------------------------------------------- */
.section--contact {
  padding-top: 0;
}

.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 46px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(520px 320px at 88% 10%, rgba(var(--accent-rgb), 0.35), transparent 64%),
    var(--ink);
  color: var(--paper);
}

.contact-copy .eyebrow {
  color: rgba(var(--paper-rgb), 0.48);
}

.contact-copy h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.contact-copy h2 br + * {
  color: var(--lime);
}

.contact-copy > p:not(.eyebrow) {
  margin-top: 16px;
  max-width: 540px;
  color: rgba(var(--paper-rgb), 0.68);
  font-size: 13px;
  line-height: 1.8;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  color: rgba(var(--paper-rgb), 0.7);
  font-size: 11.5px;
}

.contact-methods span,
.contact-methods a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-methods strong {
  color: var(--paper);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  flex: none;
  min-width: 190px;
}

.contact-actions .button--ghost {
  color: var(--paper);
  border-color: rgba(var(--paper-rgb), 0.32);
}

.contact-actions .button--ghost:hover {
  background: rgba(var(--white-rgb), 0.1);
  border-color: rgba(var(--paper-rgb), 0.7);
}

.contact-year {
  position: absolute;
  right: 22px;
  top: 8px;
  font-family: var(--serif);
  font-size: 120px;
  line-height: 1;
  color: rgba(var(--paper-rgb), 0.06);
  pointer-events: none;
}

/* Work cards ------------------------------------------------------------- */
.page-hero--works {
  background:
    radial-gradient(760px 420px at 84% 18%, rgba(var(--accent-rgb), 0.2), transparent 64%),
    var(--paper);
}

.section--works-list {
  padding-top: 74px;
}

.section--works-list-alt {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-grid {
  display: grid;
  gap: 20px;
}

.work-grid--pc {
  grid-template-columns: 1fr;
}

.work-grid--mobile {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 34px 70px -52px rgba(var(--ink-rgb), 0.6);
}

.work-card--pc {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  min-height: 380px;
}

.work-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 28px;
  background:
    radial-gradient(420px 260px at 50% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    linear-gradient(150deg, #151920, #0c0f14);
  overflow: hidden;
}

.work-card--pc .work-visual {
  min-height: 380px;
  padding: 34px;
}

.work-index {
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
}

.work-browser {
  width: 100%;
  overflow: hidden;
  border-radius: 11px;
  background: #0b0e13;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 54px -30px rgba(0, 0, 0, 0.7);
}

.work-browser-bar {
  display: flex;
  gap: 4px;
  padding: 9px 11px;
  background: #171a20;
}

.work-browser-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.work-browser img {
  display: block;
  width: 100%;
}

.phone--work {
  width: min(178px, 62%);
}

.work-card--pc .work-visual::after {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: scaleY(0.5) rotate(-12deg);
  pointer-events: none;
}

.work-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 22px;
}

.work-card--pc .work-copy {
  justify-content: center;
  padding: 38px 34px;
}

.work-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.work-en {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.work-copy h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.work-card--pc .work-copy h3 {
  font-size: clamp(38px, 3.8vw, 54px);
}

.work-tagline {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
}

.work-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}

.work-copy .text-link {
  margin-top: auto;
  padding-top: 20px;
}

.section--works-cta {
  padding-top: 0;
  padding-bottom: 70px;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero--company .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 28px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 260px;
  }

  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 0;
  }

  .process-step {
    padding: 18px 16px 18px 0;
    border-top: 1px solid var(--line-strong);
  }

  .process-step:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 960px) {
  .hero--company .hero-grid {
    grid-template-columns: 1fr;
  }

  .dev-stage {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
    min-height: 540px;
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-company {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 18px;
    border-top: 1px solid rgba(var(--paper-rgb), 0.16);
  }

  .about-facts div {
    border-bottom: 0;
    border-right: 1px solid rgba(var(--paper-rgb), 0.16);
    padding: 16px 14px 0 0;
  }

  .about-facts div:last-child {
    border-right: 0;
  }

  .works-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .work-card--pc {
    grid-template-columns: 1fr;
  }

  .work-card--pc .work-visual {
    min-height: 320px;
  }

  .work-grid--mobile {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .contact-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .dev-stage {
    min-height: 480px;
  }

  .dev-window {
    width: 94%;
    left: 3%;
  }

  .dev-body {
    grid-template-columns: 102px minmax(0, 1fr);
    min-height: 330px;
  }

  .dev-side {
    padding: 12px 9px;
  }

  .dev-side > span:not(.dev-side-label):not(.dev-side-foot) {
    font-size: 9px;
    padding: 6px;
  }

  .dev-main {
    padding: 14px;
  }

  .dev-main-head h3 {
    font-size: 15px;
  }

  .dev-platforms span {
    display: none;
  }

  .dev-platforms b {
    font-size: 13px;
  }

  .dev-phone {
    width: 27%;
    right: 0;
  }

  .dev-mini {
    width: 40%;
    padding: 9px;
  }

  .dev-mini span {
    display: none;
  }

  .dev-chip {
    display: none;
  }

  .service-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-card h3 {
    padding-top: 24px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: 0;
  }

  .about-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-facts div {
    border-right: 0;
    border-bottom: 1px solid rgba(var(--paper-rgb), 0.16);
    padding: 14px 0;
  }

  .contact-card {
    padding: 32px 22px;
    border-radius: 24px;
  }

  .contact-year {
    font-size: 86px;
  }

  .work-card--pc .work-copy {
    padding: 24px 22px;
  }

  .work-visual {
    padding: 18px;
  }

  .work-card--pc .work-visual {
    min-height: 280px;
    padding: 22px;
  }
}

@media (max-width: 520px) {
  .dev-stage {
    min-height: 420px;
  }

  .dev-body {
    grid-template-columns: 1fr;
    min-height: 300px;
  }

  .dev-side {
    display: none;
  }

  .dev-phone {
    width: 30%;
    min-width: 104px;
  }

  .dev-mini {
    display: none;
  }

  .dev-window-bar > span:nth-child(2) {
    font-size: 7px;
  }

  .dev-progress {
    font-size: 6.5px;
  }

  .dev-tasks div {
    padding: 6px 7px;
    font-size: 8px;
  }

  .dev-main-head h3 {
    font-size: 14px;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }
}

.contact-copy h2 em {
  color: var(--lime);
  font-style: normal;
}

.work-visual {
  background: linear-gradient(150deg, #151920, #0c0f14);
  background:
    radial-gradient(420px 260px at 50% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    linear-gradient(150deg, #151920, #0c0f14);
}

.hero--company h1 {
  font-size: clamp(46px, 5.3vw, 76px);
  line-height: 1.02;
}

@media (max-width: 760px) {
  .hero--company h1 {
    font-size: clamp(42px, 8vw, 58px);
  }
}

@media (max-width: 520px) {
  .hero--company h1 {
    font-size: clamp(38px, 10.2vw, 46px);
    line-height: 1.08;
  }
}

.hero--company h1 em::after {
  left: 0;
  right: 0;
}

.shot-grid {
  align-items: start;
}

/* QR-first contact ------------------------------------------------------- */
.contact-qr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px 5px 5px;
  border: 1px solid rgba(var(--paper-rgb), 0.28);
  border-radius: 11px;
  background: rgba(var(--white-rgb), 0.06);
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.contact-qr:hover {
  border-color: rgba(var(--paper-rgb), 0.6);
  background: rgba(var(--white-rgb), 0.1);
}

.contact-qr img {
  width: 46px;
  height: 46px;
  border-radius: 7px;
  background: #fff;
  padding: 2px;
  flex: none;
}

.contact-qr span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(var(--paper-rgb), 0.78);
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-qr img {
  width: 132px;
  height: 132px;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  flex: none;
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.8);
}

.footer-qr span {
  font-size: 11px;
  color: rgba(var(--paper-rgb), 0.6);
}

/* Interface tone presets (Settings -> site_theme) ------------------------- */
html[data-theme="ocean"] {
  --orange: #1f6bff;
  --lime: #1f6bff;
  --lime-deep: #1556d6;
  --accent-rgb: 31, 107, 255;
  --blue: #d7e3ff;
}

html[data-theme="forest"] {
  --orange: #1f8a5b;
  --lime: #1f8a5b;
  --lime-deep: #166b45;
  --accent-rgb: 31, 138, 91;
  --blue: #d8ecdf;
}

html[data-theme="violet"] {
  --orange: #6f3fd0;
  --lime: #6f3fd0;
  --lime-deep: #5a2eb2;
  --accent-rgb: 111, 63, 208;
  --blue: #e4dcff;
}

html[data-theme="crimson"] {
  --orange: #c53b35;
  --lime: #c53b35;
  --lime-deep: #a52f2a;
  --accent-rgb: 197, 59, 53;
  --blue: #f6d9d7;
}

html[data-theme="gold"] {
  --orange: #a56e08;
  --lime: #c98a12;
  --lime-deep: #8d5d05;
  --accent-rgb: 201, 138, 18;
  --blue: #f3e3c2;
}
html[data-theme="sand"] {
  --paper: #efe3cf;
  --paper-deep: #e3d2b8;
  --card: #faf2e4;
  --ink: #241a10;
  --ink-soft: #3b2c1e;
  --muted: #7c6854;
  --line: rgba(36, 26, 16, 0.14);
  --line-strong: rgba(36, 26, 16, 0.28);
  --lime: #b4632b;
  --lime-deep: #97501e;
  --orange: #b4632b;
  --blue: #f0d8bd;
  --white: #fff9ef;
  --paper-rgb: 239, 227, 207;
  --ink-rgb: 36, 26, 16;
  --white-rgb: 255, 249, 239;
  --accent-rgb: 180, 99, 43;
}

html[data-theme="mint"] {
  --paper: #e7f1ea;
  --paper-deep: #d5e6da;
  --card: #f7fbf8;
  --ink: #102019;
  --ink-soft: #25382c;
  --muted: #62756a;
  --line: rgba(16, 32, 25, 0.14);
  --line-strong: rgba(16, 32, 25, 0.28);
  --lime: #1f7a5a;
  --lime-deep: #166347;
  --orange: #1f7a5a;
  --blue: #d2e9dd;
  --white: #fbfffc;
  --paper-rgb: 231, 241, 234;
  --ink-rgb: 16, 32, 25;
  --white-rgb: 251, 255, 252;
  --accent-rgb: 31, 122, 90;
}

html[data-theme="sky"] {
  --paper: #e6eef5;
  --paper-deep: #d4e1ec;
  --card: #f7fbfd;
  --ink: #0f1c26;
  --ink-soft: #243746;
  --muted: #62778a;
  --line: rgba(15, 28, 38, 0.14);
  --line-strong: rgba(15, 28, 38, 0.28);
  --lime: #246b96;
  --lime-deep: #1c577b;
  --orange: #246b96;
  --blue: #d3e5f2;
  --white: #fbfdff;
  --paper-rgb: 230, 238, 245;
  --ink-rgb: 15, 28, 38;
  --white-rgb: 251, 253, 255;
  --accent-rgb: 36, 107, 150;
}

html[data-theme="lavender"] {
  --paper: #eee9f5;
  --paper-deep: #ded6ec;
  --card: #f9f7fd;
  --ink: #1b1426;
  --ink-soft: #332745;
  --muted: #74658a;
  --line: rgba(27, 20, 38, 0.14);
  --line-strong: rgba(27, 20, 38, 0.28);
  --lime: #6a4aa0;
  --lime-deep: #563a85;
  --orange: #6a4aa0;
  --blue: #e2d8f3;
  --white: #fdfbff;
  --paper-rgb: 238, 233, 245;
  --ink-rgb: 27, 20, 38;
  --white-rgb: 253, 251, 255;
  --accent-rgb: 106, 74, 160;
}

html[data-theme="graphite"] {
  --paper: #e9e9e9;
  --paper-deep: #dcdcdc;
  --card: #f7f7f7;
  --ink: #141414;
  --ink-soft: #2b2b2b;
  --muted: #6f6f6f;
  --line: rgba(20, 20, 20, 0.14);
  --line-strong: rgba(20, 20, 20, 0.28);
  --lime: #3f3f3f;
  --lime-deep: #292929;
  --orange: #3f3f3f;
  --blue: #d7d7d7;
  --white: #fcfcfc;
  --paper-rgb: 233, 233, 233;
  --ink-rgb: 20, 20, 20;
  --white-rgb: 252, 252, 252;
  --accent-rgb: 63, 63, 63;
}

/* Homepage templates ----------------------------------------------------- */
html[data-template="minimal"] .hero--company .hero-grid {
  grid-template-columns: 1fr;
  max-width: 980px;
  text-align: center;
}

html[data-template="minimal"] .hero--company .hero-visual,
html[data-template="minimal"] .hero--company .hero-stage {
  display: none;
}

html[data-template="minimal"] .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

html[data-template="minimal"] .hero--company h1 {
  max-width: 900px;
  font-size: clamp(48px, 6.8vw, 82px);
}

html[data-template="minimal"] .hero-lede {
  max-width: 640px;
  text-align: center;
}

html[data-template="minimal"] .hero-actions,
html[data-template="minimal"] .hero-metrics {
  justify-content: center;
}

html[data-template="minimal"] .hero-metrics {
  margin-top: 36px;
}

html[data-template="minimal"] .hero-footnote {
  text-align: center;
}

html[data-template="minimal"] .ticker {
  display: none;
}

html[data-template="minimal"] .section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

html[data-template="minimal"] .section-heading-side {
  max-width: 620px;
  text-align: center;
}

html[data-template="minimal"] .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin: 0 auto;
}

html[data-template="minimal"] .service-card {
  min-height: 0;
  padding: 24px 0 30px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

html[data-template="minimal"] .service-card:hover {
  transform: none;
  box-shadow: none;
}

html[data-template="minimal"] .service-card h3 {
  padding-top: 26px;
}

html[data-template="minimal"] .value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-template="minimal"] .value-card {
  min-height: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

html[data-template="minimal"] .section--about-company {
  background: var(--paper-deep);
  color: var(--ink);
}

html[data-template="minimal"] .about-company .eyebrow {
  color: var(--muted);
}

html[data-template="minimal"] .about-company h2 {
  color: var(--ink);
}

html[data-template="minimal"] .about-company-main > p:not(.eyebrow):not(.about-company-note) {
  color: var(--ink-soft);
}

html[data-template="minimal"] .about-company-note {
  color: var(--muted);
}

html[data-template="minimal"] .about-company .text-link {
  color: var(--ink);
  border-color: var(--line-strong);
}

html[data-template="minimal"] .about-facts,
html[data-template="minimal"] .about-facts div {
  border-color: var(--line);
}

html[data-template="minimal"] .about-facts strong {
  color: var(--ink);
}

html[data-template="minimal"] .about-facts span {
  color: var(--muted);
}

html[data-template="minimal"] .contact-card {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}

html[data-template="minimal"] .contact-copy h2 em {
  color: var(--orange);
}

html[data-template="minimal"] .contact-copy > p:not(.eyebrow),
html[data-template="minimal"] .contact-methods {
  color: var(--muted);
}

html[data-template="minimal"] .contact-actions .button--ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}

html[data-template="minimal"] .contact-year {
  color: rgba(var(--ink-rgb), 0.05);
}

html[data-template="clean"] .hero--company .hero-grid {
  grid-template-columns: 1fr;
  max-width: 980px;
}

html[data-template="clean"] .hero--company .hero-visual,
html[data-template="clean"] .hero--company .hero-stage {
  display: none;
}

html[data-template="clean"] .hero--company h1 {
  max-width: 900px;
  font-size: clamp(44px, 6vw, 74px);
}

html[data-template="clean"] .hero-lede {
  max-width: 620px;
}

html[data-template="clean"] .ticker {
  display: none;
}

html[data-template="clean"] .service-grid {
  grid-template-columns: 1fr;
  max-width: 980px;
  gap: 0;
  margin: 0 auto;
}

html[data-template="clean"] .service-card {
  display: grid;
  grid-template-columns: 56px 250px minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 8px;
  min-height: 0;
  padding: 22px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

html[data-template="clean"] .service-card:hover {
  transform: none;
  box-shadow: none;
}

html[data-template="clean"] .service-top {
  grid-column: 1;
  grid-row: 1 / span 2;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

html[data-template="clean"] .service-card h3 {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
  margin: 0;
  font-size: 23px;
}

html[data-template="clean"] .service-card p {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
}

html[data-template="clean"] .service-tags {
  grid-column: 3;
  grid-row: 2;
  margin: 0;
}

html[data-template="clean"] .value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-template="clean"] .value-card {
  min-height: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

html[data-template="clean"] .section--about-company {
  background: var(--paper-deep);
  color: var(--ink);
}

html[data-template="clean"] .about-company .eyebrow,
html[data-template="clean"] .about-company-note,
html[data-template="clean"] .about-facts span {
  color: var(--muted);
}

html[data-template="clean"] .about-company h2,
html[data-template="clean"] .about-facts strong {
  color: var(--ink);
}

html[data-template="clean"] .about-company-main > p:not(.eyebrow):not(.about-company-note) {
  color: var(--ink-soft);
}

html[data-template="clean"] .about-company .text-link {
  color: var(--ink);
  border-color: var(--line-strong);
}

html[data-template="clean"] .about-facts,
html[data-template="clean"] .about-facts div {
  border-color: var(--line);
}

html[data-template="clean"] .contact-card {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
}

html[data-template="clean"] .contact-copy h2 em {
  color: var(--orange);
}

html[data-template="clean"] .contact-copy > p:not(.eyebrow),
html[data-template="clean"] .contact-methods {
  color: var(--muted);
}

html[data-template="clean"] .contact-actions .button--ghost {
  color: var(--ink);
  border-color: var(--line-strong);
}

html[data-template="clean"] .contact-year {
  color: rgba(var(--ink-rgb), 0.05);
}

@media (max-width: 760px) {
  html[data-template="minimal"] .service-grid,
  html[data-template="minimal"] .value-grid,
  html[data-template="clean"] .value-grid {
    grid-template-columns: 1fr;
  }

  html[data-template="clean"] .service-card {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
  }

  html[data-template="clean"] .service-top {
    grid-row: 1 / span 3;
  }

  html[data-template="clean"] .service-card h3,
  html[data-template="clean"] .service-card p,
  html[data-template="clean"] .service-tags {
    grid-column: 2;
    grid-row: auto;
  }
}

html[data-template="minimal"] .hero--company .dev-stage,
html[data-template="clean"] .hero--company .dev-stage {
  display: none;
}

/* Template upgrades: minimal / clean -------------------------------- */
html[data-template="minimal"] .hero--company {
  background:
    radial-gradient(900px 620px at 18% 10%, rgba(var(--accent-rgb), 0.18), transparent 64%),
    radial-gradient(760px 560px at 92% 2%, rgba(120, 150, 255, 0.12), transparent 64%),
    linear-gradient(180deg, var(--paper), var(--paper-deep));
}

html[data-template="minimal"] .hero-copy {
  position: relative;
  z-index: 1;
}

html[data-template="minimal"] .hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  left: 50%;
  top: 4%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.12);
  filter: blur(60px);
}

html[data-template="minimal"] .hero-metrics {
  gap: 10px;
}

html[data-template="minimal"] .hero-metrics div {
  min-width: 118px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(var(--white-rgb), 0.55);
  backdrop-filter: blur(10px);
}

html[data-template="minimal"] .service-card {
  min-height: 270px;
  padding: 24px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}

html[data-template="minimal"] .service-card:nth-child(2n) {
  background: rgba(var(--accent-rgb), 0.055);
}

html[data-template="minimal"] .service-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -46px rgba(var(--ink-rgb), 0.45);
}

html[data-template="minimal"] .service-card h3 {
  padding-top: 30px;
}

html[data-template="minimal"] .service-icon {
  background: var(--orange);
  color: var(--white);
}

html[data-template="minimal"] .value-card {
  min-height: 200px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}

html[data-template="minimal"] .value-card:nth-child(2n) {
  background: rgba(var(--accent-rgb), 0.05);
}

html[data-template="minimal"] .contact-card {
  background:
    radial-gradient(520px 300px at 90% 0%, rgba(var(--accent-rgb), 0.16), transparent 66%),
    linear-gradient(135deg, var(--card), var(--paper-deep));
  border: 1px solid var(--line);
}

html[data-template="clean"] .hero--company {
  background:
    linear-gradient(90deg, transparent 49.9%, var(--line) 50%, transparent 50.1%),
    radial-gradient(900px 560px at 88% 8%, rgba(var(--accent-rgb), 0.14), transparent 62%),
    var(--paper);
  overflow: hidden;
}

html[data-template="clean"] .hero--company::after {
  content: "STUDIO";
  position: absolute;
  right: -1.5%;
  top: 92px;
  z-index: 0;
  font-family: var(--serif);
  font-size: clamp(100px, 14vw, 220px);
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: rgba(var(--ink-rgb), 0.045);
  pointer-events: none;
}

html[data-template="clean"] .hero--company .hero-grid {
  position: relative;
  z-index: 1;
}

html[data-template="clean"] .hero-metrics div {
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
}

html[data-template="clean"] .service-card {
  position: relative;
  padding: 24px 42px 24px 8px;
  transition: background 0.2s ease, padding 0.2s ease;
}

html[data-template="clean"] .service-card::after {
  content: "↗";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

html[data-template="clean"] .service-card:hover {
  background: rgba(var(--accent-rgb), 0.045);
  padding-left: 16px;
}

html[data-template="clean"] .service-card:hover::after {
  color: var(--orange);
  transform: translate(3px, -50%);
}

html[data-template="clean"] .service-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--orange);
  color: var(--white);
}

html[data-template="clean"] .service-num {
  color: var(--orange);
}

html[data-template="clean"] .process-step {
  padding: 22px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(var(--white-rgb), 0.35);
}

html[data-template="clean"] .process-grid {
  gap: 10px;
  border-top: 0;
}

html[data-template="clean"] .value-card {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

@media (max-width: 760px) {
  html[data-template="minimal"] .hero-metrics div {
    min-width: 0;
    padding: 10px 12px;
  }

  html[data-template="clean"] .hero--company::after {
    top: 58px;
    font-size: 92px;
  }

  html[data-template="clean"] .service-card {
    padding-right: 32px;
  }
}

/* Template: bento ---------------------------------------------------- */
html[data-template="bento"] .hero--company {
  background:
    radial-gradient(760px 540px at 88% 18%, rgba(var(--accent-rgb), 0.18), transparent 62%),
    radial-gradient(620px 460px at 0% 100%, rgba(86, 133, 255, 0.10), transparent 65%),
    var(--paper);
}

html[data-template="bento"] .hero-metrics {
  gap: 8px;
}

html[data-template="bento"] .hero-metrics div {
  min-width: 112px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(var(--white-rgb), 0.6);
}

html[data-template="bento"] .service-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  grid-template-rows: repeat(2, minmax(220px, auto)) auto;
  gap: 12px;
}

html[data-template="bento"] .service-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card);
}

html[data-template="bento"] .service-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 452px;
  background:
    radial-gradient(420px 260px at 80% 10%, rgba(var(--accent-rgb), 0.32), transparent 68%),
    var(--ink);
  color: var(--paper);
}

html[data-template="bento"] .service-card:nth-child(1) h3 {
  color: var(--paper);
}

html[data-template="bento"] .service-card:nth-child(1) p {
  color: rgba(var(--paper-rgb), 0.68);
}

html[data-template="bento"] .service-card:nth-child(1) .service-tags span {
  border-color: rgba(var(--paper-rgb), 0.2);
  color: rgba(var(--paper-rgb), 0.65);
}

html[data-template="bento"] .service-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  background: rgba(var(--accent-rgb), 0.10);
}

html[data-template="bento"] .service-card:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

html[data-template="bento"] .service-card:nth-child(4) {
  grid-column: 1 / span 2;
  grid-row: 3;
  min-height: 190px;
  background: rgba(var(--accent-rgb), 0.055);
}

html[data-template="bento"] .service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -42px rgba(var(--ink-rgb), 0.5);
}

html[data-template="bento"] .service-icon {
  background: var(--orange);
  color: var(--white);
}

html[data-template="bento"] .value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-template="bento"] .value-card {
  min-height: 190px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
}

html[data-template="bento"] .value-card:first-child {
  background: rgba(var(--accent-rgb), 0.09);
}

html[data-template="bento"] .about-company {
  background:
    radial-gradient(600px 420px at 100% 0%, rgba(var(--accent-rgb), 0.18), transparent 66%),
    var(--ink);
}

html[data-template="bento"] .contact-card {
  background:
    radial-gradient(560px 320px at 88% 8%, rgba(var(--accent-rgb), 0.38), transparent 64%),
    var(--ink);
}

html[data-template="bento"] .ticker {
  background: var(--orange);
  color: var(--ink);
  border: 0;
}

@media (max-width: 900px) {
  html[data-template="bento"] .service-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  html[data-template="bento"] .service-card:nth-child(1),
  html[data-template="bento"] .service-card:nth-child(2),
  html[data-template="bento"] .service-card:nth-child(3),
  html[data-template="bento"] .service-card:nth-child(4) {
    grid-column: 1;
    grid-row: auto;
    min-height: 220px;
  }
}

/* Template: poster --------------------------------------------------- */
html[data-template="poster"] .hero--company {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(820px 520px at 84% 14%, rgba(var(--accent-rgb), 0.3), transparent 62%),
    var(--ink);
  color: var(--paper);
}

html[data-template="poster"] .hero--company::before {
  content: "TIANTIAN";
  position: absolute;
  left: -3%;
  bottom: -0.18em;
  z-index: 0;
  font-family: var(--serif);
  font-size: clamp(130px, 18vw, 300px);
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: rgba(var(--paper-rgb), 0.055);
  pointer-events: none;
}

html[data-template="poster"] .hero--company::after {
  content: "";
  position: absolute;
  right: -140px;
  top: 80px;
  z-index: 0;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(var(--paper-rgb), 0.18);
  border-radius: 50%;
  pointer-events: none;
}

html[data-template="poster"] .hero--company .hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1080px;
  min-height: 610px;
  align-items: center;
}

html[data-template="poster"] .hero--company .hero-copy {
  max-width: 900px;
}

html[data-template="poster"] .hero--company .hero-visual,
html[data-template="poster"] .hero--company .hero-stage,
html[data-template="poster"] .hero--company .dev-stage {
  display: none;
}

html[data-template="poster"] .hero--company h1 {
  max-width: 920px;
  color: var(--paper);
  font-size: clamp(58px, 8vw, 110px);
  line-height: 0.98;
}

html[data-template="poster"] .hero--company h1 em {
  color: var(--orange);
}

html[data-template="poster"] .hero--company h1 em::after {
  background: var(--orange);
}

html[data-template="poster"] .hero--company .eyebrow {
  color: rgba(var(--paper-rgb), 0.65);
  border-color: rgba(var(--paper-rgb), 0.25);
}

html[data-template="poster"] .hero--company .hero-lede {
  max-width: 620px;
  color: rgba(var(--paper-rgb), 0.72);
}

html[data-template="poster"] .hero--company .hero-actions .button--dark {
  background: var(--paper);
  color: var(--ink);
}

html[data-template="poster"] .hero--company .hero-actions .button--ghost {
  color: var(--paper);
  border-color: rgba(var(--paper-rgb), 0.35);
}

html[data-template="poster"] .hero--company .hero-metrics div {
  padding-left: 16px;
  border-left: 1px solid rgba(var(--paper-rgb), 0.22);
}

html[data-template="poster"] .hero--company .hero-metrics dt {
  color: var(--orange);
}

html[data-template="poster"] .hero--company .hero-metrics dd,
html[data-template="poster"] .hero--company .hero-footnote {
  color: rgba(var(--paper-rgb), 0.58);
}

html[data-template="poster"] .ticker {
  background: var(--orange);
  color: var(--ink);
  border: 0;
}

html[data-template="poster"] .service-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
}

html[data-template="poster"] .service-card:nth-child(1) {
  background: var(--ink);
  color: var(--paper);
}

html[data-template="poster"] .service-card:nth-child(1) h3 {
  color: var(--paper);
}

html[data-template="poster"] .service-card:nth-child(1) p {
  color: rgba(var(--paper-rgb), 0.68);
}

html[data-template="poster"] .service-card:nth-child(2) {
  background: rgba(var(--accent-rgb), 0.1);
}

html[data-template="poster"] .service-card:nth-child(4) {
  background: var(--paper-deep);
}

html[data-template="poster"] .process-grid {
  border-top-color: var(--ink);
}

html[data-template="poster"] .value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-template="poster"] .value-card {
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}

html[data-template="poster"] .about-company {
  background: var(--ink);
}

html[data-template="poster"] .contact-card {
  background:
    radial-gradient(520px 320px at 86% 0%, rgba(var(--accent-rgb), 0.34), transparent 64%),
    var(--ink);
}

@media (max-width: 760px) {
  html[data-template="poster"] .hero--company .hero-grid {
    min-height: 0;
  }

  html[data-template="poster"] .hero--company::before {
    font-size: 120px;
  }

  html[data-template="poster"] .hero-metrics div {
    padding-left: 10px;
  }
}

/* Template: glass ---------------------------------------------------- */
html[data-template="glass"] .hero--company {
  background:
    radial-gradient(620px 420px at 12% 12%, rgba(var(--accent-rgb), 0.24), transparent 66%),
    radial-gradient(620px 460px at 92% 18%, rgba(86, 133, 255, 0.18), transparent 66%),
    linear-gradient(135deg, var(--paper), var(--paper-deep));
}

html[data-template="glass"] .hero--company .hero-grid {
  align-items: center;
}

html[data-template="glass"] .hero-copy {
  padding: 34px;
  border: 1px solid rgba(var(--white-rgb), 0.65);
  border-radius: 26px;
  background: rgba(var(--white-rgb), 0.48);
  box-shadow: 0 34px 80px -48px rgba(var(--ink-rgb), 0.5);
  backdrop-filter: blur(18px);
}

html[data-template="glass"] .hero-metrics div {
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(var(--white-rgb), 0.42);
}

html[data-template="glass"] .service-card,
html[data-template="glass"] .value-card {
  border: 1px solid rgba(var(--white-rgb), 0.7);
  border-radius: 22px;
  background: rgba(var(--white-rgb), 0.45);
  box-shadow: 0 24px 60px -46px rgba(var(--ink-rgb), 0.4);
  backdrop-filter: blur(14px);
}

html[data-template="glass"] .service-card:nth-child(2n) {
  background: rgba(var(--accent-rgb), 0.08);
}

html[data-template="glass"] .process-step {
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(var(--white-rgb), 0.38);
}

html[data-template="glass"] .process-grid {
  gap: 10px;
  border-top: 0;
}

html[data-template="glass"] .section--about-company {
  background:
    radial-gradient(600px 420px at 100% 0%, rgba(var(--accent-rgb), 0.2), transparent 66%),
    var(--ink);
}

html[data-template="glass"] .contact-card {
  background:
    radial-gradient(560px 320px at 88% 8%, rgba(var(--accent-rgb), 0.3), transparent 64%),
    rgba(var(--ink-rgb), 0.92);
  border: 1px solid rgba(var(--paper-rgb), 0.14);
  backdrop-filter: blur(16px);
}

html[data-template="glass"] .ticker {
  background: rgba(var(--ink-rgb), 0.94);
}

@media (max-width: 760px) {
  html[data-template="glass"] .hero-copy {
    padding: 24px 18px;
    border-radius: 22px;
  }
}

html[data-template="poster"] body:not(.nav-open) .site-header:not(.is-scrolled) .brand,
html[data-template="poster"] body:not(.nav-open) .site-header:not(.is-scrolled) .site-nav a,
html[data-template="poster"] body:not(.nav-open) .site-header:not(.is-scrolled) .header-share,
html[data-template="poster"] body:not(.nav-open) .site-header:not(.is-scrolled) .nav-toggle {
  color: var(--paper);
}

html[data-template="poster"] body:not(.nav-open) .site-header:not(.is-scrolled) .brand-text small {
  color: rgba(var(--paper-rgb), 0.55);
}

html[data-template="poster"] body:not(.nav-open) .site-header:not(.is-scrolled) .site-nav a::after {
  background: var(--paper);
}

html[data-template="poster"] body:not(.nav-open) .site-header:not(.is-scrolled) .header-share {
  border-color: rgba(var(--paper-rgb), 0.28);
  background: rgba(var(--paper-rgb), 0.08);
}

html[data-template="poster"] body:not(.nav-open) .site-header:not(.is-scrolled) .header-cta {
  background: var(--paper);
  color: var(--ink);
}

html[data-template="poster"] body:not(.nav-open) .site-header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(var(--paper-rgb), 0.28);
}

html[data-template="poster"] body:not(.nav-open) .site-header:not(.is-scrolled) .nav-toggle span {
  background: var(--paper);
}

html[data-template="bento"] .service-card:nth-child(1) {
  position: relative;
  overflow: hidden;
}

html[data-template="bento"] .service-card:nth-child(1)::before {
  content: "PC";
  position: absolute;
  right: 18px;
  top: 10px;
  font-family: var(--serif);
  font-size: 150px;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(var(--paper-rgb), 0.06);
  pointer-events: none;
}

html[data-template="glass"] .hero--company h1 {
  font-size: clamp(44px, 4.7vw, 66px);
  line-height: 1.04;
}

@media (max-width: 520px) {
  html[data-template="minimal"] .hero--company h1,
  html[data-template="clean"] .hero--company h1,
  html[data-template="glass"] .hero--company h1,
  html[data-template="poster"] .hero--company h1 {
    font-size: clamp(34px, 9.8vw, 44px);
    line-height: 1.08;
  }

  html[data-template="poster"] .hero--company::before {
    font-size: 80px;
  }
}

/* Mini-program gallery ------------------------------------------------ */
.section--mini-gallery {
  background: var(--paper-deep);
}

.mini-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 290px));
  justify-content: center;
  align-items: start;
  gap: 22px;
}

.mini-shot {
  margin: 0;
  padding: 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 28px 60px -48px rgba(var(--ink-rgb), 0.45);
}

.mini-shot-frame {
  overflow: hidden;
  aspect-ratio: 1080 / 2460;
  border: 6px solid #0b0e13;
  border-radius: 22px;
  background: #0b0e13;
}

.mini-shot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-shot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

@media (max-width: 980px) {
  .mini-shot-grid {
    grid-template-columns: repeat(2, minmax(0, 300px));
  }
}

@media (max-width: 640px) {
  .mini-shot-grid {
    grid-template-columns: minmax(0, 320px);
  }
}

/* Admin console gallery ---------------------------------------------- */
.admin-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.admin-shot {
  margin: 0;
  padding: 10px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 26px 60px -50px rgba(var(--ink-rgb), 0.45);
}

.admin-shot-frame {
  overflow: hidden;
  border-radius: 11px;
  background: #f5f6f8;
}

.admin-shot-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 11px;
  background: #f0f1f4;
  border-bottom: 1px solid #e4e6eb;
}

.admin-shot-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d3d6dd;
}

.admin-shot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.admin-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

@media (max-width: 760px) {
  .admin-shot-grid {
    grid-template-columns: 1fr;
  }
}

/* Image lightbox ------------------------------------------------------ */
body.lightbox-open {
  overflow: hidden;
}

main img.zoomable {
  cursor: zoom-in;
}

main img.zoomable:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 88px 66px;
  background: rgba(10, 12, 16, 0.94);
  opacity: 0;
  transition: opacity 0.16s ease;
  backdrop-filter: blur(12px);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox.is-open {
  opacity: 1;
}

.image-lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

.image-lightbox-figure img {
  display: block;
  width: auto;
  max-width: min(94vw, 1500px);
  max-height: 78vh;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  user-select: none;
}

.image-lightbox-figure figcaption {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.image-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 48px;
  height: 64px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.image-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.16);
}

.image-lightbox-prev {
  left: 18px;
}

.image-lightbox-next {
  right: 18px;
}

.image-lightbox-hint {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  text-align: center;
  pointer-events: none;
}

@media (max-width: 640px) {
  .image-lightbox {
    padding: 64px 14px 58px;
  }

  .image-lightbox-figure img {
    max-width: 100%;
    max-height: 70vh;
  }

  .image-lightbox-nav {
    top: auto;
    bottom: 18px;
    width: 44px;
    height: 44px;
    transform: none;
    font-size: 26px;
  }

  .image-lightbox-prev {
    left: 16px;
  }

  .image-lightbox-next {
    right: 16px;
  }

  .image-lightbox-hint {
    display: none;
  }

  .image-lightbox-close {
    top: 12px;
    right: 14px;
  }
}
