:root {
  color-scheme: light;
  --ink: #1f2725;
  --muted: #63716d;
  --paper: #f8faf6;
  --surface: #ffffff;
  --surface-soft: #eef5ef;
  --line: #d9e2d9;
  --green: #1f6b59;
  --green-dark: #15483e;
  --blue: #245f78;
  --copper: #a46f4a;
  --amber: #d99b3d;
  --shadow: 0 18px 50px rgba(31, 39, 37, 0.14);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(248, 250, 246, 0.9);
  border-bottom: 1px solid rgba(217, 226, 217, 0.85);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

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

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

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  border-radius: 8px;
  padding: 8px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-soft);
  color: var(--green-dark);
  outline: none;
}

.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: clamp(72px, 8vw, 118px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(21, 72, 62, 0.94), rgba(31, 107, 89, 0.8) 46%, rgba(31, 39, 37, 0.24)),
    url("assets/promanage-dashboard-light.png") center / cover no-repeat;
  color: #fff;
}

.hero-copy {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3c178;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.22;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  line-height: 1.4;
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions,
.contact-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  background: var(--amber);
  color: #1f2725;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.contact-panel .button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--green-dark);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(31, 39, 37, 0.16);
  outline: none;
}

.button.full {
  width: 100%;
}

.hero-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section.compact {
  padding-top: clamp(46px, 6vw, 72px);
}

.section > * {
  max-width: var(--max);
  margin-inline: auto;
}

.section-head {
  margin-bottom: 28px;
}

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

.tinted {
  background: linear-gradient(180deg, #eef5ef, #f8faf6);
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: start;
}

.body-large {
  margin: 0;
  color: #33423f;
  font-size: 1.08rem;
}

.body-large.narrow {
  max-width: 820px;
  margin-bottom: 26px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--green-dark);
  font-weight: 800;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fit-card,
.policy-grid article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 30px rgba(31, 39, 37, 0.06);
}

.fit-card {
  padding: 20px;
}

.fit-card p,
.policy-grid p {
  margin: 0;
  color: var(--muted);
}

.caption {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.screen-stack {
  display: grid;
  gap: 18px;
}

figure {
  margin: 0;
}

.screen-feature,
.screen-grid figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.screen-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

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

.screen-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

figcaption {
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  min-height: 220px;
  border-top: 4px solid var(--green);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.step-list span,
.policy-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 900;
}

.step-list strong {
  display: block;
  margin-bottom: 8px;
  line-height: 1.45;
}

.step-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.policy-grid article {
  padding: 22px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 34px;
  align-items: center;
  padding: clamp(62px, 8vw, 98px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(21, 72, 62, 0.96), rgba(36, 95, 120, 0.9)),
    var(--green-dark);
  color: #fff;
}

.contact > * {
  max-width: var(--max);
}

.contact h2 {
  max-width: 720px;
}

.contact p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.contact .eyebrow {
  color: #f3c178;
}

.contact-panel {
  display: grid;
  padding: 22px;
  color: var(--ink);
}

.contact-panel dl {
  display: grid;
  gap: 12px;
  margin: 0 0 12px;
}

.contact-panel div {
  display: grid;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.contact-panel dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-panel dd {
  margin: 0;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #17201e;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 72vh;
    background:
      linear-gradient(180deg, rgba(21, 72, 62, 0.96), rgba(31, 107, 89, 0.82)),
      url("assets/promanage-dashboard-light.png") center / cover no-repeat;
  }

  .split,
  .contact,
  .section-head.row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .fit-grid,
  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .brand small {
    font-size: 0.66rem;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.4rem);
  }

  .feature-list,
  .fit-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
