@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --seo-primary: #3182ce;
  --seo-primary-dark: #2c5282;
  --seo-primary-light: #63b3ed;
  --seo-text-main: #2d3748;
  --seo-text-dark: #1a202c;
  --seo-text-light: #f7fafc;
  --seo-text-muted: #a0aec0;
  --seo-background: #f8f9fa;
  --seo-surface: #ffffff;
  --seo-dark: #2c5282;
  --seo-border: rgba(148, 163, 184, 0.18);
  --seo-shadow: rgba(15, 23, 42, 0.08);
  --seo-header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(99, 179, 237, 0.18), transparent 28%),
    linear-gradient(180deg, #f8f9fa 0%, #eef4fa 100%);
  color: var(--seo-text-main);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

@keyframes seo-page-fade-in {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

a {
  color: var(--seo-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--seo-primary-dark);
}

.page-shell {
  min-height: 100vh;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.26s ease, transform 0.26s ease;
}

body.page-is-entering .page-shell {
  animation: seo-page-fade-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.page-is-leaving .page-shell {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.site-header,
.hero,
.section,
.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: var(--seo-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand-link,
.site-footer-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 200px;
  max-width: 100%;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 26px;
}

.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.site-nav-toggle:hover {
  background: rgba(49, 130, 206, 0.08);
  border-color: rgba(49, 130, 206, 0.22);
}

.site-nav-toggle:focus-visible {
  outline: 2px solid var(--seo-primary);
  outline-offset: 2px;
}

.site-nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--seo-text-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.is-nav-open .site-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .site-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .site-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav a {
  position: relative;
  color: var(--seo-text-main);
  font-weight: 500;
  padding: 6px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--seo-primary);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.is-current::after {
  width: 100%;
}

.site-nav a.is-current {
  color: var(--seo-primary);
  font-weight: 600;
}

main {
  padding: 42px 0 0;
}

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 42px 42px 38px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(99, 179, 237, 0.22), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  border: 1px solid rgba(99, 179, 237, 0.2);
  box-shadow: 0 18px 42px var(--seo-shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 130, 206, 0.14) 0%, rgba(49, 130, 206, 0) 72%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero--emphasis {
  margin-top: 10px;
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: #64748b;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--seo-primary);
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  color: var(--seo-text-dark);
}

.hero p {
  max-width: 840px;
  margin: 0;
  color: var(--seo-text-main);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--seo-primary);
  color: white;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(49, 130, 206, 0.18);
}

.button:hover {
  color: white;
  background: var(--seo-primary-dark);
  transform: translateY(-2px);
}

.button--secondary {
  background: rgba(49, 130, 206, 0.08);
  color: var(--seo-primary-dark);
  border: 1px solid rgba(49, 130, 206, 0.18);
  box-shadow: none;
}

.button--secondary:hover {
  color: var(--seo-primary-dark);
  background: rgba(49, 130, 206, 0.14);
}

.section {
  margin-top: 24px;
  padding: 34px 38px;
  background: var(--seo-surface);
  border-radius: 24px;
  border: 1px solid var(--seo-border);
  box-shadow: 0 16px 38px var(--seo-shadow);
}

.highlight {
  background:
    radial-gradient(circle at top right, rgba(99, 179, 237, 0.16), transparent 38%),
    linear-gradient(180deg, #fbfdff 0%, #f5faff 100%);
}

.section h2 {
  margin: 0 0 18px;
  padding-left: 15px;
  border-left: 4px solid var(--seo-primary);
  font-size: 1.85rem;
  color: var(--seo-text-dark);
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
}

.section-intro {
  margin: 0;
  max-width: 820px;
}

.card-grid,
.stat-grid,
.split-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.card-grid,
.stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

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

.card,
.stat-card,
.cta-card {
  background: var(--seo-surface);
  border: 1px solid var(--seo-border);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.card,
.stat-card {
  padding: 22px;
}

.card h3,
.stat-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--seo-text-dark);
}

.card p,
.stat-card p,
.card li {
  margin: 0;
}

.card .kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seo-primary);
  font-weight: 700;
}

.list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 1rem;
  color: var(--seo-text-main);
}

.list li::before {
  content: "";
  position: absolute;
  top: 0.78rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--seo-primary);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip-group span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(49, 130, 206, 0.08);
  color: var(--seo-primary-dark);
  font-size: 0.86rem;
  font-weight: 500;
}

.stat-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--seo-primary-dark);
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
}

.stat-label {
  margin: 0.4rem 0 0.75rem;
  font-weight: 700;
  color: var(--seo-text-dark);
}

.cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 32px;
  background:
    radial-gradient(circle at top right, rgba(99, 179, 237, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.product-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(99, 179, 237, 0.18), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(49, 130, 206, 0.16);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.product-spotlight-copy p {
  margin: 0;
}

.product-spotlight-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seo-primary);
  font-weight: 700;
}

.product-spotlight-name {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--seo-text-dark);
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
}

.product-spotlight-description {
  line-height: 1.9;
  color: var(--seo-text-main);
}

.product-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

.product-spotlight-panels {
  display: grid;
  gap: 12px;
}

.product-spotlight-panel {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.product-spotlight-panel-title {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--seo-text-dark);
}

.product-spotlight-panel-copy {
  margin: 0;
  color: var(--seo-text-main);
  line-height: 1.7;
}

.site-footer-wrap {
  margin-top: 48px;
  background: var(--seo-dark);
}

.site-footer {
  padding: 48px 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  color: var(--seo-text-light);
}

.site-footer-logo img {
  width: 170px;
  max-width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.site-footer-links-primary {
  margin-top: 0;
}

.site-footer-links-secondary {
  gap: 0.75rem;
  max-width: 900px;
  margin-top: 0;
}

.site-footer-links a {
  color: rgba(247, 250, 252, 0.86);
}

.site-footer-links-secondary a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.site-footer-links-secondary a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.site-footer-product-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: min(100%, 460px);
  padding: 1rem 1.35rem;
  margin-bottom: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.site-footer-product-heading {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.55);
}

.site-footer-product-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.site-footer-product-sep {
  color: rgba(160, 174, 192, 0.45);
  font-size: 0.85rem;
  font-weight: 300;
  user-select: none;
}

.site-footer-product-link {
  color: var(--seo-text-light);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(160, 174, 192, 0.25);
  background: rgba(0, 0, 0, 0.15);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.site-footer-product-link:hover {
  color: var(--seo-text-light);
  border-color: rgba(160, 174, 192, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer-product-link-external:hover {
  border-color: var(--seo-primary-light);
  color: var(--seo-primary-light);
  background: rgba(99, 179, 237, 0.12);
}

.site-footer-copy {
  max-width: 760px;
  margin: 0;
  color: rgba(247, 250, 252, 0.78);
}

.site-footer-copyright {
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.72);
}

.top-page .home-main {
  padding-top: 0;
}

.top-page .hero-section {
  position: relative;
  min-height: 720px;
  padding: 8rem 1.5rem 6rem;
  background-color: #0f172a;
  background-image: url("/images/top_eyecatch.jpeg");
  background-image: image-set(
    url("/images/top_eyecatch.webp") type("image/webp"),
    url("/images/top_eyecatch.jpeg") type("image/jpeg")
  );
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.top-page .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(30, 64, 175, 0.45)),
    rgba(0, 0, 0, 0.25);
}

.top-page .hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 24px));
}

.top-page .hero-eyebrow {
  margin: 0 0 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.top-page .hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: white;
}

.top-page .hero-subtitle {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  color: rgba(255, 255, 255, 0.94);
}

.top-page .hero-description {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

.top-page .hero-seo-copy {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

.top-page .hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.top-page .hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  background: var(--seo-primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.top-page .hero-button:hover {
  color: white;
  background: var(--seo-primary-dark);
  transform: translateY(-2px);
}

.top-page .hero-button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.top-page .hero-button-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.top-page .section {
  width: 100%;
  margin-top: 0;
  padding: 5rem 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: var(--seo-background);
}

.top-page .section-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.top-page .section .section-title {
  margin: 0 0 3.5rem;
  padding-left: 0;
  border-left: none;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
  color: var(--seo-text-dark);
}

.top-page .section .section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--seo-primary), var(--seo-primary-light));
  border-radius: 2px;
}

.top-page .section .section-title-strong {
  color: var(--seo-text-light);
}

.top-page .section-lead {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--seo-text-main);
  line-height: 1.9;
}

.top-page .local-pages-section,
.top-page .results-section {
  background: linear-gradient(180deg, #f8fbff 0%, #f6f9fc 100%);
}

.top-page .intent-grid,
.top-page .services-grid,
.top-page .results-grid,
.top-page .portfolio-grid,
.top-page .strengths-grid,
.top-page .stats-grid {
  display: grid;
  gap: 1.5rem;
}

.top-page .intent-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.top-page .intent-card {
  display: block;
  padding: 1.75rem;
  background: white;
  border-radius: 18px;
  border: 1px solid rgba(49, 130, 206, 0.12);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.top-page .intent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  border-color: rgba(49, 130, 206, 0.35);
  color: inherit;
}

.top-page .intent-kicker,
.top-page .service-kicker,
.top-page .product-kicker,
.top-page .result-category {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--seo-primary);
  font-weight: 700;
}

.top-page .intent-card h3,
.top-page .service-title,
.top-page .result-card h3,
.top-page .product-name {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  color: var(--seo-text-dark);
}

.top-page .intent-card p:last-child,
.top-page .service-description,
.top-page .result-description {
  color: var(--seo-text-main);
  line-height: 1.8;
}

.top-page .services-grid,
.top-page .results-grid,
.top-page .portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.top-page .service-card,
.top-page .result-card,
.top-page .portfolio-sample,
.top-page .stat-card,
.top-page .strength-card {
  background: white;
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.top-page .service-points {
  margin: 1.2rem 0 0;
  padding: 0;
}

.top-page .service-points li {
  position: relative;
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
  text-align: left;
  color: var(--seo-text-main);
}

.top-page .service-points li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--seo-primary);
}

.top-page .services-actions,
.top-page .results-actions,
.top-page .product-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.top-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  background: var(--seo-primary);
  color: white;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.top-page .btn:hover {
  color: white;
  background: var(--seo-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(49, 130, 206, 0.18);
}

.top-page .service-link,
.top-page .results-actions .btn {
  min-width: 220px;
}

.top-page .text-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.top-page .stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 1.5rem;
}

.top-page .stat-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--seo-primary-dark);
}

.top-page .stat-label {
  margin: 0.4rem 0 0.8rem;
  font-weight: 700;
  color: var(--seo-text-dark);
}

.top-page .stat-copy,
.top-page .result-scope,
.top-page .strength-card p {
  margin: 0;
  line-height: 1.8;
  color: var(--seo-text-main);
}

.top-page .portfolio-section {
  background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
}

.top-page .portfolio-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.top-page .portfolio-sample {
  position: relative;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-page .portfolio-sample:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.top-page .portfolio-sample img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.top-page .portfolio-sample:hover img {
  transform: scale(1.05);
}

.top-page .portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.84) 100%);
  color: white;
}

.top-page .portfolio-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.94);
  font-weight: 700;
}

.top-page .portfolio-overlay h3 {
  margin: 0;
  font-size: 1.3rem;
  color: white;
}

.top-page .portfolio-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 1rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}

.top-page .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.top-page .tag-list span {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #edf2f7;
  color: var(--seo-text-main);
  font-size: 0.85rem;
}

.top-page #product {
  scroll-margin-top: calc(var(--seo-header-height) + 16px);
}

.top-page .product-card {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  padding: 2rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(99, 179, 237, 0.18), transparent 38%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(49, 130, 206, 0.16);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.top-page .product-tagline {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--seo-text-main);
}

.top-page .product-description {
  line-height: 1.9;
  color: var(--seo-text-main);
}

.top-page .product-features {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-top: 1.5rem;
}

.top-page .product-feature {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.top-page .feature-title {
  font-weight: 700;
  color: var(--seo-text-dark);
}

.top-page .feature-copy {
  color: var(--seo-text-main);
}

.top-page .product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.top-page .product-btn-primary {
  background: var(--seo-primary);
  color: white;
}

.top-page .product-btn-primary:hover {
  color: white;
  background: var(--seo-primary-dark);
}

.top-page .product-btn-secondary {
  border: 1px solid rgba(49, 130, 206, 0.25);
  background: white;
  color: var(--seo-primary-dark);
}

.top-page .product-btn-secondary:hover {
  color: var(--seo-primary-dark);
  background: rgba(49, 130, 206, 0.08);
}

.top-page .product-visual {
  display: flex;
  justify-content: center;
}

.top-page .mockup-window {
  width: 100%;
  max-width: 340px;
  border-radius: 22px;
  background: #0f172a;
  padding: 1.1rem;
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.24);
}

.top-page .mockup-toolbar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.top-page .mockup-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.top-page .mockup-content {
  padding: 1.4rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #1e293b, #111827);
  text-align: left;
}

.top-page .mockup-label {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.top-page .mockup-bubble {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 16px 16px 16px 4px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  line-height: 1.7;
}

.top-page .mockup-bubble-user {
  border-radius: 16px 16px 4px 16px;
  background: rgba(99, 179, 237, 0.18);
}

.top-page .strengths-section {
  background: linear-gradient(180deg, #1e3a5f 0%, #23426b 100%);
}

.top-page .strengths-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.top-page .strength-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.top-page .strength-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(99, 179, 237, 0.18);
  color: white;
  font-weight: 700;
}

.top-page .strength-card h3,
.top-page .strength-card p {
  color: white;
}

body.brand-page {
  --page-hero-bg:
    radial-gradient(circle at top right, rgba(99, 179, 237, 0.22), transparent 34%),
    linear-gradient(135deg, #15314d 0%, #1d4d82 100%);
}

body.service-page {
  --page-hero-bg:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.26), transparent 32%),
    linear-gradient(135deg, #10263d 0%, #1f5f9a 100%);
}

body.works-page {
  --page-hero-bg:
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.22), transparent 36%),
    linear-gradient(135deg, #162235 0%, #27486d 100%);
}

body.about-page {
  --page-hero-bg:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.24), transparent 34%),
    linear-gradient(135deg, #16273d 0%, #23567c 100%);
}

body.contact-page {
  --page-hero-bg:
    radial-gradient(circle at top right, rgba(110, 231, 183, 0.2), transparent 34%),
    linear-gradient(135deg, #14283d 0%, #22507a 100%);
}

body.privacy-page {
  --page-hero-bg:
    radial-gradient(circle at top right, rgba(165, 180, 252, 0.2), transparent 34%),
    linear-gradient(135deg, #1c2738 0%, #37465e 100%);
}

body.local-system-page {
  --page-hero-bg:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.2), transparent 32%),
    linear-gradient(135deg, #14253b 0%, #1b5f87 100%);
}

body.local-web-page {
  --page-hero-bg:
    radial-gradient(circle at top right, rgba(110, 231, 255, 0.2), transparent 32%),
    linear-gradient(135deg, #14263f 0%, #256b8c 100%);
}

body.local-business-page {
  --page-hero-bg:
    radial-gradient(circle at top right, rgba(147, 197, 253, 0.2), transparent 32%),
    linear-gradient(135deg, #1a2740 0%, #27537a 100%);
}

body.local-consulting-page {
  --page-hero-bg:
    radial-gradient(circle at top right, rgba(167, 243, 208, 0.18), transparent 32%),
    linear-gradient(135deg, #16263a 0%, #2a5278 100%);
}

.brand-page main {
  padding-top: 24px;
}

.brand-page .hero {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 56px 48px 48px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--page-hero-bg);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.brand-page .hero::after {
  width: 280px;
  height: 280px;
  right: -30px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 72%);
}

.brand-page .hero::before {
  content: "";
  position: absolute;
  top: -48px;
  left: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.brand-page .breadcrumb {
  color: rgba(255, 255, 255, 0.66);
}

.brand-page .breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
}

.brand-page .eyebrow {
  color: rgba(191, 219, 254, 0.92);
}

.brand-page .hero h1 {
  color: white;
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
}

.brand-page .hero p {
  color: rgba(255, 255, 255, 0.9);
}

.brand-page .hero .button {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);
}

.brand-page .hero .button--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.brand-page .hero .button--secondary:hover {
  color: white;
  background: rgba(255, 255, 255, 0.18);
}

.brand-page .section {
  width: 100%;
  margin-top: 0;
  padding: 4.75rem 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.brand-page .section.highlight {
  background:
    radial-gradient(circle at top right, rgba(99, 179, 237, 0.12), transparent 36%),
    linear-gradient(180deg, #f7fbff 0%, #eff6fd 100%);
}

.brand-page .section > h2,
.brand-page .section > p,
.brand-page .section > .section-intro,
.brand-page .section > .card-grid,
.brand-page .section > .stat-grid,
.brand-page .section > .split-grid,
.brand-page .section > .chip-group,
.brand-page .section > .product-spotlight,
.brand-page .section > .cta-card,
.brand-page .section > .card {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.brand-page .section > h2 {
  margin-top: 0;
  margin-bottom: 2.8rem;
  padding-left: 0;
  border-left: none;
  text-align: center;
  font-size: clamp(1.95rem, 3.5vw, 2.8rem);
  position: relative;
}

.brand-page .section > h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 96px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--seo-primary), var(--seo-primary-light));
}

.brand-page .section > p,
.brand-page .section > .section-intro {
  max-width: 760px;
  margin-top: -0.4rem;
  margin-bottom: 2.2rem;
  text-align: center;
  line-height: 1.9;
  color: var(--seo-text-main);
}

.brand-page .chip-group {
  justify-content: center;
}

.brand-page .card,
.brand-page .stat-card,
.brand-page .cta-card {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.brand-page .card,
.brand-page .stat-card {
  padding: 24px;
}

.brand-page .card h3,
.brand-page .stat-card h3 {
  font-size: 1.24rem;
  margin-bottom: 0.9rem;
}

.brand-page .cta-card {
  padding: 34px 36px;
}

.brand-page .cta-card h2 {
  margin: 0 0 1rem;
  padding-left: 0;
  border-left: none;
  text-align: left;
  font-size: 2rem;
}

.brand-page .cta-card h2::after {
  display: none;
}

.brand-page .cta-card p {
  margin: 0;
  line-height: 1.85;
}

.brand-page .stat-value {
  font-size: 2.15rem;
}

.brand-page .site-footer-wrap {
  margin-top: 0;
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-header.has-nav-toggle {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .site-header.has-nav-toggle .site-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header.has-nav-toggle .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 4px;
  }

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

  .site-header.has-nav-toggle .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  .site-header.has-nav-toggle .site-nav a::after {
    display: none;
  }

  .split-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-card {
    flex-direction: column;
    align-items: stretch;
  }

  .top-page .product-card {
    grid-template-columns: 1fr;
  }

  .product-spotlight {
    grid-template-columns: 1fr;
  }

  .brand-page .hero {
    padding: 48px 34px 40px;
  }

  .brand-page .cta-card {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 24px, 1200px);
  }

  .brand-logo {
    width: 180px;
  }

  main {
    padding-top: 28px;
  }

  .hero,
  .section {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .section h2 {
    font-size: 1.55rem;
  }

  .hero-actions,
  .cta-actions,
  .site-footer-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .brand-page main {
    padding-top: 16px;
  }

  .brand-page .hero,
  .brand-page .section > h2,
  .brand-page .section > p,
  .brand-page .section > .section-intro,
  .brand-page .section > .card-grid,
  .brand-page .section > .stat-grid,
  .brand-page .section > .split-grid,
  .brand-page .section > .chip-group,
  .brand-page .section > .product-spotlight,
  .brand-page .section > .cta-card,
  .brand-page .section > .card {
    width: min(100% - 24px, 1180px);
  }

  .brand-page .hero {
    padding: 40px 24px 34px;
    border-radius: 24px;
  }

  .brand-page .section {
    padding: 4rem 0;
  }

  .brand-page .section > h2 {
    margin-bottom: 2.35rem;
    font-size: 1.9rem;
  }

  .brand-page .hero-actions {
    flex-direction: column;
  }

  .site-footer-product-block {
    width: 100%;
    padding: 1rem;
  }

  .site-footer-product-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-footer-product-sep {
    display: none;
  }

  .top-page .hero-section {
    min-height: auto;
    padding: 7rem 1.25rem 4.5rem;
  }

  .top-page .section {
    padding: 4rem 0;
  }

  .top-page .section-container {
    width: min(100% - 24px, 1200px);
  }

  .top-page .hero-actions,
  .top-page .services-actions,
  .top-page .results-actions,
  .top-page .product-actions {
    flex-direction: column;
  }

  .top-page .hero-button,
  .top-page .btn,
  .top-page .product-btn {
    width: 100%;
  }

  .product-spotlight {
    padding: 24px;
  }

  .product-spotlight-actions {
    flex-direction: column;
  }

  .product-spotlight-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-shell {
    transition: none !important;
  }

  body.page-is-entering .page-shell {
    animation: none !important;
  }
}
