:root {
  --bg: #f6f1e8;
  --bg-soft: #fbf8f3;
  --surface: rgba(255, 252, 247, 0.76);
  --surface-strong: #fffaf2;
  --ink: #171513;
  --muted: #5f5951;
  --line: rgba(23, 21, 19, 0.12);
  --accent: #d45d38;
  --accent-deep: #8d3318;
  --accent-soft: #f2cda5;
  --shadow: 0 24px 70px rgba(71, 46, 23, 0.12);
  --display-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body-font: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(242, 205, 165, 0.62), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(212, 93, 56, 0.12), transparent 18%),
    linear-gradient(180deg, #f7f1e7 0%, #f9f6f0 40%, #f5efe4 100%);
  color: var(--ink);
  font-family: var(--body-font);
}

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

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

.page-shell {
  position: relative;
  width: min(1220px, calc(100vw - 40px));
  margin: 0 auto;
  padding-bottom: 64px;
}

.ambient-logos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-logo {
  position: absolute;
  display: block;
  height: auto;
  opacity: 0.14;
  filter: blur(10px) saturate(1.02);
  mix-blend-mode: screen;
  transform-origin: center;
}

.ambient-logo-1 {
  top: 36px;
  right: -90px;
  width: 320px;
  transform: rotate(-12deg);
}

.ambient-logo-2 {
  top: 980px;
  left: -120px;
  width: 260px;
  opacity: 0.1;
  transform: rotate(18deg);
}

.ambient-logo-3 {
  top: 1560px;
  right: -70px;
  width: 220px;
  opacity: 0.11;
  transform: rotate(-20deg);
}

.ambient-logo-4 {
  bottom: 140px;
  left: 8%;
  width: 300px;
  opacity: 0.09;
  transform: rotate(8deg);
}

.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
  z-index: 1;
}

.hero-brand-watermark {
  position: absolute;
  top: 28px;
  left: 50%;
  width: min(30vw, 360px);
  transform: translateX(-50%);
  opacity: 0.1;
  filter: blur(8px) saturate(1.05);
  pointer-events: none;
  z-index: 0;
}

.hero-brand-watermark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-head {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-brand-mark {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 42px rgba(23, 21, 19, 0.18);
}

.hero-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-brand-name {
  font-size: clamp(3.2rem, 8vw, 6.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.eyebrow,
.section-kicker,
.card-label,
.principle span {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow,
.section-kicker,
.card-label {
  color: var(--accent-deep);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  max-width: none;
  margin-top: 18px;
  font-size: clamp(1.2rem, 2.1vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: normal;
}

@media (max-width: 900px) {
  h1 {
    white-space: normal;
  }
}

.hero-copy {
  max-width: 900px;
  margin: 22px auto 0;
}

.lede {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.6;
  text-align: center;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
}

.platforms {
  max-width: 1120px;
  margin: 22px auto 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.platforms-label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 16px 18px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.82);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(71, 46, 23, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  text-align: left;
}

.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(71, 46, 23, 0.12);
  border-color: rgba(141, 51, 24, 0.18);
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--ink);
  color: #fffaf4;
  font-size: 1.5rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.platform-icon-code {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.platform-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.platform-copy strong {
  font-size: 1.02rem;
  line-height: 1.12;
  font-weight: 700;
}

.platform-copy small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.28;
}

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

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

.button-primary {
  background: linear-gradient(135deg, var(--ink), #3f3027);
  color: #fffaf4;
  box-shadow: 0 18px 36px rgba(55, 35, 19, 0.18);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 250, 242, 0.66);
  color: var(--ink);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-signals li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.58);
  color: var(--muted);
  font-size: 0.94rem;
}

.principles,
.cta-panel {
  margin-top: 28px;
}
.section-heading h2,
.cta-copy h2 {
  margin-top: 10px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.section-heading + *,
.cta-copy p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}
.use-case,
.principle,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.use-case h3 {
  margin-top: 16px;
  font-size: 1.7rem;
  line-height: 1.06;
}

.use-case p,
.principle p,
.feature-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 22px;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(320px, 1.04fr) minmax(320px, 0.96fr);
  gap: 40px;
  align-items: center;
  margin-top: 52px;
  padding: 34px 38px;
  border: 1px solid rgba(23, 21, 19, 0.08);
  border-radius: 38px;
  background: rgba(255, 252, 247, 0.74);
  box-shadow: 0 20px 48px rgba(71, 46, 23, 0.08);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-section-reverse {
  grid-template-columns: minmax(320px, 0.96fr) minmax(320px, 1.04fr);
}

.feature-copy {
  position: relative;
  z-index: 1;
}

.feature-copy h2 {
  margin-top: 12px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.feature-copy p + p {
  margin-top: 14px;
}

.feature-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(250, 244, 235, 0.92));
  border: 1px solid rgba(23, 21, 19, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.feature-art img {
  width: 100%;
  max-width: 720px;
  filter: drop-shadow(var(--shadow));
  animation: float-in 800ms ease both;
}

.use-case-grid,
.principle-grid {
  display: grid;
  gap: 18px;
}

.use-case-grid {
  grid-template-columns: repeat(4, 1fr);
}

.use-case,
.principle {
  padding: 24px;
}

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

.principles,
.cta-panel {
  position: relative;
  z-index: 1;
}

.principle span {
  display: inline-block;
  color: var(--accent-deep);
}

.cta-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  margin-top: 56px;
  background:
    radial-gradient(circle at 100% 0%, rgba(212, 93, 56, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(247, 238, 226, 0.94));
}

.cta-copy {
  max-width: 720px;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1040px) {
  .use-case-grid,
  .principle-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

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

  .hero-brand-watermark {
    top: 94px;
    width: min(52vw, 320px);
  }

  .ambient-logo-1,
  .ambient-logo-2,
  .ambient-logo-3,
  .ambient-logo-4 {
    opacity: 0.08;
    filter: blur(8px) saturate(1.02);
  }

  .ambient-logo-1 {
    right: -100px;
    width: 220px;
  }

  .ambient-logo-2 {
    top: 1120px;
    left: -90px;
    width: 180px;
  }

  .ambient-logo-3 {
    top: 2060px;
    right: -70px;
    width: 170px;
  }

  .ambient-logo-4 {
    bottom: 220px;
    left: -40px;
    width: 210px;
  }

  .cta-panel {
    display: block;
  }

  .cta-actions {
    margin-top: 22px;
  }
}

@media (max-width: 1080px) {
  .feature-section,
  .feature-section-reverse {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }

  .feature-section .feature-copy,
  .feature-section-reverse .feature-copy {
    order: 1;
  }

  .feature-section .feature-art,
  .feature-section-reverse .feature-art {
    order: 2;
  }

  .feature-copy h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
  }

  .hero {
    gap: 28px;
    padding-top: 18px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .platforms,
  .feature-section,
  .principles,
  .cta-panel {
    margin-left: 12px;
    margin-right: 12px;
  }

  .hero-brand-mark {
    width: 72px;
    height: 72px;
    border-radius: 22px;
  }

  .hero-brand-name {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .feature-section {
    padding: 18px;
    margin-top: 34px;
    border-radius: 30px;
  }

  .feature-art {
    padding: 12px;
    border-radius: 24px;
  }

  .story-card,
  .use-case,
  .principle,
  .cta-panel {
    border-radius: 26px;
  }

  h1 {
    max-width: none;
  }
}
