/* Corllet — tokens from the Figma variables (bg/*, border/*, text/*, accent/*, radius/*) */
:root {
  --bg-canvas: #ffffff;
  --bg-surface: #f5f5f5;
  --bg-raised: #f2f2f2;
  --bg-raised-hover: #e9e9e9;
  --bg-inverse: #0a0a0a;
  --bg-skeleton: #ececec;
  --border-default: #e8e8e8;
  --border-strong: #e2e2e2;
  --text-primary: #0a0a0a;
  --text-secondary: #7a7a7a;
  --text-inverse: #ffffff;
  --accent-lime: #d9f07f;
  --accent-lavender: #f3eafb;
  --accent-sand: #f4f0e9;
  --accent-sky: #e6eef8;
  --accent-purple: #a259f0;
  --accent-purple-subtle: #f5ebff;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --shadow-mock: 0 12px 28px -6px rgba(0, 0, 0, 0.1);
  --shadow-pop: 0 16px 40px -8px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04);
  --font: 'Google Sans Flex', 'Google Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  font-variation-settings: 'GRAD' 0, 'ROND' 0, 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input { font: inherit; color: inherit; }
img, svg { display: block; }
.cur { font-family: 'Inter', var(--font); }
.icon { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--accent-purple); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.t-display { font-size: 48px; line-height: 1.05; letter-spacing: -0.96px; font-weight: 500; margin: 0; }
.t-heading-m { font-size: 28px; line-height: 1.25; letter-spacing: -0.42px; font-weight: 500; margin: 0; }
.t-heading-s { font-size: 22px; line-height: 1.25; letter-spacing: -0.22px; font-weight: 500; margin: 0; }
.t-title-l { font-size: 20px; line-height: 1.3; letter-spacing: -0.2px; font-weight: 500; margin: 0; }
.t-title-m { font-size: 18px; line-height: 1.3; letter-spacing: -0.09px; font-weight: 500; margin: 0; }
.t-body-l { font-size: 15px; line-height: 1.5; margin: 0; }
.t-body-m { font-size: 14px; line-height: 1.45; margin: 0; }
.t-caption { font-size: 13px; line-height: 1.4; margin: 0; }
.muted { color: var(--text-secondary); }

.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text-primary); }
.beta { background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: 999px; padding: 2px 7px; font-size: 10px; font-weight: 600; letter-spacing: 0.6px; color: var(--text-secondary); line-height: normal; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius-full); font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: background-color .15s, color .15s, transform .1s, box-shadow .15s; }
.btn:active { transform: scale(0.97); }
.btn-md { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-xs { height: 28px; }
.btn-primary { background: var(--bg-inverse); color: var(--text-inverse); }
.btn-primary:hover { background: #2a2a2a; }
.btn-secondary { background: var(--bg-raised); color: var(--text-primary); }
.btn-secondary:hover { background: var(--bg-raised-hover); }
.btn-outline { background: var(--bg-canvas); border: 1px solid var(--border-strong); color: var(--text-primary); }
.btn-outline:hover { background: var(--bg-surface); }
.btn-ghost { background: transparent; color: var(--text-primary); }
.btn-ghost:hover { background: var(--bg-raised); }
.btn-highlight { background: var(--accent-purple-subtle); color: var(--accent-purple); }
.btn-highlight:hover { background: #eddcff; }
.btn-block { width: 100%; }

.icon-btn { width: 32px; height: 32px; border-radius: var(--radius-full); display: inline-flex; align-items: center; justify-content: center; background: var(--bg-raised); color: var(--text-primary); transition: background-color .15s; position: relative; flex-shrink: 0; }
.icon-btn:hover { background: var(--bg-raised-hover); }
.icon-btn.filled { background: var(--bg-inverse); color: var(--text-inverse); }
.icon-btn.outline { background: var(--bg-canvas); border: 1px solid var(--border-strong); }
.icon-btn.ghost { background: transparent; }
.icon-btn .badge-dot { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-purple); border: 1.5px solid var(--bg-raised); }

.tab { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: var(--radius-full); background: var(--bg-raised); color: var(--text-primary); font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: background-color .15s, color .15s; }
.tab:hover { background: var(--bg-raised-hover); }
.tab.active { background: var(--bg-inverse); color: var(--text-inverse); }
.tab-sm { height: 30px; }

.seg { display: inline-flex; gap: 2px; padding: 3px; height: 32px; border-radius: var(--radius-full); background: var(--bg-raised); align-items: center; }
.seg button { height: 26px; padding: 0 12px; border-radius: var(--radius-full); font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--text-secondary); transition: background-color .15s, color .15s; }
.seg button:hover { color: var(--text-primary); }
.seg button.on { background: var(--bg-canvas); color: var(--text-primary); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }

.search { display: flex; align-items: center; gap: 10px; height: 40px; width: 219px; padding: 0 14px; border-radius: var(--radius-full); background: var(--bg-raised); color: var(--text-secondary); transition: box-shadow .15s, background-color .15s; }
.search:focus-within { background: var(--bg-canvas); box-shadow: inset 0 0 0 1px var(--border-strong); }
.search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-size: 13px; line-height: 1.4; color: var(--text-primary); }
.search input::placeholder { color: var(--text-secondary); }
.search .icon { color: var(--text-primary); }

.dropdown { position: relative; }
.pill-select { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 12px; border-radius: var(--radius-full); background: var(--bg-raised); font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.pill-select:hover { background: var(--bg-raised-hover); }
.menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px; z-index: 60; padding: 6px; background: var(--bg-canvas); border-radius: 14px; box-shadow: var(--shadow-pop); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .15s, transform .15s; }
.menu.open { opacity: 1; transform: none; pointer-events: auto; }
.menu.left { left: 0; right: auto; }
.menu-item { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 9px; font-size: 13px; font-weight: 500; text-align: left; }
.menu-item:hover { background: var(--bg-surface); }
.menu-item .icon { color: var(--text-primary); }
.menu-item .count { color: var(--text-secondary); font-weight: 400; }
.menu-sep { height: 1px; background: var(--border-default); margin: 6px 4px; }
.menu-head { padding: 8px 10px 4px; font-size: 12px; color: var(--text-secondary); }
.notif { display: flex; gap: 10px; padding: 10px; border-radius: 9px; }
.notif:hover { background: var(--bg-surface); }
.notif p { margin: 0; font-size: 13px; line-height: 1.4; }
.notif small { color: var(--text-secondary); font-size: 12px; }

.avatar { width: 32px; height: 32px; border-radius: 999px; border: 2px solid var(--border-default); flex-shrink: 0; background: linear-gradient(135deg, #9ef080 0%, #218c73 50%); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: -0.065px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.avatar.lg { width: 40px; height: 40px; }

.app-logo { width: 32px; height: 32px; border-radius: var(--radius-md); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 22px; letter-spacing: -0.88px; line-height: 1; }
.app-logo.two { font-size: 17px; letter-spacing: -0.68px; }
.app-logo.lg { width: 48px; height: 48px; font-size: 30px; border-radius: 14px; }
.app-logo.lg.two { font-size: 24px; }
.app-logo.xl { width: 64px; height: 64px; font-size: 40px; border-radius: 18px; }
.app-logo.xl.two { font-size: 32px; }

.app-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); gap: 16px; }
.app-header.scrolled { box-shadow: 0 1px 0 var(--border-default); }
.app-header .left, .app-header .actions, .app-header nav { display: flex; align-items: center; }
.app-header .left { gap: 20px; min-width: 0; }
.app-header nav { gap: 6px; }
.app-header .actions { gap: 8px; }
.nav-scroll { overflow-x: auto; scrollbar-width: none; }
.nav-scroll::-webkit-scrollbar { display: none; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section-heading .t-display .sub { display: block; color: var(--text-secondary); }
.section-heading .desc { width: 260px; flex-shrink: 0; font-size: 14px; line-height: 1.45; color: var(--text-secondary); margin: 0; }
.section-heading.center { flex-direction: column; align-items: center; text-align: center; gap: 24px; max-width: 520px; margin: 0 auto; }
.section-heading.center .desc { width: auto; max-width: 400px; }

.gallery-hero { padding: 72px var(--gutter) 48px; }

.toolbar { position: sticky; top: 64px; z-index: 40; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px var(--gutter); }
.toolbar .left, .toolbar .right, .toolbar .sort { display: flex; align-items: center; }
.toolbar .left { gap: 16px; min-width: 0; }
.toolbar .sort { gap: 6px; }
.toolbar .right { gap: 8px; flex-shrink: 0; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px var(--gutter) 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--accent-purple-subtle); color: var(--accent-purple); font-size: 13px; font-weight: 500; }
.chip button { display: inline-flex; color: inherit; border-radius: 999px; padding: 2px; }
.chip button:hover { background: rgba(162, 89, 240, 0.12); }
.link-btn { font-size: 13px; font-weight: 500; color: var(--text-secondary); padding: 0 6px; }
.link-btn:hover { color: var(--text-primary); }

.category-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 260px)); justify-content: space-between; gap: 24px; padding: 24px var(--gutter) 32px; background: var(--bg-canvas); border-bottom: 1px solid var(--border-default); }
.category-menu[hidden] { display: none; }
.cat-col h3 { font-size: 13px; line-height: 1.4; font-weight: 400; color: var(--text-secondary); margin: 0 0 12px; }
.cat-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cat-col button { font-size: 20px; line-height: 1.3; letter-spacing: -0.2px; font-weight: 500; text-align: left; transition: color .15s; }
.cat-col button:hover { color: var(--text-secondary); }
.cat-col button.on { color: var(--accent-purple); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 24px; padding: 24px var(--gutter); }
.card { display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; }
.card-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-lg); }
.tile { height: 300px; border-radius: var(--radius-lg); background: var(--bg-surface); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; transition: background-color .2s; }
.tone-sky .tile, .tile.tone-sky { background: var(--accent-sky); }
.tone-lime .tile, .tile.tone-lime { background: var(--accent-lime); }
.tone-lavender .tile, .tile.tone-lavender { background: var(--accent-lavender); }
.tone-sand .tile, .tile.tone-sand { background: var(--accent-sand); }
.card:hover .tile { filter: brightness(0.985); }
.tone-neutral.card:hover .tile { background: var(--bg-raised); filter: none; }
.tile .mock { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.card:hover .tile .mock { transform: translateY(-4px); }
.tile .row-mocks { display: flex; gap: 10px; align-items: center; zoom: 0.78; }
.save-btn { position: absolute; top: 14px; right: 14px; z-index: 2; width: 32px; height: 32px; border-radius: 999px; background: var(--bg-canvas); display: inline-flex; align-items: center; justify-content: center; color: var(--text-primary); opacity: 0; transform: scale(.9); transition: opacity .15s, transform .15s, background-color .15s; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.card:hover .save-btn, .save-btn:focus-visible, .save-btn.saved { opacity: 1; transform: none; }
.save-btn.saved { background: var(--bg-inverse); color: var(--text-inverse); }
.save-btn.saved svg path { fill: currentColor; }
.meta { display: flex; gap: 12px; align-items: center; min-width: 0; }
.meta-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.meta-text .name { font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta-text .tag { font-size: 13px; line-height: 1.4; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.card.loading .tile { background: var(--bg-surface); }
.skeleton { background: var(--bg-skeleton); border-radius: var(--radius-sm); position: relative; overflow: hidden; }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shimmer 1.3s infinite; }
.skeleton.thumb { width: 252px; height: 158px; }
.skeleton.logo { width: 32px; height: 32px; }
@keyframes shimmer { to { transform: translateX(100%); } }
.card.reveal { animation: reveal .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.banner-wrap { padding: 16px var(--gutter) 24px; }
.pro-banner { background: var(--accent-lime); border-radius: var(--radius-lg); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pro-banner h2 { margin: 0; font-size: 32px; line-height: 1.1; letter-spacing: -0.64px; font-weight: 500; }
.pro-banner h2 span { display: block; opacity: 0.45; }
.pro-banner .btn { height: 36px; padding: 0 16px; font-size: 14px; }

.gallery-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter) 40px; min-height: 92px; }
.gallery-footer .spacer { width: 36px; }
.end-note { font-size: 13px; color: var(--text-secondary); }

.empty { padding: 80px var(--gutter); text-align: center; color: var(--text-secondary); }
.empty h3 { color: var(--text-primary); margin: 0 0 6px; font-size: 20px; font-weight: 500; letter-spacing: -0.2px; }
.empty p { margin: 0 0 20px; }

.detail-hero { padding: 48px var(--gutter) 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--text-secondary); padding: 24px var(--gutter) 0; }
.crumbs a:hover { color: var(--text-primary); }
.detail-id { display: flex; gap: 20px; align-items: center; }
.detail-id h1 { margin: 0; }
.detail-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.stat { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--bg-surface); font-size: 12px; font-weight: 500; }
.detail-actions { display: flex; gap: 8px; }
.screen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 24px; padding: 24px var(--gutter) 64px; }
.screen-card { display: flex; flex-direction: column; gap: 12px; position: relative; }
.screen-card .tile { height: 420px; cursor: zoom-in; }
.screen-card .tile .mock-phone { zoom: 1.45; }
.screen-card .tile .mock-web { zoom: 0.78; }
.screen-card.wide { grid-column: span 2; }
.screen-card.wide .tile .mock-web { zoom: 1.45; }
.screen-card .caption { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 500; }
.screen-card .caption span { color: var(--text-secondary); font-weight: 400; font-size: 13px; }
.screen-card:hover .save-btn { opacity: 1; transform: none; }
.screen-card .tile:hover .mock { transform: translateY(-4px); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 10, 10, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 32px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox .frame { display: flex; flex-direction: column; align-items: center; gap: 16px; transform: scale(.97); transition: transform .25s; }
.lightbox.open .frame { transform: none; }
.lightbox .mock-phone { zoom: 2.4; }
.lightbox .mock-web { zoom: 2.1; }
.lightbox .lb-bar { display: flex; gap: 8px; align-items: center; color: #fff; font-size: 14px; }
.lightbox .lb-bar .btn-secondary { background: rgba(255, 255, 255, .14); color: #fff; }
.lightbox .lb-bar .btn-secondary:hover { background: rgba(255, 255, 255, .22); }
.lightbox .lb-close { position: fixed; top: 20px; right: 20px; background: rgba(255, 255, 255, .14); color: #fff; }
.lightbox .lb-close:hover { background: rgba(255, 255, 255, .24); }
.lightbox .lb-nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .14); color: #fff; width: 44px; height: 44px; }
.lightbox .lb-nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-prev svg { transform: rotate(90deg); }
.lightbox .lb-next { right: 20px; }
.lightbox .lb-next svg { transform: rotate(-90deg); }

.modal-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(10, 10, 10, 0.4); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal { background: #fff; border-radius: var(--radius-lg); padding: 32px; width: 100%; max-width: 440px; position: relative; transform: translateY(8px); transition: transform .2s; }
.modal-backdrop.open .modal { transform: none; }
.modal h2 { margin: 0 0 8px; }
.modal p { margin: 0 0 20px; }
.modal .close { position: absolute; top: 16px; right: 16px; }
.copy-row { display: flex; gap: 8px; }
.copy-row input { flex: 1; min-width: 0; height: 40px; border-radius: 999px; border: 1px solid var(--border-strong); padding: 0 16px; font-size: 13px; background: var(--bg-surface); }
.invite-perks { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-default); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; background: var(--bg-inverse); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.mock { background: var(--bg-canvas); border: 1px solid var(--border-default); box-shadow: var(--shadow-mock); overflow: hidden; flex-shrink: 0; color: var(--text-primary); text-align: left; letter-spacing: -0.01em; line-height: normal; }
.mock-phone { width: 128px; height: 256px; border-radius: 18px; padding: 14px 10px 10px; display: flex; flex-direction: column; gap: 9px; }
.mock-phone > * { flex-shrink: 0; }
.mock p { margin: 0; }
.m-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--bg-raised); flex-shrink: 0; display: block; }
.m-dot.lime { background: var(--accent-lime); }
.m-dot.lg { width: 18px; height: 18px; }
.m-dot.sm { width: 12px; height: 12px; }
.m-greet { display: flex; align-items: center; gap: 5px; font-size: 7px; font-weight: 500; }
.m-balance { background: var(--bg-inverse); color: #fff; border-radius: 10px; padding: 9px; display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.m-balance-label { font-size: 5.5px; opacity: .6; }
.m-balance-amt { font-size: 12px; font-weight: 600; }
.m-actions { display: flex; justify-content: space-between; }
.m-action { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 5.5px; font-weight: 500; color: var(--text-secondary); }
.m-h6 { font-size: 6.5px; font-weight: 600; }
.m-row { display: flex; justify-content: space-between; align-items: center; font-size: 6px; white-space: nowrap; }
.m-row-l { display: flex; gap: 5px; align-items: center; }
.m-row-amt { color: var(--text-secondary); font-weight: 500; }
.m-row-amt.pos { color: var(--text-primary); }

.mock-phone:not(.mock-home) { gap: 7px; }
.m-title { font-size: 9px; font-weight: 600; line-height: 1.15; letter-spacing: -0.09px; }
.m-sub { font-size: 5.5px; color: var(--text-secondary); line-height: 1.35; }
.m-fine { font-size: 4.8px; color: var(--text-secondary); line-height: 1.4; }
.m-fine.dark { color: var(--text-primary); }
.center { text-align: center; }
.m-label { font-size: 5.5px; color: var(--text-secondary); margin-top: 2px !important; }
.m-input { height: 22px; border-radius: 6px; background: var(--bg-surface); border: 1px solid var(--border-default); display: flex; align-items: center; gap: 6px; padding: 0 7px; font-size: 6.5px; font-weight: 500; white-space: nowrap; }
.m-prefix { font-size: 5px; padding-right: 6px; border-right: 1px solid var(--border-strong); }
.m-spacer { flex: 1 1 auto !important; }
.m-btn { height: 20px; border-radius: 999px; background: var(--bg-inverse); color: #fff; font-size: 6px; font-weight: 500; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.m-btn.ghost { background: var(--bg-raised); color: var(--text-primary); }
.m-illus { height: 96px; border-radius: 10px; background: var(--accent-lavender); position: relative; overflow: hidden; }
.m-illus-circle { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: var(--accent-lime); left: 26px; top: 22px; }
.m-illus-card { position: absolute; width: 30px; height: 20px; border-radius: 4px; background: var(--bg-inverse); left: 56px; top: 54px; transform: rotate(-8deg); }
.mock-welcome .m-btn:last-child { margin-top: -2px; }
.m-otp { display: flex; gap: 3px; }
.m-otp span { width: 15px; height: 18px; border-radius: 4px; background: var(--bg-surface); border: 1px solid var(--border-default); display: flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 500; }
.m-otp span.active { border-color: var(--text-primary); background: #fff; }
.m-note { background: var(--accent-sand); border-radius: 6px; padding: 6px; font-size: 5px; line-height: 1.4; }
.m-chip { align-self: flex-start; background: var(--accent-lime); border-radius: 999px; padding: 3px 6px; font-size: 4.8px; font-weight: 600; letter-spacing: .2px; }
.m-tabs { display: flex; gap: 3px; }
.m-tabs span { height: 13px; padding: 0 5px; border-radius: 999px; background: var(--bg-raised); font-size: 5px; font-weight: 500; display: flex; align-items: center; }
.m-tabs span.on { background: var(--bg-inverse); color: #fff; }
.m-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.m-amts span { height: 13px; border-radius: 999px; background: var(--bg-raised); font-size: 5px; font-weight: 500; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.m-amts span.on { background: var(--accent-lime); }
.m-pin { display: flex; gap: 6px; justify-content: center; margin-top: 2px !important; }
.m-pin span { width: 6px; height: 6px; border-radius: 50%; background: var(--bg-raised); }
.m-pin span.on { background: var(--text-primary); }
.m-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px 6px; padding: 0 4px; }
.m-keys span { height: 17px; border-radius: 6px; background: var(--bg-surface); display: flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 500; }
.m-keys span.blank { background: transparent; }
.m-success { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-lime); display: flex; align-items: center; justify-content: center; align-self: center; margin-bottom: 4px; }
.mock-success .m-btn.ghost { margin-bottom: -1px; }

.mock-web { width: 300px; height: 188px; border-radius: 10px; display: flex; font-size: 5.5px; }
.w-side { width: 60px; height: 100%; background: var(--bg-surface); padding: 10px 8px 0; display: flex; flex-direction: column; gap: 6px; color: var(--text-secondary); }
.w-side .on { color: var(--text-primary); font-weight: 600; }
.w-main { flex: 1; min-width: 0; padding: 12px 12px 0; display: flex; flex-direction: column; gap: 6px; }
.w-label { color: var(--text-secondary); }
.w-amt { font-size: 13px; font-weight: 600; white-space: nowrap; }
.w-chart { display: flex; gap: 5px; align-items: flex-end; height: 64px; }
.w-chart span { width: 10px; border-radius: 2px; background: var(--accent-lime); }
.w-chart span.last { background: var(--bg-inverse); }
.w-row { display: grid; grid-template-columns: 1fr 1fr auto; white-space: nowrap; }
.w-row .b { font-weight: 500; }
.w-row .s { color: var(--text-secondary); text-align: right; }

.container { max-width: 1440px; margin: 0 auto; padding-left: 120px; padding-right: 120px; }
.mkt-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.mkt-nav .inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mkt-nav.scrolled { box-shadow: 0 1px 0 var(--border-default); }
.mkt-nav .links, .mkt-nav .actions { display: flex; align-items: center; gap: 6px; }
.mkt-nav .actions { gap: 8px; }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

.hero { padding-top: 96px; padding-bottom: 40px; text-align: center; }
.hero .announce { margin-bottom: 28px; }
.hero h1 { font-size: 72px; line-height: 1.02; letter-spacing: -2.2px; font-weight: 500; margin: 0 auto; max-width: 900px; }
.hero h1 .sub { display: block; color: var(--text-secondary); }
.hero p.lede { font-size: 18px; line-height: 1.5; color: var(--text-secondary); max-width: 520px; margin: 24px auto 32px; }
.hero .cta { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero .proof { margin-top: 20px; font-size: 13px; color: var(--text-secondary); display: flex; gap: 10px; align-items: center; justify-content: center; }

.showcase { padding: 40px 0 24px; overflow: hidden; }
.showcase-track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; padding: 8px 0 24px; }
.showcase:hover .showcase-track { animation-play-state: paused; }
.showcase .tile { width: 260px; height: 340px; flex-shrink: 0; }
.showcase .tile .mock-phone { zoom: 1.15; }
.showcase .tile.wide { width: 420px; }
.showcase .tile.wide .mock-web { zoom: 1.2; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .showcase-track { animation: none; } html { scroll-behavior: auto; } }

.logos { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding-top: 32px; }
.logos-label { width: 100%; text-align: center; font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }

.mkt-section { padding-top: 120px; }
.mkt-section .section-heading { margin-bottom: 56px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 24px; }
.cat-tile { display: flex; flex-direction: column; gap: 28px; padding: 0; text-align: left; }
.cat-tile .t-body-l { color: var(--text-secondary); }
.cat-tile:hover .t-heading-s { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }

.testimonial { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 800px; margin: 0 auto; text-align: center; }
.testimonial .author { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.testimonial blockquote { margin: 0; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card { border-radius: var(--radius-lg); background: var(--bg-surface); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.price-card.pro { background: var(--accent-lime); }
.price-card .head { display: flex; justify-content: space-between; align-items: center; }
.price-card .badge { background: var(--bg-inverse); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.2; }
.price-card .price { display: flex; align-items: baseline; gap: 6px; }
.price-card .cta { height: 38px; font-size: 14px; }
.price-card.pro .cta { height: 36px; }
.price-card .divider { height: 1px; background: var(--border-strong); }
.price-card.pro .divider { background: rgba(10, 10, 10, .12); }
.features { display: flex; flex-direction: column; gap: 12px; }
.feature { display: flex; gap: 10px; align-items: center; font-size: 14px; line-height: 1.45; }

.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-default); }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; text-align: left; transition: padding-bottom .25s ease; }
.faq-item .answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-item .answer > div { overflow: hidden; }
.faq-item .answer p { padding-bottom: 24px; }
.faq-item.open button { padding-bottom: 12px; }
.faq-item.open .answer { grid-template-rows: 1fr; }

.closing { padding-top: 120px; padding-bottom: 120px; }

.site-footer { background: var(--bg-surface); padding: 72px 0 40px; }
.site-footer .top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.site-footer .brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer .brand p { width: 260px; }
.site-footer .cols { display: flex; gap: 96px; flex-wrap: wrap; }
.site-footer .col { display: flex; flex-direction: column; gap: 12px; }
.site-footer .col a, .site-footer .col button { font-size: 15px; line-height: 1.5; font-weight: 500; text-align: left; }
.site-footer .col a:hover, .site-footer .col button:hover { color: var(--text-secondary); }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; font-size: 13px; color: var(--text-secondary); flex-wrap: wrap; }

@media (max-width: 1280px) {
  .container { padding-left: 64px; padding-right: 64px; }
}
@media (max-width: 1100px) {
  .app-header .search { width: 180px; }
  .toolbar { flex-wrap: wrap; }
  .category-menu { grid-template-columns: repeat(2, 1fr); }
  .mkt-nav .links { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu.open { display: flex; flex-direction: column; gap: 4px; padding: 8px 64px 20px; }
  .mobile-menu a, .mobile-menu button { padding: 10px 0; font-size: 18px; font-weight: 500; text-align: left; letter-spacing: -0.09px; }
}
@media (max-width: 960px) {
  .app-header nav .tab:not(.active), .app-header nav .btn-highlight, .header-invite { display: none; }
  .cat-grid, .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .hero h1 { font-size: 56px; letter-spacing: -1.6px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .mobile-menu.open { padding: 8px 16px 20px; }
  .app-header { gap: 8px; }
  .app-header .search { width: 40px; padding: 0; justify-content: center; }
  .app-header .search input { display: none; }
  .app-header .search.expanded { position: absolute; left: 16px; right: 16px; width: auto; padding: 0 14px; z-index: 5; }
  .app-header .search.expanded input { display: block; }
  .app-header .beta { display: none; }
  .app-header .header-bell { display: none; }
  .t-display { font-size: 36px; letter-spacing: -0.72px; }
  .gallery-hero { padding: 40px var(--gutter) 28px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-heading .desc { width: auto; }
  .toolbar .left { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .toolbar .left::-webkit-scrollbar { display: none; }
  .toolbar .sort, .toolbar .seg { flex-shrink: 0; }
  .toolbar .right { width: 100%; justify-content: space-between; }
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .category-menu { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .cat-col button { font-size: 16px; }
  .pro-banner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .pro-banner h2 { font-size: 24px; letter-spacing: -0.48px; }
  .hero { padding-top: 56px; padding-bottom: 24px; }
  .hero h1 { font-size: 40px; letter-spacing: -1.1px; }
  .hero p.lede { font-size: 16px; }
  .showcase .tile { width: 210px; height: 280px; }
  .showcase .tile .mock-phone { zoom: .95; }
  .showcase .tile.wide { width: 330px; }
  .showcase .tile.wide .mock-web { zoom: .95; }
  .mkt-section { padding-top: 80px; }
  .mkt-section .section-heading { margin-bottom: 36px; }
  .cat-grid, .preview-grid { grid-template-columns: 1fr; gap: 36px; }
  .testimonial .t-heading-m { font-size: 22px; letter-spacing: -0.3px; }
  .site-footer .cols { gap: 48px; }
  .site-footer .brand p { width: auto; }
  .mkt-nav .actions [data-action="login"] { display: none; }
  .closing { padding-top: 80px; padding-bottom: 80px; }
  .detail-hero { padding-top: 24px; }
  .detail-id { gap: 14px; }
  .screen-grid { grid-template-columns: 1fr; }
  .screen-card.wide { grid-column: auto; }
  .screen-card.wide .tile .mock-web { zoom: 0.95; }
  .lightbox .mock-phone { zoom: 1.9; }
  .lightbox .mock-web { zoom: 1.1; }
  .lightbox .lb-nav { display: none; }
  .faq-item .t-title-m { font-size: 16px; }
  .mkt-nav .inner { height: 64px; }
}
