/* yaka digital — front-end design system
   Mobile-first. Off-white canvas, white surfaces, ink typography (Jost). */

:root {
    --bg: #f6f5f1;
    --bg-2: #efede7;
    --surface: #ffffff;
    --ink: #111111;
    --ink-2: #3c3c39;
    --muted: #7a7a74;
    --line: #e7e5de;
    --line-2: #d9d7cf;
    --star: #f5a524;
    --ok: #1f8a4c;
    --ok-bg: #e4f5ea;
    --warn: #9a6400;
    --warn-bg: #fdf1d6;
    --bad: #b42323;
    --bad-bg: #fde5e5;
    --info-bg: #e9eef7;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 10px 30px -12px rgba(17, 17, 17, .12);
    --shadow-hover: 0 2px 4px rgba(17, 17, 17, .05), 0 18px 40px -14px rgba(17, 17, 17, .18);
    --font: 'Jost', 'Century Gothic', 'Futura', ui-sans-serif, system-ui, sans-serif;
    --nav-h: 60px;
    --tab-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, .display { letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: 1.75rem; font-weight: 700; }
h2 { font-size: 1.25rem; font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; }

.eyebrow {
    font-size: .72rem;
    font-weight: 400;
    letter-spacing: .28em;
    text-transform: lowercase;
    color: var(--muted);
}

.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.strong { font-weight: 600; }
.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- top bar ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: var(--nav-h);
    background: rgba(246, 245, 241, .82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(17, 17, 17, .06);
}
.topbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 26px; width: auto; }
.brand-tag {
    font-size: .68rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--muted);
    padding-left: 10px;
    border-left: 1px solid var(--line-2);
    line-height: 1;
}
.topnav { display: none; align-items: center; gap: 4px; }
.topnav a, .topnav button {
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 500;
    font-size: .95rem;
    color: var(--ink-2);
    background: transparent;
    border: 0;
    cursor: pointer;
}
.topnav a:hover, .topnav button:hover { background: var(--bg-2); color: var(--ink); }
.topnav a.is-active { background: var(--ink); color: #fff; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.header-account { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.header-identity { max-width: 150px; overflow: hidden; color: var(--ink-2); font-size: .88rem; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.header-logout { min-height: 36px; padding: 0 11px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); cursor: pointer; font: inherit; font-size: .87rem; font-weight: 600; }
.header-logout:hover { background: var(--bg-2); color: var(--ink); }
.icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
}
.icon-btn svg { width: 20px; height: 20px; }
.avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
}

/* ---------- page ---------- */
main { flex: 1; padding: 20px 0 32px; }
.page-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.page-head .lead { color: var(--muted); max-width: 60ch; }
.section { margin-top: 28px; }
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.section-head a { font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.between { justify-content: space-between; }

/* ---------- surfaces ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}
.card + .card { margin-top: 12px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.divider { height: 1px; background: var(--line); margin: 14px 0; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid var(--ink);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    white-space: nowrap;
}
.btn:hover { background: #000; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.btn:active { transform: scale(.98); }
.btn[aria-disabled="true"], .btn:disabled {
    background: var(--bg-2);
    border-color: var(--bg-2);
    color: var(--muted);
    pointer-events: none;
    box-shadow: none;
}
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); box-shadow: none; }
.btn-soft { background: var(--bg-2); color: var(--ink); border-color: transparent; }
.btn-soft:hover { background: var(--line); box-shadow: none; }
.btn-sm { min-height: 34px; padding: 0 16px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-get {
    min-height: 32px;
    padding: 0 18px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: var(--bg-2);
    color: var(--ink);
    border-color: transparent;
}
.btn-get:hover { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.input, select, textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-2);
    background: var(--surface);
    outline: none;
    transition: border-color .12s ease, box-shadow .12s ease;
}
textarea { min-height: 120px; resize: vertical; }
.input:focus, select:focus, textarea:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, .08);
}
select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form-grid { display: grid; gap: 14px; }
.error { color: var(--bad); font-size: .85rem; }

.search {
    position: relative;
    display: flex;
    align-items: center;
}
.search svg {
    position: absolute;
    left: 16px;
    width: 18px;
    height: 18px;
    color: var(--muted);
    pointer-events: none;
}
.search .input {
    padding-left: 44px;
    border-radius: 999px;
    min-height: 50px;
    background: var(--surface);
    border-color: var(--line);
    box-shadow: var(--shadow);
}
.search .input::placeholder { color: var(--muted); }

/* ---------- chips ---------- */
.chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 16px 6px;
    margin: 0 -16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: var(--surface);
    font-size: .9rem;
    font-weight: 500;
    color: var(--ink-2);
    white-space: nowrap;
}
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- badges ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-2);
    color: var(--ink-2);
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.2;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: currentColor; opacity: .7; }
.badge-ready, .badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-wait { background: var(--warn-bg); color: var(--warn); }
.badge-fail { background: var(--bad-bg); color: var(--bad); }
.badge-info { background: var(--info-bg); color: #2c4a80; }
.badge-plain::before { display: none; }

/* ---------- app tile ---------- */
.tile {
    --h: 210;
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -.02em;
    background:
        radial-gradient(120% 120% at 20% 10%, hsl(var(--h) 80% 72%) 0%, transparent 60%),
        linear-gradient(160deg, hsl(var(--h) 70% 52%), hsl(calc(var(--h) + 40) 70% 36%));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px -8px hsl(var(--h) 60% 40% / .7);
    user-select: none;
}
.tile-lg { width: 96px; height: 96px; border-radius: 26px; font-size: 1.9rem; }
.tile-sm { width: 44px; height: 44px; border-radius: 12px; font-size: .95rem; }

/* ---------- stars ---------- */
.stars { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink-2); }
.stars-row { position: relative; display: inline-flex; line-height: 0; }
.stars-row svg { width: 14px; height: 14px; }
.stars-bg { color: var(--line-2); display: inline-flex; }
.stars-fg { position: absolute; inset: 0; overflow: hidden; color: var(--star); display: inline-flex; white-space: nowrap; }
.stars-lg .stars-row svg { width: 20px; height: 20px; }
.stars .count { color: var(--muted); }

/* ---------- store list ---------- */
.store-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.app-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .15s ease;
}
.app-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.app-card .body { min-width: 0; }
.app-card .name { font-weight: 600; font-size: 1.02rem; line-height: 1.2; }
.app-card .sub { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.app-card .desc { font-size: .88rem; color: var(--ink-2); margin-top: 6px; }
.app-card .meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.app-card .cta { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.app-card .cta .hint { font-size: .68rem; color: var(--muted); }

.empty {
    text-align: center;
    padding: 48px 20px;
    border: 1px dashed var(--line-2);
    border-radius: var(--radius);
    color: var(--muted);
}

/* ---------- product detail ---------- */
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); font-weight: 500; font-size: .95rem; margin-bottom: 14px; }
.back svg { width: 18px; height: 18px; }
.hero { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.hero .cta-block { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.hero h1 { font-size: 1.6rem; }
.hero .sub { color: var(--muted); margin-top: 2px; }
.from { font-size: .85rem; color: var(--muted); }
.from strong { color: var(--ink); font-weight: 600; }

.info-strip {
    display: flex;
    overflow-x: auto;
    margin: 20px -16px 0;
    padding: 0 16px;
    scrollbar-width: none;
}
.info-strip::-webkit-scrollbar { display: none; }
.info-item {
    flex: 0 0 auto;
    min-width: 128px;
    padding: 10px 18px;
    text-align: center;
    border-right: 1px solid var(--line-2);
}
.info-item:first-child { padding-left: 0; text-align: left; }
.info-item:last-child { border-right: 0; }
.info-item .k { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.info-item .v { font-size: 1.25rem; font-weight: 600; line-height: 1.2; margin-top: 4px; }
.info-item .s { font-size: .78rem; color: var(--muted); margin-top: 2px; }

.plans { display: grid; gap: 12px; grid-template-columns: 1fr; }
.plan {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.plan .price { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.plan .price small { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.rating-summary .big { font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.bars { display: grid; gap: 6px; }
.bar { display: grid; grid-template-columns: 12px 1fr; align-items: center; gap: 8px; font-size: .75rem; color: var(--muted); }
.bar i { height: 6px; border-radius: 999px; background: var(--bg-2); overflow: hidden; display: block; }
.bar i b { display: block; height: 100%; background: var(--ink); border-radius: 999px; }

.sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 20;
    margin: 24px -16px -32px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(246, 245, 241, .9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(17, 17, 17, .06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* ---------- landing ---------- */
.landing-hero { text-align: center; padding: 36px 0 12px; }
.landing-hero img { height: 64px; width: auto; margin: 0 auto 22px; }
.landing-hero h1 { font-size: 2rem; font-weight: 700; }
.landing-hero p { color: var(--muted); max-width: 46ch; margin: 12px auto 0; }
.landing-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.features { display: grid; gap: 12px; margin-top: 32px; }
.feature { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature .ic {
    width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-2); margin-bottom: 12px;
}
.feature .ic svg { width: 20px; height: 20px; }

/* ---------- portal ---------- */
.tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    height: calc(var(--tab-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
}
.tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: .68rem;
    font-weight: 500;
    color: var(--muted);
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.is-active { color: var(--ink); }
body.has-tabbar main { padding-bottom: calc(var(--tab-h) + 24px); }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.stat .k { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.stat .v { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }

.list-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.list-item .body { min-width: 0; }
.list-item .name { font-weight: 600; line-height: 1.2; }
.list-item .sub { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.list-item .right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.thread { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 92%; padding: 12px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.msg .time { font-size: .72rem; color: var(--muted); margin-bottom: 4px; }
.msg p { white-space: pre-wrap; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding: 0 16px; }
table { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--bg); }
tr:last-child td { border-bottom: 0; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: .92rem; }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-info { background: var(--info-bg); color: #2c4a80; }

/* ---------- footer ---------- */
footer.site {
    margin-top: 24px;
    padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .85rem;
}
footer.site .container { display: flex; flex-direction: column; gap: 14px; }
footer.site img { height: 22px; width: auto; max-width: 160px; align-self: flex-start; object-fit: contain; opacity: .85; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site nav a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
    h1 { font-size: 2rem; }
    .store-grid { grid-template-columns: repeat(2, 1fr); }
    .plans { grid-template-columns: repeat(2, 1fr); }
    .landing-actions { flex-direction: row; justify-content: center; }
    .features { grid-template-columns: repeat(3, 1fr); }
    .stat-grid { grid-template-columns: repeat(4, 1fr); }
    .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
    .hero { grid-template-columns: auto 1fr auto; align-items: center; }
    .hero .cta-block { grid-column: auto; flex-direction: column; align-items: flex-end; }
    .sticky-cta { display: none; }
    footer.site .container { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 768px) {
    .topnav { display: inline-flex; }
    .tabbar { display: none; }
    body.has-tabbar main { padding-bottom: 32px; }
    .msg { max-width: 72%; }
    .table-wrap { margin: 0; padding: 0; }
    .chips { margin: 0; padding: 4px 0 6px; }
    .info-strip { margin: 24px 0 0; padding: 0; }
}

@media (min-width: 1024px) {
    main { padding: 32px 0 48px; }
    .store-grid { grid-template-columns: repeat(3, 1fr); }
    .plans { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 2.2rem; }
    .landing-hero { padding: 64px 0 20px; }
    .landing-hero h1 { font-size: 2.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
.store-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.store-layout .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 701px) and (max-width: 1099px) { .store-layout .store-grid { grid-template-columns: 1fr; } }
.store-sidebar { position: sticky; top: 90px; }
.store-filters { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--surface); }
.store-filters summary { font-weight: 700; cursor: pointer; margin-bottom: 12px; }
.store-filters nav { display: grid; gap: 4px; }
.store-filter { display: block; border-radius: 10px; padding: 10px 12px; color: var(--ink-2); text-decoration: none; }
.store-filter:hover, .store-filter.is-active { background: var(--bg-2); color: var(--ink); }
.store-results { min-width: 0; margin-top: 0; }
.product-logo { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.contact-hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: end; padding: clamp(24px, 5vw, 48px); border-radius: 24px; background: var(--ink); color: #fff; }
.contact-hero .eyebrow { color: #bfc0b9; }
.contact-hero h1 { max-width: 14ch; margin-top: 10px; font-size: clamp(2.1rem, 5vw, 3.8rem); }
.contact-hero p { max-width: 62ch; margin-top: 16px; color: #deded7; font-size: 1.04rem; line-height: 1.6; }
.contact-hero-status { display: grid; gap: 4px; padding: 16px; border: 1px solid #41413d; border-radius: 16px; background: #232321; }
.contact-hero-status strong { font-size: .92rem; }
.contact-hero-status span { color: #c4c4be; font-size: .82rem; line-height: 1.4; }
.contact-alert { margin: 18px 0; }
.contact-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 28px; }
.contact-path { display: grid; align-content: start; min-height: 208px; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
.contact-path:hover { border-color: var(--line-2); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.contact-path > span { color: #5b825e; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.contact-path strong { font-size: 1.05rem; line-height: 1.25; }
.contact-path p { color: var(--ink-2); font-size: .88rem; line-height: 1.45; }
.contact-path em { align-self: end; color: var(--ink); font-size: .84rem; font-style: normal; font-weight: 600; }
.contact-page-layout { display: grid; grid-template-columns: minmax(270px, .75fr) minmax(0, 1.25fr); gap: 20px; align-items: start; }
.contact-sidebar { display: grid; gap: 12px; }
.contact-reach-list { display: grid; gap: 8px; }
.contact-reach-list a { display: grid; gap: 1px; padding: 12px; border-radius: 12px; background: var(--bg-2); }
.contact-reach-list a:hover { background: var(--line); }
.contact-reach-list span { color: var(--muted); font-size: .75rem; }
.contact-reach-list strong { font-size: .9rem; overflow-wrap: anywhere; }
.contact-reach-empty { padding: 12px; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.contact-office-card { display: grid; gap: 10px; }
.contact-office-card h2 { font-size: 1rem; }
.contact-office-card p { color: var(--ink-2); font-size: .88rem; line-height: 1.5; }
.contact-office-card .btn { justify-self: start; margin-top: 2px; }
.contact-need-help { display: grid; gap: 5px; padding: 17px; border-radius: 16px; background: #e8f0e6; color: #2d4d32; }
.contact-need-help strong { font-size: .9rem; }
.contact-need-help span { font-size: .82rem; line-height: 1.45; }
.contact-need-help a { margin-top: 3px; font-size: .83rem; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; padding: 26px; }
.contact-form > label { display: grid; gap: 6px; color: var(--ink-2); font-size: .84rem; font-weight: 600; }
.contact-form-wide, .contact-form-heading, .contact-form-footer { grid-column: 1 / -1; }
.contact-form-heading h2 { margin-top: 5px; font-size: 1.4rem; }
.contact-form-heading p { margin-top: 6px; color: var(--muted); font-size: .88rem; }
.contact-optional { color: var(--muted); font-weight: 400; }
.contact-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 5px; }
.contact-form-footer p { max-width: 52ch; color: var(--muted); font-size: .78rem; line-height: 1.4; }
@media (max-width: 700px) { .store-layout { grid-template-columns: 1fr; } .store-layout .store-grid { grid-template-columns: 1fr; } .store-sidebar { position: static; } .store-filters:not([open]) nav { display: none; } }

/* ---------- practical storefront ---------- */
.store-intro {
    display: flex; align-items: end; justify-content: space-between; gap: 24px;
    padding: 24px 0 26px; border-bottom: 1px solid var(--line-2);
}
.store-intro h1 { max-width: 17ch; margin-top: 10px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -.045em; }
.store-intro p { max-width: 58ch; margin-top: 12px; color: var(--ink-2); font-size: 1.04rem; }
.store-intro-link { flex: 0 0 230px; padding: 15px 17px; border-radius: 16px; background: #e9efe7; color: #25472e; font-size: .9rem; }
.store-intro-link strong { display: block; margin-top: 3px; }
.store-intro-link:hover { background: #dcebd9; }
.store-search-form { margin: 25px 0; }
.store-search-form > label { display: block; margin-bottom: 8px; font-size: .85rem; font-weight: 600; }
.store-search-row { display: flex; gap: 10px; }
.store-search-row > .btn { min-width: 100px; border-radius: 14px; }
.store-search-input { position: relative; flex: 1; min-width: 0; }
.store-search-input svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.store-search-input .input { min-height: 54px; padding-left: 48px; border-radius: 14px; box-shadow: var(--shadow); }
.store-layout { grid-template-columns: 208px minmax(0, 1fr); gap: 28px; }
.store-sidebar { top: 82px; }
.store-filters { padding: 15px; }
.store-filters summary { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; list-style: none; }
.store-filters summary::-webkit-details-marker { display: none; }
.store-filter-toggle { font-size: 1.25rem; transition: transform .15s ease; }
.store-filters[open] .store-filter-toggle { transform: rotate(180deg); }
.store-filter { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 500; }
.store-filter small { min-width: 24px; text-align: center; padding: 2px 5px; border-radius: 7px; background: var(--bg-2); color: var(--muted); font-size: .72rem; }
.store-filter.is-active { background: var(--ink); color: #fff; }
.store-filter.is-active small { background: rgba(255,255,255,.18); color: #fff; }
.store-sidebar-help { margin-top: 14px; padding: 17px; border-radius: 16px; background: #eae9e3; font-size: .85rem; }
.store-sidebar-help p { margin-top: 6px; color: var(--ink-2); }
.store-results-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 3px 0 18px; }
.store-results-head h2 { margin-top: 4px; font-size: 1.55rem; }
.store-result-count { flex: 0 0 auto; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .8rem; color: var(--ink-2); }
.store-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .82rem; }
.store-active-filters span { padding: 5px 9px; border-radius: 8px; background: var(--bg-2); }
.store-active-filters a { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.store-layout .store-grid { gap: 16px; }
.store-layout .store-grid { grid-template-columns: minmax(0, 1fr); }
.app-card { display: grid; grid-template-columns: 92px minmax(130px, .56fr) minmax(0, 1fr) minmax(180px, .58fr); align-items: center; gap: 22px; min-height: 0; padding: 20px 22px; }
.app-card-logo { width: 92px; height: 92px; }
.app-card-kind, .product-kind { display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px; border-radius: 999px; background: #f1f0eb; color: var(--ink-2); font-size: .76rem; font-weight: 600; }
.app-card-body { min-width: 0; }
.app-card-body h3 { font-size: 1.18rem; }
.app-card-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.app-card-publisher { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; line-height: 1.25; }
.app-card-description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: var(--ink-2); font-size: .91rem; line-height: 1.45; }
.app-card-aside { display: grid; justify-items: end; gap: 11px; min-width: 0; }
.app-card-price { display: grid; justify-items: end; gap: 2px; text-align: right; }
.app-card-price strong { font-size: 1.04rem; line-height: 1.2; }
.app-card-price span { color: var(--muted); font-size: .76rem; }
.app-card-action { min-height: 42px; padding: 0 16px; font-size: .84rem; white-space: nowrap; }
.store-empty { padding: 42px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--surface); }
.store-empty-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; background: var(--bg-2); }
.store-empty-icon svg { width: 23px; height: 23px; }
.store-empty h3 { font-size: 1.18rem; }
.store-empty p { max-width: 46ch; margin: 8px auto 0; color: var(--muted); }
.store-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }

/* ---------- publisher workspace ---------- */
.publisher-hero { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.publisher-hero-mark { inline-size: 74px; block-size: 74px; font-size: 1.35rem; }
.publisher-hero h1 { margin-top: 5px; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.publisher-hero p { max-width: 62ch; margin-top: 7px; color: var(--ink-2); line-height: 1.45; }
.publisher-hero-meta { display: grid; justify-items: end; gap: 7px; color: var(--muted); font-size: .78rem; }
.publisher-hero-meta span { padding: 4px 8px; border-radius: 999px; background: var(--bg-2); }
.publisher-hero-meta code { max-width: 20ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.publisher-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 30px; }
.publisher-stat-grid > div { display: grid; gap: 5px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.publisher-stat-grid span { color: var(--muted); font-size: .76rem; }
.publisher-stat-grid strong { font-size: 1.18rem; line-height: 1.1; }
.publisher-section { margin-top: 30px; }
.publisher-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.publisher-section-head h2 { margin-top: 4px; font-size: 1.42rem; }
.publisher-panel { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.publisher-panel + .publisher-panel { margin-top: 12px; }
.publisher-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; }
.publisher-panel > summary::-webkit-details-marker, .publisher-inline-panel > summary::-webkit-details-marker { display: none; }
.publisher-panel > summary > span:first-child { display: grid; gap: 3px; }
.publisher-panel summary strong { font-size: .96rem; }
.publisher-panel summary small { color: var(--muted); font-size: .78rem; }
.publisher-panel[open] > summary { border-bottom: 1px solid var(--line); background: #fbfbf8; }
.publisher-summary-action, .publisher-summary-count { flex: 0 0 auto; padding: 5px 9px; border-radius: 8px; background: var(--bg-2); color: var(--ink-2); font-size: .76rem; }
.publisher-summary-count { min-width: 28px; text-align: center; }
.publisher-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 18px; }
.publisher-form-grid label, .publisher-form-pair label { display: grid; gap: 6px; color: var(--ink-2); font-size: .84rem; font-weight: 600; }
.publisher-form-wide, .publisher-form-actions { grid-column: 1 / -1; }
.publisher-form-actions { display: flex; justify-content: flex-end; }
.publisher-product-list { display: grid; gap: 10px; margin-top: 12px; }
.publisher-product-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 15px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.publisher-product-mark { inline-size: 56px; block-size: 56px; font-size: 1rem; }
.publisher-product-copy { min-width: 0; }
.publisher-product-title { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.publisher-product-title h3 { font-size: 1.02rem; }
.publisher-product-copy p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0; color: var(--ink-2); font-size: .86rem; line-height: 1.42; }
.publisher-product-actions { display: flex; align-items: center; gap: 8px; }
.publisher-inline-panel { position: relative; }
.publisher-inline-panel > summary { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-2); cursor: pointer; font-size: .8rem; white-space: nowrap; }
.publisher-inline-panel[open] { z-index: 1; }
.publisher-inline-panel[open] > summary { border-color: var(--ink); background: var(--ink); color: #fff; }
.publisher-inline-panel form { position: absolute; right: 0; top: calc(100% + 7px); z-index: 2; width: min(360px, calc(100vw - 48px)); padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow-hover); }
.publisher-inline-panel textarea { resize: vertical; }
.publisher-empty { display: grid; gap: 4px; padding: 25px; border: 1px dashed var(--line-2); border-radius: 16px; background: var(--surface); color: var(--muted); }
.publisher-empty strong { color: var(--ink); }
.publisher-operation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.publisher-operation-grid .publisher-panel { min-width: 0; }
.publisher-panel .table-wrap { margin: 0; border: 0; border-radius: 0; }
.publisher-table-group { padding: 16px 18px; }
.publisher-table-group + .publisher-table-group { border-top: 1px solid var(--line); }
.publisher-table-group h3 { margin-bottom: 6px; font-size: .92rem; }
.publisher-table-group p { margin: 0 0 10px; }
.publisher-technical { margin-bottom: 14px; }
.publisher-form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 18px; }
.publisher-panel > .notice { margin: 14px 18px 0; }
.publisher-panel > .small.muted { margin: 0 18px 18px; }

/* ---------- account and domain organization ---------- */
.page-head-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.account-alert { margin-bottom: 16px; }
.account-layout { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 16px; align-items: start; }
.account-profile-list { padding: 16px; }
.account-profile-list .card-title { margin: 2px 2px 12px; }
.account-profile-items { display: grid; gap: 8px; }
.account-profile-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fcfcfa; }
.account-profile-item.is-selected { border-color: var(--ink); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--ink); }
.account-profile-item__main { display: grid; min-width: 0; gap: 2px; }
.account-profile-item__main > span, .account-profile-item__main small { overflow: hidden; color: var(--ink-2); font-size: .85rem; text-overflow: ellipsis; white-space: nowrap; }
.account-profile-item__main small { color: var(--muted); font-size: .76rem; }
.account-profile-item__title { display: flex; align-items: center; gap: 7px; min-width: 0; }
.account-profile-item__title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.account-profile-item .btn { grid-column: 2; grid-row: 1 / span 2; }
.account-profile-item form { grid-column: 1 / -1; }
.account-profile-link { padding: 0; border: 0; color: var(--ink-2); background: transparent; cursor: pointer; font: inherit; font-size: .78rem; text-decoration: underline; text-underline-offset: 2px; }
.account-empty { display: grid; gap: 4px; padding: 14px 8px; color: var(--muted); font-size: .86rem; }
.account-empty strong { color: var(--ink-2); }
.account-profile-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 24px; }
.account-profile-form > label { display: grid; min-width: 0; gap: 6px; color: var(--ink-2); font-size: .84rem; font-weight: 600; }
.account-form-heading, .account-form-copy, .account-form-wide { grid-column: 1 / -1; }
.account-form-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.account-form-heading h2 { margin-top: 4px; }
.account-form-copy { margin-top: -7px; color: var(--muted); font-size: .86rem; }
.account-label-optional { color: var(--muted); font-weight: 400; }
.account-default-toggle { display: flex !important; align-items: start; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink) !important; cursor: pointer; }
.account-default-toggle input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.account-default-toggle span { display: grid; gap: 1px; }
.account-default-toggle small { color: var(--muted); font-size: .78rem; font-weight: 400; }
.account-form-actions { display: flex; justify-content: flex-end; padding-top: 2px; }
.account-profile-danger { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 16px; }
.account-profile-danger h2 { font-size: 1rem; }
.account-notifications { display: grid; align-content: start; gap: 14px; margin: 18px 0 2px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.account-notifications h2 { font-size: .95rem; }
.account-notifications > .btn { justify-self: start; }
.account-sessions { padding: 18px; }
.account-sessions-wide { margin-top: 28px; }
.account-session-list { display: grid; gap: 8px; }
.account-session-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .88rem; }
.account-session-list > div:first-child { border-top: 0; }
.account-session-list span { color: var(--muted); font-size: .8rem; text-align: right; }
.input-uppercase { text-transform: uppercase; }
.domain-organization-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 16px; align-items: start; }
.domain-organization-layout .card { margin: 0; }

/* ---------- quote checkout ---------- */
.quote-hero { padding: 4px 0 26px; border-bottom: 1px solid var(--line); }
.quote-hero .back { margin-bottom: 24px; }
.quote-hero__content { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.quote-hero h1 { margin: 7px 0 6px; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.055em; }
.quote-hero p { margin: 0; color: var(--muted); font-size: 1rem; }
.quote-hero__total { display: grid; flex: 0 0 auto; gap: 4px; min-width: 220px; padding: 16px 18px; border: 1px solid #d5e5d3; border-radius: 15px; background: #edf5eb; }
.quote-hero__total span { color: #456e4c; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.quote-hero__total strong { font-size: 1.45rem; letter-spacing: -.035em; }
.quote-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(320px, 1.12fr); gap: 18px; margin-top: 26px; align-items: start; }
.quote-layout .card { margin: 0; padding: 24px; }
.quote-section-heading { display: grid; gap: 5px; }
.quote-section-heading h2 { margin: 0; font-size: 1.28rem; letter-spacing: -.025em; }
.quote-section-heading p { margin: 3px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.quote-lines { display: grid; margin: 22px 0 16px; }
.quote-lines > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.quote-lines dt { color: var(--ink-2); }
.quote-lines dd { margin: 0; font-weight: 700; text-align: right; }
.quote-lines .quote-lines__total { align-items: center; padding: 15px 0 2px; border-top: 1px solid var(--ink); font-size: 1rem; }
.quote-lines__total dd { font-size: 1.15rem; }
.quote-expiry { display: flex; align-items: start; gap: 8px; padding: 12px; border-radius: 12px; background: var(--bg-2); color: var(--ink-2); font-size: .81rem; line-height: 1.45; }
.quote-expiry svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; }
.quote-breakdown > .small { margin: 15px 2px 0; line-height: 1.5; }
.quote-action { border-color: #d7e6d5 !important; }
.quote-login, .quote-organization-form, .quote-checkout-form { display: grid; gap: 14px; margin-top: 22px; }
.quote-login { padding: 16px; border-radius: 14px; background: var(--bg-2); }
.quote-login span { color: var(--muted); font-size: .87rem; line-height: 1.45; }
.quote-login .btn, .quote-organization-form .btn, .quote-checkout-form .btn { width: 100%; justify-content: center; }
.quote-organization-form { padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.quote-organization-form p { margin: -5px 0 0; line-height: 1.45; }
.quote-checkout-form label, .quote-organization-form label { display: grid; gap: 7px; color: var(--ink-2); font-size: .84rem; font-weight: 700; }
.quote-manage-profile { width: fit-content; color: var(--ink-2); font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- product decision page ---------- */
.store-breadcrumb { display: flex; align-items: center; gap: 8px; margin: 3px 0 18px; color: var(--muted); font-size: .87rem; }
.store-breadcrumb a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: stretch; }
.product-hero-main { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; column-gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.product-hero-main .tile { grid-row: span 2; }
.product-hero-main h1 { margin-top: 10px; font-size: clamp(2rem, 3.5vw, 2.8rem); }
.product-publisher { margin-top: 5px; color: var(--muted); }
.product-lead { grid-column: 1 / -1; max-width: 60ch; margin-top: 26px; font-size: 1.12rem; line-height: 1.55; color: var(--ink-2); white-space: pre-line; }
.product-hero-action { display: flex; flex-direction: column; align-items: stretch; padding: 26px; border: 1px solid #d7e6d5; border-radius: 22px; background: #eaf2e8; }
.product-hero-action .eyebrow { color: #456e4c; }
.product-hero-action > strong { display: block; margin-top: 10px; font-size: 1.65rem; line-height: 1.15; }
.product-hero-action p { margin-top: 10px; color: #35513b; font-size: .9rem; }
.product-hero-action .btn { margin-top: auto; padding-top: 10px; padding-bottom: 10px; white-space: normal; text-align: center; }
.product-section-copy { max-width: 65ch; margin: -3px 0 18px; color: var(--muted); font-size: .88rem; }
.product-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-plan { gap: 0; padding: 22px; }
.product-plan-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.product-plan-head h3 { font-size: 1.22rem; }
.product-plan-head span { flex: 0 0 auto; padding: 4px 8px; border-radius: 8px; background: var(--bg-2); color: var(--ink-2); font-size: .78rem; }
.product-plan-price { display: grid; gap: 3px; margin: 20px 0 18px; }
.product-plan-price strong { font-size: 1.75rem; line-height: 1.1; }
.product-plan-price span { color: var(--muted); font-size: .85rem; }
.product-plan-form { display: grid; gap: 8px; margin-top: auto; }
.product-plan-form label { font-size: .86rem; font-weight: 600; }
.product-plan-form .btn { margin-top: 8px; white-space: normal; padding: 9px 12px; text-align: center; }
.tier-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.tier-picker legend { margin-bottom: 8px; padding: 0; font-size: .86rem; font-weight: 600; }
.tier-picker-options { display: grid; gap: 7px; }
.tier-option { position: relative; display: flex; align-items: center; gap: 10px; min-height: 53px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.tier-option:hover { border-color: #a8b9a6; background: #fafcf9; }
.tier-option input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.tier-option-mark { display: grid; place-items: center; flex: 0 0 18px; inline-size: 18px; block-size: 18px; border: 1.5px solid #a4aaa1; border-radius: 50%; }
.tier-option-mark::after { content: ''; inline-size: 8px; block-size: 8px; border-radius: 50%; background: transparent; }
.tier-option-copy { display: grid; min-width: 0; gap: 1px; }
.tier-option-copy strong { font-size: .9rem; }
.tier-option-copy small { color: var(--muted); font-size: .78rem; }
.tier-option:has(input:checked) { border-color: #4f7a55; background: #edf5eb; box-shadow: 0 0 0 2px rgba(79, 122, 85, .12); }
.tier-option:has(input:checked) .tier-option-mark { border-color: #4f7a55; }
.tier-option:has(input:checked) .tier-option-mark::after { background: #4f7a55; }
.tier-option:has(input:focus-visible) { outline: 3px solid rgba(79, 122, 85, .28); outline-offset: 2px; }
.product-plan-custom { margin: 20px 0; color: var(--ink-2); }
.product-plan > .btn { margin-top: auto; }
.product-next-step { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 28px; border-radius: 22px; background: var(--ink); color: #fff; }
.product-next-step .eyebrow { color: #bebeb9; }
.product-next-step h2 { margin-top: 8px; font-size: 1.6rem; }
.product-next-step p { max-width: 65ch; margin-top: 8px; color: #d8d8d2; }
.product-next-step .btn { flex: 0 0 auto; background: #fff; color: var(--ink); border-color: #fff; }
.product-next-step .btn:hover { background: #ebeae4; }
.product-help { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 28px 0; color: var(--muted); font-size: .92rem; }
.product-help a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.product-sticky-cta { display: none; }
.product-sticky-cta > div { display: grid; line-height: 1.2; }
.product-sticky-cta span { margin-top: 3px; color: var(--muted); font-size: .74rem; }
.product-steps { margin-top: 28px; }
.product-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; counter-reset: step; }
.product-steps li { counter-increment: step; display: grid; align-content: start; gap: 7px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.product-steps li::before { content: counter(step, decimal-leading-zero); color: #54835c; font-size: .82rem; font-weight: 700; }
.product-steps li strong { font-size: 1rem; }
.product-steps li span { color: var(--ink-2); font-size: .87rem; line-height: 1.45; }

@media (max-width: 1099px) {
    .store-layout .store-grid { grid-template-columns: minmax(0, 1fr); }
    .app-card { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; }
    .app-card-logo { width: 76px; height: 76px; }
    .app-card-description { grid-column: 2; grid-row: 2; -webkit-line-clamp: 2; }
    .app-card-aside { grid-column: 3; grid-row: 1 / span 2; }
    .product-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .contact-hero, .contact-page-layout { grid-template-columns: 1fr; }
    .contact-hero-status { max-width: 360px; }
    .contact-paths { grid-template-columns: 1fr; }
    .product-hero { grid-template-columns: 1fr; }
    .product-hero-action .btn { margin-top: 22px; }
    .publisher-hero { grid-template-columns: 60px minmax(0, 1fr); padding: 18px; }
    .publisher-hero-mark { inline-size: 60px; block-size: 60px; }
    .publisher-hero-meta { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: start; }
    .publisher-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .publisher-operation-grid { grid-template-columns: 1fr; }
    .publisher-form-pair { grid-template-columns: 1fr; }
    .account-layout, .domain-organization-layout, .quote-layout { grid-template-columns: 1fr; }
    .quote-hero__content { align-items: start; flex-direction: column; }
    .quote-hero__total { min-width: min(100%, 300px); }
}
@media (max-width: 700px) {
    .header-identity { display: none; }
    .header-logout { padding: 0 7px; }
    .contact-hero { padding: 25px 20px; border-radius: 18px; }
    .contact-form { grid-template-columns: 1fr; padding: 18px; }
    .contact-form-wide { grid-column: auto; }
    .contact-form-footer { align-items: stretch; flex-direction: column; }
    .contact-form-footer .btn { width: 100%; }
    .store-intro { display: block; padding: 12px 0 21px; }
    .store-intro h1 { font-size: 2.1rem; }
    .store-intro p { font-size: .95rem; }
    .store-intro-link { display: block; margin-top: 18px; }
    .store-search-form { margin: 19px 0; }
    .store-search-row > .btn { min-width: 70px; padding: 0 15px; }
    .store-layout { grid-template-columns: 1fr; gap: 20px; }
    .store-filters { padding: 12px 14px; }
    .store-sidebar-help { display: none; }
    .store-results-head h2 { font-size: 1.35rem; }
    .store-layout .store-grid { grid-template-columns: 1fr; }
    .app-card { grid-template-columns: 68px minmax(0, 1fr); gap: 13px; padding: 16px; }
    .app-card-logo { width: 68px; height: 68px; }
    .app-card-description { grid-column: 1 / -1; -webkit-line-clamp: 3; margin-top: 2px; }
    .app-card-aside { grid-column: 1 / -1; grid-row: auto; display: flex; flex-direction: column; align-items: stretch; padding-top: 13px; border-top: 1px solid var(--line); }
    .app-card-price { justify-items: start; text-align: left; }
    .app-card-action { width: 100%; }
    .product-hero-main { padding: 20px; gap: 14px; }
    .product-hero-main .tile { width: 70px; height: 70px; font-size: 1.35rem; }
    .product-hero-main h1 { font-size: 1.75rem; }
    .product-lead { margin-top: 18px; font-size: 1rem; }
    .product-hero-action { padding: 20px; }
    .product-plans { grid-template-columns: 1fr; }
    .product-steps ol { grid-template-columns: 1fr; }
    .product-steps li { padding: 16px 18px; }
    .product-next-step { display: block; padding: 22px; }
    .product-next-step .btn { width: 100%; margin-top: 18px; }
    .product-sticky-cta { display: flex; margin-bottom: -32px; }
    .product-sticky-cta .btn { min-height: 42px; padding: 0 13px; font-size: .83rem; }
    .publisher-section-head { align-items: start; flex-direction: column; }
    .publisher-form-grid { grid-template-columns: 1fr; }
    .publisher-form-wide, .publisher-form-actions { grid-column: auto; }
    .publisher-form-actions { justify-content: stretch; }
    .publisher-form-actions .btn { width: 100%; }
    .publisher-product-card { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
    .publisher-product-mark { inline-size: 48px; block-size: 48px; }
    .publisher-product-actions { grid-column: 1 / -1; flex-wrap: wrap; }
    .publisher-inline-panel { flex: 1 1 145px; }
    .publisher-inline-panel > summary { text-align: center; }
    .publisher-inline-panel form { right: auto; left: 0; width: min(100%, calc(100vw - 48px)); }
    .account-profile-form { grid-template-columns: 1fr; padding: 18px; }
    .account-form-wide { grid-column: auto; }
    .account-profile-danger { align-items: start; flex-direction: column; }
    .account-profile-danger .btn { width: 100%; }
}
