:root {
  --ink: #0f172a;
  --muted: #526176;
  --line: #d8e2ee;
  --paper: #f7fafc;
  --white: #ffffff;
  --teal: #2dd4bf;
  --teal-dark: #0f766e;
  --orange: #f97316;
  --blue: #2563eb;
  --shadow: 0 18px 45px rgba(15, 23, 42, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(216, 226, 238, .92);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}
.brand img { border-radius: 12px; box-shadow: 0 10px 24px rgba(15, 23, 42, .16); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); color: var(--muted); font-size: 14px; font-weight: 800; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--ink); }
.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 24px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1f2933;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .64;
  filter: saturate(.9) contrast(1.02);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 31, 37, .92), rgba(23, 31, 37, .54) 58%, rgba(23, 31, 37, .14));
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 32px));
  margin: 0 clamp(18px, 6vw, 82px) clamp(70px, 12vh, 138px);
  color: var(--white);
}
.eyebrow, .label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 12px;
  color: #083b36;
  background: #ccfbf1;
  border: 1px solid rgba(45, 212, 191, .55);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
h1, h2, h3, p { margin-top: 0; overflow-wrap: anywhere; word-break: normal; line-break: strict; }
h1 { margin-top: 18px; margin-bottom: 0; font-size: clamp(42px, 8vw, 96px); line-height: .96; letter-spacing: 0; }
.lead { width: min(700px, 100%); max-width: none; margin-top: 24px; margin-bottom: 0; color: rgba(255, 255, 255, .9); font-size: clamp(17px, 2.2vw, 23px); line-height: 1.8; font-weight: 800; }
.hero-actions, .download, .tool-grid, .site-footer { display: flex; align-items: center; }
.hero-actions { flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 7px;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
  line-height: 1.35;
  border: 1px solid transparent;
}
.button.primary { color: #2f2b25; background: #f4b860; box-shadow: 0 8px 0 rgba(15, 23, 42, .22); }
.button.primary:hover { background: #ffc86c; }
.button.secondary { color: var(--ink); background: var(--white); border-color: rgba(255, 255, 255, .76); box-shadow: 0 8px 0 rgba(15, 23, 42, .16); }
.button.secondary:hover { background: #f8fafc; }
.button.large { min-height: 58px; padding-inline: 30px; }
.intro, .features, .workflow, .download, .tools, .notes, .release { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.intro { display: grid; grid-template-columns: minmax(260px, .95fr) 1.05fr; gap: 34px; padding: 72px 0 34px; }
.intro h2, .workflow h2, .download h2, .section-head h2 { margin: 14px 0 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.22; }
.intro p, .workflow-copy p, .download p { color: var(--muted); font-size: 16px; line-height: 2; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 32px 0 58px; }
.features article { min-height: 210px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 26px rgba(15, 23, 42, .06); }
.features article.with-image { grid-column: span 2; }
.number { display: block; margin-bottom: 20px; color: var(--orange); font-weight: 900; }
.features h3 { margin-bottom: 10px; font-size: 19px; }
.features p { color: var(--muted); line-height: 1.85; }
.feature-image { display: block; width: 100%; margin-top: 16px; border: 1px solid rgba(15, 23, 42, .14); border-radius: 6px; }
.mini-ui {
  display: grid;
  grid-template-columns: max-content 54px 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  font-weight: 800;
}
.mini-ui strong { display: inline-grid; place-items: center; min-height: 30px; color: #062a26; background: var(--teal); border-radius: 6px; }
.mini-ui em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #cbd5e1; font-style: normal; }
.workflow { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center; padding: 44px 0 72px; }
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 22px rgba(15, 23, 42, .05); font-weight: 800; }
.steps span { display: inline-grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; color: var(--white); background: var(--blue); border-radius: 50%; }
.download { justify-content: space-between; gap: 24px; margin-bottom: 70px; padding: 28px; color: var(--white); background: #0f172a; border-radius: 8px; box-shadow: var(--shadow); }
.download div { display: grid; grid-template-columns: 76px 1fr; column-gap: 18px; align-items: center; }
.download img { grid-row: span 2; border-radius: 18px; }
.download h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.download p { grid-column: 2; margin: 6px 0 0; color: #cbd5e1; }
.download-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--paper); }
.download-wait { width: min(560px, 100%); padding: 34px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 45px rgba(15, 23, 42, .1); }
.download-wait img { border-radius: 18px; }
.download-wait h1 { margin-top: 18px; margin-bottom: 0; font-size: clamp(42px, 8vw, 96px); line-height: .96; letter-spacing: 0; }
.download-wait p { margin: 0 0 24px; color: var(--muted); line-height: 1.8; }
.tools { padding-bottom: 72px; }
.section-head { margin-bottom: 24px; }
.tool-grid { gap: 14px; }
.tool-grid a { flex: 1 1 0; min-height: 118px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; box-shadow: 0 10px 26px rgba(15, 23, 42, .06); }
.tool-grid a:hover { border-color: var(--teal); transform: translateY(-2px); }
.tool-grid strong, .tool-grid span { display: block; }
.tool-grid strong { margin-bottom: 10px; font-size: 18px; }
.tool-grid span { color: var(--muted); }
.notes { padding: 0 0 64px; }
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.note-grid article { min-height: 160px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 26px rgba(15, 23, 42, .06); }
.note-grid h3 { margin-bottom: 10px; font-size: 18px; }
.note-grid p { color: var(--muted); line-height: 1.85; }
.release { display: grid; grid-template-columns: .34fr 1fr; gap: 24px; padding: 0 0 74px; }
.release h2 { margin: 14px 0 0; font-size: clamp(28px, 4vw, 40px); }
.release ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.release li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 26px rgba(15, 23, 42, .06); }
.release strong { color: var(--orange); }
.release span { color: var(--muted); line-height: 1.85; }
.site-footer { justify-content: space-between; gap: 16px; padding: 24px clamp(20px, 4vw, 56px); color: #cbd5e1; background: #0a1222; font-size: 14px; }
.site-footer p { margin: 0; }
@media (max-width: 920px) {
  .intro, .workflow { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .features article.with-image { grid-column: span 2; }
  .note-grid, .release { grid-template-columns: 1fr; }
  .download, .tool-grid { align-items: stretch; flex-direction: column; }
}
@media (max-width: 640px) {
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
  .nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 16px; font-size: 13px; }
  .hero { min-height: 720px; }
  .hero::after { background: linear-gradient(180deg, rgba(23, 31, 37, .50), rgba(23, 31, 37, .92)); }
  .hero-copy { width: min(100% - 32px, 780px); margin-inline: 18px; margin-bottom: 56px; }
  .lead { max-width: 100%; }
  .hero-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .intro h2, .workflow h2, .download h2, .section-head h2 { font-size: clamp(26px, 8vw, 34px); }
  .features { grid-template-columns: 1fr; }
  .features article.with-image { grid-column: auto; }
  .release li { grid-template-columns: 1fr; }
  .download div { grid-template-columns: 1fr; }
  .download p { grid-column: auto; }
  .mini-ui { grid-template-columns: 1fr; }
}