:root {
  --bg: #f5f7f5;
  --bg-2: #eef3ee;
  --surface: #ffffff;
  --surface-soft: #f8fbf8;
  --ink: #172018;
  --ink-2: #435044;
  --muted: #667168;
  --line: #d8e0d7;
  --line-strong: #c1cec0;
  --primary: #1c5c3d;
  --primary-dark: #123d2a;
  --primary-soft: #e7f0e8;
  --amber: #d6b469;
  --amber-soft: #f4ecd6;
  --risk: #c9584a;
  --shadow: 0 24px 70px rgba(27, 48, 35, 0.1);
  --shadow-soft: 0 14px 36px rgba(27, 48, 35, 0.08);
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfdfb 0%, var(--bg) 34%, #f0f5f0 100%);
}

body.is-nav-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 251, 248, 0.88);
  border-bottom: 1px solid rgba(216, 224, 215, 0.72);
  backdrop-filter: blur(18px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-weight: 800;
}

.brand-recibo,
.brand-jarvis span {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.brand-divider {
  width: 1px;
  height: 24px;
  background: var(--line-strong);
}

.brand-jarvis {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.site-nav a:hover {
  color: var(--primary);
}

.nav-login {
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

section {
  padding: 92px 0;
}

.section-kicker {
  margin: 0;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  max-width: 11ch;
  font-size: clamp(3.8rem, 4rem + 2vw, 6.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.3rem, 2.1rem + 1vw, 3.4rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.section-heading {
  max-width: 750px;
}

.section-heading p:not(.section-kicker),
.hero-lead,
.panel-note,
.problem-card p,
.capability-card p,
.trust-board p,
.partner-card p,
.company-section p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.85;
}

.section-heading h2 {
  margin-top: 14px;
}

.section-heading p:not(.section-kicker) {
  margin: 18px 0 0;
}

.centered {
  margin: 0 auto;
  text-align: center;
}

.hero-section {
  padding-top: 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 44px;
}

.hero-lead {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: 1.04rem;
}

.hero-actions,
.hero-proof,
.company-actions,
.footer-row,
.trust-badges {
  display: flex;
  flex-wrap: wrap;
}

.hero-actions {
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(28, 92, 61, 0.2);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: var(--line-strong);
}

.button-light {
  background: #fff;
  color: var(--primary-dark);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-proof {
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span,
.trust-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.device-frame {
  position: relative;
  width: min(100%, 560px);
  margin-left: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 242, 0.94));
  box-shadow: var(--shadow);
}

.device-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(28, 92, 61, 0.08);
  border-radius: 24px;
  pointer-events: none;
}

.app-topbar,
.balance-row,
.action-header,
.check-list li {
  display: flex;
  align-items: center;
}

.app-topbar {
  position: relative;
  z-index: 1;
  gap: 12px;
  padding: 10px 8px 18px;
}

.app-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.app-topbar strong,
.app-topbar small {
  display: block;
}

.app-topbar small {
  margin-top: 2px;
  color: var(--muted);
}

.status-pill {
  margin-left: auto;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #735618;
  font-size: 0.8rem;
  font-weight: 800;
}

.app-panel {
  position: relative;
  z-index: 1;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.app-panel + .app-panel {
  margin-top: 14px;
}

.app-panel-summary {
  background: linear-gradient(180deg, #f9fcf9, #eef7ef);
}

.panel-label {
  margin: 0;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.balance-row {
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}

.balance-row strong {
  font-size: 2.2rem;
}

.balance-row span {
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: #795819;
  font-size: 0.86rem;
  font-weight: 800;
}

.progress-track {
  height: 10px;
  margin-top: 18px;
  border-radius: 999px;
  background: #dbe7dc;
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.panel-note {
  margin: 14px 0 0;
  font-size: 0.92rem;
}

.action-panel {
  margin-left: 38px;
}

.action-header {
  justify-content: space-between;
}

.action-header strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.check-list li {
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.check-list span {
  color: var(--ink);
  font-weight: 800;
}

.check-list strong {
  color: var(--muted);
  font-size: 0.84rem;
}

.insight-panel {
  margin-right: 28px;
  background: var(--primary-dark);
  color: #fff;
}

.insight-panel .panel-label,
.insight-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.insight-panel h2 {
  margin-top: 12px;
  font-size: 1.72rem;
}

.problem-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.problem-card,
.partner-card,
.capability-card,
.company-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.problem-card,
.partner-card {
  padding: 24px;
  border-radius: 22px;
  min-height: 230px;
}

.problem-card span,
.capability-index,
.trust-board span {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.problem-card h3,
.partner-card h3 {
  margin-top: 18px;
}

.problem-card p,
.partner-card p {
  margin: 12px 0 0;
}

.product-section,
.partnership-section {
  background: rgba(238, 243, 238, 0.72);
}

.product-grid,
.trust-layout,
.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 38px;
  align-items: start;
}

.product-copy {
  position: sticky;
  top: 112px;
}

.capability-stack {
  display: grid;
  gap: 14px;
}

.capability-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: 22px;
}

.capability-card h3 {
  margin-top: 12px;
}

.capability-card p {
  margin: 0;
}

.trust-layout {
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.trust-board {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #102a1e;
  box-shadow: var(--shadow);
}

.trust-board article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-board span {
  color: var(--amber);
}

.trust-board h3 {
  margin-top: 10px;
  color: #fff;
}

.trust-board p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.trust-badges {
  gap: 10px;
  margin-top: 24px;
}

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

.partner-card {
  min-height: 210px;
}

.company-card {
  padding: 26px;
  border-radius: 24px;
}

.company-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.company-card dt {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-card dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
  font-weight: 700;
}

.company-actions {
  gap: 12px;
  margin-top: 26px;
}

.contact-section {
  padding-top: 44px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, var(--primary-dark), #1e6544);
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-panel .section-kicker,
.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 1.9rem + 1vw, 3rem);
}

.contact-panel p {
  max-width: 62ch;
  margin: 14px 0 0;
}

.site-footer {
  padding: 36px 0 42px;
}

.footer-row {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.site-footer small {
  color: var(--muted);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .product-grid,
  .trust-layout,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .product-copy {
    position: static;
  }

  .device-frame {
    margin: 0 auto;
  }

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

@media (max-width: 860px) {
  :root {
    --container: calc(100vw - 28px);
  }

  section {
    padding: 76px 0;
  }

  .header-row {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
    padding: 0 12px;
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: var(--primary-soft);
  }

  .nav-login {
    border-radius: 12px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(3.1rem, 2.7rem + 6vw, 4.7rem);
  }

  .hero-section {
    padding-top: 56px;
  }

  .problem-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .problem-card,
  .partner-card {
    min-height: auto;
  }

  .capability-card,
  .company-card dl,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel .button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .brand-recibo {
    display: none;
  }

  .brand-divider {
    display: none;
  }

  .hero-actions,
  .company-actions,
  .footer-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .device-frame {
    padding: 14px;
    border-radius: 26px;
  }

  .app-panel {
    padding: 17px;
    border-radius: 18px;
  }

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

  .balance-row strong {
    font-size: 1.95rem;
  }

  .action-panel,
  .insight-panel {
    margin-left: 0;
    margin-right: 0;
  }

  .insight-panel h2 {
    font-size: 1.38rem;
  }

  .contact-panel {
    padding: 24px;
    border-radius: 22px;
  }
}
