:root {
  --paper: #f3f0e9;
  --paper-deep: #e8e2d8;
  --paper-light: #fbfaf6;
  --ink: #1e2e37;
  --ink-soft: #5c6a6d;
  --navy: #18354c;
  --navy-soft: #2f5264;
  --sage: #8ba593;
  --sage-pale: #d9e2db;
  --sand: #d7b877;
  --sand-pale: #eee2c6;
  --line: rgba(30, 46, 55, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-soft: 0 24px 70px rgba(38, 49, 48, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.34;
  background-image: radial-gradient(rgba(30, 46, 55, 0.05) 0.6px, transparent 0.6px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(215, 184, 119, 0.9);
  outline-offset: 4px;
}

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

.site-shell {
  overflow: clip;
}

.container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(243, 240, 233, 0.78);
  backdrop-filter: blur(18px);
  transition: border-color 240ms var(--ease-out), background-color 240ms var(--ease-out);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(243, 240, 233, 0.92);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand,
.footer-brand,
.preview-brand-mini {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.brand-subtitle {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
}

.nav-link {
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 220ms var(--ease-out);
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--navy);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: transform 240ms var(--ease-out), background-color 240ms var(--ease-out), border-color 240ms var(--ease-out), color 240ms var(--ease-out);
}

.nav-cta {
  min-height: 42px;
  gap: 10px;
  padding-inline: 16px;
  background: var(--navy);
  color: var(--paper-light);
}

.button span,
.nav-cta span {
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
}

.button-primary,
.nav-cta {
  background: var(--navy);
  color: var(--paper-light);
}

.button-secondary {
  border-color: var(--line);
  color: var(--ink);
}

.button-light {
  background: var(--paper-light);
  color: var(--navy);
}

.button:hover,
.nav-cta:hover,
.quiet-button:hover,
.text-button:hover {
  transform: translateY(-3px);
}

.button:active,
.nav-cta:active,
.quiet-button:active,
.text-button:active {
  transform: scale(0.97);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.menu-toggle > span:not(.sr-only):nth-child(1) {
  transform: translateY(5px);
}

.menu-toggle > span:not(.sr-only):nth-child(3) {
  transform: translateY(-5px);
}

.menu-toggle.is-open > span:not(.sr-only):nth-child(1) {
  transform: translateY(1px) rotate(45deg);
}

.menu-toggle.is-open > span:not(.sr-only):nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open > span:not(.sr-only):nth-child(3) {
  transform: translateY(-1px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100dvh;
}

.hero-layout {
  display: grid;
  min-height: calc(100dvh - 78px);
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: 40px;
  padding-block: 64px 84px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
  padding-block: 24px;
}

.eyebrow,
.section-kicker,
.surface-kicker,
.panel-eyebrow {
  margin: 0;
  color: var(--navy-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.eyebrow-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--sand);
}

.hero-title {
  max-width: 670px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.1rem, 5.25vw, 5.3rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.14;
}

.hero-title span {
  color: var(--navy);
}

.hero-lead {
  max-width: 480px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

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

.hero-visual {
  position: relative;
  min-height: 640px;
  isolation: isolate;
}

.hero-wash {
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: min(92%, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(217, 226, 219, 0.9), rgba(243, 240, 233, 0) 69%);
  transform: translate(-50%, -50%);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(24, 53, 76, 0.12);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-16deg);
}

.hero-orbit-one {
  width: min(82%, 610px);
  aspect-ratio: 1.08;
}

.hero-orbit-two {
  width: min(64%, 480px);
  aspect-ratio: 1.08;
  border-color: rgba(215, 184, 119, 0.28);
  transform: translate(-50%, -50%) rotate(24deg);
}

.hero-art {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(96%, 700px);
  max-width: none;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 24px 32px rgba(24, 53, 76, 0.08));
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 16%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 5px rgba(139, 165, 147, 0.16);
}

.preview-section {
  padding-block: 132px 150px;
  background: var(--paper-light);
}

.section-heading {
  max-width: 1120px;
  margin-bottom: 54px;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  align-items: end;
  gap: 60px;
  margin-top: 22px;
}

.section-heading h2,
.scenes-intro h2,
.principles-statement h2,
.closing-inner h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.27;
}

.section-heading h2 {
  max-width: 700px;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
}

.section-heading-row p,
.scenes-intro > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.product-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #eae8e1;
  box-shadow: var(--shadow-soft);
}

.preview-topbar {
  display: grid;
  min-height: 50px;
  grid-template-columns: 1fr minmax(220px, 0.7fr) 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(30, 46, 55, 0.1);
  padding-inline: 20px;
  background: #f8f7f2;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--paper-deep);
}

.window-dots span:first-child {
  background: var(--sand);
}

.preview-address {
  border: 1px solid rgba(30, 46, 55, 0.1);
  border-radius: 8px;
  padding: 4px 12px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.03em;
  text-align: center;
}

.preview-topbar-action {
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-align: right;
}

.preview-body {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 550px;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(30, 46, 55, 0.1);
  padding: 28px 16px 18px;
  background: #eeece5;
}

.preview-brand-mini {
  gap: 8px;
  padding: 0 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.preview-brand-mini img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.preview-nav-label {
  margin: 44px 10px 12px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.preview-tabs {
  display: grid;
  gap: 5px;
}

.preview-tab {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  padding: 0 10px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 13px;
  text-align: left;
  transition: color 220ms var(--ease-out), background-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.preview-tab:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  transform: translateX(3px);
}

.preview-tab:active {
  transform: scale(0.97);
}

.preview-tab.is-selected {
  background: var(--paper-light);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 5px 18px rgba(38, 49, 48, 0.05);
}

.tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.tab-dot-sage { background: var(--sage); }
.tab-dot-sand { background: var(--sand); }
.tab-dot-navy { background: var(--navy); }

.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid rgba(30, 46, 55, 0.1);
  padding: 16px 10px 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.sidebar-avatar {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
}

.sidebar-more {
  margin-left: auto;
  letter-spacing: 0.18em;
}

.preview-content {
  position: relative;
  overflow: hidden;
  padding: 48px clamp(24px, 5vw, 68px) 36px;
  background: #fbfaf6;
}

.workspace-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.workspace-head h3 {
  margin: 5px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.surface-kicker {
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: none;
}

.quiet-button,
.text-button {
  border: 0;
  cursor: pointer;
  font-size: 12px;
  transition: transform 220ms var(--ease-out), color 220ms var(--ease-out), background-color 220ms var(--ease-out);
}

.quiet-button {
  min-height: 40px;
  border-radius: 10px;
  padding: 0 14px;
  background: var(--navy);
  color: var(--paper-light);
}

.quiet-button span {
  margin-left: 7px;
  color: var(--sand);
  font-size: 16px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.metric-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.metric-label,
.metric-trend {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 10px;
}

.metric-block strong {
  color: var(--ink);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.metric-trend {
  display: block;
  margin-top: 4px;
}

.trend-sage { color: #60836e; }
.trend-sand { color: #9b7c40; }
.trend-navy { color: var(--navy-soft); }

.workspace-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.75fr);
  gap: 16px;
  margin-top: 42px;
}

.focus-panel,
.insight-panel {
  border: 1px solid rgba(30, 46, 55, 0.11);
  border-radius: 16px;
  background: #f6f4ee;
}

.focus-panel {
  padding: 24px;
}

.insight-panel {
  padding: 24px 20px 20px;
  background: var(--sage-pale);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-eyebrow {
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: none;
}

.panel-heading h4 {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.text-button {
  padding: 0;
  background: transparent;
  color: var(--navy-soft);
}

.text-button:hover {
  color: var(--navy);
}

.task-list {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.task-item {
  display: flex;
  min-height: 67px;
  align-items: center;
  gap: 11px;
  border-top: 1px solid rgba(30, 46, 55, 0.1);
}

.task-check {
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  flex: 0 0 17px;
  border: 1px solid rgba(24, 53, 76, 0.34);
  border-radius: 50%;
  color: var(--paper-light);
  font-size: 10px;
}

.task-item.is-complete .task-check {
  border-color: var(--sage);
  background: var(--sage);
}

.task-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.task-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-copy small {
  color: var(--ink-soft);
  font-size: 10px;
}

.task-mark {
  margin-left: auto;
  color: var(--sand);
  font-size: 17px;
}

.task-mark-muted {
  color: rgba(30, 46, 55, 0.3);
  font-size: 14px;
}

.chart-menu {
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.progress-visual {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.progress-ring {
  display: grid;
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--navy) 0 72%, rgba(24, 53, 76, 0.13) 72% 100%);
  position: relative;
}

.progress-ring::after {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--sage-pale);
  content: "";
}

.progress-ring span {
  position: relative;
  z-index: 1;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
}

.progress-copy {
  display: grid;
  gap: 3px;
}

.progress-copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.progress-copy span {
  color: var(--ink-soft);
  font-size: 10px;
}

.bar-chart {
  display: flex;
  height: 100px;
  align-items: end;
  gap: 8px;
  margin-top: 34px;
  border-bottom: 1px solid rgba(30, 46, 55, 0.16);
}

.bar-chart span {
  width: 100%;
  border-radius: 5px 5px 0 0;
  background: rgba(24, 53, 76, 0.24);
}

.bar-chart span.is-today {
  background: var(--sand);
}

.chart-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 9px;
  text-align: center;
}

.preview-toast {
  position: absolute;
  right: 28px;
  bottom: 20px;
  max-width: 250px;
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--navy);
  color: var(--paper-light);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.preview-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scenes-section {
  padding-block: 140px;
  background: var(--paper);
}

.scenes-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(70px, 12vw, 180px);
}

.scenes-intro {
  position: sticky;
  top: 130px;
}

.scenes-intro h2 {
  max-width: 500px;
  margin-top: 24px;
  font-size: clamp(2.2rem, 4.1vw, 4rem);
}

.scenes-intro > p {
  max-width: 420px;
  margin-top: 28px;
}

.signal-list {
  border-top: 1px solid var(--line);
}

.signal-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 18px;
  min-height: 154px;
  border-bottom: 1px solid var(--line);
  transition: padding 260ms var(--ease-out), background-color 260ms var(--ease-out);
}

.signal-row:hover {
  padding-inline: 16px;
  background: rgba(255, 255, 255, 0.42);
}

.signal-index {
  align-self: start;
  padding-top: 26px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.signal-row h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}

.signal-row p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.signal-arrow {
  color: var(--navy);
  font-size: 22px;
  transition: transform 260ms var(--ease-out);
}

.signal-row:hover .signal-arrow {
  transform: translate(3px, -3px);
}

.principles-section {
  padding-block: 132px;
  background: var(--navy);
  color: var(--paper-light);
}

.principles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(60px, 12vw, 180px);
  align-items: center;
}

.principles-statement {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 10% 32px 0;
}

.statement-mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(215, 184, 119, 0.7);
  border-radius: 50%;
  color: var(--sand);
  font-size: 27px;
  line-height: 1;
}

.principles-statement h2 {
  max-width: 600px;
  color: var(--paper-light);
  font-size: clamp(2.7rem, 5.3vw, 5.2rem);
}

.principles-statement p {
  margin: 22px 0 0;
  color: rgba(251, 250, 246, 0.68);
  font-size: 16px;
}

.principles-copy {
  border-top: 1px solid var(--line-light);
}

.principles-copy .section-kicker {
  margin: 26px 0 42px;
  color: var(--sand);
}

.principle-line {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid var(--line-light);
  padding-block: 20px;
}

.principle-line span {
  color: var(--sage-pale);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.principle-line p {
  margin: 0;
  color: rgba(251, 250, 246, 0.78);
  font-size: 15px;
}

.closing-section {
  padding-block: 108px;
  background: var(--sand);
}

.closing-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.closing-inner .section-kicker {
  color: rgba(30, 46, 55, 0.65);
}

.closing-inner h2 {
  margin-top: 18px;
  color: var(--navy);
  font-size: clamp(2.5rem, 6vw, 5.6rem);
}

.site-footer {
  background: var(--sand);
}

.footer-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(30, 46, 55, 0.16);
  color: rgba(30, 46, 55, 0.68);
  font-size: 12px;
}

.footer-brand {
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}

.footer-brand img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.footer-inner p {
  margin: 0;
}

.footer-meta {
  color: rgba(30, 46, 55, 0.52);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 130ms;
}

@media (hover: hover) and (pointer: fine) {
  .button-primary:hover,
  .nav-cta:hover {
    background: var(--navy-soft);
  }

  .button-secondary:hover {
    border-color: var(--navy);
    background: rgba(255, 255, 255, 0.4);
  }

  .button-light:hover {
    background: #ffffff;
  }
}

@media (max-width: 980px) {
  .primary-navigation {
    gap: 22px;
  }

  .nav-link {
    font-size: 13px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  }

  .hero-visual {
    min-height: 540px;
  }

  .hero-art {
    width: min(116%, 630px);
  }

  .preview-body {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .workspace-columns {
    grid-template-columns: 1fr;
  }

  .insight-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
  }

  .insight-panel .progress-visual {
    grid-row: span 2;
    margin-top: 24px;
  }

  .insight-panel .bar-chart {
    margin-top: 24px;
  }

  .insight-panel .chart-days {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, 620px);
  }

  .header-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    visibility: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    background: rgba(251, 250, 246, 0.98);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 220ms var(--ease-out);
  }

  .primary-navigation.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-link {
    padding: 12px 10px;
  }

  .nav-link::after {
    right: auto;
    bottom: 7px;
    left: 10px;
    width: 24px;
  }

  .nav-cta {
    min-height: 44px;
    margin-top: 6px;
  }

  .hero-layout {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 74px 78px;
  }

  .hero-copy {
    padding-block: 0;
  }

  .eyebrow {
    margin-bottom: 26px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 11vw, 4.8rem);
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-visual {
    min-height: min(94vw, 520px);
    margin-top: 12px;
  }

  .hero-art {
    width: 112%;
  }

  .hero-note {
    right: 2%;
    bottom: 7%;
  }

  .preview-section,
  .scenes-section,
  .principles-section {
    padding-block: 86px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading-row,
  .scenes-layout,
  .principles-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading-row {
    margin-top: 16px;
  }

  .section-heading h2 {
    font-size: clamp(2.1rem, 9vw, 3.5rem);
  }

  .product-preview {
    border-radius: 16px;
  }

  .preview-topbar {
    grid-template-columns: 1fr auto;
  }

  .preview-address {
    display: none;
  }

  .preview-body {
    display: block;
    min-height: 0;
  }

  .preview-sidebar {
    display: block;
    border-right: 0;
    border-bottom: 1px solid rgba(30, 46, 55, 0.1);
    padding: 18px;
  }

  .preview-nav-label,
  .sidebar-bottom {
    display: none;
  }

  .preview-tabs {
    display: flex;
    gap: 6px;
    margin-top: 16px;
    overflow-x: auto;
  }

  .preview-tab {
    min-width: max-content;
    padding-inline: 12px;
  }

  .preview-content {
    padding: 30px 18px 30px;
  }

  .workspace-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .quiet-button {
    width: 100%;
  }

  .metric-row {
    gap: 12px;
    margin-top: 34px;
  }

  .metric-block {
    display: block;
  }

  .metric-block strong {
    display: block;
    margin-top: 3px;
  }

  .metric-trend {
    display: none;
  }

  .workspace-columns {
    margin-top: 30px;
  }

  .focus-panel,
  .insight-panel {
    padding: 18px;
  }

  .insight-panel {
    display: block;
  }

  .insight-panel .progress-visual {
    margin-top: 22px;
  }

  .insight-panel .bar-chart {
    margin-top: 28px;
  }

  .insight-panel .chart-days {
    display: grid;
  }

  .scenes-intro {
    position: static;
  }

  .scenes-intro h2 {
    margin-top: 16px;
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .scenes-intro > p {
    margin-top: 20px;
  }

  .signal-row {
    grid-template-columns: 40px minmax(0, 1fr) 22px;
    min-height: 130px;
    gap: 12px;
  }

  .signal-row:hover {
    padding-inline: 8px;
  }

  .signal-row h3 {
    font-size: 18px;
  }

  .signal-row p {
    font-size: 13px;
  }

  .principles-statement {
    min-height: auto;
    padding: 0;
  }

  .principles-statement h2 {
    font-size: clamp(2.7rem, 12vw, 4.5rem);
  }

  .principle-line {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .closing-section {
    padding-block: 72px;
  }

  .closing-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 28px;
  }

  .closing-inner h2 {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  .button-light {
    align-self: flex-start;
  }

  .footer-inner {
    min-height: 120px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }

  .footer-meta {
    margin-top: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

