:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #5d6964;
  --paper: #f7f4ed;
  --surface: #ffffff;
  --line: #d9d4c9;
  --line-strong: #bdb5a6;
  --accent: #1f6f5b;
  --accent-dark: #0e4337;
  --gold: #b48a42;
  --blue: #264e73;
  --danger: #8f3d35;
  --shadow: 0 24px 70px rgba(23, 33, 29, 0.12);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(23, 33, 29, 0.12);
  background: rgba(247, 244, 237, 0.88);
  backdrop-filter: blur(18px);
}

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

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

.brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.brand strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.brand span {
  color: var(--muted);
  font-size: 0.76rem;
}

.menu-button {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 0 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav .nav-cta {
  margin-left: 6px;
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(247, 244, 237, 0.98) 0%, rgba(247, 244, 237, 0.88) 46%, rgba(247, 244, 237, 0.1) 100%),
    url("workspace-system.svg") center right / cover no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 64px 0 72px;
}

.hero-copy {
  max-width: 720px;
  animation: rise 700ms ease both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: 0.9;
}

.hero-text {
  max-width: 650px;
  margin: 28px 0 0;
  color: #38443f;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.6;
}

.jp-line {
  color: var(--accent-dark);
  font-weight: 700;
}

.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 var(--ink);
  padding: 0 18px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
}

.button.ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

main {
  overflow: hidden;
}

.section {
  padding: clamp(72px, 10vw, 132px) 0;
  border-bottom: 1px solid var(--line);
}

.section.alt {
  background: #fffaf1;
}

.section.dark {
  background: #101815;
  color: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.dark .section-heading p,
.dark .muted,
.dark .item p {
  color: #beb6a6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.item {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  transition: background 180ms ease, transform 180ms ease;
}

.item:hover {
  background: rgba(255, 255, 255, 0.76);
  transform: translateY(-3px);
}

.item .num,
.price {
  color: var(--gold);
  font-weight: 800;
}

.item h3 {
  margin-top: 18px;
  font-size: 1.55rem;
  line-height: 1.1;
}

.item p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.demo-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.demo-row {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 0.7fr;
  gap: 1px;
  background: var(--line);
}

.demo-cell {
  background: var(--paper);
  padding: 28px;
}

.demo-cell h3 {
  font-size: 1.75rem;
}

.demo-cell p,
.demo-cell li {
  color: var(--muted);
  line-height: 1.6;
}

.demo-cell ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  border: 1px solid var(--line-strong);
  padding: 6px 9px;
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 750;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.sticky-note {
  position: sticky;
  top: 104px;
  border-left: 3px solid var(--accent);
  padding-left: 22px;
}

.sticky-note h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1;
}

.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.step strong {
  color: var(--accent-dark);
}

.step p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(237, 231, 220, 0.22);
  border: 1px solid rgba(237, 231, 220, 0.22);
}

.price-panel {
  min-height: 260px;
  padding: 28px;
  background: #111c18;
}

.price-panel h3 {
  margin-top: 20px;
  font-size: 1.4rem;
}

.price-panel p {
  color: #beb6a6;
  line-height: 1.6;
}

.page-hero {
  padding: clamp(74px, 10vw, 132px) 0 clamp(58px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(3rem, 7vw, 6.2rem);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.request-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.request-panel > * {
  background: var(--surface);
  padding: clamp(28px, 5vw, 54px);
}

.field-list {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 750;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fffdfa;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.footer {
  padding: 46px 0;
  background: #0d1412;
  color: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer a {
  color: #d7cbae;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal][data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    position: absolute;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    padding: 10px 16px 16px;
  }

  .nav[data-open] {
    display: flex;
  }

  .nav a {
    justify-content: space-between;
  }

  .nav .nav-cta {
    margin-left: 0;
    margin-top: 6px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(247, 244, 237, 0.98) 0%, rgba(247, 244, 237, 0.9) 62%, rgba(247, 244, 237, 0.3) 100%),
      url("workspace-system.svg") center bottom / 150% auto no-repeat;
  }

  .hero-inner {
    padding: 52px 0 210px;
  }

  .section-heading,
  .split,
  .request-panel {
    grid-template-columns: 1fr;
  }

  .grid,
  .pricing {
    grid-template-columns: 1fr 1fr;
  }

  .demo-row {
    grid-template-columns: 1fr;
  }

  .sticky-note {
    position: static;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .section-inner,
  .hero-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand strong {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .actions,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .grid,
  .pricing {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .item,
  .demo-cell,
  .price-panel {
    padding: 22px;
  }
}

