:root {
  --ink: #17211f;
  --muted: #596763;
  --paper: #f7f9f7;
  --surface: #ffffff;
  --line: #d8dfdc;
  --green: #116149;
  --green-dark: #0a4534;
  --yellow: #f2c14e;
  --coral: #d9664f;
  --blue: #3178a5;
  --radius: 8px;
  --shadow: 0 14px 34px rgba(23, 33, 31, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--green-dark);
}

.skip-link:focus { top: 12px; }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 249, 247, 0.96);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.brand span { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  font-size: 22px;
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 112px);
  padding: 52px 0 36px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; line-height: 1.15; }
h1 { max-width: 720px; margin-bottom: 20px; font-size: 62px; letter-spacing: 0; }
h2 { margin-bottom: 18px; font-size: 34px; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 18px; }

.lede { max-width: 650px; margin: 0 0 24px; color: var(--muted); font-size: 19px; }

.price-row { display: flex; align-items: end; gap: 14px; margin-bottom: 22px; }
.price { font-size: 34px; font-weight: 850; line-height: 1; }
.price-note { color: var(--muted); font-size: 14px; }

.status-button {
  min-height: 46px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  color: #fff;
  background: var(--green);
  font-weight: 750;
  text-decoration: none;
}

.status-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.78;
}

.fine-print { max-width: 570px; margin: 14px 0 0; color: var(--muted); font-size: 13px; }

.hero-visual { position: relative; }
.hero-visual::before {
  content: "Actual workflow structure";
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 4px;
  color: #fff;
  background: rgba(10, 69, 52, 0.92);
  font-size: 12px;
  font-weight: 750;
}
.hero-visual img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.trust-strip { border-bottom: 1px solid var(--line); background: #eef4f1; }
.trust-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-item { font-size: 14px; font-weight: 760; }
.trust-item span { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }

.section { padding: 76px 0; }
.section.alt { border-block: 1px solid var(--line); background: var(--surface); }
.container { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading p { color: var(--muted); }

.workflow-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.workflow-card, .feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.workflow-card { padding: 24px; border-top: 4px solid var(--green); }
.workflow-card:nth-child(2) { border-top-color: var(--yellow); }
.workflow-card:nth-child(3) { border-top-color: var(--coral); }
.workflow-number { color: var(--muted); font-size: 12px; font-weight: 800; }
.workflow-card p, .feature p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.feature { min-height: 170px; padding: 22px; }
.feature-mark { width: 28px; height: 5px; margin-bottom: 22px; background: var(--blue); }

.contents { display: grid; grid-template-columns: 1fr 0.75fr; gap: 48px; align-items: start; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.spec-box { padding: 24px; border-left: 5px solid var(--green); background: #eef4f1; }
.spec-box dl { margin: 0; }
.spec-box div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid #ccd9d3; }
.spec-box div:last-child { border-bottom: 0; }
.spec-box dt { color: var(--muted); font-size: 13px; }
.spec-box dd { margin: 0; font-size: 14px; font-weight: 700; }

.boundary { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--surface); }
.boundary > div { padding: 30px; }
.boundary > div + div { border-left: 1px solid var(--line); }
.boundary ul { margin: 0; padding-left: 20px; color: var(--muted); }
.boundary li + li { margin-top: 8px; }

.refund-banner { padding: 28px; border: 2px solid var(--coral); border-radius: var(--radius); background: #fff8f6; }
.refund-banner p:last-child { margin-bottom: 0; }

.purchase-section { color: #fff; background: var(--green-dark); }
.purchase-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.purchase-section h2 { margin-bottom: 12px; }
.purchase-section p { margin: 0; color: #d7e7e1; }
.purchase-section .status-button { color: var(--green-dark); background: #fff; border-color: #fff; }

.legal-main { padding: 64px 0 90px; }
.legal-content { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.legal-content h1 { font-size: 44px; }
.legal-content h2 { margin-top: 42px; font-size: 25px; }
.legal-content h3 { margin-top: 28px; }
.legal-content p, .legal-content li { color: #384641; }
.legal-content li + li { margin-top: 7px; }
.notice { padding: 18px; border-left: 5px solid var(--yellow); background: #fff9e9; }
.placeholder { color: #9b3f2e; font-weight: 800; }

.support-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 42px; }
.support-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.support-panel code { overflow-wrap: anywhere; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { width: min(1100px, calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.footer-note { max-width: 560px; margin: 0; color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { max-width: 720px; }
  .workflow-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .contents, .support-layout { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav { width: min(100% - 28px, 1180px); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    padding: 16px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
  }
  .nav-links.open { display: flex; }
  .hero { padding: 26px 0 18px; }
  .hero-inner, .container, .trust-inner, .footer-inner { width: min(100% - 28px, 1180px); }
  .hero-inner { gap: 18px; }
  h1 { font-size: 42px; }
  h2 { font-size: 29px; }
  .hero h1 { margin-bottom: 14px; }
  .lede { margin-bottom: 16px; font-size: 16px; }
  .price-row { margin-bottom: 16px; }
  .fine-print { margin-top: 10px; }
  .hero-visual img { height: 150px; object-fit: cover; object-position: center; }
  .workflow-grid, .feature-grid, .trust-inner { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .boundary { grid-template-columns: 1fr; }
  .boundary > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .purchase-inner { grid-template-columns: 1fr; }
  .purchase-inner .status-button { width: 100%; }
  .footer-inner { flex-direction: column; }
  .spec-box div { grid-template-columns: 1fr; gap: 2px; }
  .legal-content h1 { font-size: 38px; }
}

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