/* Design Core Hub — Studio V5
   Full-width editorial system, restrained motion, consistent visual rhythm. */

:root {
  --brand: #246bfe;
  --brand-2: #5aa8ff;
  --navy: #07111f;
  --navy-2: #0d2038;
  --ink: #0b1320;
  --text: #344256;
  --muted: #6a788c;
  --line: #dfe6ef;
  --line-2: #cbd6e4;
  --surface: #fff;
  --surface-2: #f5f7fa;
  --surface-3: #ebf2fc;
  --green: #2e8b57;
  --page-pad: clamp(22px, 4.8vw, 112px);
  --section-y: clamp(80px, 8vw, 144px);
  --header-h: 78px;
  --r1: 10px;
  --r2: 16px;
  --r3: 22px;
  --r4: 30px;
  --shadow-1: 0 10px 28px rgba(10, 26, 47, .055);
  --shadow-2: 0 24px 64px rgba(10, 26, 47, .11);
  --shadow-dark: 0 32px 84px rgba(0, 8, 20, .3);
  --ease: cubic-bezier(.22, .72, .2, 1);
  --ease-spring: cubic-bezier(.16, 1, .3, 1);
  --max: none;
}

html {
  scroll-padding-top: calc(var(--header-h) + 24px);
  scrollbar-gutter: stable;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { color: #06101d; background: #c9deff; }

.site, .main, .frame, .section, .hero, .page-hero, .platform-hero, .cta, .footer { width: 100%; }
.container, .header-inner, .announce-inner {
  width: 100%;
  max-width: none;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.section.compact { padding-top: clamp(56px, 5vw, 82px); padding-bottom: clamp(56px, 5vw, 82px); }
.section.soft { background: #f5f7fa; }
.section.tint { background: #eef4fb; }
.section.dark { background: var(--navy); }
.stack { gap: 28px; }
.stack-sm { gap: 18px; }
.stack-lg { gap: clamp(40px, 4vw, 64px); }
.cluster { gap: 12px; }
.grid-2 { gap: clamp(24px, 3vw, 48px); }
.grid-3, .grid-4 { gap: clamp(18px, 2vw, 30px); }

.display, .h1, .h2, .h3, .h4 { font-weight: 700; text-wrap: balance; }
.display { font-size: clamp(54px, 5.55vw, 94px); line-height: .98; letter-spacing: -.052em; }
.h1 { font-size: clamp(46px, 4.7vw, 78px); line-height: 1; letter-spacing: -.048em; }
.h2 { font-size: clamp(36px, 3.35vw, 58px); line-height: 1.06; letter-spacing: -.04em; }
.h3 { font-size: clamp(23px, 2vw, 31px); line-height: 1.18; letter-spacing: -.026em; }
.h4 { font-size: 19px; line-height: 1.3; }
.lead { max-width: 64ch; font-size: clamp(18px, 1.25vw, 21px); line-height: 1.68; }
.copy { max-width: 68ch; font-size: 17px; line-height: 1.75; color: var(--muted); }
.small { font-size: 13px; line-height: 1.55; }
.eyebrow {
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .135em;
}
.eyebrow::before { width: 22px; height: 2px; }
.gradient-text {
  color: #9ed6ff;
  background: none;
  -webkit-text-fill-color: currentColor;
}
.section-head { align-items: end; gap: clamp(28px, 5vw, 88px); }
.section-head-copy { max-width: 880px; gap: 16px; }
.section-head-side { max-width: 520px; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* Controls */
.btn {
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.008em;
  transition: color .28s var(--ease), background-color .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease), transform .28s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); transition-duration: .1s; }
.btn-primary { color: #fff; background: var(--brand); box-shadow: 0 12px 28px rgba(36, 107, 254, .23); }
.btn-primary:hover { background: #155bea; box-shadow: 0 16px 36px rgba(36, 107, 254, .3); }
.btn-ghost { color: var(--text); background: #fff; border-color: var(--line-2); }
.btn-ghost:hover { color: var(--brand); border-color: #9ebbe7; background: #f8fbff; }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.02); }
.btn-outline:hover { color: var(--navy); border-color: #fff; background: #fff; }
.btn-light { color: var(--navy); background: #fff; }
.btn-sm { min-height: 40px; border-radius: 9px; }
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border-color: var(--line);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.icon-btn:hover { color: var(--brand); border-color: #abc2e3; background: #f8fbff; transform: translateY(-1px); }
.btn:focus-visible, .icon-btn:focus-visible, .nav-link:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .faq-q:focus-visible, .tab-btn:focus-visible {
  outline: 3px solid rgba(36,107,254,.22);
  outline-offset: 3px;
}
.cart-count[data-empty="true"], .cart-count:empty { display: none; }

/* Header */
.announce { color: #aebdce; background: #050d18; }
.announce-inner { min-height: 34px; padding-top: 7px; padding-bottom: 7px; font-size: 12px; letter-spacing: .012em; }
.announce strong { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.announce strong::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #62d6a2; box-shadow: 0 0 0 4px rgba(98,214,162,.09); }
.header {
  min-height: var(--header-h);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(217,226,237,.86);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 8px 28px rgba(8, 27, 52, .035);
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
}
.header.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 12px 34px rgba(8,27,52,.08); }
.header-inner { min-height: var(--header-h); padding-top: 12px; padding-bottom: 12px; gap: clamp(22px, 3vw, 52px); }
.logo { gap: 12px; }
.logo-symbol { width: 42px; height: 32px; gap: 5px; }
.logo-symbol span { border-radius: 3px; }
.logo-text strong { font-size: 15px; font-weight: 700; letter-spacing: -.025em; }
.logo-text small { font-size: 8px; font-weight: 700; color: #7f8da0; }
.nav { gap: clamp(14px, 1.55vw, 28px); }
.nav-link { position: relative; padding: 13px 0; color: #3e4b5f; font-size: 13px; font-weight: 650; white-space: nowrap; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 7px; height: 2px; border-radius: 2px; background: var(--brand); transition: right .35s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.dropdown { top: 48px; min-width: 292px; padding: 10px; border-radius: 16px; border-color: var(--line); box-shadow: var(--shadow-2); }
.drop-link { min-height: 62px; border-radius: 10px; transition: background .22s var(--ease), transform .22s var(--ease); }
.drop-link:hover { background: #f5f8fc; transform: translateX(2px); }
.drop-icon { border-radius: 9px; }
.drop-copy strong { font-size: 13px; }
.drop-copy span { font-size: 12px; }
.header-actions { gap: 10px; }
.header-actions .btn { white-space: nowrap; }

/* Full-width hero */
.hero {
  position: relative;
  min-height: auto;
  padding-top: clamp(78px, 7.4vw, 136px);
  padding-bottom: clamp(82px, 7.8vw, 142px);
  overflow: hidden;
  color: #fff;
  background: #06111f;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 18%, rgba(56,130,230,.18), transparent 34%),
    linear-gradient(90deg, rgba(36,107,254,.06) 1px, transparent 1px),
    linear-gradient(rgba(36,107,254,.045) 1px, transparent 1px);
  background-size: auto, 84px 84px, 84px 84px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(420px, .84fr) minmax(560px, 1.28fr);
  gap: clamp(54px, 6.5vw, 126px);
  align-items: center;
}
.hero-copy { max-width: 720px; gap: 28px; }
.hero-copy .eyebrow { color: #82c5ff; }
.hero-copy .eyebrow::before { background: #5ba8ff; }
.hero .lead { color: #becbda; }
.hero-art { min-height: 0; aspect-ratio: 16 / 10; }
.hero-art::before { content: ''; position: absolute; inset: -18px 22px 18px -22px; z-index: -1; border: 1px solid rgba(129,186,255,.16); border-radius: 30px; transform: rotate(-1.2deg); }
.hero-image { border-radius: 24px; border: 1px solid rgba(255,255,255,.13); box-shadow: var(--shadow-dark); }
.hero-image img { object-position: center; }
.floating-card { display: none; }
.hero-actions { gap: 12px; }
.hero-proof { gap: 10px; padding-top: 2px; }
.proof-pill { min-height: 38px; padding: 8px 12px; color: #c8d6e5; background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.11); }

.signal-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: #fff; border-top: 0; border-bottom: 1px solid var(--line); box-shadow: 0 12px 38px rgba(10,26,47,.055); }
.signal { min-height: 116px; padding: 26px var(--page-pad); border-right: 1px solid var(--line); }
.signal:last-child { border-right: 0; }
.signal-inner { width: 100%; max-width: 340px; }
.signal-icon { border-radius: 11px; background: var(--surface-3); }
.signal strong { font-size: 15px; font-weight: 700; }
.signal span { font-size: 13px; line-height: 1.5; }

/* Inner-page heroes */
.page-hero, .platform-hero {
  position: relative;
  padding-top: clamp(82px, 7vw, 126px);
  padding-bottom: clamp(82px, 7vw, 126px);
  overflow: hidden;
  background: #071321;
}
.page-hero::before, .platform-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 10%, rgba(62,134,229,.18), transparent 34%), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 96px 100%; }
.platform-hero.shopify { background: #0a1a15; }
.page-hero-grid { position: relative; z-index: 1; grid-template-columns: minmax(420px, .9fr) minmax(540px, 1.1fr); gap: clamp(50px, 6vw, 108px); align-items: center; }
.page-hero-copy { max-width: 760px; gap: 20px; }
.page-hero-copy .eyebrow { color: #82c5ff; }
.page-hero-media { aspect-ratio: 16 / 9; border-radius: 20px; border-color: rgba(255,255,255,.13); box-shadow: var(--shadow-dark); transform: none; }
.breadcrumbs { color: #9fb0c2; }

/* Surfaces and cards */
.card, .bento-card, .theme-card, .case-card, .article-card, .cap-card, .support-card, .price-card, .faq-item, .form-card, .product-panel, .filter-panel, .order-summary, .account-stat, .download, .cart-item {
  border-color: var(--line);
  border-radius: var(--r2);
  box-shadow: none;
}
.bento-card, .theme-card, .case-card, .article-card, .cap-card, .support-card, .price-card {
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.bento-card:hover, .theme-card:hover, .case-card:hover, .article-card:hover, .cap-card:hover, .support-card:hover, .price-card:hover {
  transform: translateY(-5px);
  border-color: #c2cfdf;
  box-shadow: var(--shadow-2);
}
.bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(276px, auto)); gap: clamp(18px, 1.7vw, 28px); }
.bento-card { grid-column: span 3; min-height: 276px; padding: clamp(26px, 2.3vw, 38px); border-radius: var(--r3); }
.bento-card.large { grid-column: span 6; grid-row: span 2; min-height: 580px; background: #08192d; }
.bento-card.blue { background: #f0f5fb; }
.bento-card.green { background: #eff7f3; }
.bento-card .icon-wrap { border-radius: 11px; }
.bento-copy p { font-size: 16px; line-height: 1.7; }
.bento-link { font-size: 14px; }

.theme-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 1.7vw, 28px); }
.market-main .theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-card { min-width: 0; overflow: hidden; border-radius: var(--r3); }
.theme-thumb { aspect-ratio: 4 / 3; background: #e7edf4; }
.theme-thumb img { transition: transform .8s var(--ease); }
.theme-card:hover .theme-thumb img { transform: scale(1.035); }
.platform-pill { left: 16px; top: 16px; padding: 7px 10px; border-radius: 8px; box-shadow: var(--shadow-1); }
.theme-body { flex: 1; gap: 18px; padding: clamp(22px, 1.8vw, 30px); }
.theme-title h3 { font-size: 21px; }
.theme-title span { font-size: 13px; }
.theme-price { font-size: 20px; }
.theme-features { min-height: 88px; }
.theme-features li { font-size: 14px; }
.theme-actions { margin-top: auto; }

.portfolio-grid { gap: clamp(18px, 2vw, 32px); }
.case-card { border-radius: var(--r3); }
.case-media img, .article-media img { transition: transform .8s var(--ease); }
.case-card:hover .case-media img, .article-card:hover .article-media img { transform: scale(1.035); }
.case-body { min-height: 168px; padding: clamp(22px, 2vw, 32px); }
.case-top { align-items: flex-start; }
.case-body h3 { font-size: 25px; }
.case-body p { font-size: 15px; line-height: 1.65; }
.tag { border-radius: 8px; box-shadow: none; }

.process { grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.process-step { position: relative; min-height: 250px; padding: 32px; border-top: 0; border-right: 1px solid var(--line); }
.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; border-right: 0; }
.process-step::before { content: ''; position: absolute; left: 0; top: -1px; width: 52px; height: 2px; background: var(--brand); }
.process-step h3 { font-size: 21px; }
.process-step p { font-size: 15px; line-height: 1.7; }

/* Marketplace, product, forms */
.market-layout { grid-template-columns: 276px minmax(0, 1fr); gap: clamp(28px, 3vw, 52px); }
.filter-panel { top: calc(var(--header-h) + 18px); padding: 24px; border-radius: var(--r2); box-shadow: var(--shadow-1); }
.filter-check { min-height: 32px; font-size: 15px; }
.market-top { gap: 14px; }
.searchbox, .selectbox { min-height: 50px; border-radius: 10px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.searchbox:focus-within { border-color: #7ba7e8; box-shadow: 0 0 0 4px rgba(36,107,254,.1); }
.selectbox { min-width: 188px; }

.product-layout { grid-template-columns: minmax(0, 1.28fr) minmax(380px, .72fr); gap: clamp(44px, 5vw, 96px); }
.product-main-img { border-radius: var(--r3); }
.product-thumbs { gap: 12px; }
.product-thumb { border-radius: 10px; }
.product-panel { top: calc(var(--header-h) + 18px); padding: clamp(28px, 2.7vw, 42px); border-radius: var(--r3); box-shadow: var(--shadow-1); }
.product-name h1 { font-size: clamp(38px, 3.4vw, 56px); font-weight: 700; }
.product-actions { gap: 10px; }
.tabs { gap: 8px; }
.tab-btn { min-height: 44px; border-radius: 9px; transition: color .25s var(--ease), background .25s var(--ease); }
.tab-btn:hover { color: var(--brand); background: var(--surface-2); }
.tab-btn.active { background: var(--surface-3); }
.tab-panel[hidden] { display: none !important; }

.split { gap: clamp(54px, 6vw, 110px); }
.split-copy { max-width: 760px; }
.split-media { aspect-ratio: 16 / 10; border-radius: var(--r3); box-shadow: var(--shadow-2); }
.cap-grid, .support-categories { gap: clamp(18px, 2vw, 30px); }
.cap-card, .support-card { padding: clamp(24px, 2vw, 32px); border-radius: var(--r2); }
.cap-card p, .support-card p { font-size: 15px; line-height: 1.65; }

.pricing-grid { gap: clamp(20px, 2vw, 32px); }
.price-card { min-height: 100%; padding: clamp(28px, 2.5vw, 40px); border-radius: var(--r3); }
.price-card.featured { border-color: var(--brand); box-shadow: 0 18px 54px rgba(36,107,254,.13); }
.price-card .btn { margin-top: auto; }
.price-badge { border-radius: 8px; }
.amount { font-size: clamp(42px, 3.6vw, 54px); }
.price-list li { font-size: 15px; }
.comparison { border-radius: var(--r2); }

.faq-layout, .contact-layout { gap: clamp(54px, 7vw, 128px); }
.faq-item { overflow: hidden; border-radius: 13px; }
.faq-q { min-height: 66px; padding: 18px 22px; font-size: 16px; transition: background .22s var(--ease); }
.faq-q:hover { background: #f7f9fc; }
.faq-a { padding: 0 22px 22px; font-size: 16px; line-height: 1.75; }
.form-card { padding: clamp(28px, 3vw, 46px); border-radius: var(--r3); box-shadow: var(--shadow-1); }
.form-grid { gap: 20px; }
.field label { font-size: 14px; }
.field input, .field textarea, .field select { min-height: 51px; padding: 13px 15px; border-radius: 10px; font-size: 16px; transition: border-color .24s var(--ease), box-shadow .24s var(--ease); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #aebed2; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #74a3e8; box-shadow: 0 0 0 4px rgba(36,107,254,.1); }
.choice label { min-height: 48px; border-radius: 9px; font-size: 14px; }
.form-note { min-height: 20px; font-size: 13px; }
.contact-card { border-radius: 12px; }

.article-grid { gap: clamp(20px, 2vw, 32px); }
.article-card { border-radius: var(--r3); }
.article-body { flex: 1; padding: clamp(22px, 2vw, 32px); }
.article-body h3 { min-height: 2.45em; font-size: 22px; }
.article-body p { font-size: 15px; line-height: 1.7; }
.article-content p { max-width: 70ch; }
.doc-link { min-height: 58px; border-radius: 11px; }

/* CTA & footer */
.cta { position: relative; overflow: hidden; padding-top: clamp(72px, 6vw, 108px); padding-bottom: clamp(72px, 6vw, 108px); background: #081729; }
.cta::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 88% 0%, rgba(57,132,232,.24), transparent 35%); }
.cta-inner { position: relative; z-index: 1; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 110px); }
.cta-copy { max-width: 780px; }
.cta-copy h2 { font-size: clamp(36px, 3.6vw, 62px); line-height: 1.04; }
.cta-copy p { font-size: 17px; }
.cta-actions { justify-content: flex-end; }
.footer { padding-top: clamp(68px, 6vw, 104px); padding-bottom: 34px; background: #040b14; }
.footer-main { grid-template-columns: 1.6fr repeat(4, minmax(130px, .72fr)); gap: clamp(30px, 4vw, 74px); padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col h4 { font-size: 14px; }
.footer-col a, .footer-col p { font-size: 14px; line-height: 1.65; }
.footer-bottom { padding-top: 26px; font-size: 12px; }
.socials { display: none; }

/* Utility UI */
.scroll-progress { position: fixed; inset: 0 auto auto 0; z-index: 220; width: var(--scroll-progress, 0%); height: 2px; pointer-events: none; background: var(--brand); }
.skip-link { position: fixed; left: 18px; top: -90px; z-index: 300; padding: 11px 15px; color: var(--navy); background: #fff; border-radius: 9px; font-weight: 700; box-shadow: var(--shadow-2); transition: top .25s var(--ease); }
.skip-link:focus { top: 18px; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 82; width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: rgba(7,17,31,.9); border: 1px solid rgba(255,255,255,.15); border-radius: 11px; box-shadow: 0 14px 34px rgba(5,16,31,.22); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .28s var(--ease), visibility .28s var(--ease), transform .28s var(--ease), background .28s var(--ease); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand); }
.back-to-top svg { width: 18px; }
.toast { position: fixed; right: 20px; bottom: 78px; z-index: 220; max-width: min(380px, calc(100vw - 32px)); padding: 14px 16px; color: var(--ink); background: rgba(255,255,255,.98); border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow-2); font-size: 14px; font-weight: 650; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.visible { opacity: 1; transform: none; }

/* Deliberate, restrained motion */
.has-js .reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .78s var(--ease), transform .78s var(--ease); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.has-js .reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

/* Responsive */
@media (max-width: 1440px) {
  :root { --page-pad: clamp(24px, 4.2vw, 72px); }
  .nav { gap: 16px; }
  .theme-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .market-main .theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1260px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .header-actions { justify-self: end; }
  body.nav-open { overflow: hidden; }
  body::before { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; background: rgba(4,12,22,.44); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s var(--ease); }
  body.nav-open::before { opacity: 1; visibility: visible; }
  .mobile-nav { position: fixed; left: var(--page-pad); right: var(--page-pad); top: calc(var(--header-h) + 8px); z-index: 130; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; max-height: calc(100svh - var(--header-h) - 26px); overflow: auto; padding: 14px; background: rgba(255,255,255,.985); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.985); transform-origin: top right; transition: opacity .3s var(--ease), visibility .3s var(--ease), transform .3s var(--ease); }
  .mobile-nav.open { display: grid; opacity: 1; visibility: visible; transform: none; }
  .mobile-nav::before { content: 'Navigation'; grid-column: 1 / -1; padding: 7px 12px; color: #8794a5; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
  .mobile-nav a { padding: 12px 14px; border-radius: 8px; font-size: 14px; font-weight: 650; }
  .mobile-nav a:hover, .mobile-nav a.active { color: var(--brand); background: var(--surface-2); }
  .hero-grid { grid-template-columns: minmax(380px, .9fr) minmax(500px, 1.1fr); gap: 52px; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento-card { grid-column: span 3; }
  .bento-card.large { grid-column: span 6; grid-row: auto; min-height: 430px; }
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-main .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero-grid, .page-hero-grid, .split, .contact-layout, .product-layout, .faq-layout, .cart-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 800px; }
  .hero-art { aspect-ratio: 16 / 9; }
  .hero-art::before { inset: -12px 16px 14px -16px; }
  .page-hero-copy { max-width: 820px; }
  .page-hero-media { max-width: none; }
  .market-layout { grid-template-columns: 1fr; }
  .filter-panel, .product-panel, .contact-aside, .faq-intro, .order-summary { position: static; }
  .filter-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .process-step { border-top: 1px solid var(--line); }
  .process-step:nth-child(2) { border-right: 0; padding-right: 0; }
  .process-step:nth-child(3) { padding-left: 0; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-main > .footer-col:first-child { grid-column: 1 / -1; padding-bottom: 14px; }
}

@media (max-width: 760px) {
  :root { --page-pad: 20px; --section-y: 70px; --header-h: 68px; }
  .announce { display: none; }
  .header-inner { min-height: var(--header-h); padding-top: 10px; padding-bottom: 10px; }
  .logo-text { display: flex; }
  .header-actions > .btn { display: none; }
  .mobile-nav { top: calc(var(--header-h) + 8px); grid-template-columns: 1fr; }
  .mobile-nav::before { grid-column: auto; }
  .hero { padding-top: 62px; padding-bottom: 70px; }
  .display { font-size: clamp(46px, 13.4vw, 64px); line-height: 1; }
  .hero-grid { gap: 48px; }
  .hero-art { aspect-ratio: 4 / 3; }
  .hero-image img { object-position: 66% center; }
  .hero-art::before { display: none; }
  .hero-actions, .cta-actions { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: 1fr; width: 100%; }
  .proof-pill { width: 100%; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal { min-height: 94px; padding: 22px var(--page-pad); border-right: 0; border-bottom: 1px solid var(--line); justify-content: flex-start; }
  .signal:last-child { border-bottom: 0; }
  .section-head { align-items: flex-start; }
  .bento { grid-template-columns: 1fr; }
  .bento-card, .bento-card.large { grid-column: auto; min-height: 320px; }
  .theme-grid, .market-main .theme-grid, .grid-2, .grid-3, .grid-4, .article-grid, .cap-grid, .support-categories, .doc-list, .portfolio-grid, .pricing-grid { grid-template-columns: 1fr; }
  .theme-features { min-height: 0; }
  .process { grid-template-columns: 1fr; }
  .process-step, .process-step:first-child, .process-step:nth-child(2), .process-step:nth-child(3), .process-step:last-child { min-height: 0; padding: 26px 0; border-right: 0; }
  .filter-panel { grid-template-columns: 1fr; }
  .market-top { align-items: stretch; gap: 10px; }
  .selectbox { width: 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-main > .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  :root { --page-pad: 16px; }
  .logo-symbol { width: 38px; height: 29px; }
  .logo-text strong { font-size: 13px; }
  .logo-text small { display: none; }
  .header-actions { gap: 6px; }
  .icon-btn { width: 42px; height: 42px; }
  .hero-copy .eyebrow { font-size: 10px; letter-spacing: .11em; }
  .hero-art { aspect-ratio: 1 / 1; }
  .h2 { font-size: 32px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > .footer-col:first-child { grid-column: auto; }
  .back-to-top { right: 16px; bottom: 16px; }
  .toast { right: 16px; bottom: 72px; }
}

@media (hover: none) {
  .btn:hover, .icon-btn:hover, .bento-card:hover, .theme-card:hover, .case-card:hover, .article-card:hover, .cap-card:hover, .support-card:hover, .price-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .has-js .reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .gradient-text { color: currentColor; }
  .btn, .icon-btn, .theme-card, .card { border: 1px solid ButtonText; }
}
