:root {
  --primary: #2563eb;
  --primary-strong: #1d4ed8;
  --accent: #38bdf8;
  --secondary: #0f172a;
  --surface: #ffffff;
  --surface-subtle: #f1f5f9;
  --border: #cbd5e1;
  --bg: #f8fafc;
  --text: #1e293b;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.site-header {
  background: color-mix(in srgb, var(--white) 88%, transparent);
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
}

nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
}

.nav-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.hero {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.35), transparent 30%),
    radial-gradient(circle at 85% 5%, rgba(147, 197, 253, 0.35), transparent 25%),
    linear-gradient(135deg, var(--secondary), #1e3a8a 55%, #1d4ed8);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.28;
  pointer-events: none;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 14px;
  line-height: 1.25;
}

.lead {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.sublead {
  max-width: 860px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  max-width: 780px;
}

.hero-metrics li {
  background: rgba(15, 23, 42, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
}

.metric-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
}

.metric-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.84);
}

.btn {
  display: inline-block;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  text-decoration: none;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(37, 99, 235, 0.34);
}

.section {
  padding: 64px 0;
}

.section-alt {
  background: #e2e8f0;
}

h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.page-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.page-intro {
  margin-top: -4px;
  margin-bottom: 26px;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding-left: 1.2rem;
}

.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid #e2e8f0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  padding: 20px 0;
  color: #334155;
  font-weight: 600;
}

.trust-items p {
  margin: 0;
  color: #475569;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card,
.service-block,
.summary-block {
  background: var(--white);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.service-block:hover,
.summary-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
  border-color: rgba(37, 99, 235, 0.3);
}

.card h3 {
  margin-top: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.value-card {
  background: var(--white);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border-left: 4px solid var(--primary);
}

.value-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--secondary);
}

.value-desc {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
  line-height: 1.7;
}

.flow-tagline {
  font-style: italic;
  color: #475569;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.flow-step {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.flow-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.flow-step-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  min-width: 2.2rem;
}

.flow-step-title {
  font-size: 1.15rem;
  margin: 0;
}

.flow-step-desc {
  color: #475569;
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.flow-failures {
  background: #fef2f2;
  border-left: 3px solid #f87171;
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
}

.flow-failures-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: #dc2626;
  margin: 0 0 8px;
}

.flow-failures ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.85rem;
  color: #64748b;
}

.flow-failures ul li {
  margin-bottom: 4px;
}

.contact-cta {
  text-align: center;
}

.service-block {
  margin-bottom: 18px;
}

.offering-flow {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
  margin: 24px 0;
}

.offering-step {
  flex: 1;
  min-width: 160px;
  max-width: 240px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 16px 18px;
}

.offering-step-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.offering-step-desc {
  font-size: 0.85rem;
  line-height: 1.5;
}

.offering-arrow {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.outcome-box {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 24px;
}

.outcome-label {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.outcome-box p {
  margin: 0;
  font-weight: 600;
}

@media (max-width: 640px) {
  .offering-flow {
    flex-direction: column;
    align-items: center;
  }
  .offering-step {
    max-width: 100%;
    width: 100%;
  }
  .offering-arrow {
    padding: 4px 0;
    transform: rotate(90deg);
  }
}

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

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

.contact-form input,
.contact-form textarea {
  font: inherit;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px;
}

.check {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

footer {
  background: var(--secondary);
  color: #cbd5e1;
  padding: 22px 0;
}

.footer-wrap {
  display: grid;
  gap: 6px;
  text-align: center;
}
