:root {
  color-scheme: light;
}

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

body.landing {
  margin: 0;
  overflow-x: hidden;
}

.page-shell {
  --bg: #f7f8fb;
  --ink: #172033;
  --muted: #5f6f83;
  --line: #dfe5ee;
  --brand: #0b8068;
  --brand-dark: #075747;
  --accent: #8a4518;
  --gold: #f5b93f;
  --panel: #ffffff;
  --soft: #fff7dd;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 46%, #fff 100%);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.56;
  min-height: 100vh;
  overflow-x: hidden;
}

.top-bar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 238, 0.78);
  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 picture {
  display: block;
  height: 34px;
  width: 34px;
}

.brand-link img {
  border-radius: 6px;
  display: block;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

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

.nav-links a,
.footer-links a,
.copyright a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.header-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.price-badge,
.status-badge {
  background: var(--soft);
  border: 1px solid #e2b84d;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(186, 127, 12, 0.12);
  color: #4c2f00;
  font-size: 14px;
  font-weight: 800;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 8px 12px;
  white-space: nowrap;
}

.status-badge {
  background: #eef8f4;
  border-color: #9ad7c9;
  color: var(--brand-dark);
}

.hero,
.install-panel,
.section,
.public-page,
.workflow,
.screen-section,
.suite-section,
.pricing,
.faq,
.final-cta,
.intent-band {
  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.02fr) minmax(430px, 0.98fr);
  max-width: 1420px;
  padding: 42px 0 26px;
  width: min(calc(100% - 48px), 1420px);
}

.hero-copy,
.install-panel > *,
.public-page,
.screen-grid article,
.suite-card {
  min-width: 0;
}

.public-page {
  padding: 48px 0 0;
}

.public-page h1 {
  color: var(--ink);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 16px;
  max-width: 980px;
}

.public-page h2 {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.4;
  margin: 30px 0 10px;
}

.public-page p,
.public-page li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.public-page p {
  margin: 0 0 12px;
  max-width: 980px;
}

.public-page a {
  color: var(--brand-dark);
  font-weight: 800;
}

.public-page ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  max-width: 980px;
  padding-left: 1.25rem;
}

.legal-eyebrow {
  color: var(--brand-dark) !important;
  font-size: 14px !important;
  font-weight: 900;
  margin: 0 0 8px !important;
}

.legal-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 16px 0 0;
  max-width: 1080px;
  overflow: hidden;
}

.legal-table div {
  display: grid;
  gap: 14px;
  grid-template-columns: 0.8fr 1.6fr;
  padding: 13px 16px;
}

.legal-table div:first-child {
  background: #f8fafc;
}

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

.legal-table strong,
.legal-table span {
  font-size: 14px;
  line-height: 1.6;
  min-width: 0;
}

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

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

.legal-card-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 18px;
  max-width: 1120px;
}

.legal-card-grid a,
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 6px;
  padding: 16px;
  text-decoration: none;
}

.legal-card-grid a:hover {
  border-color: #9ad7c9;
  box-shadow: inset 0 3px 0 var(--brand);
}

.legal-card-grid strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.legal-card-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact-panel {
  margin-top: 18px;
  max-width: 760px;
}

.contact-panel h2 {
  margin-top: 0;
}

.contact-panel a {
  font-size: 22px;
}

.contact-form {
  gap: 13px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #cfd7df;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.public-steps,
.public-price-table,
.support-faq {
  margin-top: 18px;
}

.inline-cta {
  margin-top: 10px;
}

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

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

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

.hero-copy h1 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.18;
  max-width: 930px;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-copy h1 > span {
  display: block;
  font-weight: 900;
}

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

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

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

.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);
  border: 0;
  box-shadow: 0 10px 22px rgba(11, 128, 104, 0.18);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.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: 840px;
}

.hero-pricing article,
.intent-band article,
.feature-grid article,
.screen-grid article,
.suite-card,
.steps > *,
.faq-list details,
.policy-cards a {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.hero-pricing article:first-child {
  border-color: var(--brand);
  box-shadow: 0 16px 36px rgba(11, 128, 104, 0.12);
}

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

.hero-pricing strong {
  color: var(--accent);
  display: block;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.hero-pricing p,
.pricing-message,
.intent-band p,
.section-head p,
.install-panel p,
.feature-grid p,
.screen-grid p,
.suite-card p,
.steps p,
.faq-list p,
.final-cta p,
.policy-cards span {
  color: var(--muted);
}

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

.pricing-message {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
  margin: 12px 0 0;
}

.hero-panel {
  background: #172235;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(22, 32, 51, 0.22);
  display: grid;
  overflow: hidden;
  padding: 12px;
}

.hero-panel picture,
.screen-grid picture,
.hero-panel img,
.screen-grid img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: auto;
  width: 100%;
}

.hero-panel picture,
.screen-grid picture {
  overflow: hidden;
}

.hero-panel picture img,
.screen-grid picture img {
  border: 0;
  border-radius: 0;
}

.hero-panel img {
  border-color: rgba(255, 255, 255, 0.18);
}

.install-panel {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand);
  border-radius: 8px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  padding: 22px;
}

.install-panel h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.32;
}

.install-panel p {
  font-size: 14px;
  margin: 8px 0 0;
}

.install-form {
  display: grid;
  gap: 12px;
}

.install-form label {
  display: grid;
  gap: 6px;
}

.install-form label span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.install-form input {
  background: #fff;
  border: 1px solid #cfd7df;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.notice {
  border-radius: 8px;
  font-weight: 800;
  padding: 10px 12px;
}

.notice-error {
  background: #fff1f0;
  border: 1px solid #f5b7b1;
  color: #9f1d15;
}

.notice-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

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

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

.intent-band strong {
  color: var(--ink);
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.intent-band p {
  font-size: 13px;
  line-height: 1.56;
  margin: 8px 0 0;
}

.section,
.workflow,
.screen-section,
.suite-section,
.pricing,
.faq,
.final-cta {
  padding: 58px 0 0;
}

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

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

.section-head h2,
.final-cta h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.24;
  max-width: 1120px;
  overflow-wrap: normal;
  word-break: keep-all;
}

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

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

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

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

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

.feature-grid article,
.screen-grid article,
.suite-card {
  min-width: 0;
  padding: 18px;
}

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

.screen-grid article {
  display: grid;
  gap: 8px;
}

.screen-grid img {
  align-self: end;
  margin-top: 6px;
}

.feature-grid h3,
.screen-grid h3,
.suite-card strong,
.steps strong,
.faq-list summary,
.policy-cards strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.feature-grid p,
.screen-grid p,
.steps p,
.faq-list p {
  font-size: 14px;
  line-height: 1.58;
  margin: 7px 0 0;
}

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

.steps > * {
  min-width: 0;
  padding: 16px;
}

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

.suite-card {
  color: inherit;
  display: grid;
  gap: 8px;
  min-height: 180px;
  text-decoration: none;
}

.suite-card:hover,
.policy-cards a:hover {
  border-color: #9ad7c9;
  box-shadow: inset 0 3px 0 var(--brand);
}

.suite-card p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.suite-status {
  align-self: end;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

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

.pricing-banner strong {
  color: #4e3300;
  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: 10px;
  overflow: hidden;
}

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

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

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

.price-compare strong,
.price-compare span {
  font-size: 14px;
  min-width: 0;
}

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

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

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

.faq-list summary {
  cursor: pointer;
}

.final-cta {
  margin-bottom: 0;
  padding-bottom: 62px;
  text-align: center;
}

.final-cta p {
  font-size: 14px;
  line-height: 1.58;
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.policy-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: 24px auto 0;
  max-width: 1120px;
  text-align: left;
}

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

.policy-cards span {
  font-size: 13px;
  line-height: 1.55;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

.footer-links a,
.copyright a {
  font-size: 14px;
}

.copyright {
  color: var(--muted);
  font-size: 13px;
  margin: 20px 0 0;
}

code {
  background: #eef1f3;
  border-radius: 4px;
  padding: 2px 5px;
}

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

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

  .header-badges {
    justify-content: flex-start;
    width: 100%;
  }

  .hero,
  .install-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

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

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

@media (max-width: 640px) {
  .top-bar {
    gap: 9px;
    max-width: 100vw;
    overflow: hidden;
    padding: 10px 14px;
    width: 100vw;
  }

  .brand-link {
    font-size: 16px;
  }

  .nav-links {
    gap: 14px;
    max-width: 100%;
    overflow-x: auto;
    width: 100%;
  }

  .header-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .price-badge,
  .status-badge {
    font-size: 13px;
    justify-self: start;
    max-width: calc(100vw - 28px);
    padding: 7px 10px;
    white-space: normal;
  }

  .hero,
  .install-panel,
  .public-page,
  .section,
  .workflow,
  .screen-section,
  .suite-section,
  .pricing,
  .faq,
  .final-cta,
  .intent-band {
    max-width: calc(100vw - 24px);
    width: calc(100vw - 24px);
  }

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

  .lead {
    font-size: 15px;
    line-height: 1.56;
    max-width: 100%;
  }

  .public-page p,
  .public-page li,
  .install-panel p,
  .pricing-message {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-pricing,
  .feature-grid,
  .screen-grid,
  .intent-band,
  .suite-grid,
  .steps,
  .price-compare div,
  .legal-table div,
  .policy-cards {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .install-panel h2,
  .final-cta h2 {
    font-size: 25px;
    word-break: normal;
  }

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

  .legal-table,
  .price-compare {
    background: transparent;
    border: 0;
    display: grid;
    gap: 12px;
  }

  .legal-table div,
  .price-compare div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    gap: 4px;
    padding: 14px;
  }

  .legal-table div:first-child,
  .price-compare div:first-child {
    display: none;
  }

  .legal-table div + div,
  .price-compare div + div {
    border-top: 1px solid var(--line);
  }

  .public-page h1 {
    font-size: 30px;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

}
