/* Public site. Light, friendly, same family as onboarding and the blog. */
body.pub-page {
    --text-primary: #2a1436;
    --text-secondary: #6b5674;
    --text-tertiary: #8d7a96;
    --white: #ffffff;
    --bg: #fdf7f9;
    --bg-alt: #fff;
    --border: #f0dbe4;
    --rose-500: #ec1e79;
    --rose-600: #c41766;
    --shadow-sm: 0 1px 2px rgba(42, 20, 54, 0.05);
    --shadow-md: 0 10px 30px rgba(42, 20, 54, 0.06);
    --radius: 12px;
    padding-top: 84px;
    color: #2a1436;
    background: #fdf7f9;
    background-image:
        radial-gradient(880px 420px at 110% -8%, rgba(236, 30, 121, 0.1), transparent 58%),
        radial-gradient(640px 360px at -12% 8%, rgba(122, 45, 240, 0.07), transparent 55%);
}

body.pub-page h1,
body.pub-page h2,
body.pub-page h3,
body.pub-page .pub-plan-range,
body.pub-page .pub-steps li::before {
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    color: #2a1436;
}

.pub-nav-actions { display: flex; align-items: center; gap: 8px; }
body.pub-page .navbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #f0dbe4;
    box-shadow: 0 1px 0 rgba(42, 20, 54, 0.03);
}
body.pub-page .nav-logo-img { height: 56px; width: auto; }
body.pub-page .nav-link { color: #5c4668; }
body.pub-page .nav-link:hover { color: #ec1e79; background: #fff1f6; }
body.pub-page .nav-link.pub-here { color: #ec1e79; background: #fff1f6; }
body.pub-page .hamburger span { background: #2a1436; }
body.pub-page .mobile-menu { background: #fff; }
body.pub-page .lang-toggle { border-color: #f0dbe4; background: #fff; }
body.pub-page .lang-btn { color: #8d7a96; }
body.pub-page .lang-btn.active {
    background: linear-gradient(135deg, #ff3a97 0%, #ec1e79 50%, #7a2df0 100%);
    color: #fff;
}

.pub-login {
    padding: 8px 14px;
    color: #5c4668;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 999px;
}
.pub-login:hover { color: #ec1e79; }
.pub-register {
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff3a97 0%, #ec1e79 50%, #7a2df0 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 12px 28px -14px rgba(236, 30, 121, 0.8);
}
.pub-register:hover { opacity: 0.95; color: #fff; }
body.pub-page .btn-primary,
body.pub-page .pub-cta,
body.pub-page .btn-primary.pub-cta {
    background: linear-gradient(135deg, #ff3a97 0%, #ec1e79 50%, #7a2df0 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    box-shadow: 0 16px 36px -16px rgba(236, 30, 121, 0.75);
}
body.pub-page .btn-primary:hover,
body.pub-page .pub-cta:hover { opacity: 0.95; color: #fff; }
body.pub-page .btn-outline {
    color: #2a1436;
    border: 1px solid #e7c9d6;
    background: #fff;
    border-radius: 999px;
}
body.pub-page .btn-outline:hover { border-color: #ec1e79; color: #ec1e79; background: #fff; }

.pub-hero {
    position: relative;
    padding: 72px 0 56px;
    overflow: hidden;
}
.pub-hero .container { position: relative; z-index: 1; max-width: 1320px; }
.pub-kicker {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ec1e79;
    margin-bottom: 14px;
}
.pub-hero h1,
.pub-page h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}
.pub-lead { font-size: 1.08rem; color: #6b5674; max-width: 640px; margin-bottom: 28px; }
.pub-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pub-follow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}
.pub-follow .btn-primary,
.pub-follow .btn-outline { display: inline-flex; align-items: center; justify-content: center; }

.pub-section { padding: 64px 0; }
.pub-section h2, .pub-faq h1 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}
.pub-intro { color: #6b5674; max-width: 720px; margin-bottom: 32px; }

.pub-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pub-plan {
    background: #fff;
    border: 1px solid #f3e3ea;
    border-radius: 18px;
    padding: 24px 22px 26px;
    box-shadow: 0 10px 30px rgba(42, 20, 54, 0.05);
}
.pub-plan-range {
    font-weight: 700;
    font-size: 1.35rem;
    color: #ec1e79;
    margin-bottom: 6px;
}
.pub-plan h3 { font-size: 1.05rem; margin-bottom: 10px; }
.pub-plan p { color: #6b5674; font-size: 0.92rem; }

.pub-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.pub-points div {
    background: #fff;
    border: 1px solid #f3e3ea;
    border-radius: 16px;
    padding: 16px 16px 18px;
}
.pub-ico {
    width: 104px;
    height: 104px;
    object-fit: contain;
    display: block;
    margin: 0 0 8px;
    filter: drop-shadow(0 10px 12px rgba(90, 20, 70, 0.16));
}
.pub-points strong { display: block; margin-bottom: 4px; }
.pub-points span { color: #6b5674; font-size: 0.92rem; }

.pub-band {
    padding: 64px 0;
    background: linear-gradient(135deg, #fff1f6, #f7f0ff);
    border-top: 1px solid #f3e3ea;
    border-bottom: 1px solid #f3e3ea;
    text-align: center;
}
.pub-band-visual {
    width: min(480px, 100%);
    height: auto;
    display: block;
    margin: 0 auto 4px;
    filter: drop-shadow(0 18px 22px rgba(90, 20, 70, 0.16));
}
.pub-band h2 { margin-bottom: 10px; }
.pub-band p { color: #6b5674; max-width: 680px; margin: 0 auto 22px; }

.pub-footer {
    padding: 36px 0 28px;
    color: #8d7a96;
    font-size: 0.85rem;
    background: #fff;
    border-top: 1px solid #f0dbe4;
}
.pub-footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.pub-footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: flex-end; }
.pub-footer strong { color: #2a1436; }
.pub-footer a { color: #6b5674; }
.pub-footer a:hover { color: #ec1e79; }

.pub-faq { padding: 48px 0 72px; }
.pub-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.pub-tab {
    background: #fff;
    color: #6b5674;
    border: 1px solid #f0dbe4;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
}
.pub-tab.active {
    background: linear-gradient(135deg, #ff3a97 0%, #ec1e79 50%, #7a2df0 100%);
    color: #fff;
    border-color: transparent;
}
.pub-q { border-bottom: 1px solid #f3e3ea; padding: 18px 0; }
.pub-q h3 { font-size: 1.02rem; margin-bottom: 8px; }
.pub-q p, .pub-q li, .pub-q .pub-a { color: #6b5674; font-size: 0.95rem; }
.pub-q ul { margin: 8px 0 0 18px; }
.pub-q a, .pub-more { color: #ec1e79; font-weight: 600; }
.pub-help, .pub-contact {
    margin-top: 36px;
    padding: 22px 24px;
    border-radius: 18px;
    border: 1px solid #f3e3ea;
    background: #fff;
    box-shadow: 0 10px 30px rgba(42, 20, 54, 0.05);
}
.pub-help p, .pub-contact p { color: #6b5674; margin: 6px 0 14px; }
.pub-contact { margin-top: 0; max-width: 640px; }

.pub-crumb { color: #8d7a96; font-size: 0.85rem; margin-bottom: 18px; }
.pub-crumb a { color: #6b5674; }
.pub-crumb a:hover { color: #ec1e79; }
.pub-prose { max-width: 760px; }
.pub-prose p, .pub-narrow { color: #6b5674; margin-bottom: 16px; }
.pub-prose h2, .pub-block h2 { font-size: 1.45rem; margin: 28px 0 10px; }
.pub-steps { list-style: none; counter-reset: step; display: grid; gap: 14px; margin-top: 8px; }
.pub-steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 14px;
    align-items: center;
    border: 1px solid #f3e3ea;
    border-radius: 16px;
    padding: 14px 18px;
    background: #fff;
}
.pub-steps li::before { content: none; }
.pub-step-ico {
    width: 84px;
    height: 84px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 10px rgba(90, 20, 70, 0.16));
}
.pub-steps strong::before {
    content: counter(step, decimal-leading-zero);
    margin-right: 8px;
    color: #ec1e79;
}
.pub-steps strong { display: block; margin-bottom: 4px; color: #2a1436; }
.pub-steps span { color: #6b5674; font-size: 0.95rem; }
.pub-table-wrap { overflow-x: auto; margin: 12px 0 28px; background: #fff; border: 1px solid #f3e3ea; border-radius: 16px; }
.pub-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.pub-table th, .pub-table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid #f6eaf0;
    vertical-align: top;
}
.pub-table th { color: #2a1436; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.pub-table td { color: #6b5674; font-size: 0.95rem; }

/* Signup form on the same light page. */
body.pub-page .register-section { padding: 36px 0 64px; }
body.pub-page .register-info h1,
body.pub-page .register-form h2,
body.pub-page .reg-feature strong { color: #2a1436; }
body.pub-page .register-info > p,
body.pub-page .reg-feature p,
body.pub-page .reg-disclaimer { color: #6b5674; }
body.pub-page .register-form-wrapper,
body.pub-page .footer {
    background: #fff;
    border: 1px solid #f3e3ea;
    box-shadow: 0 10px 30px rgba(42, 20, 54, 0.05);
    color: #6b5674;
}
body.pub-page .footer { border-left: 0; border-right: 0; border-bottom: 0; box-shadow: none; }
body.pub-page .form-group label { color: #2a1436; }
body.pub-page .form-group input,
body.pub-page .form-group select,
body.pub-page .form-group textarea {
    background: #fff;
    color: #2a1436;
    border: 1px solid #ead5df;
}
body.pub-page .form-group input:focus,
body.pub-page .form-group select:focus,
body.pub-page .form-group textarea:focus {
    background: #fff;
    border-color: #ec1e79;
    box-shadow: 0 0 0 3px rgba(236, 30, 121, 0.12);
}
body.pub-page .reg-logo { width: 148px; height: auto; }
.reg-visual { margin: 0 0 8px; }
.reg-visual img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 22px 26px rgba(90, 20, 70, 0.18));
}
body.pub-page .footer-bottom p { color: #8d7a96; }

@media (max-width: 980px) {
    .pub-nav-links { display: none; }
    .pub-nav-actions .pub-login,
    .pub-nav-actions .pub-register { display: none; }
    body.pub-page .hamburger { display: flex; flex-shrink: 0; }
    body.pub-page .nav-right,
    body.pub-page .lang-toggle { flex-shrink: 0; }
    body.pub-page .mobile-menu {
        background: #fff;
        border-top: 1px solid #f0dbe4;
        box-shadow: 0 16px 30px rgba(42, 20, 54, 0.06);
    }
    body.pub-page .mobile-menu .nav-link:last-child {
        margin: 10px 16px 6px;
        padding: 12px 16px;
        background: linear-gradient(135deg, #ff3a97 0%, #ec1e79 50%, #7a2df0 100%);
        color: #fff;
        border: 0;
        border-radius: 999px;
        text-align: center;
        font-weight: 700;
    }
}
@media (max-width: 900px) {
    .pub-plans { grid-template-columns: 1fr; }
    body.pub-page .nav-container { height: 64px; padding: 0 14px; }
    body.pub-page .nav-logo { flex: 0 0 auto; min-width: 0; }
    body.pub-page .nav-logo-img { height: 44px; width: auto; max-width: 160px; }
    body.pub-page .nav-right { gap: 8px; }
    body.pub-page .lang-btn { padding: 6px 10px; }
    body.pub-page .register-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
    body.pub-page { padding-top: 76px; }
    .pub-hero { padding: 28px 0 8px; }
    .pub-section { padding: 40px 0; }
    .pub-band { padding: 40px 0; }
    .pub-faq { padding: 28px 0 48px; }
    .pub-steps li { grid-template-columns: 76px 1fr; }
    .pub-step-ico { width: 72px; height: 72px; }
    .pub-block { grid-template-columns: 1fr; }
    .pub-block .pub-ico { margin-top: 8px; }
    .pub-footer-row { align-items: flex-start; }
    .pub-footer-links { justify-content: flex-start; }
}

.pub-hero { overflow: visible; }
.pub-hero h1,
.pub-page h1,
.pub-lead,
.pub-intro { overflow-wrap: break-word; }
.pub-hero-grid,
.pub-how-grid,
.pub-contact-grid {
    display: grid;
    gap: 32px;
    align-items: center;
}
.pub-hero-grid { grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1.28fr); }
.pub-hero-grid > *,
.pub-how-grid > *,
.pub-contact-grid > * { min-width: 0; max-width: 100%; }
.pub-how-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr); align-items: start; }
.pub-contact-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); align-items: start; }
.pub-contact-sub { font-size: 1.2rem; margin: 8px 0 12px; }
.pub-topic-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.pub-topic-cards article {
    background: #fff;
    border: 1px solid #f3e3ea;
    border-radius: 16px;
    padding: 12px 12px 14px;
}
.pub-topic-cards .pub-ico { width: 84px; height: 84px; }
.pub-topic-cards strong { display: block; color: #2a1436; font-size: 0.95rem; }
.pub-block {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px 18px;
    align-items: start;
    margin-top: 8px;
}
.pub-block .pub-ico { width: 96px; height: 96px; margin-top: 18px; }
.pub-block h2 { margin-top: 18px; }
.pub-cell { display: flex; align-items: center; gap: 10px; color: #2a1436; font-weight: 700; }
.pub-ico-sm { width: 48px; height: 48px; margin: 0; flex: 0 0 auto; }
.pub-cat-ico { width: 84px; height: 84px; margin: 8px 0 4px; }
.pub-person .pub-ico { width: 96px; height: 96px; }
.pub-contact-cards { display: grid; gap: 14px; }
.pub-person {
    background: #fff;
    border: 1px solid #f3e3ea;
    border-radius: 18px;
    padding: 22px 22px 24px;
    box-shadow: 0 10px 30px rgba(42, 20, 54, 0.05);
}
.pub-person h2 { font-size: 1.55rem; margin: 2px 0 8px; }
.pub-person p { color: #6b5674; margin-bottom: 12px; }
.pub-person .pub-kicker { margin-bottom: 0; }
.pub-person .btn-primary,
.pub-person .btn-outline { display: inline-flex; margin-top: 6px; }
.pub-person-soft { background: linear-gradient(180deg, #fff, #fff7fb); }
.pub-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    background: #ec1e79;
    color: #fff;
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
}
.pub-handle { display: inline-block; color: #ec1e79; font-weight: 700; margin-bottom: 8px; }

.mock-browser,
.mock-phone {
    margin: 0;
    background: #fff;
    border: 1px solid #f3e3ea;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(42, 20, 54, 0.08);
    overflow: hidden;
    min-width: 0;
}
.mock-chrome,
.mock-phone-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: #fff7fb;
    border-bottom: 1px solid #f3e3ea;
}
.mock-chrome span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f3c3d6;
}
.mock-chrome em,
.mock-phone-bar em {
    margin-left: 8px;
    font-style: normal;
    font-weight: 700;
    color: #2a1436;
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
}
.mock-kicker {
    margin: 16px 16px 8px;
    color: #ec1e79;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 0 16px;
}
.mock-stats div,
.mock-domain {
    background: #fff7fb;
    border: 1px solid #f6eaf0;
    border-radius: 14px;
    padding: 10px 12px;
    min-width: 0;
}
.mock-stats small,
.mock-domain small {
    display: block;
    color: #8d7a96;
    font-size: 0.72rem;
    font-weight: 600;
}
.mock-stats strong {
    display: block;
    margin-top: 2px;
    color: #2a1436;
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    font-size: 1.15rem;
}
.mock-domain { margin: 10px 16px 0; }
.mock-domain span {
    display: block;
    margin-top: 2px;
    color: #2a1436;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.mock-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 92px;
    margin: 16px;
    padding: 10px 8px 0;
    border-top: 1px solid #f6eaf0;
}
.mock-bars i {
    display: block;
    flex: 1;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #ff4f9a, #ec1e79);
    min-height: 8px;
}
.mock-phone { padding-bottom: 8px; }
.mock-phone .mock-bars { height: 78px; }

.photo-mock { margin: 0; min-width: 0; }
.photo-mock img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 28px 34px rgba(90, 20, 70, 0.22));
}
.pub-hero .photo-mock { margin: -48px -2% -56px -10%; }
.pub-hero .photo-mock img { width: 112%; max-width: none; }
.photo-mock-wide { margin: -12px -28px 10px; }
.photo-mock-phone { max-width: 520px; margin-inline: auto; }
.pub-marks-wrap { padding: 4px 0 8px; }
.pub-marks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 8px;
}
.pub-mark {
    background: #fff;
    border: 1px solid #f3e3ea;
    border-radius: 18px;
    padding: 16px 12px 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(42, 20, 54, 0.05);
}
.pub-mark img {
    width: 148px;
    height: 148px;
    object-fit: contain;
    display: block;
    margin: -8px auto 2px;
    filter: drop-shadow(0 14px 16px rgba(90, 20, 70, 0.16));
}
.pub-mark strong { display: block; margin-bottom: 4px; color: #2a1436; }
.pub-mark span { color: #6b5674; font-size: 0.82rem; }

.pub-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.78fr);
    gap: 28px;
    align-items: start;
}
.pub-split > * { min-width: 0; max-width: 100%; }
.pub-how-side { display: grid; gap: 16px; align-content: start; min-width: 0; }
.mock-sheet {
    margin: 0;
    background:
        radial-gradient(140px 90px at 100% 0%, rgba(122, 45, 240, 0.1), transparent 70%),
        #fff;
    border: 1px solid #f3e3ea;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(42, 20, 54, 0.08);
    padding: 18px 18px 20px;
    min-width: 0;
}
.mock-sheet h3 {
    font-size: 1.35rem;
    margin: 0 0 12px;
}
.mock-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px dashed #f0dbe4;
    color: #6b5674;
}
.mock-row strong { color: #2a1436; text-align: right; }
.mock-amount {
    display: block;
    margin: 4px 0 8px;
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    font-size: 2.4rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ff3a97, #7a2df0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.mock-ribbon {
    display: inline-flex;
    margin-top: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3a97 0%, #ec1e79 50%, #7a2df0 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.pub-sheets { align-items: stretch; margin-bottom: 22px; }
.pub-help-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 12px 28px;
    align-items: center;
}
.pub-help-visual {
    width: 148px;
    height: 148px;
    object-fit: contain;
    justify-self: center;
    filter: drop-shadow(0 12px 14px rgba(90, 20, 70, 0.16));
}
.mock-bubble {
    background: #fff7fb;
    border: 1px solid #f6eaf0;
    border-radius: 14px 14px 14px 4px;
    padding: 10px 12px;
    margin-top: 8px;
    color: #2a1436;
    font-weight: 700;
}
.mock-chat-note { margin: 10px 0 0; color: #6b5674; font-size: 0.88rem; }

@media (max-width: 900px) {
    .pub-hero-grid,
    .pub-how-grid,
    .pub-contact-grid,
    .pub-split,
    .pub-help-grid { grid-template-columns: 1fr; }
    .mock-browser,
    .mock-phone,
    .mock-sheet { max-width: 520px; }
    .pub-hero .photo-mock { margin: 8px 0 0; }
    .pub-hero .photo-mock img { width: 100%; max-width: 100%; }
    .photo-mock-wide { margin: 4px 0 12px; }
    .photo-mock-phone { margin-inline: auto; max-width: 420px; }
    .pub-marks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1200px) {
    .photo-mock-wide { margin: 8px 0 16px; }
    .pub-hero .photo-mock { margin: 0; }
    .pub-hero .photo-mock img { width: 100%; max-width: 100%; }
}
@media (max-width: 720px) {
    .pub-table-wrap { overflow: visible; }
    .pub-table { min-width: 0; }
    .pub-table thead { display: none; }
    .pub-table,
    .pub-table tbody,
    .pub-table tr,
    .pub-table td { display: block; width: auto; }
    .pub-table tr { padding: 14px 16px 12px; border-bottom: 1px solid #f6eaf0; }
    .pub-table td { border: 0; padding: 3px 0; }
    .pub-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        color: #8d7a96;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }
}
@media (max-width: 640px) {
    .pub-points { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    body.pub-page .container { padding-left: 16px; padding-right: 16px; }
    body.pub-page h1 { font-size: clamp(1.7rem, 8.2vw, 2.15rem); }
    .pub-lead, .pub-intro { font-size: 0.98rem; }
    .pub-actions,
    .pub-follow { flex-direction: column; align-items: stretch; }
    .pub-actions .btn-lg,
    .pub-actions .btn-primary,
    .pub-actions .btn-outline,
    .pub-follow .btn-primary,
    .pub-follow .btn-outline,
    .pub-person .btn-primary,
    .pub-person .btn-outline { width: 100%; justify-content: center; text-align: center; }
    .pub-help, .pub-contact { padding: 18px 16px; }
    .pub-steps li { grid-template-columns: 64px 1fr; gap: 10px; padding: 12px; }
    .pub-step-ico { width: 64px; height: 64px; }
    .pub-topic-cards .pub-ico { width: 72px; height: 72px; }
    .pub-mark { padding: 12px 8px 14px; }
    .pub-mark img { width: min(112px, 78%); height: auto; aspect-ratio: 1; margin-top: 0; }
    .pub-cat-ico, .pub-help-visual { width: 96px; height: 96px; }
    body.pub-page:has(.register-grid) { padding-top: 124px; }
    body.pub-page:has(.register-grid) .nav-container {
        height: auto;
        flex-wrap: wrap;
        align-items: center;
        padding: 10px 16px 12px;
        gap: 8px;
    }
    body.pub-page:has(.register-grid) .nav-right { width: 100%; justify-content: space-between; }
}
@media (max-width: 420px) {
    .pub-actions,
    .pub-follow { flex-direction: column; align-items: stretch; }
    .pub-actions .btn-lg,
    .pub-follow .btn-primary,
    .pub-follow .btn-outline { width: 100%; text-align: center; }
    .mock-stats { grid-template-columns: 1fr; }
    .pub-person .btn-primary,
    .pub-person .btn-outline { width: 100%; justify-content: center; }
    .pub-mark img { width: 120px; height: 120px; }
}
