:root {
  color-scheme: light;
  --ink: #1c211b;
  --muted: #5d655a;
  --line: rgba(28, 33, 27, 0.12);
  --paper: #f7f5ef;
  --surface: #fffdf7;
  --jade: #256b5b;
  --gold: #bf8f3c;
  --clay: #c56f4f;
  --shadow: 0 24px 80px rgba(52, 56, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(191, 143, 60, 0.28), transparent 32rem),
    linear-gradient(135deg, #f7f5ef 0%, #eef4ef 48%, #f8efe8 100%);
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  display: grid;
  min-height: calc(100dvh - 84px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 52px;
  padding: 42px 0 64px;
}

.eyebrow,
.report-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 7em;
  margin-bottom: 22px;
  font-size: clamp(46px, 7.4vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 750;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button:active {
  transform: scale(0.98);
}

.primary {
  background: var(--jade);
  color: white;
}

.ghost {
  border-color: var(--line);
  background: rgba(255, 253, 247, 0.68);
}

.astro-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(37, 107, 91, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.94), rgba(236, 242, 235, 0.78)),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(37, 107, 91, 0.05) 55px);
  box-shadow: var(--shadow);
}

.orbit {
  position: absolute;
  inset: 54px;
  border: 1px solid rgba(37, 107, 91, 0.2);
  border-radius: 50%;
}

.orbit-two {
  inset: 116px;
  border-color: rgba(191, 143, 60, 0.36);
}

.center-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 138px;
  height: 138px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(197, 111, 79, 0.34);
  border-radius: 50%;
  background: #fff9ee;
  color: var(--clay);
  font-size: 42px;
  font-weight: 900;
  box-shadow: inset 0 0 0 12px rgba(191, 143, 60, 0.08);
}

.center-seal span + span {
  margin-top: -36px;
  color: var(--jade);
}

.pillar-grid {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.pillar-grid div,
.method-grid article,
.day-grid article,
.input-panel,
.report-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.82);
}

.pillar-grid div {
  padding: 14px;
}

.pillar-grid small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.pillar-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.workspace,
.method {
  padding: 80px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.tool-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 20px;
}

.input-panel,
.report-panel {
  padding: 24px;
  box-shadow: 0 18px 52px rgba(52, 56, 45, 0.08);
}

.input-panel {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

input:focus,
select:focus,
.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(37, 107, 91, 0.22);
  outline-offset: 2px;
}

.report-panel h3 {
  font-size: 28px;
  line-height: 1.2;
}

.report-panel p {
  color: var(--muted);
  line-height: 1.8;
}

.insight-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.insight-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.insight-list span,
.method-grid span {
  color: var(--gold);
  font-weight: 900;
}

.insight-list p {
  margin-bottom: 0;
}

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

.method-grid article,
.day-grid article {
  padding: 24px;
}

.method-grid h3,
.day-grid h3 {
  margin: 18px 0 12px;
  font-size: 22px;
}

.method-grid p,
.day-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.day-grid article {
  min-height: 210px;
  background: linear-gradient(145deg, rgba(255, 253, 247, 0.92), rgba(244, 239, 226, 0.8));
}

.day-grid span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(191, 143, 60, 0.32);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--clay);
  font-weight: 850;
}

.compact-section {
  padding-top: 34px;
}

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

  .hero,
  .tool-layout,
  .method-grid,
  .day-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 28px;
  }

  .astro-panel {
    min-height: 420px;
  }

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

  .section-heading {
    display: block;
  }
}

@media (max-width: 520px) {
  .app-shell {
    width: min(100% - 20px, 1180px);
  }

  h1 {
    font-size: 48px;
  }

  .workspace,
  .method {
    padding: 52px 0;
  }

  .astro-panel {
    min-height: 360px;
  }

  .center-seal {
    width: 112px;
    height: 112px;
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  html {
    scroll-behavior: auto;
    transition: none !important;
  }
}
