:root {
  color-scheme: light;
  --bg: #eef4fb;
  --panel: rgba(255, 255, 255, 0.88);
  --line: rgba(203, 213, 225, 0.9);
  --ink: #0f172a;
  --muted: #64748b;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-soft: #eff6ff;
  --shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 24%),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
}

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

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

.page {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

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

.hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.section,
.product-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy,
.hero-visual,
.section {
  border-radius: 30px;
}

.hero-copy {
  padding: 32px;
}

.hero-visual {
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 22px;
}

.visual-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.72);
  color: white;
  backdrop-filter: blur(16px);
}

.visual-note span {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 0.95);
}

.visual-note strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

h2 {
  font-size: 1.78rem;
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.lead,
.section-copy,
.product-copy p {
  color: var(--muted);
}

.lead {
  margin-top: 18px;
  max-width: 32ch;
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-actions,
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 24px;
}

.hero-links {
  margin-top: 16px;
}

.hero-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.hero-links a:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow: 0 18px 34px -20px rgba(37, 99, 235, 0.72);
}

.button-secondary {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}

.section {
  margin-top: 22px;
  padding: 24px;
}

.section-head {
  margin-bottom: 18px;
}

.section-copy {
  margin-top: 10px;
  line-height: 1.6;
}

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

.product-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 28px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.95);
  box-shadow: 0 26px 54px -26px rgba(37, 99, 235, 0.3);
}

.muted-card {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}

.icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: white;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.icon.calm {
  background: linear-gradient(180deg, #0f172a 0%, #334155 100%);
}

.icon.code {
  background: linear-gradient(180deg, #475569 0%, #1e293b 100%);
}

.product-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-top strong {
  font-size: 1.12rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge.muted {
  background: #e2e8f0;
  color: #475569;
}

.product-copy p {
  margin-top: 10px;
  line-height: 1.62;
}

.feature-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--ink);
}

.feature-list li + li {
  margin-top: 8px;
}

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

.contact-card {
  display: block;
  padding: 18px 20px;
  border-radius: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-card:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.95);
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.contact-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .hero,
  .product-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 100%);
    padding: 18px 0 36px;
  }

  .hero-copy,
  .section {
    padding: 20px;
  }

  .hero-visual {
    padding: 10px;
  }

  .hero-visual img {
    min-height: 320px;
  }

  .visual-note {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .product-card {
    padding: 18px;
  }

  .icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 16px;
    font-size: 1.02rem;
  }

  .button {
    width: 100%;
  }
}
