/* HoldOn www design mock — light systems / tech editorial */
:root {
  --ink: #0b1220;
  --ink-soft: #243044;
  --muted: #5b6b7c;
  --line: rgb(15 23 42 / 10%);
  --surface: #ffffff;
  --bg: #eef3f8;
  --bg-deep: #e2eaf2;
  --accent: #0d9488;
  --accent-deep: #0f766e;
  --accent-soft: rgb(13 148 136 / 12%);
  --cyan: #0891b2;
  --memo: #d97706;
  --notes: #059669;
  --todo: #2563eb;
  --goods: #0d9488;
  --console: #475569;
  --radius: 18px;
  --max: 1120px;
  --font-display: 'Sora', 'Noto Sans SC', system-ui, sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --shadow-soft: 0 24px 60px rgb(15 23 42 / 8%);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 12% -10%, rgb(8 145 178 / 14%), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgb(13 148 136 / 12%), transparent 50%),
    linear-gradient(180deg, #f7fafc 0%, var(--bg) 40%, #f4f7fb 100%);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-deep);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgb(247 250 252 / 82%);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 0.55em;
  height: 0.55em;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  transform: translateY(-0.08em);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nav a {
  text-decoration: none;
}

.nav a[aria-current='page'] {
  color: var(--accent-deep);
  font-weight: 600;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
}

.nav__cta:hover {
  background: var(--accent-deep);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    inset: 64px 1.25rem auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
  }

  .nav.is-open {
    display: flex;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: center;
  overflow: clip;
  color: #f8fafc;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(8 14 24 / 88%) 0%, rgb(8 14 24 / 55%) 48%, rgb(8 14 24 / 28%) 100%),
    linear-gradient(180deg, rgb(8 14 24 / 25%) 0%, rgb(8 14 24 / 55%) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 12vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  max-width: 36rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 1rem;
}

.hero__brand span {
  background: linear-gradient(120deg, #f8fafc 30%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.hero__lead {
  margin: 0 0 1.75rem;
  color: rgb(226 232 240 / 88%);
  font-size: 1.05rem;
  max-width: 32rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: #fff !important;
}

.btn--ghost {
  background: rgb(255 255 255 / 10%);
  border-color: rgb(255 255 255 / 28%);
  color: #fff !important;
  backdrop-filter: blur(8px);
}

.btn--ink {
  background: var(--ink);
  color: #fff !important;
}

.btn--line {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink) !important;
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--tight {
  padding-top: 2.5rem;
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section__head h2,
.prose-page h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section__head p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Product editorial rows — not generic card grid */
.suite {
  display: grid;
  gap: 1.25rem;
}

.suite-item {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) minmax(7.5rem, 9.5rem) auto;
  gap: 1.1rem;
  align-items: center;
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 72%);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.suite-item:hover {
  border-color: rgb(13 148 136 / 35%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  color: inherit;
}

.suite-item__index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.suite-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.suite-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.suite-item__thumb {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1220;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 24px rgb(15 23 42 / 8%);
}

.suite-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.suite-item__go {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-deep);
  white-space: nowrap;
}

.suite-item[data-tone='memo'] {
  border-left: 3px solid var(--memo);
}
.suite-item[data-tone='notes'] {
  border-left: 3px solid var(--notes);
}
.suite-item[data-tone='todo'] {
  border-left: 3px solid var(--todo);
}
.suite-item[data-tone='goods'] {
  border-left: 3px solid var(--goods);
}
.suite-item[data-tone='console'] {
  border-left: 3px solid var(--console);
}

@media (max-width: 860px) {
  .suite-item {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'index go'
      'body body'
      'thumb thumb';
    gap: 0.75rem;
  }

  .suite-item__index {
    grid-area: index;
  }

  .suite-item__body {
    grid-area: body;
  }

  .suite-item__thumb {
    grid-area: thumb;
    aspect-ratio: 16 / 10;
  }

  .suite-item__go {
    grid-area: go;
  }
}

/* Capability band */
.band {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(255 255 255 / 55%), rgb(226 234 242 / 45%));
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.band-grid h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.band-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

/* Closing CTA */
.closing {
  display: grid;
  gap: 1.25rem;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgb(15 23 42 / 96%), rgb(15 118 110 / 88%)),
    var(--ink);
  color: #f8fafc;
  box-shadow: var(--shadow-soft);
}

.closing h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.closing p {
  margin: 0;
  color: rgb(226 232 240 / 85%);
  max-width: 36rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.site-footer strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Product detail —— */
.product-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 2rem;
}

.product-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: end;
}

.product-hero .eyebrow {
  color: var(--product, var(--accent-deep));
}

.product-hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.product-panel {
  min-height: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgb(255 255 255 / 80%), transparent 55%),
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--product, var(--accent)) 22%, transparent), transparent 50%),
    linear-gradient(180deg, #f8fafc, var(--bg-deep));
  position: relative;
  overflow: hidden;
  padding: 0.85rem;
}

.product-panel::after {
  display: none;
}

.product-shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgb(15 23 42 / 12%);
  background: #0b1220;
  box-shadow: 0 18px 40px rgb(15 23 42 / 14%);
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.product-shot--phone img {
  aspect-ratio: 390 / 780;
  max-height: 520px;
  margin-inline: auto;
  width: min(100%, 280px);
  object-fit: cover;
}

.product-shot--desktop img {
  aspect-ratio: 16 / 10;
  width: 100%;
}

@media (max-width: 860px) {
  .product-hero__grid {
    grid-template-columns: 1fr;
  }
}

.feature-stack {
  display: grid;
  gap: 0;
}

.feature {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.feature:last-child {
  border-bottom: 1px solid var(--line);
}

.feature__num {
  font-family: var(--font-display);
  font-weight: 700;
  color: color-mix(in srgb, var(--product, var(--accent)) 70%, var(--ink));
  letter-spacing: 0.04em;
}

.feature h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 560px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.25rem;
  border-radius: 14px;
  background: rgb(255 255 255 / 70%);
  border: 1px solid var(--line);
}

.step strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.note-box {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Motion：默认可见；仅在启用 js-anim 后对未入场块隐藏，避免 FOUC / 首屏空白 */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-anim .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

html.js-anim .reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.hero__content > * {
  animation: rise 0.85s ease both;
}

.hero__content > *:nth-child(2) {
  animation-delay: 0.08s;
}
.hero__content > *:nth-child(3) {
  animation-delay: 0.16s;
}
.hero__content > *:nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .hero__content > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
