:root {
  --paper: #f7f8f4;
  --surface: #ffffff;
  --ink: #16201d;
  --muted: #5f6b66;
  --line: #d9ded7;
  --green: #1d6b57;
  --green-dark: #12483b;
  --blue: #245d8f;
  --amber: #a96322;
  --shadow: 0 20px 48px rgba(22, 32, 29, .12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 244, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--ink); }
.store-link {
  color: var(--green-dark);
  border: 1px solid #b8ccc5;
  background: #eef7f3;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}
.button.primary { background: var(--green); color: #fff; box-shadow: 0 12px 26px rgba(29, 107, 87, .22); }
.button.secondary { background: var(--surface); color: var(--green-dark); border-color: #b8ccc5; }

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(247, 248, 244, .90), rgba(247, 248, 244, .97));
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 248, 244, .92) 0%, rgba(247, 248, 244, .82) 42%, rgba(247, 248, 244, .60) 100%);
  z-index: 0;
}
.hero-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 96px 40px 40px;
  opacity: .16;
}
.product-frame {
  width: min(980px, 96vw);
  border: 1px solid #cfd7d2;
  background: #eef2ed;
  box-shadow: var(--shadow);
  transform: translateX(12%) rotate(-1.5deg);
}
.window-bar { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid #cfd7d2; background: #e3e9e4; }
.window-bar span { width: 11px; height: 11px; border-radius: 50%; background: #9aa69f; }
.app-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; padding: 22px; }
.file-stack, .settings-pane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.file-row { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid #ecf0eb; }
.file-row:last-child { border-bottom: 0; }
.file-row b { font-weight: 700; }
.file-row span { color: var(--blue); font-weight: 800; }
.settings-pane { display: grid; gap: 14px; }
.settings-pane div:not(.meter) { display: grid; gap: 2px; }
.settings-pane small { color: var(--muted); font-size: 12px; }
.settings-pane strong { font-size: 15px; }
.meter { height: 10px; background: #e2e7e3; border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--green), var(--amber)); }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 92px 0 72px;
  padding: 32px 36px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(217, 222, 215, .92);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(22, 32, 29, .10);
  backdrop-filter: blur(8px);
}
.kicker { color: var(--green); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
h1 { font-size: clamp(54px, 9vw, 112px); line-height: .95; margin: 16px 0 20px; letter-spacing: 0; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.14; margin: 0; letter-spacing: 0; }
h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.35; }
.lead {
  font-size: clamp(18px, 2vw, 22px);
  max-width: 700px;
  color: #13211d;
  font-weight: 600;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.note { color: #44514c; font-size: 13px; margin: 0; }

.proof-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.proof-grid div { background: var(--surface); padding: 22px; display: grid; gap: 2px; }
.proof-grid strong { font-size: 17px; }
.proof-grid span { color: var(--muted); font-size: 13px; }

.section { padding: 72px 0; }
.section.muted { background: #edf1ea; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .95fr 1.05fr; gap: 36px; align-items: end; margin-bottom: 26px; }
.section p { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 10px 26px rgba(22, 32, 29, .06); }
.label { display: inline-flex; color: var(--blue); font-size: 12px; font-weight: 800; margin-bottom: 12px; }

.workflow-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.steps { counter-reset: item; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: item;
  display: grid;
  grid-template-columns: 52px 110px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.steps li::before {
  content: counter(item);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}
.steps span { color: var(--muted); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center; }
.check-panel { background: var(--green-dark); color: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.check-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-panel li { padding-left: 28px; position: relative; }
.check-panel li::before { content: "✓"; position: absolute; left: 0; font-weight: 900; color: #9ee2cb; }

.caution { background: #fff7ed; border: 1px solid #e8d0b9; border-radius: var(--radius); padding: 28px; }
.caution h2 { font-size: 28px; color: #633a16; margin-bottom: 10px; }
.caution p + p { margin-top: 12px; }

.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); background: var(--surface); }
.footer-grid { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

.page { padding: 72px 0; }
.legal-box { max-width: 880px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: 0 10px 26px rgba(22, 32, 29, .06); }
.legal-box h1 { font-size: clamp(34px, 5vw, 56px); }
.legal-box h2 { font-size: 26px; margin-top: 34px; }
.legal-box p, .legal-box li { color: #2b3b36; }
.legal-box a { color: var(--blue); text-decoration: underline; }

@media (max-width: 900px) {
  .hero-content { padding: 24px 20px; margin: 84px 0 40px; }
  .nav-links { display: none; }
  .hero { min-height: 720px; }
  .hero-visual { opacity: .12; padding: 110px 14px 20px; }
  .product-frame { transform: translateY(70px) rotate(-1deg); }
  .app-grid, .section-head, .workflow-layout, .split { grid-template-columns: 1fr; }
  .proof-grid, .cards { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 44px 1fr; }
  .steps span { grid-column: 2; }
}
