@font-face {
  font-family: "Noto Serif SC";
  src: url("/brand/assets/fonts/noto-serif-sc-300.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/brand/assets/fonts/inter-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/brand/assets/fonts/inter-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("/brand/assets/fonts/roboto-mono-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --obsidian: #0f1011;
  --abyss: #090a0b;
  --graphite: #2e2e2e;
  --steel: #3f4041;
  --silver: #cacaca;
  --cloud: #f5f5f7;
  --pure: #ffffff;
  --ash: #a5a5a7;
  --fog: #737477;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.28);
  --iris: #847dff;
  --deep-iris: #4b49aa;
  --orchid: #dd90d8;
  --periwinkle: #90b8f0;
  --cyan: #00b3dd;
  --max: 1200px;
  --header-height: 76px;
  --display: "Noto Serif SC", "Songti SC", STSong, serif;
  --sans: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--obsidian); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--obsidian);
  color: var(--cloud);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: 0; }
.shell { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.section { padding: 128px 0; scroll-margin-top: var(--header-height); }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--pure);
  color: var(--abyss);
  padding: 10px 14px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: rgba(9, 18, 28, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(15, 16, 17, 0.9); }
.nav { min-height: var(--header-height); display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 11px; color: var(--pure); font-weight: 500; }
.brand-mark { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; color: #c4c4c6; font-size: 13px; white-space: nowrap; }
.nav-links a, .login-link, .footer-links a { transition: color 0.2s ease, opacity 0.2s ease; }
.nav-links a:hover, .nav-links a:focus-visible, .login-link:hover, .login-link:focus-visible, .footer-links a:hover, .footer-links a:focus-visible { color: var(--pure); }
.nav-actions { display: flex; align-items: center; gap: 16px; font-size: 13px; white-space: nowrap; }
.menu-button { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 22px; height: 1px; margin: 5px 0; background: var(--pure); }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 19px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.button.small { min-height: 40px; padding: 9px 14px; font-size: 13px; }
.button.primary { background: var(--pure); color: var(--abyss); }
.button.primary:hover, .button.primary:focus-visible { background: var(--silver); }
.button.glass { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.08); color: var(--pure); backdrop-filter: blur(18px); }
.button.glass:hover, .button.glass:focus-visible { background: rgba(255, 255, 255, 0.16); border-color: var(--pure); }
.button.dark { background: var(--abyss); color: var(--pure); }
.button.dark:hover, .button.dark:focus-visible { background: var(--graphite); }
.button.light-outline { border-color: rgba(0, 0, 0, 0.4); color: var(--abyss); background: transparent; }
.button.light-outline:hover, .button.light-outline:focus-visible { border-color: var(--abyss); background: rgba(0, 0, 0, 0.06); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.hero {
  position: relative;
  min-height: 900px;
  height: 100svh;
  max-height: 1040px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--abyss);
}
.hero-atmosphere {
  position: absolute;
  z-index: -3;
  inset: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.82) hue-rotate(8deg);
  transform: scale(1.04) translate3d(-0.8%, -0.4%, 0);
  animation: hero-atmosphere 16s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 13, 24, 0.34) 0%, rgba(5, 18, 31, 0.22) 42%, rgba(9, 10, 11, 0.9) 100%);
  box-shadow: inset 0 120px 110px rgba(5, 10, 16, 0.44);
}
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 128px 0 148px; }
.eyebrow, .section-label, .card-index, .panel-kicker, .insight-meta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(15, 16, 17, 0.42); color: var(--cloud); backdrop-filter: blur(16px); }
.hero h1 { margin-top: 30px; color: var(--pure); font-size: 104px; line-height: 1; }
.hero-statement { margin-top: 24px; color: var(--cloud); font-family: var(--display); font-size: 38px; font-weight: 300; line-height: 1.25; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.hero-actions .button { min-height: 42px; padding: 10px 18px; font-size: 12px; }
.hero-scroll { position: absolute; z-index: 1; bottom: 30px; left: 50%; display: flex; align-items: center; gap: 12px; transform: translateX(-50%); color: #c9c9cb; font-family: var(--mono); font-size: 11px; text-transform: uppercase; }

@keyframes hero-atmosphere {
  from { transform: scale(1.04) translate3d(-0.8%, -0.4%, 0); }
  to { transform: scale(1.09) translate3d(0.8%, 0.7%, 0); }
}

.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-label { margin-bottom: 18px; color: var(--ash); }
.section-heading h2, .product-copy h2 { color: var(--cloud); font-size: 58px; line-height: 1.13; }
.section-heading > p:last-child, .product-copy > p { max-width: 640px; margin-top: 22px; color: var(--ash); font-size: 17px; line-height: 1.7; }
.centered > p:last-child { margin-right: auto; margin-left: auto; }

.capabilities { background: var(--obsidian); }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: 14px; }
.capability-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 30px;
  padding: 30px;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
a.capability-card:hover, a.capability-card:focus-visible { opacity: 0.88; }
.capability-card h3 { max-width: 390px; margin-bottom: 14px; font-size: 34px; line-height: 1.15; }
.capability-card p { max-width: 390px; font-size: 14px; line-height: 1.65; }
.card-index { opacity: 0.72; }
.card-arrow { position: absolute; top: 28px; right: 28px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 18px; opacity: 0.65; }
.card-iris { background: var(--iris); color: var(--pure); }
.card-graphite { border: 1px solid var(--line); background: var(--graphite); color: var(--cloud); }
.card-market { grid-column: span 2; background: var(--deep-iris); color: var(--pure); }
.card-market h3 { max-width: 620px; font-size: 42px; }
.market-card-tabs { position: absolute; right: 30px; bottom: 30px; display: flex; gap: 8px; }
.market-card-tabs i { border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 7px 12px; font-family: var(--mono); font-size: 10px; font-style: normal; }
.card-orchid { background: var(--orchid); color: #241622; }
.card-periwinkle { background: var(--periwinkle); color: #101824; }
.card-silver { background: var(--silver); color: #111214; }
.status-badge { position: absolute; top: 28px; right: 28px; border: 1px solid rgba(0, 0, 0, 0.28); border-radius: 999px; padding: 7px 11px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.status-badge.light { position: static; border-color: rgba(255, 255, 255, 0.42); color: var(--pure); }

.marketplace { border-top: 1px solid var(--line); background: var(--abyss); }
.marketplace-layout, .story-layout { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: center; gap: 72px; }
.product-copy .section-label { color: var(--ash); }
.feature-list { display: grid; gap: 13px; margin: 30px 0 34px; padding: 0; list-style: none; color: #d6d6d8; font-size: 14px; }
.feature-list li { position: relative; padding-left: 22px; }
.feature-list li::before { content: ""; position: absolute; top: 9px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--iris); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; border-bottom: 1px solid currentColor; color: var(--pure); font-size: 14px; }
.product-figure { min-width: 0; aspect-ratio: 8 / 5; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--graphite); }
.product-figure img { width: 100%; height: 100%; object-fit: cover; }

.chat-story { border-top: 1px solid var(--line); background: var(--graphite); }
.story-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.chat-story .product-figure { border-color: rgba(255, 255, 255, 0.2); background: var(--obsidian); }

.creation { background: var(--obsidian); }
.creation-grid { display: grid; gap: 18px; }
.creation-panel { min-height: 570px; display: grid; grid-template-columns: minmax(280px, 0.64fr) minmax(0, 1.36fr); overflow: hidden; border-radius: 30px; }
.creation-copy { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.creation-copy h3 { margin-top: 26px; font-size: 42px; line-height: 1.15; }
.creation-copy p { margin-top: 18px; font-size: 15px; line-height: 1.7; }
.creation-copy .text-link { margin-top: 30px; align-self: flex-start; }
.image-panel { background: var(--silver); color: #101113; }
.video-panel { border: 1px solid var(--line); background: #18202b; color: var(--cloud); }
.video-panel .creation-copy p { color: #b6bec9; }
.creation-media { min-width: 0; min-height: 420px; overflow: hidden; }
.creation-media img { width: 100%; height: 100%; object-fit: cover; }
.dark-link { color: #101113; }
.panel-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.insights { border-top: 1px solid var(--line); background: var(--abyss); }
.insight-links { border-top: 1px solid var(--line); }
.insight-link { position: relative; display: grid; grid-template-columns: 210px minmax(0, 1fr) minmax(260px, 0.7fr) 36px; align-items: center; gap: 28px; min-height: 146px; border-bottom: 1px solid var(--line); transition: background-color 0.2s ease; }
.insight-link:hover, .insight-link:focus-visible { background: rgba(255, 255, 255, 0.035); }
.insight-link strong { font-family: var(--display); font-size: 30px; font-weight: 300; }
.insight-link p { color: var(--ash); font-size: 14px; }
.insight-link > span:last-child { font-size: 24px; }

.final-cta { background: var(--silver); color: var(--abyss); padding: 112px 0; }
.final-cta-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.dark-label { color: #454649; }
.final-cta h2 { font-size: 64px; line-height: 1.12; }
.final-cta-inner > p:not(.section-label) { max-width: 620px; margin: 22px auto 0; color: #454649; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 38px; }

.site-footer { border-top: 1px solid var(--line); background: var(--abyss); color: var(--ash); padding: 54px 0 34px; }
.footer-layout { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1fr); gap: 38px; }
.footer-brand p { max-width: 440px; margin-top: 18px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px 26px; align-content: start; font-size: 13px; }
.copyright { grid-column: 1 / -1; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 22px; font-family: var(--mono); font-size: 10px; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.js .hero-content.reveal { transition-duration: 2.5s; transition-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955); }

@media (max-width: 1100px) {
  .nav-links { gap: 16px; }
  .nav-actions { gap: 10px; }
  .hero h1 { font-size: 88px; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-market { grid-column: span 2; }
  .marketplace-layout, .story-layout { gap: 48px; }
  .insight-link { grid-template-columns: 170px minmax(0, 1fr) 36px; }
  .insight-link p { display: none; }
}

@media (max-width: 980px) {
  :root { --header-height: 68px; }
  .nav { min-height: var(--header-height); }
  .menu-button { display: block; margin-left: auto; }
  .nav-links {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(15, 16, 17, 0.97);
    padding: 12px 24px 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 46px; display: flex; align-items: center; }
  .nav-actions .login-link { display: none; }
  .section { padding: 104px 0; }
  .hero { min-height: 820px; }
  .hero h1 { font-size: 78px; }
  .hero-statement { font-size: 32px; }
  .section-heading h2, .product-copy h2 { font-size: 48px; }
  .marketplace-layout, .story-layout { grid-template-columns: 1fr; }
  .marketplace-layout .product-figure { grid-row: 1; }
  .story-layout .product-copy { max-width: 720px; }
  .creation-panel { min-height: 0; grid-template-columns: 1fr; }
  .creation-copy { padding: 42px; }
  .creation-media { min-height: 0; aspect-ratio: 8 / 5; }
  .final-cta h2 { font-size: 54px; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 80px 0; }
  .nav-actions .button { min-width: 44px; width: 44px; padding: 0; font-size: 0; }
  .nav-actions .button span:last-child { font-size: 16px; }
  .hero { min-height: 760px; height: 100svh; }
  .hero-content { padding: 108px 0 132px; }
  .hero h1 { margin-top: 24px; font-size: 56px; }
  .hero-statement { max-width: 340px; margin-top: 20px; font-size: 27px; }
  .hero-actions { width: 100%; margin-top: 30px; }
  .hero-actions .button { flex: 1 1 150px; }
  .hero-scroll { bottom: 22px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .product-copy h2 { font-size: 38px; }
  .section-heading > p:last-child, .product-copy > p { margin-top: 18px; font-size: 15px; }
  .capability-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(270px, auto); }
  .card-market { grid-column: auto; }
  .capability-card { border-radius: 24px; padding: 26px; }
  .capability-card h3, .card-market h3 { max-width: 310px; font-size: 31px; }
  .market-card-tabs { right: 26px; bottom: 26px; }
  .product-figure { border-radius: 12px; }
  .marketplace-layout, .story-layout { gap: 36px; }
  .creation-grid { gap: 14px; }
  .creation-panel { border-radius: 24px; }
  .creation-copy { padding: 32px 26px; }
  .creation-copy h3 { font-size: 34px; }
  .insight-link { grid-template-columns: minmax(0, 1fr) 28px; gap: 14px; min-height: 150px; padding: 24px 0; }
  .insight-meta { grid-column: 1 / -1; }
  .insight-link strong { font-size: 27px; }
  .final-cta { padding: 82px 0; }
  .final-cta h2 { font-size: 42px; }
  .cta-actions { align-items: stretch; flex-direction: column; }
  .cta-actions .text-link { align-self: center; }
  .footer-layout { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .copyright { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .hero-atmosphere { animation: none; transform: scale(1.04); }
  .js .reveal { opacity: 1; transform: none; }
}
