:root {
  --bg: #f5f7fb;
  --bg-soft: #edf2f8;
  --panel: #ffffff;
  --panel-2: #f1f5fa;
  --line: #dfe6ef;
  --text: #17243a;
  --muted: #65738b;
  --brand: #365cf5;
  --brand-2: #176bcb;
  --pc: #365cf5;
  --android: #16875d;
  --success: #16875d;
  --warn: #a96712;
  --error: #c43d45;
  --radius: 14px;
  --shadow: 0 18px 42px rgba(27, 49, 87, .10);
}

* { box-sizing: border-box; }

/* Readability baseline: 17px instead of the browser's 16px. Every rem-based
   size below scales with it, so the whole store reads a little larger
   without changing the layout grid. */
html { font-size: 17px; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 48% -20%, rgba(54, 92, 245, .055), transparent 46%), var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.1rem; }

.container { width: 100%; margin: 0 auto; padding-left: clamp(16px, 2.5vw, 40px); padding-right: clamp(16px, 2.5vw, 40px); }
.section { padding-block: 56px; }
.section-alt { background: linear-gradient(180deg, #eef2f8, #f7f9fc); border-block: 1px solid var(--line); }
.muted { color: var(--muted); }
.lead { font-size: 1.14rem; color: #52617a; }

.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 26px; flex-wrap: wrap;
}
.section-head.center { justify-content: center; text-align: center; }
.link-arrow { font-weight: 700; color: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; cursor: pointer; text-decoration: none !important;
  transition: transform .12s ease, background .2s ease, border-color .2s ease, opacity .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 5px 12px rgba(54, 92, 245, .15); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--brand); background: #f3f6ff; }
.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover { background: #edf2f8; }
.btn-light { background: #fff; color: #1e1b4b; }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-sm { padding: 9px 15px; font-size: .92rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .91);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
/* padding-block only: a plain `padding: 14px 0` would zero out the side
   padding that .container provides and push the logo against the edge */
.header-inner { display: flex; align-items: center; gap: 24px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none !important; color: var(--text); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  color: #fff; background: var(--brand); box-shadow: 0 7px 16px rgba(54, 92, 245, .2);
}
.brand-mark svg { width: 27px; height: 27px; fill: currentColor; }
.brand-mark .brand-cut { fill: var(--brand); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.2rem; letter-spacing: .12em; }
.brand-text small { color: var(--muted); font-size: .9rem; letter-spacing: -.015em; }
.main-nav { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.main-nav a {
  color: var(--muted); padding: 8px 12px; border-radius: 8px;
  font-weight: 600; font-size: .98rem; text-decoration: none;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.header-auth { display: flex; align-items: center; gap: 10px; }
.user-chip {
  background: #f2f5fa; border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 999px; font-size: .85rem; font-weight: 600;
}

/* Alerts */
.alert {
  margin: 18px 0 0; padding: 13px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); font-size: .93rem;
}
.alert div + div { margin-top: 5px; }
.alert-success { border-color: rgba(34, 197, 94, .5); background: rgba(34, 197, 94, .1); }
.alert-warn { border-color: rgba(245, 158, 11, .5); background: rgba(245, 158, 11, .1); }
.alert-error { border-color: rgba(239, 68, 68, .5); background: rgba(239, 68, 68, .12); }
.alert-info { border-color: rgba(56, 189, 248, .4); background: rgba(56, 189, 248, .09); }

/* Hero */
.hero {
  padding: 76px 0 68px;
  background:
    radial-gradient(900px 400px at 15% -10%, rgba(99, 102, 241, .28), transparent 60%),
    radial-gradient(700px 380px at 90% 10%, rgba(34, 211, 238, .18), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px;
}
.hero h1 { margin-bottom: 16px; }
.hero p { color: #b9c7de; font-size: 1.07rem; max-width: 56ch; }
.hero-search {
  display: flex; gap: 10px; margin: 26px 0 24px; max-width: 560px;
  background: var(--panel); border: 1px solid var(--line); padding: 8px; border-radius: 14px;
}
.hero-search input {
  flex: 1; background: transparent; border: 0; color: var(--text);
  padding: 10px 12px; font-size: 1rem; outline: none;
}
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.6rem; background: linear-gradient(120deg, #fff, #9dd7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { color: var(--muted); font-size: .85rem; }
.hero-art { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hero-tile {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px; box-shadow: var(--shadow); transform: rotate(-2deg);
}
.hero-tile:nth-child(2) { transform: rotate(3deg); }
.hero-tile:nth-child(3) { transform: rotate(2deg); }
.hero-tile:nth-child(4) { transform: rotate(-3deg); }
.hero-tile img { border-radius: 16px; width: 100%; }

/* Platform cards */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.platform-card {
  display: block; padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
  text-decoration: none !important; color: var(--text);
  transition: transform .15s ease, border-color .2s ease;
}
.platform-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.platform-card p { color: var(--muted); }
.platform-pc { background: linear-gradient(160deg, rgba(56, 189, 248, .14), var(--panel)); }
.platform-android { background: linear-gradient(160deg, rgba(74, 222, 128, .14), var(--panel)); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.step {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.step p { color: var(--muted); font-size: .94rem; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 16px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

/* CTA */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  flex-wrap: wrap; padding: 40px; border-radius: 20px; color: #fff;
  background: linear-gradient(120deg, #4f46e5, #0891b2);
  box-shadow: var(--shadow);
}
.cta p { margin: 0; opacity: .9; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Product grid & cards */
.product-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.product-grid-tight { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, .6); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; padding: 26px; background: linear-gradient(160deg, var(--panel-2), var(--panel)); }
.card-media img { width: 84px; height: 84px; border-radius: 20px; }
.badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.card-media .badge { position: absolute; top: 16px; right: 16px; }
.badge-pc { background: rgba(56, 189, 248, .18); color: var(--pc); border: 1px solid rgba(56, 189, 248, .4); }
.badge-android { background: rgba(74, 222, 128, .16); color: var(--android); border: 1px solid rgba(74, 222, 128, .4); }
.card-body { padding: 20px; flex: 1; }
.card-cat { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2); font-weight: 700; }
.card-body h3 { margin: 8px 0 6px; }
.card-body h3 a { color: var(--text); text-decoration: none; }
.card-body h3 a:hover { color: var(--brand-2); }
.card-tagline { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.card-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.card-meta span { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; }
.card-actions { display: flex; gap: 10px; padding: 0 20px 20px; }
.card-actions .btn { flex: 1; }

/* Catalog */
.page-head { padding-block: 48px 6px; }
.page-head h1 { margin-bottom: 6px; }
.filters { margin-bottom: 30px; }
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.filter-row input[type="search"], .filter-row select {
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  padding: 11px 14px; border-radius: 10px; font-size: .95rem; min-width: 200px; flex: 1;
}
.seg { display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg-btn {
  padding: 10px 18px; color: var(--muted); font-weight: 600; font-size: .92rem;
  text-decoration: none !important;
}
.seg-btn.is-active { background: var(--brand); color: #fff; }

/* Empty state */
.empty {
  text-align: center; padding: 70px 20px; border: 1px dashed var(--line);
  border-radius: var(--radius); background: rgba(255, 255, 255, .02);
}
.empty .btn { margin-top: 12px; }

/* Product page */
.breadcrumb { color: var(--muted); font-size: .88rem; margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--text); }
.product-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.product-hero {
  display: flex; gap: 24px; align-items: center;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; margin-bottom: 24px;
}
.product-icon { width: 116px; height: 116px; border-radius: 26px; flex-shrink: 0; box-shadow: var(--shadow); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.chip {
  font-size: .74rem; background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; color: var(--muted);
}
.panel {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; margin-bottom: 24px;
}
.panel p { color: #c3d0e5; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li { padding-left: 30px; position: relative; color: #c3d0e5; }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center; color: #052e16; background: var(--success);
}
.product-side { position: sticky; top: 92px; }
.buy-box {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.price { font-size: 2rem; font-weight: 800; background: linear-gradient(120deg, var(--brand-2), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spec-list { margin: 0 0 20px; display: grid; gap: 9px; }
.spec-list > div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; text-align: right; }
.fineprint { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }

/* Auth */
.auth-wrap { display: flex; justify-content: center; padding: 64px 0; }
.auth-card {
  width: min(440px, 100%); background: var(--panel);
  border: 1px solid var(--line); border-radius: 18px; padding: 36px;
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 16px; margin-top: 20px; }
.form label { display: grid; gap: 7px; font-size: .88rem; font-weight: 600; color: #c3d0e5; }
.form input {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--text);
  padding: 12px 14px; border-radius: 10px; font-size: .96rem; outline: none;
  transition: border-color .2s;
}
.form input:focus { border-color: var(--brand); }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 76px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; padding: 6px 6px; cursor: pointer;
  color: var(--brand); font-size: .76rem; font-weight: 700; letter-spacing: .04em;
}
.pw-toggle:hover { text-decoration: underline; }
.form small { color: var(--muted); font-weight: 400; }
.auth-alt { text-align: center; margin: 20px 0 0; color: var(--muted); font-size: .92rem; }

/* Table */
.table-wrap {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow-x: auto; background: var(--panel);
}
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--panel-2); font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.cell-product { display: flex; align-items: center; gap: 12px; }
.cell-product img { width: 40px; height: 40px; border-radius: 10px; }
.cell-product a { color: var(--text); font-weight: 600; }
.license-key {
  font-family: Consolas, "Courier New", monospace; font-size: .85rem;
  background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .35);
  color: var(--brand-2); padding: 5px 10px; border-radius: 7px; white-space: nowrap;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 34px; padding-block: 48px 30px;
}
.footer-grid h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-2); }
.footer-grid a { display: block; color: var(--muted); padding: 5px 0; font-size: .98rem; }
.footer-grid a:hover { color: var(--text); }
.footer-grid p { font-size: .96rem; margin-top: 10px; }
.brand-footer { margin-bottom: 8px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-block: 18px 30px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .88rem;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { grid-template-columns: repeat(4, 1fr); }
  .product-layout { grid-template-columns: 1fr; }
  .product-side { position: static; }
  .main-nav { order: 3; width: 100%; margin-left: 0; }
}
@media (max-width: 560px) {
  .hero-art { grid-template-columns: repeat(2, 1fr); }
  .product-hero { flex-direction: column; text-align: center; }
  .chip-row { justify-content: center; }
  .cta { text-align: center; }
}

/* AASH Select storefront refresh */
.hero {
  position: relative; overflow: hidden; padding: 78px 0 72px;
  background:
    radial-gradient(620px 380px at 82% 35%, rgba(69, 111, 245, .095), transparent 70%),
    linear-gradient(180deg, #fbfcfe, #f3f6fb);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .34;
  background-image: linear-gradient(rgba(69, 94, 145, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(69, 94, 145, .045) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent 38%, #000 100%);
}
.hero-inner { position: relative; z-index: 1; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 6vw, 88px); }
.hero-copy { padding: 8px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #4562a2; letter-spacing: .13em; font-size: .76rem; }
.eyebrow-mark { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--brand); }
.hero h1 { font-size: clamp(2.8rem, 5.1vw, 4.55rem); line-height: 1.02; letter-spacing: -.055em; margin: 0 0 20px; }
.hero h1 span { color: var(--brand); }
.hero p { color: #56647b; font-size: 1.15rem; line-height: 1.75; max-width: 52ch; }
.hero-search { align-items: center; gap: 6px; max-width: 590px; margin: 27px 0 14px; padding: 6px; background: #fff; border-color: #dce4f1; border-radius: 13px; box-shadow: 0 12px 30px rgba(31, 52, 96, .08); }
.search-glyph { padding: 0 8px 3px 12px; color: #7c8aa3; font-size: 1.65rem; line-height: 1; }
.hero-search input { color: var(--text); min-width: 0; }
.hero-search input::placeholder { color: #8995a9; }
.hero-search .btn { padding: 11px 17px; }
.hero-proof { display: flex; align-items: center; gap: 9px; color: #65738b; font-size: .84rem; flex-wrap: wrap; }
.proof-check { color: #fff; background: #16875d; border-radius: 50%; width: 18px; height: 18px; display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.proof-dot { width: 3px; height: 3px; background: #aab4c3; border-radius: 50%; }
.hero-stats { gap: 0; margin-top: 32px; }
.hero-stats div { padding: 0 24px; border-left: 1px solid #dce3ed; }
.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats strong { color: var(--text); background: none; -webkit-text-fill-color: currentColor; font-size: 1.65rem; letter-spacing: -.03em; }
.hero-stats span { color: #77849a; font-size: .85rem; }
.hero-art { display: flex; flex-direction: column; gap: 12px; max-width: 490px; justify-self: end; width: 100%; }
.hero-art-note { display: flex; align-items: center; gap: 9px; margin: 0 0 2px 9px; color: #71809a; font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.note-dot { width: 7px; height: 7px; border-radius: 50%; background: #19a477; box-shadow: 0 0 0 4px #dff3eb; }
.note-line { flex: 1; height: 1px; background: #dce3ed; }
.showcase-card { display: flex; align-items: center; gap: 17px; min-height: 126px; padding: 20px 22px; color: var(--text); text-decoration: none !important; background: rgba(255,255,255,.92); border: 1px solid #e1e7f0; border-radius: 17px; box-shadow: 0 12px 32px rgba(35, 55, 95, .08); transition: transform .18s ease, box-shadow .18s ease; }
.showcase-card:hover { transform: translateY(-3px); box-shadow: 0 17px 36px rgba(35,55,95,.13); }
.showcase-main { margin-right: 34px; }
.showcase-secondary { margin-left: 34px; }
.showcase-icon { width: 84px; height: 84px; flex: 0 0 auto; padding: 8px; border-radius: 18px; background: #f2f5fb; }
.showcase-icon img { width: 100%; height: 100%; border-radius: 12px; }
.showcase-copy { display: flex; min-width: 0; flex-direction: column; }
.showcase-copy span { color: #74819a; font-size: .7rem; letter-spacing: .1em; font-weight: 800; }
.showcase-copy strong { margin-top: 3px; font-size: 1.26rem; letter-spacing: -.025em; }
.showcase-copy small { color: #78859a; font-size: .86rem; }
.showcase-arrow { margin-left: auto; color: #8794aa; font-size: 1.15rem; }
.showcase-caption { display: flex; justify-content: space-between; margin: 2px 4px 0 9px; color: #8290a5; font-size: .74rem; }
.showcase-caption span:first-child { color: var(--brand); font-weight: 800; letter-spacing: .1em; }
.section { padding-block: 54px; }
.platform-card { position: relative; padding: 28px 30px; border-radius: 16px; background: #fff; box-shadow: 0 9px 25px rgba(31,52,96,.045); }
.platform-card:hover { transform: translateY(-3px); border-color: #bdcafa; box-shadow: 0 14px 30px rgba(31,52,96,.08); }
.platform-pc, .platform-android { background: #fff; }
.platform-kicker { display: flex; align-items: center; gap: 9px; color: #77859a; font-size: .72rem; letter-spacing: .13em; font-weight: 800; }
.platform-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-size: .9rem; }
.platform-icon-pc { color: #365cf5; background: #edf1ff; }
.platform-icon-android { color: #16875d; background: #e9f6f0; }
.platform-card h2 { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 8px; font-size: 1.58rem; letter-spacing: -.03em; }
.platform-card p { color: #68768d; margin: 0 0 17px; font-size: .98rem; }
.platform-arrow { color: #8190a7; font-size: 1rem; }
.platform-card .link-arrow { font-size: .9rem; }
.section-kicker { display: block; margin-bottom: 5px; color: #7b8aa1; font-size: .72rem; letter-spacing: .14em; font-weight: 800; }
.section-head h2 { margin-bottom: 0; letter-spacing: -.035em; }
.product-grid { gap: 20px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card { min-width: 0; background: #fff; border-color: #e1e7f0; border-radius: 15px; box-shadow: 0 6px 20px rgba(31,52,96,.035); }
.card:hover { transform: translateY(-4px); border-color: #c3cff4; box-shadow: 0 16px 34px rgba(31,52,96,.10); }
.card-media { min-height: 176px; display: grid; place-items: center; padding: 24px; overflow: hidden; background: radial-gradient(circle at 50% 35%, #fff 0, #f8faff 63%, #f1f5fb 100%); border-bottom: 1px solid #edf0f5; }
.card-media::before { content: ""; position: absolute; width: 138px; height: 138px; border: 1px solid rgba(84,112,171,.09); border-radius: 50%; }
.card-media::after { content: ""; position: absolute; width: 102px; height: 102px; border: 1px solid rgba(84,112,171,.07); border-radius: 50%; }
.card-media img { position: relative; z-index: 1; width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 11px 24px rgba(40,58,100,.14); transition: transform .18s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media .badge { z-index: 2; top: 13px; left: 14px; right: auto; padding: 5px 9px; background: rgba(255,255,255,.9); border-color: #e3e8f1; color: #63728a; font-size: .68rem; letter-spacing: .08em; }
.card-platform-mark { z-index: 2; position: absolute; right: 15px; top: 13px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--brand); border: 1px solid #e6ebf3; font-size: .76rem; }
.card-platform-mark:has(+ img + .badge-android) { color: var(--android); }
.card-open { z-index: 2; position: absolute; right: 14px; bottom: 12px; color: #8491a6; opacity: 0; transform: translate(-3px,3px); transition: .18s; }
.card:hover .card-open { opacity: 1; transform: translate(0,0); }
.card-body { display: flex; flex-direction: column; padding: 19px 20px 17px; }
.card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-cat { color: #77859b; font-size: .7rem; letter-spacing: .1em; }
.card-price { color: #16875d; font-size: .78rem; font-weight: 800; }
.card-body h3 { margin: 6px 0 5px; font-size: 1.18rem; letter-spacing: -.02em; }
.card-body h3 a:hover { color: var(--brand); }
.card-tagline { min-height: 50px; margin: 0 0 13px; color: #68768d; font-size: .9rem; line-height: 1.55; }
.card-meta { gap: 7px; margin-top: auto; padding-top: 10px; border-top: 1px solid #edf0f5; color: #8490a3; font-size: .75rem; }
.card-meta span { padding: 0; border: 0; background: none; }
.card-meta span + span::before { content: "·"; margin-right: 7px; color: #b2bdcb; }
.card-actions { padding: 0 20px 19px; }
.card-actions .btn { min-height: 43px; font-size: .86rem; }
.card-actions .btn-outline { border-color: #e0e6ef; }
.card-actions .btn-primary { box-shadow: none; }
.section-alt { background: #eef2f8; }
.step { background: #fff; border-color: #e1e7f0; box-shadow: 0 8px 22px rgba(31,52,96,.035); }
.step p { color: #68768d; }
.step-num { background: var(--brand); }
.cta { color: #fff; background: #1c2d50; border: 1px solid #2d426b; border-radius: 16px; box-shadow: 0 16px 36px rgba(26,43,76,.16); }
.cta p { color: #c8d2e2; }
.cta .btn-light { color: #1c2d50; }
.cta .btn-outline-light { border-color: rgba(255,255,255,.32); }
.page-head { padding-top: 42px; }
.filters input[type="search"], .filter-row select { background: #fff; color: var(--text); }
.seg { background: #fff; border-color: var(--line); }
.seg-btn { color: #64728a; }
.seg-btn.is-active { background: var(--brand); }
.product-hero, .panel, .buy-box, .auth-card { background: #fff; border-color: #e1e7f0; box-shadow: 0 8px 24px rgba(31,52,96,.045); }
.panel p, .feature-list li, .form label { color: #52617a; }
.chip { background: #f3f6fa; color: #65738b; }
.price { color: var(--brand); background: none; -webkit-text-fill-color: currentColor; }
.form input { background: #f8fafd; color: var(--text); }
.table-wrap { background: #fff; }
.table th { background: #f3f6fa; }
.site-footer { background: #eef2f7; }
.footer-grid h4 { color: #365cf5; }
.license-key { background: #eef3ff; border-color: #d9e2ff; color: #365cf5; }
.brand-mark { overflow: hidden; background: #06164d; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.alert-success { border-color: #b8e1ce; background: #eef8f3; }
.alert-warn { border-color: #f0d7ac; background: #fff8eb; }
.alert-error { border-color: #efc6c8; background: #fff2f2; }
.alert-info { border-color: #c8dcf5; background: #f0f6fd; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 34px; }
  .showcase-main { margin-right: 10px; }
  .showcase-secondary { margin-left: 10px; }
}
@media (max-width: 720px) {
  .hero { padding: 48px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { justify-self: stretch; max-width: none; }
  .showcase-main, .showcase-secondary { margin-inline: 0; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
  .hero-search { flex-wrap: wrap; }
  .hero-search .btn { width: 100%; }
  .hero-proof { line-height: 1.8; }
  .hero-stats div { padding-inline: 14px; }
  .showcase-card { min-height: 98px; padding: 13px; gap: 12px; }
  .showcase-icon { width: 62px; height: 62px; padding: 5px; }
  .showcase-copy strong { font-size: 1rem; }
  .showcase-copy small { font-size: .7rem; }
  .platform-card { padding: 23px; }
  .cta { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (max-width: 720px) {
  .header-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 8px; padding-block: 10px 8px;
  }
  .brand { min-width: 0; gap: 8px; }
  .brand-mark { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; }
  .brand-text { min-width: 0; }
  .brand-text strong { font-size: 1.02rem; }
  .brand-text small {
    color: #596983; font-size: .76rem; letter-spacing: -.025em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .header-auth { grid-column: 2; grid-row: 1; gap: 5px; }
  .header-auth .btn { padding: 8px 10px; font-size: .76rem; }
  .header-auth .user-chip { display: none; }
  .main-nav {
    grid-column: 1 / -1; order: initial; width: 100%; margin: 0;
    display: flex; flex-wrap: nowrap; gap: 2px; overflow-x: auto;
    white-space: nowrap; scrollbar-width: none; padding: 1px 0 2px;
    border-top: 1px solid #edf0f5;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { flex: 0 0 auto; padding: 7px 10px; font-size: .8rem; }
}
@media (max-width: 390px) {
  .header-inner { gap: 7px 5px; }
  .brand { gap: 6px; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .brand-text small { font-size: .69rem; }
  .header-auth .btn { padding: 7px 8px; font-size: .7rem; }
  .main-nav a { padding-inline: 8px; font-size: .76rem; }
}
