:root {
  --bg: #070b14;
  --bg-elevated: rgba(8, 16, 32, 0.82);
  --panel: rgba(10, 21, 43, 0.78);
  --panel-strong: rgba(14, 30, 57, 0.92);
  --line: rgba(105, 194, 255, 0.22);
  --line-strong: rgba(246, 194, 103, 0.28);
  --text: #edf4ff;
  --muted: #8ea4c7;
  --gold: #f6c267;
  --cyan: #66e0ff;
  --red: #ff865c;
  --teal: #2ed6c7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "IBM Plex Sans SC", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(246, 194, 103, 0.12), transparent 24%),
    radial-gradient(circle at 82% 6%, rgba(102, 224, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #09111f 0%, #070b14 36%, #05070d 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(102, 224, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 224, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
  opacity: 0.35;
}

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

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::after {
  content: "";
  position: absolute;
  top: 0;
  right: -16rem;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 194, 103, 0.15), transparent 64%);
  filter: blur(24px);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 9, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 107, 74, 0.92), rgba(246, 194, 103, 0.82)),
    #101826;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 28px rgba(255, 107, 74, 0.28);
  display: grid;
  place-items: center;
  color: #150d0a;
  font-family: "Noto Serif SC", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.brand-title {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link,
.nav-pill {
  border: 1px solid transparent;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  transition: 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  border-color: rgba(102, 224, 255, 0.28);
  background: rgba(102, 224, 255, 0.08);
}

.nav-pill {
  color: #111;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold), #ffd89b);
}

.section {
  padding: 52px 0;
}

.hero {
  padding: 88px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.hero-grid,
.two-column,
.integration-layout,
.footer-grid {
  display: grid;
  gap: 24px;
}

.hero-intro {
  max-width: 860px;
}

.hero-intro--centered {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.34fr) minmax(300px, 0.66fr);
  align-items: end;
}

.hero-grid > div:first-child {
  max-width: 760px;
}

.hero-visual {
  margin-top: 36px;
  border-radius: 34px;
  min-height: 680px;
  padding: 38px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(4, 8, 16, 0.04), rgba(4, 8, 16, 0.14) 28%, rgba(4, 8, 16, 0.54) 64%, rgba(4, 8, 16, 0.72)),
    url("../images/travel-hotspot.jpg") center/cover no-repeat;
  border: 1px solid rgba(129, 209, 255, 0.22);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 26, 0.76), rgba(8, 15, 26, 0.14) 42%, rgba(8, 15, 26, 0.48)),
    linear-gradient(180deg, rgba(7, 11, 20, 0.02), rgba(7, 11, 20, 0.12) 44%, rgba(7, 11, 20, 0.58));
}

.visual-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.news-panel {
  width: min(100%, 760px);
  padding: 8px 2px 8px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.news-panel h3 {
  margin: 0 0 10px;
  color: #fff3c3;
  font-family: "Noto Serif SC", serif;
  font-size: 1.5rem;
}

.news-panel > p {
  margin: 0 0 18px;
  margin: 0;
  color: #d9e8ff;
  line-height: 1.7;
  font-size: 0.94rem;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.news-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
}

.news-index {
  color: #78a8ff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.news-copy strong {
  display: block;
  margin-bottom: 6px;
  color: #fff3c3;
  font-size: 1.12rem;
}

.news-copy p {
  margin: 0;
  color: #d9e8ff;
  line-height: 1.7;
  font-size: 0.95rem;
}

.headline {
  margin: 18px 0 20px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 9.8em;
}

.headline .accent {
  display: block;
  background: linear-gradient(135deg, var(--gold), #fff4cf 36%, var(--cyan) 88%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  max-width: 680px;
  color: #c6d5ef;
  font-size: 1.06rem;
  line-height: 1.8;
}

.headline--centered,
.lede--centered {
  margin-left: auto;
  margin-right: auto;
}

.headline--centered {
  max-width: 10.4em;
}

.lede--centered {
  max-width: 760px;
}

.prompt-panel {
  margin-top: 30px;
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(18, 33, 60, 0.92), rgba(8, 16, 31, 0.94)),
    var(--panel);
  border: 1px solid rgba(126, 201, 255, 0.16);
  box-shadow: var(--shadow);
}

.prompt-panel--hero {
  max-width: 1120px;
  margin: 40px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.prompt-console {
  padding: 18px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(17, 28, 46, 0.72), rgba(10, 17, 29, 0.7)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(160, 211, 255, 0.15);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.prompt-console__eyebrow {
  display: inline-flex;
  margin: 0 0 12px 8px;
  color: rgba(255, 231, 182, 0.84);
  font-size: 0.79rem;
  letter-spacing: 0.08em;
}

.prompt-console__input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.prompt-console__input:hover,
.prompt-console__input:focus-within {
  border-color: rgba(132, 204, 255, 0.26);
  box-shadow: 0 0 0 1px rgba(132, 204, 255, 0.08), 0 10px 36px rgba(71, 132, 199, 0.12);
}

.prompt-console__placeholder {
  display: grid;
  gap: 8px;
}

.prompt-console__field {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f3f7ff;
  font: inherit;
  font-size: 1.06rem;
  line-height: 1.5;
}

.prompt-console__field::placeholder {
  color: #9db0cf;
}

.prompt-console__placeholder strong {
  color: #f3f7ff;
  font-size: 1.1rem;
  font-weight: 600;
}

.prompt-console__placeholder span {
  color: #9db0cf;
  font-size: 0.98rem;
}

.prompt-console__button {
  min-width: 132px;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 18px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.prompt-panel__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.prompt-box {
  margin-top: 18px;
  padding: 24px 26px;
  min-height: 108px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f6f8ff;
  font-size: 1.06rem;
  line-height: 1.9;
}

.prompt-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.prompt-suggestions--subtle {
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.prompt-suggestions span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.prompt-suggestions--subtle span {
  padding: 0;
  border: 0;
  background: transparent;
  color: #9fb0cd;
}

.feature-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.feature-pills--soft {
  grid-template-columns: repeat(6, max-content);
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.feature-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(26, 43, 74, 0.9), rgba(14, 24, 43, 0.95)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(124, 197, 255, 0.14);
  color: #dce9ff;
  font-size: 0.92rem;
  transition: 180ms ease;
  gap: 10px;
}

.feature-pill--soft {
  min-height: 0;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #dce6f7;
  font-size: 0.9rem;
}

.feature-pill:hover {
  color: #fff8d5;
  border-color: rgba(246, 194, 103, 0.28);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1rem;
  line-height: 1;
}

.hero-actions,
.feature-pills,
.chip-row,
.stat-grid,
.card-grid,
.showcase-strip,
.launch-grid,
.evidence-grid,
.value-grid,
.matrix-grid,
.tool-grid,
.timeline {
  display: grid;
  gap: 16px;
}

.hero-actions {
  margin-top: 28px;
  grid-template-columns: repeat(2, max-content);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, rgba(255, 107, 74, 0.98), rgba(246, 194, 103, 0.94));
  color: #1a0d07;
  border-color: rgba(246, 194, 103, 0.35);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: rgba(102, 224, 255, 0.25);
  background: rgba(102, 224, 255, 0.08);
}

.panel,
.card,
.metric-card,
.timeline-step,
.matrix-card,
.tool-card,
.footer-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(16, 29, 54, 0.52), rgba(9, 18, 34, 0.8)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel::before,
.card::before,
.metric-card::before,
.timeline-step::before,
.matrix-card::before,
.tool-card::before,
.footer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 48%);
  pointer-events: none;
}

.panel {
  padding: 24px;
}

.hero-panel {
  min-height: 100%;
  background:
    linear-gradient(160deg, rgba(11, 24, 48, 0.96), rgba(7, 15, 30, 0.88)),
    var(--panel);
  border: 1px solid rgba(132, 210, 255, 0.22);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 32px rgba(102, 224, 255, 0.06);
}

.hero-panel h3,
.section-title,
.card h3,
.matrix-card h3,
.tool-card h3 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
}

.stack-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.stack-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 16px 16px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(130, 210, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.18);
}

.stack-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.stack-item span {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
}

.stack-tag {
  color: #f7ebbb;
  font-size: 0.78rem;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(246, 194, 103, 0.08);
  border: 1px solid rgba(246, 194, 103, 0.18);
}

.chip-row {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chip {
  padding: 16px 17px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  line-height: 1.68;
  color: var(--muted);
}

.chip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
}

.showcase-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 28px;
}

.showcase-card,
.launch-card {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(17, 31, 58, 0.62), rgba(8, 16, 32, 0.88)),
    var(--panel);
  border: 1px solid rgba(124, 197, 255, 0.14);
  box-shadow: var(--shadow);
}

.showcase-card::before,
.launch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 52%);
  pointer-events: none;
}

.showcase-label {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.82rem;
}

.showcase-card strong,
.launch-card h3 {
  display: block;
  margin: 0 0 10px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.18rem;
}

.showcase-card p,
.launch-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.launch-card {
  display: grid;
  gap: 16px;
}

.launch-card .button {
  justify-self: start;
}

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

.evidence-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(23, 38, 66, 0.74), rgba(13, 23, 42, 0.94)),
    var(--panel);
  border: 1px solid rgba(122, 199, 255, 0.14);
  box-shadow: var(--shadow);
}

.evidence-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5585ff, #8b5dff);
  color: #fff;
  font-family: "Noto Serif SC", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.evidence-icon--green {
  background: linear-gradient(135deg, #1fcb8e, #2f9cff);
}

.evidence-copy h3,
.value-card h3,
.cta-banner h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
}

.evidence-copy h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.evidence-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.evidence-copy a {
  color: #4d95ff;
  font-weight: 600;
}

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

.value-card {
  padding: 28px 26px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(21, 37, 64, 0.7), rgba(11, 21, 39, 0.96)),
    var(--panel);
  border: 1px solid rgba(122, 199, 255, 0.14);
  box-shadow: var(--shadow);
}

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  font-family: "Noto Serif SC", serif;
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.value-card h3 {
  font-size: 1.56rem;
  margin-bottom: 16px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.74;
}

.cta-banner {
  text-align: center;
  padding: 48px 32px 54px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(17, 31, 60, 0.36), rgba(8, 13, 25, 0.12)),
    transparent;
}

.cta-banner h2 {
  max-width: 12em;
  margin: 18px auto 14px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
}

.cta-banner p {
  margin: 0 auto;
  max-width: 760px;
  color: #d0d8ea;
  font-size: 1.22rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.footer-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 8px 0 0;
  color: var(--muted);
}

.footer-simple > span {
  color: var(--text);
  font-weight: 600;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-title {
  font-size: clamp(1.8rem, 2.6vw, 2.55rem);
  margin-bottom: 10px;
}

.section-copy {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.8;
}

.section-anchor {
  color: var(--cyan);
  font-size: 0.9rem;
  white-space: nowrap;
}

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

.metric-card {
  padding: 20px;
}

.metric-value {
  display: block;
  font-size: 2rem;
  margin: 12px 0 8px;
  color: var(--gold);
  font-family: "Noto Serif SC", serif;
}

.metric-label,
.card p,
.tool-card p,
.matrix-card p,
.timeline-step p,
.footer-card p,
.tagline {
  color: var(--muted);
  line-height: 1.75;
}

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

.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 26px;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.86rem;
}

.card-index {
  color: rgba(255, 255, 255, 0.28);
  font-family: "IBM Plex Mono", monospace;
}

.card h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d4e7ff;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.two-column {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}

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

.timeline-step {
  padding: 20px;
}

.timeline-step strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
}

.timeline-step .meta {
  color: var(--cyan);
  font-size: 0.84rem;
}

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

.matrix-card {
  padding: 24px;
}

.matrix-card ul,
.tool-card ul,
.footer-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.matrix-card li,
.tool-card li,
.footer-card li {
  position: relative;
  padding-left: 18px;
  color: #d8e4f9;
}

.matrix-card li::before,
.tool-card li::before,
.footer-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--gold));
}

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

.tool-card {
  padding: 24px;
}

.tool-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.86rem;
  color: var(--cyan);
}

.integration-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.architecture-flow {
  display: grid;
  gap: 14px;
}

.flow-node {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.flow-node strong {
  display: block;
  margin-bottom: 8px;
}

.flow-arrow {
  margin: -4px auto;
  color: var(--gold);
  text-align: center;
}

.footer {
  padding: 20px 0 72px;
}

#cta .panel {
  min-height: 100%;
}

.footer-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.footer-card {
  padding: 24px;
}

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mini-nav a,
.mini-nav span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.84rem;
}

.mini-nav a:hover {
  color: var(--text);
  border-color: rgba(102, 224, 255, 0.26);
}

.tool-chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.03);
}

.tool-chip.is-active {
  color: var(--text);
  border-color: rgba(102, 224, 255, 0.26);
  background: rgba(102, 224, 255, 0.08);
}

.workspace-grid,
.result-grid,
.workspace-upload-grid,
.workspace-actions,
.result-tabs {
  display: grid;
  gap: 16px;
}

.workspace-grid,
.result-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: start;
}

.workspace-main,
.result-main,
.workspace-side,
.result-side {
  padding: 28px;
}

.workspace-topline {
  display: grid;
  gap: 14px;
}

.workspace-input {
  margin-top: 20px;
}

.workspace-label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.92rem;
}

.workspace-textarea {
  width: 100%;
  min-height: 188px;
  padding: 22px 24px;
  resize: vertical;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  color: var(--text);
  font: inherit;
  line-height: 1.8;
}

.workspace-upload-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.upload-card,
.result-card {
  padding: 20px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(18, 31, 56, 0.68), rgba(10, 19, 35, 0.9)),
    var(--panel);
  border: 1px solid rgba(122, 199, 255, 0.14);
}

.upload-card strong,
.result-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.02rem;
}

.upload-card p,
.result-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.workspace-actions {
  grid-template-columns: repeat(2, max-content);
  margin-top: 22px;
}

.module-rail {
  margin: 22px 0 26px;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(122, 199, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(16, 28, 48, 0.72), rgba(10, 18, 34, 0.88)),
    rgba(8, 13, 24, 0.86);
}

.module-rail__header,
.module-rail__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.module-api {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--cyan);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(102, 224, 255, 0.08);
  border: 1px solid rgba(102, 224, 255, 0.16);
}

.module-rail__summary {
  margin: 14px 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

.module-rail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.module-backend-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.module-backend-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Noto Serif SC", serif;
  font-size: 1rem;
}

.module-backend-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.workspace-status {
  margin-top: 16px;
  color: var(--cyan);
  font-size: 0.9rem;
}

.button.is-loading,
.button[aria-disabled="true"] {
  opacity: 0.72;
  pointer-events: none;
}

.result-meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.history-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.history-list li {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.history-list strong,
.history-list span,
.history-list p {
  display: block;
}

.history-list strong {
  margin-bottom: 4px;
  font-family: "Noto Serif SC", serif;
}

.history-list span,
.history-list p {
  color: var(--muted);
}

.history-list span {
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.history-list p {
  margin: 0;
  line-height: 1.65;
}

.result-tabs {
  grid-template-columns: repeat(4, max-content);
  margin-bottom: 20px;
}

.mobile-toggle {
  display: none;
}

@media (max-width: 1024px) {
  .hero-grid,
  .two-column,
  .workspace-grid,
  .result-grid,
  .integration-layout,
  .footer-grid,
  .card-grid,
  .tool-grid,
  .stat-grid,
  .matrix-grid {
    grid-template-columns: 1fr 1fr;
  }

  .chip-row,
  .card-grid--four,
  .showcase-strip,
  .workspace-upload-grid,
  .launch-grid,
  .value-grid,
  .feature-pills,
  .feature-pills--soft {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .header-inner {
    align-items: flex-start;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
  }

  .main-nav {
    display: none;
    width: 100%;
    justify-content: flex-start;
    padding-top: 12px;
  }

  .site-header.is-open .main-nav {
    display: flex;
  }

  .hero-actions,
  .chip-row,
  .hero-grid,
  .workspace-grid,
  .result-grid,
  .visual-grid,
  .two-column,
  .integration-layout,
  .footer-grid,
  .card-grid,
  .showcase-strip,
  .launch-grid,
  .feature-pills,
  .feature-pills--soft,
  .value-grid,
  .tool-grid,
  .stat-grid,
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .prompt-console__input {
    grid-template-columns: 1fr;
  }

  .evidence-card {
    grid-template-columns: 1fr;
  }

  .cta-actions,
  .footer-simple {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .workspace-actions,
  .result-tabs,
  .prompt-panel__top,
  .cta-actions,
  .footer-simple {
    flex-direction: column;
    align-items: flex-start;
  }
}

body.theme-porcelain {
  --bg: #f5f1eb;
  --bg-elevated: rgba(255, 255, 255, 0.88);
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(20, 33, 61, 0.08);
  --line-strong: rgba(255, 166, 106, 0.32);
  --text: #182133;
  --muted: #667085;
  --gold: #f0a44b;
  --cyan: #39b3db;
  --red: #ff8f54;
  --teal: #17b7a4;
  --shadow: 0 28px 80px rgba(30, 35, 46, 0.08);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 184, 120, 0.22), transparent 26%),
    radial-gradient(circle at 88% 6%, rgba(110, 205, 228, 0.2), transparent 24%),
    linear-gradient(180deg, #f8f5f0 0%, #f2efe8 48%, #efebe3 100%);
  color: var(--text);
}

body.theme-porcelain::before {
  background-image:
    linear-gradient(rgba(28, 44, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 44, 76, 0.04) 1px, transparent 1px);
  opacity: 0.5;
}

body.theme-porcelain .page-shell::after {
  background: radial-gradient(circle, rgba(255, 184, 120, 0.22), transparent 62%);
  filter: blur(34px);
}

body.theme-porcelain .site-header {
  background: rgba(250, 248, 245, 0.84);
  border-bottom: 1px solid rgba(24, 33, 51, 0.06);
  backdrop-filter: blur(14px);
}

body.theme-porcelain .brand-mark {
  box-shadow: 0 0 0 1px rgba(24, 33, 51, 0.06), 0 12px 28px rgba(255, 143, 84, 0.16);
}

body.theme-porcelain .nav-link {
  color: #4b5565;
}

body.theme-porcelain .nav-link:hover,
body.theme-porcelain .nav-link.is-active {
  color: #111827;
}

body.theme-porcelain .nav-pill,
body.theme-porcelain .button-primary {
  background: linear-gradient(135deg, #ff8f54, #f4c26e);
  color: #20130a;
  border-color: rgba(255, 168, 105, 0.4);
}

body.theme-porcelain .button-secondary {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(24, 33, 51, 0.08);
  color: #233045;
}

body.theme-porcelain .hero--product {
  padding-top: 34px;
}

body.theme-porcelain .hero-intro--product {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
  width: min(100%, 1080px);
  margin: 0 auto;
}

body.theme-porcelain .headline--product {
  display: grid;
  justify-items: center;
  max-width: 980px;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.94;
  margin-top: 10px;
  text-align: center;
}

body.theme-porcelain .headline--product .headline-line {
  display: block;
  white-space: nowrap;
}

body.theme-porcelain .headline--product .accent {
  background: linear-gradient(135deg, #ea8b33 0%, #ffc85c 28%, #2eb8d7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.theme-porcelain .section.hero > .section-inner > .eyebrow,
body.theme-porcelain .section.hero > .section-inner > .headline,
body.theme-porcelain .section.hero > .section-inner > .lede {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.theme-porcelain .section.hero > .section-inner > .headline {
  max-width: 10.6em;
}

body.theme-porcelain .section.hero > .section-inner > .headline .accent {
  display: block;
  background: linear-gradient(135deg, #d8842b 0%, #efb24b 32%, #2f9fcb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.theme-porcelain .section.hero > .section-inner > .lede {
  max-width: 760px;
}

body.theme-porcelain .lede--product {
  max-width: 700px;
  color: #596579;
  font-size: 1.08rem;
}

body.theme-porcelain .prompt-panel--product {
  max-width: 1080px;
  margin: 34px auto 0;
}

body.theme-porcelain .prompt-panel--jump {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(24, 33, 51, 0.08);
  box-shadow: 0 24px 64px rgba(18, 24, 38, 0.08);
}

body.theme-porcelain .prompt-panel--agent {
  max-width: 1280px;
}

body.theme-porcelain .prompt-console--product {
  padding: 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(24, 33, 51, 0.08);
  box-shadow: 0 30px 80px rgba(18, 24, 38, 0.08);
}

body.theme-porcelain .prompt-console__input--product {
  gap: 14px;
  padding: 14px 14px 14px 24px;
  border-radius: 24px;
  background: rgba(248, 246, 242, 0.88);
  border: 1px solid rgba(24, 33, 51, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.theme-porcelain .prompt-console__input--product:hover,
body.theme-porcelain .prompt-console__input--product:focus-within {
  border-color: rgba(63, 179, 208, 0.32);
  box-shadow: 0 0 0 4px rgba(123, 216, 234, 0.12);
}

body.theme-porcelain .prompt-console__copy--product {
  min-width: 0;
}

body.theme-porcelain .prompt-console__field {
  color: #172032;
  font-size: 1.04rem;
}

body.theme-porcelain .prompt-console__field::placeholder {
  color: #8a95a7;
}

body.theme-porcelain .prompt-console__button {
  min-height: 54px;
  min-width: 138px;
  border-radius: 18px;
}

body.theme-porcelain .prompt-suggestions--product {
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
}

body.theme-porcelain .prompt-suggestions--product span {
  padding: 0;
  background: transparent;
  border: 0;
  color: #7d8798;
  font-size: 0.94rem;
}

body.theme-porcelain .feature-pills--product {
  grid-template-columns: repeat(6, minmax(0, max-content));
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

body.theme-porcelain .feature-pill--product {
  min-height: 0;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(24, 33, 51, 0.08);
  color: #364152;
  box-shadow: 0 8px 20px rgba(18, 24, 38, 0.05);
}

body.theme-porcelain .feature-pill--product:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  border-color: rgba(240, 164, 75, 0.28);
}

body.theme-porcelain .agent-composer--home {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 33, 51, 0.08);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
}

body.theme-porcelain .agent-composer__surface--home {
  min-height: 56px;
  display: grid;
  grid-template-columns: 28px 1fr 46px;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(24, 33, 51, 0.08);
}

body.theme-porcelain .upload-stub--home {
  width: 28px;
  height: 36px;
  border-radius: 8px;
}

body.theme-porcelain .agent-composer__textarea--home {
  width: 100%;
  min-height: 28px;
  resize: none;
  border: 0;
  background: transparent;
  color: #162032;
  font: inherit;
  font-size: 0.96rem;
  line-height: 1.3;
  outline: none;
}

body.theme-porcelain .agent-composer__submit--home {
  align-self: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #dfe2e7;
  color: #ffffff;
  font-size: 1.25rem;
}

body.theme-porcelain .agent-toolbar--home {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.theme-porcelain .mode-menu--toolbar {
  position: relative;
}

body.theme-porcelain .mode-menu--toolbar .mode-menu__panel {
  width: 380px;
}

body.theme-porcelain .agent-pill--dropdown {
  cursor: pointer;
  list-style: none;
}

body.theme-porcelain .agent-pill--dropdown::-webkit-details-marker {
  display: none;
}

body.theme-porcelain .agent-pill__arrow {
  margin-left: 8px;
}

body.theme-porcelain .card,
body.theme-porcelain .launch-card,
body.theme-porcelain .evidence-card,
body.theme-porcelain .value-card,
body.theme-porcelain .panel,
body.theme-porcelain .tool-card,
body.theme-porcelain .timeline-step,
body.theme-porcelain .footer-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(249, 245, 239, 0.92)),
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(24, 33, 51, 0.08);
  box-shadow: 0 22px 48px rgba(17, 24, 39, 0.06);
}

body.theme-porcelain .panel::before,
body.theme-porcelain .card::before,
body.theme-porcelain .launch-card::before,
body.theme-porcelain .tool-card::before,
body.theme-porcelain .timeline-step::before,
body.theme-porcelain .footer-card::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 55%);
}

body.theme-porcelain .section-title,
body.theme-porcelain .card h3,
body.theme-porcelain .launch-card h3,
body.theme-porcelain .tool-card h3,
body.theme-porcelain .value-card h3,
body.theme-porcelain .evidence-copy h3 {
  color: #172033;
}

body.theme-porcelain .section-copy,
body.theme-porcelain .card p,
body.theme-porcelain .launch-card p,
body.theme-porcelain .tool-card p,
body.theme-porcelain .value-card p,
body.theme-porcelain .evidence-copy p,
body.theme-porcelain .cta-banner p,
body.theme-porcelain .news-panel > p,
body.theme-porcelain .news-copy p {
  color: #687588;
}

body.theme-porcelain .tool-topline {
  color: #1a8ca8;
}

body.theme-porcelain .tool-card ul,
body.theme-porcelain .tool-card li {
  color: #5f6d80;
}

body.theme-porcelain .tool-card li::before {
  background: rgba(240, 164, 75, 0.9);
}

body.theme-porcelain .tag {
  background: rgba(255, 245, 230, 0.92);
  border-color: rgba(240, 164, 75, 0.22);
  color: #8e5b1c;
}

body.theme-porcelain .evidence-copy a,
body.theme-porcelain .section-anchor {
  color: #1a8ca8;
}

body.theme-porcelain .value-icon {
  background: rgba(255, 240, 220, 0.92);
  color: #d58a33;
}

body.theme-porcelain .cta-banner {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 212, 158, 0.34), transparent 30%),
    radial-gradient(circle at 84% 0%, rgba(123, 216, 234, 0.28), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.18));
  border: 1px solid rgba(24, 33, 51, 0.06);
}

body.theme-porcelain .hero-visual {
  margin-top: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04) 28%, rgba(11, 15, 26, 0.12) 74%),
    url("/assets/images/homepage-knowledge-hero.jpg") center/cover no-repeat;
  border-color: rgba(24, 33, 51, 0.08);
  box-shadow: 0 26px 80px rgba(14, 18, 28, 0.12);
}

body.theme-porcelain .news-panel {
  padding: 42px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body.theme-porcelain .news-panel h3,
body.theme-porcelain .news-copy strong {
  color: #fff0ba;
}

body.theme-porcelain .workspace-page .hero--workspace {
  padding-top: 22px;
}

body.theme-porcelain .workspace-shell {
  display: grid;
  gap: 22px;
}

body.theme-porcelain .workspace-shell__intro {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.theme-porcelain .headline--workspace {
  max-width: 8.2em;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
  color: #121926;
}

body.theme-porcelain .headline--workspace .accent {
  display: block;
  background: linear-gradient(135deg, #d8842b 0%, #efb24b 32%, #2f9fcb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.theme-porcelain .lede--workspace {
  max-width: 760px;
  color: #637082;
  margin-left: auto;
  margin-right: auto;
}

body.theme-porcelain .workspace-shell__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.theme-porcelain .tool-chip,
body.theme-porcelain .mini-nav a,
body.theme-porcelain .mini-nav span {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(24, 33, 51, 0.08);
  color: #566273;
}

body.theme-porcelain .tool-chip.is-active {
  color: #111827;
  border-color: rgba(64, 179, 208, 0.3);
  background: rgba(123, 216, 234, 0.14);
}

body.theme-porcelain .workspace-grid--studio {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 20px;
}

body.theme-porcelain .workspace-main--studio,
body.theme-porcelain .workspace-side--studio {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(24, 33, 51, 0.08);
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.06);
}

body.theme-porcelain .workspace-main--studio {
  padding: 24px;
}

body.theme-porcelain .workspace-side--studio {
  padding: 20px;
  display: grid;
  gap: 16px;
  align-content: start;
}

body.theme-porcelain .workspace-input--studio {
  margin-top: 0;
}

body.theme-porcelain .workspace-label {
  color: #4b5565;
  font-weight: 600;
}

body.theme-porcelain .workspace-textarea--studio {
  min-height: 210px;
  background: #fcfbf8;
  color: #162032;
  border: 1px solid rgba(24, 33, 51, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body.theme-porcelain .workspace-textarea--studio:focus {
  outline: none;
  border-color: rgba(64, 179, 208, 0.34);
  box-shadow: 0 0 0 4px rgba(123, 216, 234, 0.14);
}

body.theme-porcelain .workspace-mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

body.theme-porcelain .workspace-model-bar {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(24, 33, 51, 0.08);
  background: rgba(255, 252, 247, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body.theme-porcelain .workspace-model-bar__copy {
  display: grid;
  gap: 4px;
}

body.theme-porcelain .workspace-model-bar__label {
  color: #182133;
  font-size: 0.92rem;
  font-weight: 700;
}

body.theme-porcelain .workspace-model-bar__copy p {
  margin: 0;
  color: #6b7789;
  font-size: 0.9rem;
}

body.theme-porcelain .workspace-model-select {
  min-width: 280px;
}

body.theme-porcelain .workspace-model-select select {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(24, 33, 51, 0.1);
  background: #fffdfa;
  color: #182133;
  padding: 0 14px;
  font: inherit;
  outline: none;
}

body.theme-porcelain .workspace-model-select select:focus {
  border-color: rgba(240, 164, 75, 0.55);
  box-shadow: 0 0 0 4px rgba(248, 186, 97, 0.12);
}

body.theme-porcelain .mode-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(249, 246, 241, 0.98);
  border: 1px solid rgba(24, 33, 51, 0.08);
  color: #566273;
  font-size: 0.92rem;
}

body.theme-porcelain .mode-chip.is-active {
  color: #111827;
  border-color: rgba(240, 164, 75, 0.28);
  background: rgba(255, 239, 218, 0.9);
}

body.theme-porcelain .workspace-upload-grid--studio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

body.theme-porcelain .upload-card,
body.theme-porcelain .result-card,
body.theme-porcelain .module-rail--light,
body.theme-porcelain .timeline--light .timeline-step {
  background: rgba(250, 248, 244, 0.92);
  border: 1px solid rgba(24, 33, 51, 0.08);
  box-shadow: none;
}

body.theme-porcelain .upload-card strong,
body.theme-porcelain .result-card strong,
body.theme-porcelain .module-backend-card strong {
  color: #182133;
  font-family: "IBM Plex Sans SC", "Noto Sans SC", sans-serif;
}

body.theme-porcelain .upload-card p,
body.theme-porcelain .result-card p,
body.theme-porcelain .module-backend-card p {
  color: #687588;
}

body.theme-porcelain .result-card--studio + .result-card--studio {
  margin-top: 12px;
}

body.theme-porcelain .workspace-side__section {
  display: grid;
  gap: 12px;
}

body.theme-porcelain .workspace-page--studio .workspace-shell__intro--studio {
  max-width: 900px;
}

body.theme-porcelain .workspace-grid--agent {
  grid-template-columns: minmax(0, 1fr) 360px;
}

body.theme-porcelain .workspace-main--agent {
  padding: 28px;
}

body.theme-porcelain .studio-composer {
  display: grid;
  gap: 18px;
}

body.theme-porcelain .mode-menu {
  position: relative;
  width: 360px;
}

body.theme-porcelain .mode-menu[open] {
  z-index: 3;
}

body.theme-porcelain .mode-menu__trigger {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(24, 33, 51, 0.08);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

body.theme-porcelain .mode-menu__trigger::-webkit-details-marker {
  display: none;
}

body.theme-porcelain .mode-menu__label {
  display: block;
  margin-bottom: 8px;
  color: #9aa4b2;
  font-size: 0.9rem;
}

body.theme-porcelain .mode-menu__trigger strong {
  color: #162032;
  font-size: 1.12rem;
}

body.theme-porcelain .mode-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(24,33,51,0.08);
  box-shadow: 0 24px 60px rgba(17,24,39,0.1);
}

body.theme-porcelain .mode-menu__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: #1b2435;
  border-radius: 18px;
  font: inherit;
  text-align: left;
}

body.theme-porcelain .mode-menu__item.is-active {
  background: #f3f4f6;
}

body.theme-porcelain .mode-menu__icon {
  font-size: 1.35rem;
}

body.theme-porcelain .agent-composer {
  display: grid;
  gap: 14px;
}

body.theme-porcelain .agent-composer__surface {
  display: grid;
  grid-template-columns: 108px 1fr 60px;
  gap: 18px;
  align-items: start;
  min-height: 320px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(24,33,51,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96);
}

body.theme-porcelain .upload-stub {
  display: grid;
  place-items: center;
  width: 92px;
  height: 132px;
  border-radius: 16px;
  border: 1px dashed rgba(24,33,51,0.12);
  background: linear-gradient(180deg, #f8f7f4, #f1efe9);
  color: #9aa4b2;
  cursor: pointer;
}

body.theme-porcelain .upload-stub__plus {
  font-size: 2rem;
  line-height: 1;
}

body.theme-porcelain .agent-composer__field {
  min-width: 0;
}

body.theme-porcelain .agent-composer__textarea {
  width: 100%;
  min-height: 240px;
  resize: none;
  border: 0;
  background: transparent;
  color: #162032;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1.9;
  outline: none;
}

body.theme-porcelain .agent-composer__textarea::placeholder {
  color: #a0a9b6;
}

body.theme-porcelain .agent-composer__submit {
  align-self: end;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #dfe2e7;
  color: #ffffff;
  font-size: 1.4rem;
}

body.theme-porcelain .agent-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body.theme-porcelain .agent-pill {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(24,33,51,0.08);
  background: rgba(255,255,255,0.82);
  color: #334155;
  font: inherit;
}

body.theme-porcelain .agent-pill--menu,
body.theme-porcelain .agent-pill.is-active {
  background: #f3f4f6;
  color: #1097c0;
}

body.theme-porcelain .module-rail--light {
  margin: 0;
  padding: 18px;
}

body.theme-porcelain .module-api {
  background: rgba(123, 216, 234, 0.14);
  border-color: rgba(64, 179, 208, 0.18);
  color: #1f7d94;
}

body.theme-porcelain .module-backend-card {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(24, 33, 51, 0.06);
}

body.theme-porcelain .workspace-status,
body.theme-porcelain .result-meta {
  color: #6f7d90;
}

@media (max-width: 1080px) {
  body.theme-porcelain .feature-pills--product {
    grid-template-columns: repeat(3, max-content);
  }

  body.theme-porcelain .workspace-grid--studio {
    grid-template-columns: 1fr;
  }

  body.theme-porcelain .workspace-grid--agent {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  body.theme-porcelain .headline--product {
    max-width: 100%;
    font-size: clamp(2.35rem, 10vw, 3.5rem);
  }

  body.theme-porcelain .headline--product .headline-line {
    white-space: normal;
  }

  body.theme-porcelain .prompt-console__input--product {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  body.theme-porcelain .prompt-console__button {
    width: 100%;
  }

  body.theme-porcelain .feature-pills--product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.theme-porcelain .workspace-upload-grid--studio {
    grid-template-columns: 1fr;
  }

  body.theme-porcelain .agent-composer__surface--home {
    grid-template-columns: 1fr;
  }

  body.theme-porcelain .upload-stub--home {
    width: 100%;
    height: 52px;
  }

  body.theme-porcelain .mode-menu--toolbar .mode-menu__panel {
    width: min(92vw, 360px);
  }

  body.theme-porcelain .mode-menu {
    width: 100%;
  }

  body.theme-porcelain .agent-composer__surface {
    grid-template-columns: 1fr;
  }

  body.theme-porcelain .upload-stub {
    width: 100%;
    height: 84px;
  }
}
