:root {
  --ink: #182028;
  --muted: #5b6670;
  --line: #dbe2e7;
  --surface: #ffffff;
  --surface-soft: #f5f8f9;
  --brand: #2f6974;
  --brand-dark: #214c55;
  --brand-soft: #e5f1f3;
  --shadow: 0 14px 40px rgba(20, 38, 46, 0.08);
  --radius: 18px;
  --content: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
a { color: var(--brand-dark); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
img { max-width: 100%; }
.wrap { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.brand:hover, .brand:focus-visible { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: #3e4850; font-weight: 600; }
.nav a[aria-current="page"] { color: var(--brand-dark); }
.hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(47,105,116,.12), transparent 26rem),
    linear-gradient(145deg, #fbfdfd 0%, #eef5f6 100%);
  border-bottom: 1px solid #dfeaec;
}
.hero-inner { padding: 78px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 54px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -0.025em; }
h1 { margin: 0 0 18px; font-size: clamp(40px, 6vw, 64px); max-width: 900px; }
h2 { margin: 0 0 14px; font-size: clamp(28px, 3.4vw, 38px); }
h3 { margin: 0 0 9px; font-size: 21px; }
p { margin: 14px 0; }
.hero-copy { margin: 0; max-width: 790px; color: #45525b; font-size: clamp(18px, 2vw, 21px); }
.hero-note { color: var(--muted); font-size: 14px; margin-top: 22px; }
.button-row, .store-links { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.btn, .store-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 17px; border: 1px solid var(--brand);
  border-radius: 10px; font-weight: 750; line-height: 1.2;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--brand-dark); text-decoration: none; }
.btn-secondary { background: #fff; color: var(--brand-dark); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: #f8fcfc; text-decoration: none; }
.store-button { background: #172026; border-color: #172026; color: #fff; font-size: 14px; }
.store-button:hover, .store-button:focus-visible { background: #2b353c; text-decoration: none; }
.store-button .store-small { display: block; font-size: 10px; font-weight: 600; opacity: .78; letter-spacing: .03em; text-transform: uppercase; }
.store-button .store-name { display: block; font-size: 15px; }
.store-button.compact { min-height: 38px; padding: 8px 12px; border-radius: 9px; }
.store-button.compact .store-small { display: none; }
.store-button.compact .store-name { font-size: 13px; }
.section { padding: 70px 0; }
.section + .section { border-top: 1px solid #edf0f2; }
.section-soft { background: var(--surface-soft); }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading p { color: var(--muted); font-size: 18px; margin-bottom: 0; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.app-card {
  display: flex; flex-direction: column; min-height: 100%; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: 0 8px 24px rgba(20, 38, 46, 0.04);
}
.app-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); transition: .18s ease; }
.app-card-top { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.app-icon, .app-mark {
  width: 68px; height: 68px; flex: 0 0 68px; border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.13); object-fit: cover; display: block;
}
.app-mark { display: grid; place-items: center; color: #fff; background: var(--app-accent, var(--brand)); font-weight: 850; font-size: 24px; letter-spacing: -.04em; }
.app-card h3 { font-size: 20px; margin: 0; }
.app-card h3 a { color: var(--ink); }
.app-card p { color: var(--muted); margin-top: 0; }
.app-card .card-actions { margin-top: auto; padding-top: 10px; }
.app-card .store-links { margin-top: 12px; gap: 8px; }
.learn-more { display: inline-block; font-weight: 750; margin-top: 6px; }
.stat-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat { padding: 22px; border: 1px solid #d4e2e5; border-radius: 16px; background: rgba(255,255,255,.8); }
.stat strong { display: block; font-size: 32px; line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 14px; }
.info-grid, .feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-box, .feature-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.feature-card p, .info-box p { color: var(--muted); }
.callout { padding: 28px; background: var(--brand-soft); border: 1px solid #cfe1e4; border-radius: var(--radius); }
.detail-list { padding-left: 22px; }
.detail-list li { margin: 8px 0; }
.product-hero .hero-inner { padding: 58px 0; }
.product-hero-grid { display: grid; grid-template-columns: 138px minmax(0, 1fr); gap: 34px; align-items: center; }
.product-icon, .product-mark { width: 138px; height: 138px; border-radius: 28px; box-shadow: 0 10px 28px rgba(0,0,0,.15); object-fit: cover; }
.product-mark { display: grid; place-items: center; background: var(--app-accent, var(--brand)); color: #fff; font-size: 46px; font-weight: 850; letter-spacing: -.06em; }
.product-hero h1 { font-size: clamp(38px, 5vw, 54px); }
.screenshot-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.screenshot-card { margin: 0; }
.screenshot-card img { display: block; width: 100%; border-radius: 12px; border: 1px solid #d6dde1; box-shadow: 0 7px 20px rgba(0,0,0,.08); }
.screenshot-card figcaption { color: var(--muted); font-size: 13px; text-align: center; margin-top: 8px; }
.policy-section { padding: 0 0 28px; margin: 34px 0 0; border-bottom: 1px solid #e8ecee; }
.policy-section:last-child { border-bottom: 0; }
.policy-section h2 { font-size: 25px; }
.site-footer { border-top: 1px solid var(--line); background: #f7f9fa; }
.footer-inner { padding: 34px 0 40px; color: var(--muted); font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-brand { max-width: 470px; }
.footer-brand strong { color: var(--ink); font-size: 17px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #475159; font-weight: 600; }
.footer-bottom { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e1e6e9; }
@media (max-width: 900px) {
  .app-grid, .feature-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-inner { padding: 60px 0; }
  .screenshot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .wrap { width: min(calc(100% - 30px), var(--content)); }
  .site-header { position: static; }
  .header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; gap: 10px; }
  .nav { gap: 14px 18px; }
  .hero-inner { padding: 48px 0; }
  .section { padding: 52px 0; }
  .app-grid, .feature-grid, .feature-grid.three, .info-grid { grid-template-columns: 1fr; }
  .product-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .product-icon, .product-mark { width: 112px; height: 112px; border-radius: 24px; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { flex-direction: column; }
}
@media (max-width: 430px) {
  .store-links .store-button { width: 100%; }
  .app-card .store-links .store-button { width: auto; flex: 1 1 140px; }
  .screenshot-grid { grid-template-columns: 1fr; max-width: 280px; margin-left: auto; margin-right: auto; }
}


/* Product-page standardization */
.eyebrow-light { color: #a8d5dc; }
.use-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 42px; align-items: start; }
.use-layout .section-heading { margin-bottom: 0; }
.use-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px; box-shadow: 0 8px 24px rgba(20, 38, 46, 0.04); }
.use-list { margin: 0; padding-left: 22px; columns: 2; column-gap: 34px; }
.use-list li { break-inside: avoid; margin: 0 0 11px; color: #45525b; }
.product-hero .product-icon { background: #fff; }

@media (max-width: 760px) {
  .use-layout { grid-template-columns: 1fr; gap: 24px; }
  .use-list { columns: 1; }
}
/* Compact related-application cards */
.more-app-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.more-app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  min-width: 0;
  min-height: 128px;
  padding: 16px 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-weight: 750;
  text-align: center;
}
.more-app-card:hover,
.more-app-card:focus-visible {
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(20, 38, 46, 0.07);
  transform: translateY(-1px);
}
.more-app-card > img {
  display: block;
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  flex: 0 0 64px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,.11);
}
.more-app-card > span {
  display: block;
  min-width: 0;
  line-height: 1.25;
  font-size: 14px;
}
@media (max-width: 980px) {
  .more-app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .more-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .more-app-grid { grid-template-columns: 1fr; }
  .more-app-card { min-height: 0; flex-direction: row; justify-content: flex-start; text-align: left; padding: 13px 14px; }
  .more-app-card > img { width: 52px !important; height: 52px !important; max-width: 52px !important; flex-basis: 52px; border-radius: 12px; }
}

