:root {
  --ink: #0b0b10;
  --ink-2: #17171f;
  --muted: #696b76;
  --line: rgba(11, 11, 16, 0.09);
  --paper: #ffffff;
  --soft: #f6f7fb;
  --soft-2: #eef1f8;
  --red: #fe2c55;
  --cyan: #25f4ee;
  --rice: #fff4d8;
  --radius-xl: 42px;
  --radius-lg: 28px;
  --shadow: 0 34px 100px rgba(18, 21, 31, 0.13);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(246, 247, 251, 0.9) 0, #fff 640px),
    var(--paper);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(11, 11, 16, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 11, 16, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black 0, transparent 78%);
}

body::after {
  position: fixed;
  inset: auto -10% -30% -10%;
  z-index: -2;
  height: 520px;
  content: "";
  background: radial-gradient(circle, rgba(254, 44, 85, 0.11), transparent 62%);
  pointer-events: none;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.nowrap {
  white-space: nowrap;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(38px);
  opacity: 0.34;
  pointer-events: none;
}

.ambient-red {
  top: 86px;
  right: -110px;
  background: var(--red);
}

.ambient-cyan {
  top: 260px;
  left: -130px;
  background: var(--cyan);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(11, 11, 16, 0.08);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(1.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
}

.brand,
.nav-links,
.hero-actions,
.eyebrow {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-icon {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  background: var(--ink);
  box-shadow: 8px 8px 0 rgba(254, 44, 85, 0.82), -6px -6px 0 rgba(37, 244, 238, 0.72);
}

.brand-icon span {
  position: absolute;
  width: 9px;
  height: 20px;
  background: var(--paper);
  border-radius: 999px;
  transform: rotate(28deg);
}

.brand-icon span:last-child {
  width: 7px;
  height: 16px;
  transform: translate(8px, 6px) rotate(-24deg);
  opacity: 0.78;
}

.nav-links {
  gap: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  position: relative;
  padding: 28px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta,
.button,
.fake-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  min-height: 42px;
  padding: 0 18px;
  color: var(--paper);
  background: var(--ink);
  font-size: 14px;
  box-shadow: 6px 6px 0 var(--red);
}

.nav-cta:hover,
.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 var(--red), -7px -7px 0 var(--cyan);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 58px;
  align-items: center;
  width: min(1200px, calc(100% - 48px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 76px 0 70px;
}

.eyebrow {
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.eyebrow span {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--red));
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(254, 44, 85, 0.08);
}

h1 {
  font-family: var(--font-display);
  font-weight: 950;
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(68px, 10.7vw, 148px);
  line-height: 0.88;
  letter-spacing: -0.11em;
}

h1 span {
  position: relative;
  display: inline-block;
  text-shadow: 5px 5px 0 rgba(254, 44, 85, 0.85), -4px -4px 0 rgba(37, 244, 238, 0.8);
}

.hero-slogan {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.hero-slogan p:first-child {
  margin-bottom: 0;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.hero-slogan p:last-child {
  margin-bottom: 0;
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.86;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  min-height: 56px;
  padding: 0 26px;
  background: var(--paper);
}

.button.primary {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--red), -4px -4px 0 var(--cyan);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
}

.hero-stage {
  position: relative;
  min-height: 660px;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.25);
}

.phone-card {
  position: absolute;
  top: 36px;
  left: 50%;
  width: min(360px, 72vw);
  min-height: 590px;
  padding: 18px;
  border-radius: 44px;
  transform: translateX(-50%) translate(var(--px, 0px), var(--py, 0px)) rotate(2deg);
  transition: transform 0.3s ease;
}

.phone-card::before,
.phone-card::after {
  position: absolute;
  content: "";
  border-radius: inherit;
  pointer-events: none;
}

.phone-card::before {
  inset: 8px;
  border: 1px solid rgba(11, 11, 16, 0.1);
}

.phone-card::after {
  inset: 26px;
  z-index: -1;
  background: linear-gradient(135deg, rgba(37, 244, 238, 0.26), rgba(254, 44, 85, 0.22));
  filter: blur(28px);
}

.phone-topbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px 18px;
}

.phone-topbar span:first-child {
  width: 64px;
  height: 8px;
  background: var(--ink);
  border-radius: 999px;
}

.phone-topbar span:last-child {
  width: 36px;
  height: 8px;
  background: var(--red);
  border-radius: 999px;
}

.rice-video {
  position: relative;
  display: grid;
  height: 430px;
  place-items: center;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 244, 216, 0.9), transparent 19%),
    radial-gradient(circle at 30% 20%, rgba(37, 244, 238, 0.28), transparent 26%),
    radial-gradient(circle at 75% 72%, rgba(254, 44, 85, 0.28), transparent 28%),
    #111118;
}

.rice-video::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
}

.rice-video::after {
  position: absolute;
  top: 22px;
  right: 22px;
  content: "LIVE";
  padding: 8px 12px;
  color: var(--paper);
  background: var(--red);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.rice-bowl {
  position: relative;
  width: 210px;
  height: 210px;
  animation: bowlDance 4.4s ease-in-out infinite;
}

.rice-bowl::before {
  position: absolute;
  right: 12px;
  bottom: 34px;
  left: 12px;
  height: 94px;
  content: "";
  background: linear-gradient(180deg, #fff, #dfe4ef);
  border-radius: 16px 16px 88px 88px;
  box-shadow: inset 0 -10px 0 rgba(11, 11, 16, 0.12), 0 22px 38px rgba(0, 0, 0, 0.28);
}

.rice-bowl::after {
  position: absolute;
  right: 28px;
  bottom: 100px;
  left: 28px;
  height: 32px;
  content: "";
  background: var(--red);
  border-radius: 999px;
  box-shadow: -12px -8px 0 var(--cyan);
}

.rice-bowl i {
  position: absolute;
  width: 18px;
  height: 52px;
  background: var(--rice);
  border-radius: 999px;
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.16);
  animation: grainJump 2.6s ease-in-out infinite;
}

.rice-bowl i:nth-child(1) { top: 8px; left: 86px; transform: rotate(18deg); }
.rice-bowl i:nth-child(2) { top: 48px; left: 38px; transform: rotate(-32deg); animation-delay: -0.4s; }
.rice-bowl i:nth-child(3) { top: 36px; right: 42px; transform: rotate(38deg); animation-delay: -0.8s; }
.rice-bowl i:nth-child(4) { top: 82px; left: 70px; transform: rotate(4deg); animation-delay: -1.2s; }
.rice-bowl i:nth-child(5) { top: 84px; right: 70px; transform: rotate(-14deg); animation-delay: -1.6s; }

.pulse-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  animation: pulse 2.8s ease-out infinite;
}

.feed-meta {
  padding: 18px 16px 10px;
}

.feed-meta strong,
.feed-meta span {
  display: block;
}

.feed-meta strong {
  margin-bottom: 8px;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.feed-meta span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.metric-card,
.orbit-chip {
  position: absolute;
  z-index: 2;
}

.metric-card {
  min-width: 190px;
  padding: 20px 22px;
  border-radius: 26px;
}

.metric-card span,
.metric-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin: 9px 0 4px;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.07em;
}

.metric-a {
  top: 86px;
  left: 0;
  transform: translate(var(--px, 0px), var(--py, 0px)) rotate(-7deg);
  transition: transform 0.3s ease;
}

.metric-b {
  right: 0;
  bottom: 112px;
  transform: translate(var(--px, 0px), var(--py, 0px)) rotate(6deg);
  transition: transform 0.3s ease;
}

.orbit-chip {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(11, 11, 16, 0.18);
  transform: translate(var(--px, 0px), var(--py, 0px));
  transition: transform 0.3s ease;
}

.chip-red { right: 32px; top: 160px; background: var(--red); }
.chip-cyan { left: 42px; bottom: 210px; color: var(--ink); background: var(--cyan); }
.chip-black { left: 72px; bottom: 58px; background: var(--ink); }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee span {
  padding: 18px 28px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.marquee span:nth-child(even) {
  color: var(--cyan);
}

.section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-label {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 8px 12px;
  color: var(--red);
  background: rgba(254, 44, 85, 0.08);
  border: 1px solid rgba(254, 44, 85, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-display);
  font-weight: 950;
  margin-bottom: 0;
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.058em;
}

.about-grid,
.section-header {
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  gap: 64px;
  align-items: start;
}

.about-copy p,
.section-header p,
.careers-card p {
  color: var(--muted);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.86;
}

.quote-card {
  margin-top: 30px;
  padding: 28px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 10px 10px 0 var(--red), -8px -8px 0 var(--cyan);
}

.quote-card span,
.quote-card strong {
  display: block;
}

.quote-card span {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote-card strong {
  font-family: var(--font-display);
  font-weight: 950;
  font-size: 26px;
  line-height: 1.32;
  letter-spacing: -0.04em;
}

.section-header {
  margin-bottom: 42px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(11, 11, 16, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.product-card::before {
  position: absolute;
  right: -72px;
  bottom: -92px;
  width: 210px;
  height: 210px;
  content: "";
  background: radial-gradient(circle, rgba(254, 44, 85, 0.18), transparent 64%);
  border-radius: 999px;
}

.product-card::after {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 54px;
  height: 54px;
  content: "";
  border: 1px solid rgba(11, 11, 16, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 244, 238, 0.5), rgba(254, 44, 85, 0.5));
  transform: rotate(12deg);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(11, 11, 16, 0.12);
}

.product-rice-tok,
.product-cloud {
  grid-column: span 3;
}

.product-bowl,
.product-engine,
.product-cutlet {
  grid-column: span 2;
}

.product-rice-tok {
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 20%, rgba(37, 244, 238, 0.28), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(254, 44, 85, 0.28), transparent 28%),
    var(--ink);
}

.product-cloud {
  background: linear-gradient(135deg, #f9fbff, #eef8ff 42%, #fff2f5);
}

.product-cutlet {
  background: linear-gradient(135deg, #fff, #fff4db);
}

.product-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 86px;
  padding: 8px 10px;
  color: var(--red);
  background: rgba(254, 44, 85, 0.09);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-rice-tok .product-tag {
  color: var(--cyan);
  background: rgba(37, 244, 238, 0.14);
}

.product-card h3,
.product-card p,
.fake-button {
  position: relative;
  z-index: 1;
}

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 950;
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.product-card p {
  max-width: 500px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.7;
}

.product-rice-tok p {
  color: rgba(255, 255, 255, 0.72);
}

.fake-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper);
  border-color: rgba(11, 11, 16, 0.12);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font);
}

.product-rice-tok .fake-button {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.fake-button:focus-visible {
  outline: 3px solid rgba(37, 244, 238, 0.82);
  outline-offset: 4px;
}

.fake-button:active {
  transform: translate(1px, 1px);
}

.product-card.is-active {
  box-shadow: 0 30px 90px rgba(11, 11, 16, 0.16);
}

.product-result {
  max-width: 520px;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  border: 0 solid transparent;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 220ms ease, margin 220ms ease, padding 220ms ease, border-width 220ms ease, opacity 180ms ease, transform 180ms ease;
}

.product-rice-tok .product-result {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
}

.product-card.is-active .product-result {
  max-height: 160px;
  margin-top: 16px;
  padding: 14px 16px;
  border-width: 1px;
  border-color: rgba(11, 11, 16, 0.08);
  border-radius: 18px;
  opacity: 1;
  transform: none;
}

.product-rice-tok.is-active .product-result {
  border-color: rgba(255, 255, 255, 0.18);
}

.data-panel,
.careers-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 16%, rgba(37, 244, 238, 0.22), transparent 24%),
    radial-gradient(circle at 16% 90%, rgba(254, 44, 85, 0.18), transparent 28%),
    var(--ink);
  box-shadow: var(--shadow);
}

.data-panel {
  padding: clamp(32px, 6vw, 72px);
  color: var(--paper);
}

.data-panel .section-label,
.careers-card .section-label {
  color: var(--cyan);
  background: rgba(37, 244, 238, 0.1);
  border-color: rgba(37, 244, 238, 0.2);
}

.console-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.console-main,
.console-stat {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 28px;
}

.console-main {
  grid-row: span 2;
  padding: 26px;
}

.console-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-bottom: 30px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(254, 44, 85, 0.12);
}

.console-main p,
.console-stat span {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.console-main strong {
  font-family: var(--font-display);
  font-weight: 950;
  display: block;
  margin-bottom: 36px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.052em;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 138px;
}

.bar-chart span {
  flex: 1;
  min-width: 18px;
  background: linear-gradient(180deg, var(--cyan), var(--red));
  border-radius: 999px 999px 6px 6px;
}

.console-stat {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.console-stat strong {
  font-family: var(--font-display);
  font-weight: 950;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.052em;
}

.impact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.impact-list article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.66);
}

.impact-list span {
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
}

.impact-list h3 {
  font-family: var(--font-display);
  font-weight: 950;
  margin: 34px 0 16px;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.impact-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.76;
}

.careers-card {
  padding: clamp(34px, 7vw, 82px);
  color: var(--paper);
}

.careers-card p {
  max-width: 820px;
  margin: 28px 0 36px;
  color: rgba(255, 255, 255, 0.68);
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.7;
}

.footer-info {
  display: grid;
  gap: 6px;
  max-width: 720px;
}

.footer p {
  margin: 0;
}

.footer strong {
  color: var(--ink);
  font-weight: 950;
}

.footer-meta,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.footer-links {
  max-width: 420px;
  justify-content: flex-end;
  gap: 8px 18px;
}

.footer a {
  white-space: nowrap;
}

.footer-discreet-link {
  color: rgba(105, 107, 118, 0.68);
  font-size: 13px;
}

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

@media (max-width: 820px) {
  .footer {
    flex-direction: column;
    gap: 18px;
  }

  .footer-links {
    gap: 8px;
    max-width: 100%;
    justify-content: flex-start;
  }

  .footer-links a {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(11, 11, 16, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1;
  }

  .footer-links .footer-discreet-link {
    border-style: dashed;
    color: rgba(105, 107, 118, 0.56);
  }
}

@keyframes grainJump {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -22px; }
}

@keyframes bowlDance {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-8px); }
}

@keyframes pulse {
  0% { transform: scale(0.72); opacity: 0.9; }
  100% { transform: scale(1.25); opacity: 0; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hero,
  .about-grid,
  .section-header,
  .console-grid,
  .impact-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

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

  .metric-a {
    left: 4px;
  }

  .metric-b {
    right: 4px;
  }

  .product-rice-tok,
  .product-cloud,
  .product-bowl,
  .product-engine,
  .product-cutlet {
    grid-column: 1 / -1;
  }

  .console-main {
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .nav,
  .hero,
  .section,
  .footer {
    width: min(100% - 28px, 1200px);
  }

  .hero,
  .section {
    padding-block: 58px;
  }

  h1 {
    font-size: clamp(46px, 13vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.055em;
  }

  h1 span {
    text-shadow: 3px 3px 0 rgba(254, 44, 85, 0.85), -3px -3px 0 rgba(37, 244, 238, 0.8);
  }

  h2 {
    font-size: 42px;
  }

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

  .phone-card {
    width: 100%;
    min-height: 520px;
  }

  .rice-video {
    height: 360px;
  }

  .metric-card,
  .orbit-chip {
    display: none;
  }

  .product-card {
    min-height: 320px;
  }

  .product-tag {
    margin-bottom: 70px;
  }

  .footer {
    padding-bottom: 42px;
  }
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.culture-grid article {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 247, 251, 0.78)),
    var(--paper);
  box-shadow: 0 18px 48px rgba(11, 11, 16, 0.06);
}

.culture-grid span {
  display: block;
  margin-bottom: 72px;
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.culture-grid h3 {
  font-family: var(--font-display);
  font-weight: 950;
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.culture-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.72;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 180px 0.9fr 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--red);
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
}

.timeline h3 {
  font-family: var(--font-display);
  font-weight: 950;
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.72;
}

@media (max-width: 980px) {
  .culture-grid,
  .timeline article {
    grid-template-columns: 1fr 1fr;
  }

  .timeline article p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .culture-grid,
  .timeline article {
    grid-template-columns: 1fr;
  }

  .culture-grid article {
    min-height: 280px;
  }

  .culture-grid span {
    margin-bottom: 56px;
  }
}

::selection {
  color: var(--paper);
  background: var(--red);
}

:focus-visible {
  outline: 3px solid rgba(37, 244, 238, 0.8);
  outline-offset: 4px;
  border-radius: 12px;
}

/* ===== elevation: motion + interaction layer (progressive enhancement) ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--red));
  transform: scaleX(0);
  transform-origin: left;
}

.js .reveal {
  opacity: 0;
  translate: 0 26px;
}

.js .reveal.is-in {
  opacity: 1;
  translate: none;
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.7, 0.2, 1),
    translate 0.7s cubic-bezier(0.22, 0.7, 0.2, 1);
  transition-delay: var(--rd, 0ms);
}

.js .bar-chart span {
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--bd, 0ms);
}

.js .bar-chart.is-in span {
  transform: scaleY(1);
}

/* guaranteed fallback: resolve to final state with no transition (advances even
   when the tab was backgrounded and the reveal transition never ran) */
.js.force .reveal {
  opacity: 1 !important;
  translate: none !important;
  transition: none !important;
}

.js.force .bar-chart span {
  transform: scaleY(1) !important;
  transition: none !important;
}

.metric-card strong,
.console-stat strong,
.console-main strong {
  font-variant-numeric: tabular-nums;
}

.product-card .sheen {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.55), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-rice-tok .sheen {
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 244, 238, 0.22), transparent 62%);
}

.product-card:hover .sheen {
  opacity: 1;
}

.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

@keyframes riceGlitch {
  0%, 100% { transform: none; }
  20% { transform: translate(-3px, 1px); }
  40% { transform: translate(3px, -1px); }
  60% { transform: translate(-2px, -1px); }
  80% { transform: translate(2px, 1px); }
}

@keyframes refreshSpin {
  to { transform: rotate(360deg); }
}

.js h1 span.glitching {
  animation: riceGlitch 0.4s steps(2, end) 1;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .js .bar-chart span {
    transform: scaleY(1) !important;
  }

  .scroll-progress {
    display: none;
  }
}

/* ===== public A-share portfolio ===== */
.portfolio-page {
  background:
    linear-gradient(180deg, rgba(246, 247, 251, 0.98) 0, #fff 520px),
    var(--paper);
}

.portfolio-page .ambient {
  opacity: 0.16;
}

.portfolio-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

.portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: end;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
}

.portfolio-title {
  max-width: 720px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.8vw, 70px);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: 0;
}

.portfolio-lead {
  max-width: 680px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.74;
}

.portfolio-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-badges span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(11, 11, 16, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.portfolio-badges span:last-child {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.portfolio-badges .is-demo {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.portfolio-badges .is-warning {
  color: var(--ink);
  background: var(--rice);
  border-color: rgba(11, 11, 16, 0.12);
}

.portfolio-source-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 168px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: var(--paper);
  background:
    radial-gradient(circle at 88% 16%, rgba(37, 244, 238, 0.24), transparent 28%),
    radial-gradient(circle at 14% 86%, rgba(254, 44, 85, 0.32), transparent 28%),
    var(--ink);
  box-shadow: var(--shadow);
}

.quote-source-main > span,
.quote-update-panel > div > span,
.quote-refresh-status {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-source-main strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

.quote-update-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.quote-update-panel strong {
  display: block;
  margin-top: 6px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.quote-refresh-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 950;
  backdrop-filter: blur(10px);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.quote-refresh-button:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.quote-refresh-button:active {
  transform: translateY(1px);
}

.quote-refresh-button:disabled {
  opacity: 0.72;
}

.quote-refresh-button.is-loading:disabled {
  cursor: wait;
}

.quote-refresh-button.is-cooling:disabled {
  cursor: not-allowed;
}

.quote-refresh-button i {
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-left-color: transparent;
  border-radius: 999px;
}

.quote-refresh-button.is-loading i {
  animation: refreshSpin 0.8s linear infinite;
}

.quote-refresh-status {
  min-height: 16px;
  margin: 0;
  text-transform: none;
}

.portfolio-summary {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 14px;
}

.portfolio-summary article,
.holdings-panel,
.allocation-panel,
.risk-panel,
.portfolio-note {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(11, 11, 16, 0.055);
  backdrop-filter: blur(14px);
}

.portfolio-summary article {
  min-height: 118px;
  padding: 18px;
  border-radius: 16px;
}

.portfolio-summary article:first-child {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(37, 244, 238, 0.15), transparent 34%),
    linear-gradient(315deg, rgba(254, 44, 85, 0.22), transparent 36%),
    var(--ink);
}

.portfolio-summary article:first-child span,
.portfolio-summary article:first-child small {
  color: rgba(255, 255, 255, 0.62);
}

.portfolio-summary span,
.portfolio-summary small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-summary strong {
  display: block;
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.is-gain {
  color: var(--red) !important;
}

.is-loss {
  color: #138a61 !important;
}

.is-neutral {
  color: var(--muted) !important;
}

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0;
}

.segmented-control {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.segmented-control button {
  min-width: 68px;
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 950;
}

.segmented-control button.is-selected {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--red), -3px -3px 0 var(--cyan);
}

.sort-menu {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto minmax(178px, max-content);
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
}

.sort-trigger {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 12px 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 247, 251, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(11, 11, 16, 0.06);
  cursor: pointer;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 950;
}

.sort-trigger i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.56;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.sort-menu.is-open .sort-trigger {
  border-color: rgba(11, 11, 16, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 16px 36px rgba(11, 11, 16, 0.1);
}

.sort-menu.is-open .sort-trigger i {
  transform: translateY(2px) rotate(225deg);
}

.sort-options {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 12;
  display: grid;
  width: 220px;
  padding: 6px;
  border: 1px solid rgba(11, 11, 16, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 52px rgba(11, 11, 16, 0.16);
  backdrop-filter: blur(18px);
}

.sort-options[hidden] {
  display: none;
}

.sort-options button {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 12px;
  border: 0;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.sort-options button::after {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 999px;
  background: transparent;
}

.sort-options button:hover {
  color: var(--ink);
  background: rgba(11, 11, 16, 0.045);
}

.sort-options button.is-selected {
  color: var(--ink);
  background: rgba(37, 244, 238, 0.18);
}

.sort-options button.is-selected::after {
  background: linear-gradient(135deg, var(--cyan), var(--red));
}

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

.holdings-panel,
.allocation-panel,
.risk-panel {
  overflow: hidden;
  border-radius: 16px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-heading.compact {
  padding-bottom: 18px;
}

.panel-heading p {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.panel-heading > span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(37, 244, 238, 0.2);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.holdings-table-wrap {
  overflow-x: auto;
}

.holdings-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.holdings-table th,
.holdings-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.holdings-table th {
  color: var(--muted);
  background: rgba(246, 247, 251, 0.86);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.holdings-table td {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  vertical-align: top;
}

.holdings-table td strong,
.holdings-table td span {
  display: block;
}

.holdings-table td strong {
  margin-bottom: 7px;
  letter-spacing: 0;
}

.holdings-table td span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.holdings-table td .base-price {
  color: rgba(11, 11, 16, 0.52);
}

.holdings-table td .base-price.is-manual {
  color: var(--red);
}

.quote-status {
  display: inline-flex !important;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  margin-bottom: 8px !important;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.quote-ok {
  color: var(--ink);
  background: rgba(37, 244, 238, 0.22);
}

.quote-missing,
.quote-stale {
  color: var(--ink);
  background: var(--rice);
}

.portfolio-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.allocation-list,
.risk-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.allocation-list article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(11, 11, 16, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.allocation-list strong,
.allocation-list span,
.allocation-list em {
  display: block;
  font-style: normal;
}

.allocation-list strong {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 950;
}

.allocation-list span,
.allocation-list em {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.allocation-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(11, 11, 16, 0.08);
}

.allocation-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--red));
}

.risk-list article {
  padding: 14px;
  border: 1px solid rgba(11, 11, 16, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.risk-list span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.risk-list strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.risk-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.6;
}

.portfolio-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.portfolio-note strong {
  color: var(--ink);
}

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

  .portfolio-source-card {
    min-height: 120px;
  }

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

@media (max-width: 720px) {
  .portfolio-shell {
    width: min(100% - 28px, 1240px);
    padding-top: 22px;
  }

  .portfolio-title {
    font-size: 42px;
    line-height: 1.05;
  }

  .portfolio-lead {
    font-size: 14px;
  }

  .portfolio-source-card {
    min-height: 112px;
    padding: 16px;
  }

  .quote-source-main strong {
    font-size: 24px;
  }

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

  .portfolio-note {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented-control button {
    min-width: 82px;
  }

  .panel-heading {
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .portfolio-hero {
    grid-template-columns: 1fr;
  }

  .portfolio-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented-control {
    width: 100%;
    overflow-x: auto;
  }

  .sort-menu,
  .sort-trigger {
    width: 100%;
  }

  .sort-menu {
    grid-template-columns: 1fr;
  }

  .sort-options {
    right: auto;
    left: 0;
    width: 100%;
  }
}

@media (max-width: 460px) {
  .portfolio-title {
    font-size: 38px;
  }

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

  .portfolio-summary article {
    min-height: 112px;
    padding: 14px;
  }

  .portfolio-summary strong {
    font-size: 22px;
  }
}

@media (max-width: 360px) {
  .portfolio-summary {
    grid-template-columns: 1fr;
  }
}
