:root {
  --ink: #18243a;
  --muted: #61708a;
  --soft: #edf3f8;
  --panel: #ffffff;
  --line: #d8e3ee;
  --blue: #2563eb;
  --cyan: #0e9fba;
  --green: #168a55;
  --amber: #c47a12;
  --red: #c2413a;
  --shadow: 0 18px 45px rgba(24, 36, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fbfe;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(248, 251, 254, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.footer-links,
.hero-actions,
.card-topline,
.link-grid {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 168px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.small-logo-mark {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.hero-logo {
  display: block;
  width: min(420px, 100%);
  height: auto;
  margin-bottom: 22px;
}

.nav-links {
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a,
.footer-links a,
.text-link {
  text-decoration: none;
}

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

.hero-section {
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 8vw, 92px) clamp(18px, 4vw, 56px) 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(248, 251, 254, 0.94)),
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at 90% 25%, rgba(22, 138, 85, 0.1), transparent 28%);
}

.hero-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

p,
li,
dd {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 760px;
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
}

.primary-button {
  color: #ffffff;
  background: var(--blue);
}

.secondary-button {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.hero-product {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-logo {
  position: absolute;
  top: 22px;
  right: -18px;
  width: 230px;
  opacity: 0.18;
}

.product-panel {
  position: relative;
  display: grid;
  gap: 22px;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green);
  background: rgba(22, 138, 85, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.neutral-pill {
  color: var(--amber);
  background: rgba(196, 122, 18, 0.12);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.signal-grid span {
  height: 72px;
  border-radius: 6px;
  background: var(--soft);
}

.signal-grid span:nth-child(1) {
  background: rgba(37, 99, 235, 0.16);
}

.signal-grid span:nth-child(2) {
  background: rgba(14, 159, 186, 0.16);
}

.signal-grid span:nth-child(3) {
  background: rgba(22, 138, 85, 0.16);
}

.signal-grid span:nth-child(4) {
  background: rgba(196, 122, 18, 0.18);
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 86px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.software-grid,
.feature-grid,
.audience-grid,
.store-grid,
.support-grid {
  display: grid;
  gap: 18px;
}

.software-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.software-card,
.store-card,
.support-card,
.feature-grid article,
.audience-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
}

.active-product {
  box-shadow: var(--shadow);
}

.card-topline {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.card-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.product-section {
  border-top: 1px solid var(--line);
}

.tabbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tab-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab-button.active {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.tab-panel {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: #ffffff;
}

.tab-panel.active {
  display: block;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 28px;
}

.metric-list {
  display: grid;
  gap: 10px;
}

.metric-list div {
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.metric-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metric-list strong {
  display: block;
  color: var(--ink);
}

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

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

.check-list {
  margin: 0;
  padding-left: 20px;
}

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

.store-section {
  border-top: 1px solid var(--line);
}

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

dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

dt {
  color: var(--ink);
  font-weight: 900;
}

dd {
  margin: -6px 0 8px;
  overflow-wrap: anywhere;
}

.policy-links-section {
  padding-top: 24px;
}

.link-grid {
  gap: 12px;
  flex-wrap: wrap;
}

.link-grid a {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 800;
}

.legal-page,
.support-page {
  width: min(930px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 82px) 0;
}

.legal-hero {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.legal-content {
  display: grid;
  gap: 22px;
}

.legal-content h2 {
  margin: 0;
  font-size: 26px;
}

.legal-content p {
  margin: -12px 0 0;
}

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

.not-found-page {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 12px;
  width: min(680px, calc(100% - 36px));
  margin: 0 auto;
  text-align: center;
}

.not-found-logo {
  display: block;
  width: 190px;
  height: auto;
  margin: 0 auto;
}

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

  .hero-inner,
  .software-grid,
  .two-column,
  .store-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-product {
    min-height: 320px;
  }

  .feature-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-links {
    gap: 10px 14px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .tab-button {
    flex: 1 1 150px;
  }
}
