:root {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.landing {
  margin: 0;
}

.page-shell {
  --bg: #f7f8fb;
  --ink: #172033;
  --muted: #4f6075;
  --line: #dfe5ee;
  --brand: #d90b1c;
  --brand-dark: #9c0714;
  --accent: #16675a;
  --panel: #ffffff;
  --soft: #fff4f0;
  background:
    radial-gradient(circle at 12% 0%, rgba(217, 11, 28, 0.07), transparent 28rem),
    linear-gradient(180deg, #fff 0%, var(--bg) 48%, #fff 100%);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Yu Gothic", Meiryo, "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.56;
  min-height: 100vh;
}

a {
  color: #075da8;
}

.top-bar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 238, 0.72);
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 0 auto;
  padding: 11px max(34px, calc((100% - 1312px) / 2));
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10;
}

.brand-link {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 17px;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-link img,
.footer-brand img {
  border-radius: 7px;
  display: block;
  object-fit: cover;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  min-width: 0;
}

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

.nav-links a:hover,
.site-footer a:hover,
.secondary-cta:hover {
  color: var(--brand);
  text-decoration: underline;
}

.price-badge {
  background: #fff7dd;
  border: 1px solid #d69f24;
  border-radius: 999px;
  color: #4c2f00;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 12px;
  white-space: nowrap;
}

.hero,
.section,
.workflow,
.screen-section,
.suite-section,
.problem-section,
.pricing,
.faq,
.final-cta,
.intent-band,
.proof-strip,
.public-hero,
.public-section,
.site-footer {
  margin: 0 auto;
  max-width: 1312px;
  width: min(calc(100% - 48px), 1312px);
}

.hero {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  max-width: 1420px;
  padding: 40px 0 26px;
  width: min(calc(100% - 48px), 1420px);
}

.hero-copy h1,
.section-head h2,
.final-cta h2,
.public-hero h1 {
  letter-spacing: 0;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(31px, 3.1vw, 46px);
  font-weight: 900;
  line-height: 1.2;
  max-width: 940px;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-copy h1 > span {
  color: var(--brand);
  display: block;
  font-weight: 900;
}

.hero-copy h1 .hero-line {
  color: var(--ink);
}

.hero-copy h1 .shopping-line {
  color: var(--brand);
}

.eyebrow {
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.hero-eyebrow {
  align-items: center;
  background: #fff2d2;
  border: 1px solid #e2bd62;
  border-radius: 999px;
  color: #654000;
  display: inline-flex;
  font-size: 15px;
  margin: 0 0 14px;
  padding: 7px 13px;
}

.lead {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.72;
  margin: 18px 0 0;
  max-width: 780px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 24px;
}

.primary-cta,
.secondary-cta {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
}

.primary-cta {
  background: var(--brand);
  color: #fff;
}

.secondary-cta {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-pricing {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0 0;
  max-width: 820px;
}

.hero-pricing article,
.proof-strip article,
.intent-band article,
.problem-grid article,
.feature-grid article,
.suite-card,
.faq-list details,
.policy-cards a,
.guide-grid article,
.manual-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-pricing article {
  box-shadow: 0 14px 30px rgba(32, 39, 54, 0.08);
  padding: 15px 16px;
}

.hero-pricing span,
.suite-card small,
.intent-band span,
.proof-strip span {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-pricing strong {
  color: var(--brand);
  display: block;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.hero-pricing p,
.pricing-message,
.section-head p,
.problem-grid p,
.feature-grid p,
.steps p,
.faq-list p,
.final-cta p,
.suite-card p,
.public-hero p,
.public-section p,
.manual-block p,
.guide-grid p {
  color: var(--muted);
}

.hero-pricing p {
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 0;
}

.pricing-message {
  font-size: 14px;
  font-weight: 800;
  margin: 12px 0 0;
}

.hero-panel {
  background: #172235;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(22, 32, 51, 0.24);
  padding: 16px;
}

.preview-top {
  align-items: center;
  background: #111827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px 12px 0 0;
  color: #fff;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.preview-top strong {
  font-size: 15px;
  font-weight: 800;
}

.preview-top span:last-child {
  color: #d2d9e5;
  font-size: 13px;
}

.window-dots {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.window-dots i {
  background: #f87171;
  border-radius: 999px;
  display: block;
  height: 9px;
  width: 9px;
}

.window-dots i:nth-child(2) {
  background: #fbbf24;
}

.window-dots i:nth-child(3) {
  background: #34d399;
}

.review-dashboard {
  background: #fff;
  border-radius: 0 0 16px 16px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.dashboard-brand {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
}

.dashboard-brand img {
  border-radius: 12px;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.dashboard-brand span {
  color: var(--accent);
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-brand strong {
  color: var(--ink);
  display: block;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.05;
}

.dashboard-brand small {
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.dashboard-brand p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin: 4px 0 0;
}

.score-bars {
  display: grid;
  gap: 8px;
}

.score-bars div {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 42px minmax(0, 1fr) 64px;
}

.score-bars span,
.score-bars b {
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.score-bars i {
  background: #e9eef5;
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
  position: relative;
}

.score-bars i::before {
  background: #f5b400;
  border-radius: inherit;
  content: "";
  display: block;
  height: 100%;
  width: var(--w);
}

.review-table {
  border: 1px solid #e8edf4;
  border-radius: 8px;
  overflow: hidden;
}

.review-table article {
  align-items: center;
  border-top: 1px solid #edf1f6;
  display: grid;
  gap: 10px;
  grid-template-columns: 70px 70px minmax(100px, 0.7fr) minmax(0, 1fr);
  padding: 10px 12px;
}

.review-table article:first-child {
  border-top: 0;
}

.review-table span {
  background: #e7f7ed;
  border-radius: 999px;
  color: #146c43;
  font-size: 11px;
  font-weight: 800;
  justify-self: start;
  padding: 4px 8px;
}

.review-table b {
  color: #f39200;
  font-size: 13px;
}

.review-table strong,
.review-table p {
  font-size: 13px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intent-band,
.proof-strip {
  display: grid;
  gap: 14px;
  padding: 0;
}

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

.proof-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.intent-band article,
.proof-strip article {
  border-top: 4px solid var(--brand);
  box-shadow: 0 12px 28px rgba(32, 39, 54, 0.06);
  padding: 16px;
}

.intent-band strong,
.proof-strip strong,
.problem-grid h3,
.feature-grid h3,
.suite-card strong,
.steps strong,
.faq-list summary {
  color: var(--ink);
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
}

.intent-band p,
.proof-strip p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.56;
  margin: 8px 0 0;
}

.section,
.workflow,
.screen-section,
.suite-section,
.problem-section,
.pricing,
.faq,
.final-cta {
  padding: 58px 0 0;
  scroll-margin-top: 86px;
}

.section-head {
  max-width: 1040px;
}

.section-head h2,
.final-cta h2,
.public-hero h1 {
  font-size: clamp(25px, 2.45vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  max-width: 1120px;
  overflow-wrap: normal;
  word-break: keep-all;
}

.section-head h2 span,
.final-cta h2 span {
  display: inline-block;
}

.section-head p:not(.eyebrow) {
  margin: 10px 0 0;
}

.problem-grid,
.feature-grid,
.suite-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

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

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

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

.problem-grid article,
.feature-grid article,
.suite-card {
  min-width: 0;
  padding: 18px;
  text-decoration: none;
}

.problem-grid article {
  border-top: 4px solid var(--accent);
}

.problem-grid p,
.feature-grid p,
.suite-card p {
  font-size: 14px;
  line-height: 1.58;
  margin: 8px 0 0;
}

.review-page-mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(32, 39, 54, 0.07);
  display: grid;
  gap: 16px;
  margin-top: 22px;
  padding: 18px;
}

.product-strip {
  align-items: center;
  border-bottom: 1px solid #edf1f6;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
  padding-bottom: 14px;
}

.product-strip img {
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

.product-strip strong {
  color: #075da8;
  display: block;
  font-size: 17px;
  line-height: 1.45;
}

.product-strip span {
  color: var(--muted);
  display: block;
  font-size: 13px;
}

.rating-summary {
  display: grid;
  gap: 18px;
  grid-template-columns: 170px minmax(0, 1fr);
}

.rating-summary > div:first-child span,
.rating-summary small {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.rating-summary strong {
  color: var(--ink);
  display: block;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
}

.rating-summary b {
  color: #f39200;
  display: block;
  letter-spacing: 1px;
}

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

.steps li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.steps span,
.guide-grid span {
  align-items: center;
  background: var(--soft);
  border-radius: 999px;
  color: var(--brand);
  display: inline-flex;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  margin-bottom: 10px;
  width: 30px;
}

.pricing-banner {
  background: #fffaf0;
  border: 1px solid #e0b957;
  border-radius: 8px;
  color: #563700;
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding: 13px 16px;
}

.pricing-banner strong {
  color: #3f2a00;
  font-size: 17px;
  font-weight: 800;
}

.pricing-banner span {
  font-size: 14px;
}

.price-compare {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 12px;
  overflow: hidden;
}

.price-compare.standalone {
  margin-top: 0;
}

.price-compare div {
  display: grid;
  gap: 12px;
  grid-template-columns: 0.9fr 1fr 1fr;
  padding: 11px 14px;
}

.price-compare div + div {
  border-top: 1px solid #edf1f6;
}

.price-compare div:first-child {
  background: #f8fafc;
}

.price-compare strong {
  color: var(--ink);
}

.price-compare span {
  color: var(--muted);
}

.faq-list,
.policy-cards {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.faq-list details {
  padding: 14px 18px;
}

.faq-list summary {
  cursor: pointer;
}

.final-cta {
  padding-bottom: 58px;
  text-align: center;
}

.final-cta p {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.policy-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
  text-align: left;
}

.policy-cards a {
  color: inherit;
  display: grid;
  gap: 6px;
  padding: 16px;
  text-decoration: none;
}

.policy-cards strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.policy-cards span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 42px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(160px, 1fr));
}

.footer-grid > div {
  align-content: start;
  display: grid;
  gap: 8px;
}

.footer-brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.footer-grid p,
.copyright {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.copyright {
  border-top: 1px solid #e8edf4;
  margin-top: 26px;
  padding-top: 16px;
}

.public-hero {
  padding: 54px 0 24px;
}

.public-hero h1 {
  max-width: 980px;
}

.public-hero p:not(.eyebrow) {
  color: var(--muted);
  max-width: 780px;
}

.public-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 54px;
  padding: 24px;
}

.public-section h2 {
  color: var(--ink);
  font-size: 20px;
  margin: 22px 0 8px;
}

.public-section h2:first-child {
  margin-top: 0;
}

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

.guide-grid article {
  padding: 16px;
}

.guide-grid h2 {
  font-size: 17px;
  margin: 0 0 8px;
}

.manual-block {
  margin-top: 18px;
  padding: 18px;
}

.code-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.code-list code {
  background: #f1f5f9;
  border: 1px solid #d9e2ec;
  border-radius: 6px;
  color: #334155;
  font-size: 13px;
  padding: 6px 8px;
}

.code-list a {
  background: #f8fafc;
  border: 1px solid #d9e2ec;
  border-radius: 6px;
  color: #0b5cab;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 8px;
  text-decoration: none;
}

.info-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.info-list div {
  border-top: 1px solid #edf1f6;
  display: grid;
  gap: 12px;
  grid-template-columns: 160px minmax(0, 1fr);
  padding: 12px 0;
}

.info-list div:first-child {
  border-top: 0;
}

.info-list dt {
  color: var(--ink);
  font-weight: 800;
}

.info-list dd {
  color: var(--muted);
  margin: 0;
}

.legal-eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 18px;
}

.legal-table {
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  display: grid;
  margin: 14px 0 24px;
  overflow: hidden;
}

.legal-table div {
  background: #fff;
  display: grid;
  gap: 12px;
  grid-template-columns: 210px minmax(0, 1fr);
  padding: 13px 16px;
}

.legal-table div + div {
  border-top: 1px solid #edf1f6;
}

.legal-table strong {
  color: var(--ink);
}

.legal-table span {
  color: var(--muted);
}

.sitemap-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 980px) {
  .top-bar {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 14px 24px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 26px;
  }

  .intent-band,
  .proof-strip,
  .problem-grid,
  .feature-grid,
  .suite-grid,
  .steps,
  .guide-grid,
  .policy-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .hero,
  .section,
  .workflow,
  .screen-section,
  .suite-section,
  .problem-section,
  .pricing,
  .faq,
  .final-cta,
  .intent-band,
  .proof-strip,
  .public-hero,
  .public-section,
  .site-footer {
    width: min(calc(100% - 28px), 1312px);
  }

  .hero-copy h1 {
    font-size: 29px;
    line-height: 1.22;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .section-head h2,
  .final-cta h2,
  .public-hero h1 {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .section-head h2 span,
  .final-cta h2 span {
    display: inline;
  }

  .lead {
    font-size: 16px;
  }

  .price-badge {
    white-space: normal;
  }

  .hero-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-cta,
  .secondary-cta {
    min-height: 48px;
    width: 100%;
  }

  .hero-panel {
    border-radius: 16px;
    padding: 10px;
  }

  .preview-top span:last-child {
    display: none;
  }

  .hero-pricing,
  .intent-band,
  .proof-strip,
  .problem-grid,
  .feature-grid,
  .suite-grid,
  .steps,
  .guide-grid,
  .policy-cards,
  .footer-grid,
  .rating-summary {
    grid-template-columns: 1fr;
  }

  .review-table article {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .review-table strong,
  .review-table p {
    white-space: normal;
  }

  .score-bars div {
    grid-template-columns: 42px minmax(0, 1fr) 58px;
  }

  .price-compare div {
    grid-template-columns: 1fr;
  }

  .info-list div {
    grid-template-columns: 1fr;
  }

  .legal-table div {
    grid-template-columns: 1fr;
  }
}
