:root {
  --brand-primary: #0f4fa8;
  --brand-secondary: #2d73d5;
  --brand-accent: #ff8a1f;
  --brand-dark: #0b1f3a;
  --brand-ink: #203044;
  --brand-muted: #5a6b7f;
  --brand-surface: #f3f7fc;
  --brand-surface-strong: #e8f0fb;
  --brand-line: rgba(15, 79, 168, 0.12);
  --brand-white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #eef3f9;
  color: var(--brand-ink);
  font-family: "Segoe UI", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
}

p,
li {
  line-height: 1.8;
}

a {
  color: var(--brand-primary);
}

a:hover,
a:focus {
  color: var(--brand-secondary);
}

.prodnavbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 79, 168, 0.08);
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.05);
  margin: 0;
  backdrop-filter: blur(10px);
}

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

.product-brand-logo {
  width: auto;
  max-height: 40px;
}

.product-brand-text {
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.prodnavbar .nav-link {
  color: var(--brand-ink) !important;
  font-weight: 600;
}

.prodnavbar .nav-link:hover,
.prodnavbar .nav-link:focus {
  color: var(--brand-primary) !important;
}

.prodnavbar .navbar-toggler {
  border-color: rgba(15, 79, 168, 0.25);
}

.prodnavbar .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(45, 115, 213, 0.18);
}

.prodnavbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(11,31,58,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.product-nav-btn {
  border-radius: 999px;
  padding: 0.5rem 1rem !important;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.35rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(15, 79, 168, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #0d458f, #265fb0);
  border-color: transparent;
}

.btn-outline-primary {
  border-color: rgba(15, 79, 168, 0.28);
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.9);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.coressh-page {
  overflow: hidden;
}

.coressh-hero {
  position: relative;
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(255, 138, 31, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(45, 115, 213, 0.24), transparent 30%),
    linear-gradient(135deg, #f7fbff 0%, #edf4fd 55%, #f3f7fc 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 79, 168, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 79, 168, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
  pointer-events: none;
}

.eyebrow,
.section-kicker,
.resource-label,
.license-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: var(--brand-primary);
}

.hero-heading {
  margin: 16px 0 20px;
  color: var(--brand-dark);
  font-size: clamp(2.2rem, 4.6vw, 4.15rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 42rem;
  color: var(--brand-muted);
  font-size: 1.08rem;
}

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

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

.hero-meta-card,
.signal-card,
.value-panel,
.feature-card,
.detail-panel,
.security-note,
.resource-card,
.license-card {
  border: 1px solid var(--brand-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.06);
}

.hero-meta-card {
  padding: 18px 18px 16px;
}

.meta-label {
  display: block;
  color: var(--brand-muted);
  font-size: 0.78rem;
  margin-bottom: 6px;
}

.hero-visual {
  position: relative;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(15, 79, 168, 0.09), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(15, 79, 168, 0.12);
  box-shadow: 0 30px 60px rgba(11, 31, 58, 0.14);
}

.product-mark {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(11, 31, 58, 0.08);
}

.product-mark img {
  max-height: 34px;
}

.hero-shot {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(15, 79, 168, 0.1);
}

.signal-strip {
  margin-top: -18px;
  padding-bottom: 20px;
}

.signal-card {
  height: 100%;
  padding: 20px 22px;
}

.signal-number {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-primary);
  font-size: 1.45rem;
  font-weight: 800;
}

.section-shell {
  padding: 88px 0;
}

.section-white {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 1));
}

.section-tint {
  background: linear-gradient(180deg, #edf4fd 0%, #f8fbff 100%);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(255, 138, 31, 0.16), transparent 26%),
    linear-gradient(135deg, #0b1f3a 0%, #12325b 100%);
  color: rgba(255, 255, 255, 0.88);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head.left-aligned {
  margin-left: 0;
  text-align: left;
}

.section-head h2 {
  margin: 14px 0 16px;
  color: var(--brand-dark);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.section-head p {
  color: var(--brand-muted);
  font-size: 1.02rem;
}

.section-head-dark h2,
.section-head-dark p,
.section-head-dark .section-kicker {
  color: #fff;
}

.value-panel,
.feature-card,
.detail-panel,
.security-note,
.resource-card,
.license-card {
  padding: 28px;
}

.value-panel h3,
.feature-card h3,
.detail-panel h3,
.security-note h3,
.resource-card h3,
.license-card h3,
.cta-band h3 {
  color: var(--brand-dark);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-art {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
}

.detail-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 247, 252, 0.95));
}

.emphasis-panel {
  background: linear-gradient(180deg, rgba(15, 79, 168, 0.08), rgba(255, 255, 255, 0.96));
}

.check-list {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-accent), #ffb067);
  box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.12);
}

.text-link {
  font-weight: 700;
  text-decoration: none;
}

.security-note {
  background: linear-gradient(180deg, rgba(255, 138, 31, 0.08), rgba(255, 255, 255, 0.95));
}

.table-wrap {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--brand-line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.06);
}

.security-table {
  margin-bottom: 0;
}

.security-table thead th {
  background: #eef4fd;
  color: var(--brand-dark);
  font-weight: 700;
  border-bottom: 1px solid rgba(15, 79, 168, 0.1);
}

.security-table tbody th,
.security-table tbody td {
  padding: 18px 20px;
  border-color: rgba(15, 79, 168, 0.08);
}

.security-table tbody th {
  color: var(--brand-dark);
  width: 34%;
}

.license-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-ink);
}

.license-tag {
  margin-bottom: 16px;
  color: var(--brand-primary);
}

.license-card h3 {
  color: var(--brand-dark);
}

.license-card p,
.license-card li {
  color: var(--brand-ink);
}

.license-copy {
  color: var(--brand-muted);
}

.comparison-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.comparison-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.comparison-head h3,
.comparison-head p,
.eula-note h4,
.eula-note p {
  color: #fff;
}

.comparison-table-wrap {
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.comparison-table thead th {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-dark);
  font-weight: 700;
}

.comparison-table tbody th,
.comparison-table tbody td {
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-ink);
  border-color: rgba(15, 79, 168, 0.08);
}

.comparison-table tbody th {
  min-width: 280px;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.tier-badge.yes {
  background: rgba(49, 177, 107, 0.16);
  color: #16784b;
}

.tier-badge.no {
  background: rgba(123, 138, 157, 0.16);
  color: #5d6b79;
}

.eula-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.eula-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.starter {
  border-top: 6px solid #6bb042;
}

.professional {
  border-top: 6px solid var(--brand-accent);
}

.enterprise {
  border-top: 6px solid var(--brand-secondary);
}

.resource-card {
  display: block;
  height: 100%;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-card:hover,
.resource-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(11, 31, 58, 0.1);
  text-decoration: none;
}

.resource-label {
  color: var(--brand-accent);
  margin-bottom: 12px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
  gap: 26px;
  align-items: start;
}

.faq-accordion .accordion-item {
  border: 1px solid rgba(15, 79, 168, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(11, 31, 58, 0.05);
  margin-bottom: 14px;
}

.faq-accordion .accordion-button {
  font-weight: 700;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.96);
  padding: 1.1rem 1.25rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-dark);
  background: rgba(15, 79, 168, 0.08);
  box-shadow: none;
}

.faq-accordion .accordion-body {
  background: #fff;
  color: var(--brand-ink);
  line-height: 1.8;
}

.faq-sidecard {
  padding: 26px;
  border: 1px solid var(--brand-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.06);
}

.faq-sidecard h3 {
  margin-bottom: 12px;
}

.faq-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.faq-links a {
  font-weight: 700;
  text-decoration: none;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 28px 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 138, 31, 0.16), transparent 20%),
    linear-gradient(135deg, #edf4fd, #f7fbff);
  border: 1px solid rgba(15, 79, 168, 0.12);
}

.cta-band p {
  margin: 0;
  color: var(--brand-muted);
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-footer-shell {
  padding: 34px 0;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(15, 79, 168, 0.08);
  border-bottom: 1px solid rgba(15, 79, 168, 0.08);
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.05);
}

.product-footer-shell .footer-title {
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.product-footer-shell .footerlist {
  margin-bottom: 8px;
}

.product-footer-shell a {
  color: var(--brand-ink);
  text-decoration: none;
}

.product-footer-shell a:hover,
.product-footer-shell a:focus {
  color: var(--brand-primary);
  text-decoration: underline;
}

@media (max-width: 991px) {
  .coressh-hero {
    padding: 70px 0 56px;
  }

  .comparison-head,
  .eula-note,
  .faq-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  .product-brand-text {
    display: none;
  }

  .hero-heading {
    font-size: 2.35rem;
  }

  .section-shell {
    padding: 70px 0;
  }

  .hero-actions,
  .cta-band-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn,
  .cta-band-actions .btn {
    width: 100%;
  }

  .hero-visual {
    padding: 18px;
  }

  .comparison-panel,
  .faq-sidecard {
    padding: 22px;
  }
}
