:root {
  color-scheme: light;
  --paper: #fff7e8;
  --paper-deep: #ffe8bd;
  --ink: #172033;
  --muted: #6f7382;
  --orange: #ff721f;
  --orange-deep: #e95513;
  --gold: #ffc84f;
  --mint: #7fd9bd;
  --blue: #6da8ff;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(23, 32, 51, 0.1);
  --shadow: 0 26px 80px rgba(159, 82, 20, 0.16);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 200, 79, 0.5), transparent 23rem),
    radial-gradient(circle at 8% 26%, rgba(127, 217, 189, 0.34), transparent 20rem),
    linear-gradient(180deg, #fff4dc 0%, #fff9ee 44%, #f7fbff 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(23, 32, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 51, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.88), transparent 72%);
}

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

.sunrise {
  position: fixed;
  top: 72px;
  right: max(-90px, calc((100vw - 1180px) / 2 - 110px));
  z-index: -2;
  width: 300px;
  height: 300px;
  pointer-events: none;
}

.sun-core,
.sun-halo {
  position: absolute;
  border-radius: 50%;
}

.sun-core {
  inset: 52px;
  background: linear-gradient(135deg, #ffe58a, #ff7b24);
  box-shadow: 0 26px 90px rgba(255, 114, 31, 0.42);
  animation: sun-float 7s ease-in-out infinite;
}

.sun-halo {
  inset: 0;
  border: 1px solid rgba(255, 114, 31, 0.16);
  background: radial-gradient(circle, rgba(255, 200, 79, 0.22), transparent 65%);
  animation: halo-pulse 7s ease-in-out infinite;
}

@keyframes sun-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes halo-pulse {
  0%, 100% { transform: scale(0.96); opacity: 0.82; }
  50% { transform: scale(1.04); opacity: 1; }
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

.brand-mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 17px;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  box-shadow: 0 16px 34px rgba(255, 114, 31, 0.24);
  font-size: 23px;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.06em;
}

.brand small {
  margin-top: 2px;
  color: #8a7f70;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.56);
  box-shadow: 0 10px 34px rgba(159, 82, 20, 0.08);
  backdrop-filter: blur(18px);
}

.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  color: #71717d;
  font-size: 14px;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(255, 200, 79, 0.28);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  min-height: 660px;
  padding: 74px 0 86px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 28px;
  font-size: clamp(62px, 10vw, 126px);
  line-height: 0.96;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

h1::after {
  display: block;
  width: 112px;
  height: 8px;
  margin-top: 32px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--mint));
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 34px;
  color: #636a78;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: #fffaf0;
  background: linear-gradient(135deg, var(--orange), #ff9b38);
  box-shadow: 0 16px 36px rgba(255, 114, 31, 0.25);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 20px 46px rgba(255, 114, 31, 0.32);
}

.button.secondary {
  border-color: rgba(23, 32, 51, 0.11);
  color: #343947;
  background: rgba(255,255,255,0.66);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(255, 114, 31, 0.28);
}

.today-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255, 114, 31, 0.15);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(255,255,255,0.64)),
    radial-gradient(circle at 90% 8%, rgba(255, 200, 79, 0.28), transparent 13rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.today-card::before {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(255, 114, 31, 0.18), transparent 68%);
}

.date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  color: #8b7356;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.pulse-dot {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #24c88a;
}

.pulse-dot::after {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  content: "";
  border: 1px solid rgba(36, 200, 138, 0.5);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  to { transform: scale(1.9); opacity: 0; }
}

.today-card h2 {
  margin-bottom: 18px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.today-card blockquote {
  min-height: 132px;
  margin-bottom: 16px;
  font-size: clamp(25px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.055em;
  text-wrap: balance;
  transition: opacity 180ms ease, transform 180ms ease;
}

.today-card blockquote.switching {
  opacity: 0;
  transform: translateY(8px);
}

.today-card p {
  min-height: 54px;
  margin-bottom: 24px;
  color: #777482;
  font-size: 15px;
  line-height: 1.8;
  transition: opacity 180ms ease, transform 180ms ease;
}

.today-card p.switching {
  opacity: 0;
  transform: translateY(8px);
}

.quote-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: #fffaf0;
  background: #172033;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.quote-button:hover,
.quote-button:focus-visible {
  box-shadow: 0 16px 32px rgba(23, 32, 51, 0.18);
  outline: none;
  transform: translateY(-2px);
}

.marquee-band {
  padding: 16px 0;
  border-top: 1px solid rgba(23, 32, 51, 0.08);
  border-bottom: 1px solid rgba(23, 32, 51, 0.08);
  overflow: hidden;
  background: rgba(255,255,255,0.46);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee 24s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  color: #7a4a1e;
  background: rgba(255, 200, 79, 0.24);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

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

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading h2,
.tech-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow),
.tech-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

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

.product-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 16px 42px rgba(91, 63, 25, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card::after {
  position: absolute;
  right: -54px;
  bottom: -62px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(255, 114, 31, 0.13), transparent 68%);
}

.product-card.active:hover,
.product-card.active:focus-visible {
  border-color: rgba(255, 114, 31, 0.32);
  box-shadow: 0 24px 56px rgba(159, 82, 20, 0.16);
  outline: none;
  transform: translateY(-6px);
}

.product-card.building {
  background: rgba(255,255,255,0.46);
}

.product-index {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(23, 32, 51, 0.16);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.product-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 58px;
  place-items: center;
  border-radius: 18px;
  color: #fffaf0;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  font-size: 23px;
  font-weight: 950;
}

.product-card:nth-child(2) .product-icon {
  background: linear-gradient(135deg, #35bd92, #a5e7a7);
}

.product-card:nth-child(3) .product-icon {
  background: linear-gradient(135deg, #5f8fff, #84d7ff);
}

.product-card:nth-child(4) .product-icon {
  background: linear-gradient(135deg, #8067de, #ee8ac2);
}

.product-card strong,
.product-card small {
  display: block;
}

.product-card strong {
  margin-bottom: 7px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.product-card small {
  margin-bottom: 22px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.product-card p {
  margin-bottom: 24px;
  color: #666d7b;
  font-size: 14px;
  line-height: 1.8;
}

.product-card em {
  z-index: 1;
  margin-top: auto;
  color: #293145;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}

.energy-wall {
  border-top: 1px solid rgba(23, 32, 51, 0.08);
}

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

.wall-grid article {
  padding: 28px;
  border-radius: 28px;
  color: #fffaf0;
  background: linear-gradient(145deg, #1d2638, #111827);
  box-shadow: 0 20px 52px rgba(23, 32, 51, 0.16);
}

.wall-grid article:nth-child(2) {
  background: linear-gradient(145deg, #a84816, #5d2b13);
}

.wall-grid article:nth-child(3) {
  background: linear-gradient(145deg, #177b63, #123e3a);
}

.wall-grid span {
  display: inline-flex;
  margin-bottom: 54px;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.wall-grid p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.82);
  line-height: 1.86;
}

.technology {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
  margin-bottom: 44px;
  padding: clamp(34px, 6vw, 58px);
  border: 1px solid rgba(23, 32, 51, 0.09);
  border-radius: 38px;
  background:
    radial-gradient(circle at 92% 20%, rgba(109, 168, 255, 0.2), transparent 18rem),
    rgba(255,255,255,0.62);
  box-shadow: var(--shadow);
}

.tech-copy p {
  margin-bottom: 0;
}

.tech-stack {
  display: grid;
  gap: 12px;
}

.tech-stack div {
  padding: 20px;
  border: 1px solid rgba(23, 32, 51, 0.08);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
}

.tech-stack strong,
.tech-stack span {
  display: block;
}

.tech-stack strong {
  margin-bottom: 7px;
  font-size: 17px;
}

.tech-stack span {
  color: #717685;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(23, 32, 51, 0.1);
  color: #777d89;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #5f6673;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  outline: none;
}

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

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

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

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

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

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links a {
    flex: 1;
    padding-right: 8px;
    padding-left: 8px;
    text-align: center;
  }

  h1 {
    font-size: clamp(52px, 18vw, 78px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .today-card {
    padding: 26px;
  }

  .product-grid,
  .wall-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .product-icon {
    margin-bottom: 36px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@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;
  }
}
