:root {
  --ink: #171a1f;
  --paper: #f4f1e9;
  --muted: #666a72;
  --line: rgba(23, 26, 31, .16);
  --acid: #dfff48;
  --blue: #4e63ff;
  --radius: 26px;
  --shadow: 0 28px 80px rgba(26, 30, 42, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  width: min(1180px, calc(100% - 32px)); margin: 0 auto;
  min-height: 80px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 750; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--acid); font-size: 12px; }
.header-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; text-underline-offset: 5px; }
.hero {
  width: min(1180px, calc(100% - 32px)); margin: 0 auto;
  min-height: 680px; padding: 88px 0; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px;
}
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.04em; }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(44px, 6.6vw, 86px); }
h2 { font-size: clamp(34px, 4vw, 56px); }
.hero-text { max-width: 620px; margin: 0 0 32px; color: var(--muted); font-size: 18px; }
.button {
  min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-weight: 750; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button.primary { background: var(--ink); color: white; }
.button.primary:hover { background: var(--blue); border-color: var(--blue); }
.button.secondary:hover { background: var(--ink); color: white; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.hero-visual { position: relative; min-height: 520px; }
.browser {
  position: absolute; width: 72%; aspect-ratio: 4 / 3; padding: 22px; border: 1px solid rgba(255,255,255,.36); border-radius: 22px;
  box-shadow: var(--shadow); overflow: hidden;
}
.browser span { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: currentColor; opacity: .28; }
.browser b { display: block; margin-top: 30%; font-size: clamp(22px, 3vw, 40px); }
.browser-one { top: 2%; left: 0; transform: rotate(-7deg); background: #ead7c7; }
.browser-two { top: 24%; right: 0; transform: rotate(7deg); background: #214b3b; color: #f6e9c8; }
.browser-three { left: 8%; bottom: 0; background: #1b2034; color: white; }
.case-section { padding: 104px max(16px, calc((100% - 1180px) / 2)); background: #fff; }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card { overflow: hidden; border: 1px solid #e6e6e6; border-radius: var(--radius); background: #fbfbfb; }
.case-preview { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.case-body { padding: 26px; }
.case-index { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.case-body h3 { margin: 12px 0; font-size: 30px; }
.case-body p { min-height: 78px; color: var(--muted); }
.consultant-preview { padding: 28px; background: #f1e8dd; }
.preview-nav { width: 32%; height: 8px; border-radius: 8px; background: #963f2d; }
.preview-title { width: 72%; height: 54px; margin-top: 23%; border-radius: 6px; background: #26231f; }
.preview-line { width: 58%; height: 8px; margin-top: 18px; border-radius: 8px; background: rgba(38,35,31,.3); }
.preview-pill { width: 36%; height: 36px; margin-top: 28px; border-radius: 99px; background: #963f2d; }
.tea-preview { background: #d7c79f; }
.tea-sun { position: absolute; width: 54%; aspect-ratio: 1; right: -10%; top: -8%; border-radius: 50%; background: #ec6d45; }
.tea-cup { position: absolute; width: 36%; height: 28%; left: 31%; top: 42%; border-radius: 8px 8px 36px 36px; background: #143b2c; }
.tea-line { position: absolute; width: 70%; height: 2px; left: 15%; bottom: 18%; background: #143b2c; }
.fashion-preview { background: #f4e4d7; }
.fashion-arch { position: absolute; width: 44%; height: 82%; right: 8%; bottom: 0; border-radius: 90px 90px 0 0; background: #b53a68; }
.fashion-copy { position: absolute; width: 34%; height: 16%; left: 9%; top: 24%; border-top: 9px solid #171a1f; border-bottom: 5px solid rgba(23,26,31,.32); }
.fashion-cta { position: absolute; width: 27%; height: 38px; left: 9%; bottom: 20%; border-radius: 99px; background: #171a1f; }
.product-preview { background: #11162a; }
.product-orb { position: absolute; width: 54%; aspect-ratio: 1; right: -8%; top: -10%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #d8ff68, #5267ff 58%, transparent 70%); filter: blur(2px); }
.product-panel { position: absolute; left: 12%; bottom: 15%; width: 72%; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.08); }
.product-panel i { display: block; width: 100%; height: 8px; margin: 9px 0; border-radius: 4px; background: rgba(255,255,255,.34); }
.product-panel i:nth-child(2) { width: 72%; background: #d8ff68; }
.principles {
  width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 112px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}
.principles ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.principles li { padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.principles span { color: var(--muted); text-align: right; }
footer { padding: 28px max(16px, calc((100% - 1180px) / 2)); display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .45s ease-out, transform .45s ease-out; }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .hero, .principles { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; gap: 32px; }
  .hero-visual { min-height: 430px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-body p { min-height: 0; }
}
@media (max-width: 560px) {
  .site-header { min-height: 68px; }
  .brand > span:last-child { display: none; }
  .hero { min-height: auto; padding-top: 48px; }
  h1 { font-size: 44px; }
  .hero-visual { min-height: 340px; }
  .browser { width: 78%; padding: 14px; border-radius: 16px; }
  .case-section { padding-top: 72px; padding-bottom: 72px; }
  .principles { padding: 72px 0; gap: 24px; }
  .principles li { flex-direction: column; gap: 4px; }
  .principles span { text-align: left; }
  footer { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
