:root {
  --white: #ffffff;
  --snow: #fbfdff;
  --ice: #f1f8ff;
  --line: #dbeaf8;
  --line-strong: #bcd9f1;
  --navy: #061a43;
  --text: #10284f;
  --muted: #51647c;
  --blue: #075ee8;
  --blue-dark: #004bbb;
  --blue-soft: #e9f4ff;
  --shadow: 0 18px 48px rgba(8, 41, 91, .10);
  --shadow-soft: 0 10px 28px rgba(8, 41, 91, .08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1200px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 88% 22%, rgba(110, 188, 255, .18), transparent 32rem),
    linear-gradient(180deg, #fff 0%, #fbfdff 48%, #f4faff 100%);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 56px), var(--container)); margin-inline: auto; }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(188, 217, 241, .7);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.brand-mark { width: 52px; height: 52px; display: grid; place-items: center; color: var(--blue); flex: 0 0 auto; overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.28); }
.brand-text { font-family: var(--serif); font-size: clamp(23px, 1.9vw, 30px); font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: 44px; margin-left: auto; }
.desktop-nav a { position: relative; padding: 29px 0 25px; color: var(--navy); font-size: 15px; font-weight: 700; }
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 15px; height: 3px; border-radius: 999px;
  background: transparent;
}
.desktop-nav a:hover::after, .desktop-nav .is-active::after { background: var(--blue); }
.header-cta, .primary-button, .mobile-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px;
  border-radius: 12px;
  color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 14px 32px rgba(7, 94, 232, .28);
  font-weight: 800; letter-spacing: -.01em;
}
.header-cta { margin-left: 10px; white-space: nowrap; }
.mobile-menu { display: none; }

.hero { position: relative; overflow: hidden; min-height: 560px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(430px, .92fr) minmax(560px, 1.08fr);
  align-items: stretch;
  gap: 18px;
  min-height: 560px;
  padding: 0 0 46px;
}
.hero-copy { position: relative; z-index: 2; max-width: 560px; padding-top: 72px; }
.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}
h1, h2 { margin: 0; font-family: var(--serif); color: var(--navy); line-height: .98; letter-spacing: -.04em; }
h1 { font-size: clamp(50px, 4.95vw, 68px); }
h2 { font-size: clamp(36px, 3.6vw, 54px); line-height: 1.08; }
h3 { margin: 0; color: var(--navy); font-size: 24px; line-height: 1.15; }
.accent-line { width: 64px; height: 4px; border-radius: 999px; background: var(--blue); margin: 24px 0 20px; }
.hero-lead { max-width: 520px; margin: 0; color: var(--text); font-size: 18px; line-height: 1.55; }
.value-chips { display: flex; flex-wrap: nowrap; gap: 0; padding: 0; margin: 22px 0 24px; list-style: none; }
.value-chips li { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 42px; color: var(--navy); font-size: 14px; font-weight: 800; border-right: 1px solid var(--line-strong); white-space: nowrap; }
.value-chips li:first-child { padding-left: 0; }
.value-chips li:last-child { border-right: 0; }
.mini-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--blue); border-radius: 999px; color: var(--blue); font-weight: 900; }
.primary-button { width: fit-content; min-height: 58px; padding: 0 30px; border-radius: 14px; font-size: 17px; }
.button-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.65); border-radius: 999px; }
.hero-visual {
  position: relative; min-height: 520px; align-self: stretch; margin-right: calc((100vw - min(calc(100vw - 56px), var(--container))) / -2);
  border-bottom-left-radius: 56% 18%; overflow: hidden;
  background: linear-gradient(135deg, #eef8ff, #d8efff);
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.48) 24%, rgba(255,255,255,.06) 54%, rgba(255,255,255,0) 100%);
}
.hero-visual img { width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center right; transform: none; }
.wave-divider {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 108px; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg width='1440' height='160' viewBox='0 0 1440 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23075ee8' stroke-opacity='.16' stroke-width='2'%3E%3Cpath d='M0 76c151-73 283 68 431 13s290-71 442-10 330 62 567-20'/%3E%3Cpath d='M0 92c151-73 283 68 431 13s290-71 442-10 330 62 567-20'/%3E%3Cpath d='M0 108c151-73 283 68 431 13s290-71 442-10 330 62 567-20'/%3E%3Cpath d='M0 124c151-73 283 68 431 13s290-71 442-10 330 62 567-20'/%3E%3C/g%3E%3Cpath d='M0 105c180 60 338 47 475 26 190-30 309-37 477 4 145 36 290 38 488-44v69H0z' fill='%23fff'/%3E%3C/svg%3E") center bottom/100% 100% no-repeat;
}

.section { padding: 80px 0; position: relative; }
.section-heading { margin-bottom: 42px; }
.centered { text-align: center; }
.portfolio { padding-top: 54px; background: linear-gradient(180deg, #fff 0%, #fff 62%, #fbfdff 100%); }
.product-grid { width: min(100%, 1060px); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card {
  min-height: 470px; padding: 36px 24px 28px; text-align: center;
  background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; align-items: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.product-icon, .why-icon { position: relative; display: grid; place-items: center; color: var(--blue); }
.product-icon { width: 104px; height: 104px; margin-bottom: 22px; border-radius: 999px; background: radial-gradient(circle at 35% 30%, #fff, var(--blue-soft)); }
.product-icon::before { font-size: 52px; line-height: 1; color: var(--blue); }
.face::before { content: "◉"; }
.chart::before { content: "▥"; }
.chat::before { content: "☵"; }
.academy::before { content: "◒"; }
.seo::before { content: "⌕"; }
.product-card h3 { margin-bottom: 8px; }
.product-subtitle { margin: 0 0 22px; color: var(--navy); font-size: 17px; line-height: 1.3; font-weight: 700; }
.product-card p:not(.product-subtitle) { margin: 0 0 28px; color: var(--text); font-size: 16px; line-height: 1.62; }
.product-card a { margin-top: auto; color: var(--blue); font-size: 15px; font-weight: 900; }
.product-card a span { margin-left: 8px; }
.stats-strip {
  width: min(100%, 1060px); margin: 34px auto 0; padding: 16px 22px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-soft);
}
.stat-item { min-height: 74px; display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--navy); font-size: 15px; font-weight: 700; border-right: 1px solid var(--line-strong); }
.stat-item:last-child { border-right: 0; }
.stat-item strong { font-size: 34px; line-height: 1; }
.stat-icon { color: var(--blue); font-size: 42px; line-height: 1; }

.why { padding-top: 30px; overflow: hidden; }
.why::before, .why::after {
  content: ""; position: absolute; width: 460px; height: 180px; opacity: .3; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='600' height='220' viewBox='0 0 600 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23075ee8' stroke-opacity='.20' stroke-width='2'%3E%3Cpath d='M0 120c90-60 150 60 250 0s160-60 350 0'/%3E%3Cpath d='M0 140c90-60 150 60 250 0s160-60 350 0'/%3E%3Cpath d='M0 160c90-60 150 60 250 0s160-60 350 0'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
.why::before { left: -90px; bottom: 10px; }
.why::after { right: -90px; bottom: 20px; transform: scaleX(-1); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.why-card { position: relative; padding: 18px 34px 10px; text-align: center; }
.why-card + .why-card { border-left: 1px solid var(--line-strong); }
.why-icon { width: 78px; height: 78px; margin: 0 auto 16px; }
.why-icon::before { font-size: 64px; color: var(--blue); line-height: 1; }
.trophy::before { content: "♕"; }
.target::before { content: "◎"; }
.code::before { content: "‹/›"; font-weight: 900; font-family: var(--sans); font-size: 42px; }
.handshake::before { content: "⌘"; }
.why-card h3 { margin-bottom: 8px; font-size: 19px; font-family: var(--sans); font-weight: 900; }
.why-card p { margin: 0 auto; max-width: 220px; color: var(--muted); font-size: 15px; line-height: 1.55; }

.site-footer { margin-top: 34px; background: linear-gradient(180deg, #eef8ff 0%, #f7fbff 100%); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: .85fr 1.45fr; gap: 70px; padding: 44px 0 38px; }
.footer-brand { margin-bottom: 18px; }
  .footer-brand .brand-mark { width: 58px; height: 58px; }
.footer-brand-block p { margin: 0 0 22px; max-width: 330px; color: var(--text); }
.socials { display: flex; gap: 18px; }
.socials a { width: 26px; height: 26px; display: grid; place-items: center; color: var(--blue); font-size: 22px; font-weight: 900; }
.footer-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 44px; padding-left: 54px; border-left: 1px solid var(--line-strong); }
.detail-card { display: flex; align-items: center; gap: 18px; min-height: 80px; }
.detail-icon { width: 62px; height: 62px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 999px; background: #e8f4ff; color: var(--blue); font-size: 32px; }
.detail-card strong { display: block; color: var(--navy); font-size: 16px; line-height: 1.35; }
.detail-card span:not(.detail-icon) { display: block; color: var(--text); font-size: 16px; line-height: 1.45; }
.footer-bottom { padding: 18px 0 22px; border-top: 1px solid var(--line-strong); color: var(--muted); text-align: center; font-size: 15px; }

@media (max-width: 1100px) {
  .desktop-nav { gap: 30px; }
  .header-cta { padding-inline: 22px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { min-height: 420px; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), 640px); }
  .site-header { position: sticky; }
  .header-inner { min-height: 70px; gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-mark img { transform: scale(1.22); }
  .brand-text { font-size: clamp(18px, 5.4vw, 23px); }
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu { display: block; margin-left: auto; position: relative; }
  .mobile-menu summary { list-style: none; width: 46px; height: 46px; display: grid; place-items: center; gap: 0; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; width: 30px; height: 3px; margin: 3px 0; background: var(--navy); border-radius: 999px; }
  .mobile-menu nav { position: absolute; right: 0; top: 58px; width: min(86vw, 330px); padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); display: grid; gap: 6px; }
  .mobile-menu nav a { min-height: 46px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; font-weight: 800; color: var(--navy); }
  .mobile-menu nav a:hover { background: var(--ice); }
  .mobile-cta { color: #fff !important; margin-top: 6px; }

  .hero { min-height: auto; background: linear-gradient(180deg, #fff 0%, #eef8ff 100%); }
  .hero-grid { display: flex; flex-direction: column; gap: 0; min-height: 0; padding: 20px 0 38px; }
  .desktop-only { display: none; }
  .hero-copy { width: 100%; max-width: none; padding-top: 12px; }
  h1 { max-width: 340px; font-size: clamp(34px, 9.8vw, 40px); line-height: 1.04; letter-spacing: -.035em; }
  h2 { font-size: clamp(26px, 7vw, 32px); line-height: 1.1; letter-spacing: -.03em; }
  h3 { font-size: 22px; }
  .accent-line { margin: 18px 0 18px; width: 52px; height: 4px; }
  .hero-lead { font-size: 15.5px; line-height: 1.48; max-width: 350px; }
  .value-chips { gap: 8px; margin: 18px 0 20px; }
  .value-chips li { min-height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 11px; background: rgba(255,255,255,.82); font-size: 13.5px; }
  .value-chips li:first-child { padding-left: 14px; }
  .mini-icon { width: 26px; height: 26px; border-width: 2px; }
  .primary-button { width: 100%; max-width: 300px; min-height: 52px; padding-inline: 18px; font-size: 15.5px; }
  .button-icon { width: 32px; height: 32px; }
  .hero-visual { order: -1; z-index: 1; width: calc(100% + 32px); min-height: 0; max-height: none; aspect-ratio: 1 / 1; margin: -20px -16px 16px; border-radius: 0 0 22px 22px; }
  .hero-visual::before { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.70)); }
  .hero-visual img { width: 100%; object-fit: cover; object-position: center; transform: none; }
  .wave-divider { height: 56px; bottom: -8px; opacity: .72; }

  .section { padding: 38px 0; }
  .portfolio { padding-top: 34px; }
  .section-heading { margin-bottom: 20px; }
  .section-heading h2 { max-width: 320px; margin-inline: auto; }
  .section-kicker { font-size: 12px; }
  .product-grid { width: 100%; display: grid; grid-template-columns: 1fr; gap: 12px; }
  .product-card {
    min-height: 0; padding: 14px 16px; text-align: left; display: grid;
    grid-template-columns: 64px 1fr auto; grid-template-rows: auto auto auto; column-gap: 14px; align-items: center;
    border-radius: 16px;
  }
  .product-card:hover { transform: none; }
  .product-icon { grid-row: 1 / 4; width: 58px; height: 58px; margin: 0; }
  .product-icon::before { font-size: 32px; }
  .product-card h3 { grid-column: 2; margin: 0 0 2px; font-size: 20px; }
  .product-subtitle { grid-column: 2; margin: 0; font-size: 14.5px; line-height: 1.25; }
  .product-card p:not(.product-subtitle) { display: none; }
  .product-card a { grid-column: 3; grid-row: 1 / 4; align-self: center; font-size: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; background: var(--blue-soft); }
  .product-card a span { margin: 0; font-size: 24px; }
  .stats-strip { margin-top: 16px; padding: 9px; grid-template-columns: repeat(2, 1fr); border-radius: 16px; gap: 8px; }
  .stat-item { min-height: 54px; border: 0; justify-content: flex-start; padding: 0 10px; background: rgba(246,251,255,.9); border-radius: 12px; font-size: 12.5px; gap: 11px; }
  .stat-icon { font-size: 28px; }
  .stat-item strong { font-size: 24px; }

  .why { padding-top: 18px; }
  .why-grid { grid-template-columns: 1fr; gap: 0; }
  .why-card { display: grid; grid-template-columns: 50px 1fr; gap: 5px 12px; text-align: left; padding: 16px 0; border-left: 0 !important; border-bottom: 1px solid var(--line-strong); }
  .why-card:last-child { border-bottom: 0; }
  .why-icon { grid-row: 1 / 3; width: 46px; height: 46px; margin: 0; }
  .why-icon::before { font-size: 36px; }
  .code::before { font-size: 28px; }
  .why-card h3 { font-size: 16.5px; margin: 0; }
  .why-card p { margin: 0; max-width: none; font-size: 14.5px; line-height: 1.4; }

  .site-footer { margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; padding: 30px 0 24px; }
  .footer-brand .brand-mark { width: 48px; height: 48px; background: #fff; }
  .footer-brand .brand-mark img { mix-blend-mode: multiply; }
  .footer-brand-block p { max-width: none; font-size: 15px; line-height: 1.5; }
  .footer-details { grid-template-columns: 1fr; gap: 8px; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line-strong); }
  .detail-card { min-height: 66px; padding: 8px 0; gap: 14px; }
  .detail-icon { width: 52px; height: 52px; font-size: 26px; }
  .detail-card strong, .detail-card span:not(.detail-icon) { font-size: 15px; }
  .footer-bottom { font-size: 14px; }
}

@media (max-width: 430px) {
  .container { width: min(calc(100% - 28px), 420px); }
  .brand { gap: 8px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text { font-size: 18px; }
  .hero-visual { width: calc(100% + 28px); margin-left: -14px; margin-right: -14px; }
  .hero-lead { font-size: 15.5px; }
  .value-chips { display: grid; grid-template-columns: 1fr; }
  .value-chips li { font-size: 13.5px; }
  .product-card { grid-template-columns: 58px 1fr 38px; column-gap: 12px; padding: 14px 14px; }
  .product-icon { width: 54px; height: 54px; }
  .product-icon::before { font-size: 30px; }
  .product-card h3 { font-size: 20px; }
  .product-subtitle { font-size: 14px; }
  .stats-strip { grid-template-columns: 1fr; }
}
