:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #64707d;
  --line: #d8e0e8;
  --panel: #ffffff;
  --surface: #f5f7fa;
  --accent: #107c8c;
  --accent-dark: #0e5664;
  --warm: #b86e2f;
  --shadow: 0 16px 48px rgba(31, 45, 61, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  background: var(--surface);
  color: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(23, 32, 42, 0.08);
  background: rgba(245, 247, 250, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-dark);
  color: #fff;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav a:hover,
.text-link:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 70px 7vw 56px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 247, 250, 0.94)),
    url("./assets/stock-icon.png") center right 8vw / 360px no-repeat;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: 0;
}

.hero-copy,
.section p,
.product-card p,
.contact-card span,
.info-list span {
  color: var(--muted);
  line-height: 1.8;
}

.hero-copy {
  max-width: 600px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 210px));
  gap: 24px;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  border-radius: 24%;
  box-shadow: var(--shadow);
}

.section {
  padding: 72px 7vw;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

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

.product-card,
.download-block,
.contact-card,
.info-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(31, 45, 61, 0.06);
}

.product-card {
  padding: 26px;
}

.product-head,
.download-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.product-head img,
.download-title img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.product-head p,
.download-title p {
  margin: 0;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
  padding-left: 18px;
  color: #334151;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.screenshot-placeholder {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  border: 1px dashed rgba(16, 124, 140, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 124, 140, 0.08), rgba(184, 110, 47, 0.08)),
    #f9fbfc;
}

.screenshot-placeholder strong {
  color: var(--accent-dark);
}

.screenshot-placeholder span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.screenshot-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfc;
  box-shadow: 0 8px 24px rgba(31, 45, 61, 0.08);
}

.download-section {
  background: #eef3f6;
}

.download-block {
  padding: 24px;
}

.download-block + .download-block {
  margin-top: 18px;
}

.download-title h3 span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.download-item {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfc;
}

.download-item:hover {
  border-color: rgba(16, 124, 140, 0.45);
  background: #fff;
}

.download-item span {
  color: var(--muted);
  font-size: 14px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: start;
}

.info-list,
.contact-card,
.trust-grid {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.info-list div,
.contact-card div,
.trust-grid div {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
}

.trust-section {
  background: #f7fafb;
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(31, 45, 61, 0.06);
}

.trust-grid div + div {
  border-left: 1px solid var(--line);
}

.trust-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-card img {
  max-width: 100%;
  height: auto;
}

.info-list div + div,
.contact-card div + div {
  border-top: 1px solid var(--line);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
  background: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 7vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.support-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
}

.support-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 106px;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 14px 34px rgba(14, 86, 100, 0.28);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.support-fab::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #42e6a4;
  box-shadow: 0 0 0 4px rgba(66, 230, 164, 0.18);
}

.support-fab:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.support-fab span {
  white-space: nowrap;
}

.support-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  display: none;
  width: min(380px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.support-widget.is-open .support-panel {
  display: block;
}

.support-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: var(--accent-dark);
  color: #fff;
}

.support-head span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.support-head button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.support-body {
  display: grid;
  gap: 14px;
  max-height: min(680px, calc(100vh - 130px));
  overflow: auto;
  padding: 16px;
}

.support-message,
.support-answer,
.trial-result {
  border-radius: 8px;
  background: #f4f8fa;
  color: #334151;
  font-size: 14px;
  line-height: 1.7;
  padding: 12px;
}

.support-quick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.support-quick button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.support-quick button:hover {
  border-color: rgba(16, 124, 140, 0.45);
  color: var(--accent-dark);
}

.trial-form {
  display: grid;
  gap: 11px;
}

.trial-form label {
  display: grid;
  gap: 7px;
  color: #334151;
  font-size: 13px;
  font-weight: 800;
}

.trial-form input,
.trial-form select,
.trial-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 10px 11px;
}

.trial-form textarea {
  resize: vertical;
}

.trial-result {
  display: grid;
  gap: 4px;
}

.trial-result strong {
  color: var(--accent-dark);
  font-size: 17px;
  letter-spacing: 0;
}

.trial-result span {
  color: var(--muted);
  font-size: 13px;
}

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

  .hero {
    min-height: auto;
  }

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

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

  .trust-grid div + div {
    border-left: 0;
  }

  .trust-grid div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .trust-grid div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 247, 250, 0.96)),
      url("./assets/stock-icon.png") top 44px right -72px / 260px no-repeat;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 14px;
    min-height: 58px;
    padding: 10px 16px;
  }

  .nav {
    flex: 1;
    justify-content: flex-end;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    padding: 8px 9px;
    font-size: 13px;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    gap: 28px;
    padding-top: 42px;
    padding-bottom: 42px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 250, 0.98)),
      url("./assets/stock-icon.png") top 52px right -96px / 210px no-repeat;
  }

  h1 {
    margin-bottom: 16px;
    font-size: 48px;
    line-height: 0.98;
  }

  h2 {
    font-size: 27px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .button {
    width: 100%;
  }

  .hero-visual,
  .download-grid,
  .screenshot-strip,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    grid-template-columns: repeat(2, minmax(90px, 132px));
    max-width: 286px;
    gap: 14px;
    justify-content: start;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-heading {
    display: block;
    margin-bottom: 20px;
  }

  .product-card,
  .download-block {
    padding: 18px;
  }

  .product-head,
  .download-title {
    align-items: flex-start;
    gap: 12px;
  }

  .product-head img,
  .download-title img {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .download-item {
    min-height: 78px;
    padding: 14px;
  }

  .screenshot-placeholder {
    min-height: 112px;
  }

  .trust-grid div,
  .trust-grid div:nth-child(even),
  .trust-grid div:nth-child(n + 3) {
    border-left: 0;
    border-top: 0;
  }

  .trust-grid div + div {
    border-top: 1px solid var(--line);
  }

  .split-section,
  .contact-section {
    gap: 22px;
  }

  .contact-card div {
    padding: 16px;
  }

  .contact-card img {
    width: 148px !important;
  }

  .site-footer {
    flex-direction: column;
    padding-left: 18px;
    padding-right: 18px;
  }

  .support-widget {
    right: 14px;
    bottom: 14px;
  }

  .support-panel {
    right: -4px;
    bottom: 68px;
  }

  .support-quick {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .nav a {
    padding-left: 7px;
    padding-right: 7px;
  }
}
