:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #111827;
  --muted: #6b7280;
  --bg: #ffffff;
  --section: #f8fafc;
  --border: #e5e7eb;
  --soft-blue: #eff6ff;
  --radius-card: 16px;
  --radius-button: 999px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--primary);
  text-decoration: none;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  font-size: 15px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.site-nav a,
.footer-links a,
.back-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover,
.footer-links a:hover,
.back-link:hover {
  color: var(--primary);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: var(--radius-button);
  background: var(--primary);
  color: white;
  font-weight: 700;
  line-height: 1;
  padding: 0 22px;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
  white-space: nowrap;
}

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

.button-small {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 14px;
}

.button-secondary {
  border-color: var(--border);
  background: white;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--primary);
  background: var(--soft-blue);
  color: var(--primary-dark);
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--section);
}

.hero {
  padding-top: 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: 64px;
  align-items: center;
}

.eyebrow,
.section-label {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subtitle {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.25;
  font-weight: 700;
}

.hero-body {
  max-width: 640px;
  margin-bottom: 30px;
  font-size: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-height: 390px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0)),
    #ffffff;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 18px;
}

.visual-panel {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.08);
}

.panel-main {
  top: 58px;
  left: 44px;
  width: 66%;
  min-height: 210px;
  padding: 18px;
}

.panel-side {
  right: 34px;
  bottom: 56px;
  display: grid;
  width: 56%;
  min-height: 112px;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
}

.panel-header {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.panel-header span {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--border);
}

.panel-header span:first-child {
  background: var(--primary);
}

.panel-line {
  height: 10px;
  margin-bottom: 12px;
  border-radius: 99px;
  background: #dbeafe;
}

.line-wide {
  width: 78%;
}

.line-mid {
  width: 82%;
}

.line-short {
  width: 58%;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.panel-grid div {
  min-height: 42px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
}

.module-square {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
}

.visual-cube {
  position: absolute;
  right: 58px;
  top: 48px;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(37, 99, 235, 0.24);
  border-radius: 18px;
  background: #eff6ff;
  transform: rotate(12deg);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
}

h2 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.3;
}

.text-block p:last-child,
.section-heading p:last-child,
.card p:last-child,
.contact-details p:last-of-type {
  margin-bottom: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.card-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

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

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

.card,
.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: white;
  padding: 26px;
}

.card p {
  margin-bottom: 0;
}

.product-card {
  display: flex;
  min-height: 328px;
  flex-direction: column;
}

.product-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.product-topline h3 {
  margin-bottom: 0;
}

.status {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.status-available {
  background: #ecfdf5;
  color: #047857;
}

.status-development {
  background: #f3f4f6;
  color: #4b5563;
}

.product-summary {
  color: var(--text);
  font-weight: 700;
}

.product-link {
  align-self: flex-start;
  margin-top: auto;
}

.info-card {
  padding: 0;
  overflow: hidden;
}

.company-list {
  margin: 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
}

.company-list dt {
  color: var(--muted);
  font-weight: 700;
}

.company-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.note {
  margin: 0;
  padding: 22px 26px;
  background: var(--section);
  color: #4b5563;
  font-size: 14px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 48px;
  align-items: center;
}

.contact-panel h2 {
  margin-bottom: 14px;
}

.contact-details {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: white;
  padding: 28px;
}

.contact-email {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-details .button {
  margin-top: 12px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: white;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.legal-main {
  background: var(--section);
  padding: 64px 0 88px;
}

.legal-article {
  max-width: 820px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: white;
  padding: 44px;
}

.legal-article h1 {
  margin: 22px 0 8px;
  font-size: clamp(38px, 6vw, 56px);
}

.legal-article h2 {
  margin-top: 34px;
  margin-bottom: 8px;
  font-size: 24px;
}

.legal-date {
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero-grid,
  .two-column,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-visual {
    min-height: 330px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 40px, var(--max-width));
  }

  .header-inner {
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .button-small {
    min-height: 36px;
    padding-inline: 14px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 64px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-body {
    font-size: 17px;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
    border-radius: 18px;
  }

  .panel-main {
    top: 42px;
    left: 22px;
    width: 72%;
  }

  .panel-side {
    right: 18px;
    bottom: 34px;
    width: 68%;
  }

  .visual-cube {
    right: 28px;
    width: 58px;
    height: 58px;
  }

  .card,
  .contact-details,
  .legal-article {
    padding: 22px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 22px;
  }

  .note {
    padding: 20px 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
