:root {
  --bg: #f6f0e7;
  --paper: rgba(255, 251, 245, 0.78);
  --paper-strong: #fffaf4;
  --ink: #1f1d1a;
  --muted: #665f57;
  --line: rgba(38, 31, 22, 0.12);
  --gold: #b6844b;
  --gold-strong: #8f5f28;
  --rose: #d7644a;
  --forest: #25433d;
  --shadow: 0 20px 60px rgba(53, 31, 10, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 100, 74, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(182, 132, 75, 0.26), transparent 34%),
    linear-gradient(180deg, #f2ebdf 0%, #f9f5ee 42%, #efe5d9 100%);
  font-family: "M PLUS 1p", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.72;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(36, 28, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 28, 20, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 85%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar,
.hero-card,
.story-card,
.highlight-card,
.plan-card,
.table-wrap,
.workflow-step,
.proof-banner,
.faq-item,
.footer {
  backdrop-filter: blur(12px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.78);
  box-shadow: var(--shadow);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--forest);
  color: #f7efe5;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.brand-name,
.section-heading h2,
.hero-copy h1,
.plan-price,
.proof-banner h2 {
  font-family: "M PLUS 1p", "Hiragino Sans", "Yu Gothic", sans-serif;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.topbar-links {
  display: flex;
  gap: 18px;
}

.topbar-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
}

.hero {
  padding: 16px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
  gap: 26px;
  align-items: stretch;
  padding-top: 22px;
}

.hero-copy {
  padding: 24px 6px;
}

.eyebrow,
.section-kicker,
.card-label,
.pill,
.plan-ribbon {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 14px;
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero-copy h1 span {
  color: var(--rose);
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--rose), #b55b44);
  color: #fff8f2;
  box-shadow: 0 14px 30px rgba(183, 91, 68, 0.24);
}

.button-secondary {
  border-color: rgba(37, 67, 61, 0.24);
  background: rgba(255, 252, 247, 0.76);
  color: var(--forest);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 9px 12px;
  border: 1px solid rgba(37, 67, 61, 0.16);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.72);
  font-size: 13px;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-card-main {
  min-height: 260px;
  background:
    linear-gradient(160deg, rgba(37, 67, 61, 0.94), rgba(30, 47, 43, 0.9)),
    var(--paper);
  color: #f9f1e5;
}

.hero-card-main h2 {
  margin: 10px 0 12px;
  font-size: 34px;
  line-height: 1.26;
}

.hero-card-main p:last-child {
  color: rgba(249, 241, 229, 0.82);
  line-height: 1.7;
}

.hero-card-sub {
  display: grid;
  gap: 6px;
  background: rgba(255, 250, 244, 0.88);
}

.hero-card-sub.accent {
  border-color: rgba(183, 91, 68, 0.24);
  background: linear-gradient(180deg, rgba(255, 241, 235, 0.9), rgba(255, 250, 244, 0.9));
}

.metric {
  margin: 0;
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-card-sub strong {
  font-size: 28px;
}

.hero-card-sub span {
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 58px 0 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.24;
}

.story-grid,
.highlight-grid,
.plan-grid,
.workflow-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

.story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card,
.highlight-card,
.workflow-step,
.faq-item {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.story-card h3,
.highlight-card h3,
.workflow-step h3,
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.story-card p,
.highlight-card ul,
.workflow-step p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.92;
}

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

.highlight-card {
  min-height: 280px;
}

.highlight-card ul,
.plan-list {
  padding-left: 18px;
}

.highlight-card li,
.plan-list li {
  margin-bottom: 10px;
}

.highlight-card-pro {
  background:
    linear-gradient(180deg, rgba(255, 243, 236, 0.92), rgba(255, 250, 244, 0.92)),
    var(--paper);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(37, 67, 61, 0.1);
  color: var(--forest);
  font-size: 11px;
  font-weight: 700;
}

.pill-pro {
  background: rgba(183, 91, 68, 0.12);
  color: #a14933;
}

.plan-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.plan-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.plan-card-pro {
  border-color: rgba(183, 91, 68, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 238, 231, 0.92), rgba(255, 250, 244, 0.98)),
    var(--paper-strong);
}

.plan-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--forest);
  color: #f7efe5;
  font-size: 11px;
  font-weight: 700;
}

.plan-top {
  padding-right: 110px;
}

.plan-name {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.plan-price {
  margin: 8px 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.98;
}

.plan-copy {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.88;
}

.plan-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--gold-strong);
  font-size: 14px;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

thead th {
  background: rgba(37, 67, 61, 0.06);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(183, 91, 68, 0.12);
  color: var(--rose);
  font-weight: 800;
}

.workflow-step h3 {
  margin-top: 18px;
}

.proof-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(37, 67, 61, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(37, 67, 61, 0.95), rgba(58, 75, 53, 0.86)),
    var(--paper);
  color: #f7efe3;
  box-shadow: var(--shadow);
}

.proof-banner p:last-child {
  align-self: end;
  margin: 0;
  color: rgba(247, 239, 227, 0.82);
  line-height: 1.95;
}

.proof-banner .section-kicker {
  color: #f2c996;
}

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

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.84);
  box-shadow: var(--shadow);
}

.footer-brand {
  margin: 0 0 6px;
  font-weight: 800;
}

.footer p:last-child {
  margin: 0;
  color: var(--muted);
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-actions {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.legal-shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.subpage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.78);
  box-shadow: var(--shadow);
}

.subpage-topbar a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.legal-hero,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.legal-hero {
  margin-bottom: 18px;
  padding: 28px;
}

.legal-hero h1 {
  margin: 10px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
}

.legal-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.legal-card {
  margin-bottom: 18px;
  padding: 24px;
}

.legal-card h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.legal-card h3 {
  margin: 20px 0 10px;
  font-size: 20px;
}

.legal-card p,
.legal-card li,
.legal-card dd {
  color: var(--muted);
  line-height: 1.8;
}

.legal-card ul {
  margin: 0;
  padding-left: 18px;
}

.legal-card dl {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 14px 18px;
  margin: 0;
}

.legal-card dt {
  font-weight: 700;
}

.legal-card dd {
  margin: 0;
}

.note-box {
  padding: 16px 18px;
  border: 1px solid rgba(183, 91, 68, 0.22);
  border-radius: 18px;
  background: rgba(255, 241, 235, 0.88);
}

.placeholder {
  font-weight: 700;
  color: var(--rose);
}

@media (max-width: 960px) {
  .hero-grid,
  .story-grid,
  .highlight-grid,
  .plan-grid,
  .workflow-grid,
  .faq-list,
  .proof-banner,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
  }

  .footer-actions {
    justify-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .plan-top {
    padding-right: 0;
  }

  .legal-card dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-links {
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero-copy {
    padding: 10px 2px;
  }

  .lead {
    font-size: 16px;
  }

  .section {
    padding-top: 42px;
  }

  .hero-card,
  .story-card,
  .highlight-card,
  .plan-card,
  .workflow-step,
  .faq-item,
  .proof-banner {
    border-radius: 20px;
  }
}
