:root {
  --bg: #f7f3ed;
  --surface: #efe8de;
  --ink: #251f1c;
  --muted: #746a64;
  --accent: #7a263a;
  --border: #ded4ca;
  --max: 1240px;
  --sans:
    Inter, -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC",
    sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #b56b7d;
  outline-offset: 3px;
}
.shell {
  width: min(calc(100% - 80px), var(--max));
  margin-inline: auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 243, 237, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.menu-button {
  display: none;
  min-width: 56px;
  min-height: 44px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 99px;
}
.hero {
  padding: clamp(80px, 12vw, 160px) 0 clamp(64px, 8vw, 120px);
}
.eyebrow,
.kicker,
.number {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(48px, 7.5vw, 108px);
  line-height: 1.01;
  letter-spacing: -0.065em;
  max-width: 1100px;
  margin: 22px 0;
}
.hero h1 span {
  color: var(--accent);
  white-space: nowrap;
}
.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid var(--border);
  border-radius: 99px;
  text-decoration: none;
  font-weight: 750;
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.section {
  padding: 120px 0;
}
.section-head {
  max-width: 880px;
  margin-bottom: 48px;
}
.section-head h2,
.cta h2,
.blog h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 10px 0 18px;
}
.intro,
.card p,
.case p {
  color: var(--muted);
}
.two-col,
.three-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.card {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 31, 28, 0.06);
}
.card h3,
.case h3,
.brief h3 {
  font-size: 28px;
  line-height: 1.2;
  margin: 12px 0;
}
.card .result {
  font-size: 19px;
  color: var(--ink);
}
.cases,
.knowledge {
  background: var(--surface);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
.case {
  padding: 40px;
  border-right: 1px solid var(--border);
}
.case:first-child {
  padding-left: 0;
}
.case:last-child {
  border-right: 0;
}
.case a,
.card a,
.blog a {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.flow,
.steps {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
  counter-reset: item;
}
.flow li,
.steps li {
  min-height: 76px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 18px;
}
.flow span {
  color: var(--accent);
  font-weight: 800;
  min-width: 120px;
}
.brief {
  margin-top: 44px;
  padding: 40px;
  background: var(--surface);
  border-radius: 24px;
}
.note {
  font-size: 13px;
  color: var(--muted);
}
.atom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.atom {
  background: var(--bg);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.atom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 31, 28, 0.06);
}
.atom h3 {
  margin: 8px 0;
}
.atom p {
  color: var(--muted);
}
.atom a,
.preview-button,
.atom-preview a {
  color: var(--accent);
  font-weight: 700;
}
.preview-button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.atom-preview {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  scroll-margin-top: 90px;
}
.preview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.preview-head h3 {
  margin: 4px 0 0;
  font-size: 26px;
}
.atom-preview iframe {
  display: block;
  width: 100%;
  min-height: min(70vh, 760px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.three-col p {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.blog {
  display: grid;
  gap: 14px;
}
.blog h2 {
  max-width: 760px;
}
.cta {
  padding: 100px 0 calc(100px + env(safe-area-inset-bottom));
  background: var(--accent);
  color: #fff;
}
.cta .kicker {
  color: #edc5cf;
}
.button.light {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.footer {
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 40px);
  }
  .nav {
    min-height: 66px;
  }
  .menu-button {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    border-bottom: 1px solid var(--border);
  }
  .hero {
    padding: 68px 0 74px;
  }
  .hero h1 {
    font-size: clamp(44px, 13.4vw, 58px);
  }
  .section {
    padding: 76px 0;
  }
  .two-col,
  .case-grid,
  .atom-grid,
  .three-col {
    grid-template-columns: 1fr;
  }
  .case {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .flow li,
  .steps li {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 18px 0;
  }
  .brief {
    padding: 24px;
  }
  .preview-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .atom-preview {
    padding: 14px;
  }
  .atom-preview iframe {
    min-height: 58vh;
  }
  .actions .button {
    width: 100%;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
