/* Public homepage only. Shared styles, auth pages and functional UI stay intact. */
.home-page {
    --page-width: 1120px;
    --border: #e2e5e9;
    --border-active: #cdd8e4;
    --text: #17191d;
    --text-soft: #545c68;
    --text-muted: #596474;
    --blue: #0866c2;
    --icon-blue: #2475c1;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    font-size: 16px;
    background: #fff;
}

.home-page .topbar,
.home-page .page-shell,
.home-page .footer-inner {
    width: min(var(--page-width), calc(100% - 48px));
}
.home-page .topbar { height: 64px; padding: 0 24px; }
.home-page .topbar::before {
    left: -1px; right: -1px; width: auto; transform: none;
    background: #fff; border-color: var(--border);
    /* Extend only the paint, without a 100vw box under the vertical scrollbar. */
    box-shadow: 0 0 0 100vmax #fff;
    clip-path: inset(0 -100vmax);
    border-image: linear-gradient(var(--border), var(--border)) 1 / 0 0 1px 0 / 0 100vmax;
}
.home-page .logo-text { letter-spacing: -.035em; }
.home-page .logo-icon { border-radius: 7px; }
.home-page .nav a { font-size: 14px; height: 36px; border-radius: 7px; }
.home-page .nav [hidden] { display: none !important; }
.home-page .nav-link:hover, .home-page .footer-nav a:hover {
    border-color: transparent; box-shadow: none; background: #f4f5f6;
}
.home-page .primary-btn, .home-page .secondary-btn {
    height: 38px; padding: 0 15px; border-radius: 8px;
    gap: 8px; font-size: 14px; font-weight: 550;
}
.home-page .secondary-btn { color: #262b32; border-color: #d7dce1; }
.home-page .primary-btn:hover, .home-page .nav-primary:hover,
.home-page .url-input button:hover { box-shadow: none; background: #2d3034; }
.home-page :where(a, button):focus-visible {
    outline: 2px solid #0866c2; outline-offset: 3px;
}
.home-page .hero {
    padding: 76px 24px 0;
    background:
        linear-gradient(90deg, rgba(149,173,200,.12) 1px, transparent 1px),
        linear-gradient(rgba(149,173,200,.12) 1px, transparent 1px),
        linear-gradient(180deg, #fff 2%, #f8fbff 42%, #e1edfd 100%);
    background-size: 72px 72px, 72px 72px, auto;
}
.home-page .hero-badge {
    height: 28px; padding: 0 11px; color: #536477;
    font-size: 12px; font-weight: 500; border-color: #e2e8f0;
}
.home-page .hero-badge:hover { color: #536477; border-color: #e2e8f0; }
.home-page .hero h1 {
    max-width: 720px; margin: 22px auto 0;
    font-size: clamp(44px, 5vw, 56px);
    letter-spacing: -.037em; line-height: 1.12; font-weight: 500;
}
.home-page .hero-text {
    max-width: 560px; margin: 18px auto 0; color: #505d6b;
    font-size: 19px; line-height: 1.55; letter-spacing: -.012em;
}
.home-page .hero-actions { margin-top: 24px; }
.home-page .builder-shell {
    width: min(600px, 100%); margin: 38px auto 56px; padding: 8px;
}
.home-page .builder-shell::before {
    inset: 0; border-radius: 14px; background: rgba(255,255,255,.46);
    border: 0; box-shadow: none;
}
.home-page .builder-card {
    padding: 0; border: 0; border-radius: 10px; background: transparent; box-shadow: none;
}
.home-page .url-input { border-radius: 10px; height: 58px; border-color: #dce3ed; box-shadow: 0 2px 7px rgba(31,49,76,.06); }
.home-page .url-input input::placeholder, .home-page .alias-row input::placeholder { color: #6b7684; }
.home-page .url-input button { border-radius: 7px; font-size: 14px; font-weight: 600; height: 38px; }
.home-page .url-input:focus-within, .home-page .alias-row:focus-within { border-color: #78a9db; }
.home-page .alias-row { border-radius: 8px; color: #596474; }
.home-page .preview-list { gap: 7px; }
.home-page .preview-card { border-radius: 10px; margin-top: 8px; padding: 12px; border-color: #dce3ed; box-shadow: 0 2px 7px rgba(31,49,76,.045); }
.home-page .preview-left { flex: 1; min-width: 0; }
.home-page .preview-content { min-width: 0; display: block; }
.home-page .preview-url { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; letter-spacing: -.015em; }
.home-page .preview-long { max-width: 100%; display: block; color: #596474; }
.home-page .preview-arrow { display: inline-flex; vertical-align: middle; margin-right: 4px; }
.home-page .preview-logo { border-radius: 8px; }
.home-page .preview-actions { gap: 6px; flex: 0 0 auto; }
.home-page .icon-btn { width: 36px; height: 36px; min-width: 36px; border-radius: 7px; }
.home-page .builder-note:not(.housing-tip) { margin: 12px 0 2px; color: #526275; font-size: 12px; }
.home-page .builder-note:not(.housing-tip) a { text-decoration: underline; text-underline-offset: 2px; }
.home-page .signed-dashboard-card { border-radius: 10px; box-shadow: none; }
.home-page .premium-separator { width: 100%; margin: 0; background: #fff; }
.home-page .separator-shell { width: 100%; padding: 20px 16px; }
.home-page .stats-strip { gap: 24px; }
.home-page .stats-item strong { font-size: 16px; letter-spacing: -.025em; color: #242e3e; }
.home-page .stats-item span { color: #596474; font-size: 13px; }

/* Shared section rhythm and structural grid. */
.home-page main > :is(.home-product,.home-features,.home-uses,.home-pricing) {
    border-bottom: 1px solid var(--border);
}
/* Only the three major transitions before content sections reach the viewport edges.
   Border-image outsets are paint-only: the original 1px border and layout stay intact. */
.home-page main > :is(.home-product,.home-uses) {
    border-image: linear-gradient(var(--border), var(--border)) 1 / 0 0 1px 0 / 0 100vmax;
}
/* Keep the existing border between the hero and statistics within the content width. */
.home-page main > .premium-separator {
    border-bottom-color: transparent;
    position: relative;
}
.home-page main > .premium-separator::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    border-bottom: 1px solid var(--border);
    border-image: linear-gradient(var(--border), var(--border)) 1 / 0 0 1px 0 / 0 100vmax;
    pointer-events: none;
}
.home-page main > .home-pricing { border-bottom: 0; }
.home-section-heading { text-align: center; padding: 64px 28px 36px; }
.home-eyebrow { display: inline-flex; gap: 7px; align-items: center; font-size: 13px; color: #596474; font-weight: 500; }
.home-eyebrow svg, .home-eyebrow [data-lucide] { width: 16px; height: 16px; color: #2475c1; }
.home-section-heading h2 {
    color: #17191d; max-width: 740px; margin: 12px auto 0;
    font-size: clamp(32px, 3.6vw, 42px); font-weight: 500;
    line-height: 1.16; letter-spacing: -.033em;
}
.home-section-heading p {
    max-width: 610px; margin: 14px auto 0;
    color: #545c68; font-size: 16px; line-height: 1.65;
}
.home-section-heading .secondary-btn { margin-top: 22px; }
.home-section-heading .secondary-btn svg { width: 15px; height: 15px; }
.home-dashboard-stage {
    background: linear-gradient(180deg,#fff,#f6f8fb);
    padding: 12px 44px 36px; 
}
.demo-dashboard {
    width: min(850px, 100%); margin: 0 auto; border: 1px solid #dfe4ea;
    border-radius: 12px; overflow: hidden; background: #fff;
    box-shadow: 0 7px 24px rgba(25,40,62,.045);
    font-size: 13px; text-align: left;
}
.demo-dashboard-top { display: flex; gap: 10px; align-items: center; padding: 13px 18px; border-bottom: 1px solid #e5e8ec; }
.demo-brand { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #e2e5e9; border-radius: 7px; font-size: 16px; font-weight: 700; letter-spacing: -.05em; }
.demo-workspace { margin-left: auto; font-size: 12px; color: #657181; }
.demo-dashboard-body { padding: 18px; background: #fafbfc; }
.demo-dashboard-tools { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.demo-search, .demo-control, .demo-dark-action {
    min-width: 0; display: flex; gap: 6px; align-items: center;
    border: 1px solid #dfe3e8; border-radius: 6px; background: #fff;
    color: #596474; padding: 7px 9px; font-size: 12px; line-height: 1.3;
}
.demo-search { flex: 1; }
.demo-control, .demo-dark-action { white-space: nowrap; }
.demo-dark-action { color: #fff; border-color: #17191d; background: #17191d; font-weight: 550; }
.demo-dashboard svg, .demo-panel svg, .home-tag-examples svg { width: 15px; height: 15px; }
.demo-link-list { display: grid; gap: 8px; }
.demo-link-row {
    display: grid; grid-template-columns: 34px minmax(0,1fr) 98px 52px 62px 56px;
    align-items: center; gap: 10px; background: white;
    border: 1px solid #e2e5e9; padding: 12px; border-radius: 8px;
}
.demo-link-mark { display: grid; place-items: center; border: 1px solid #e2e5e9; border-radius: 7px; width: 34px; height: 34px; color: #536477; }
.demo-link-mark svg { width: 18px; height: 18px; }
.demo-link-content { min-width: 0; }
.demo-link-content strong { display: block; color: #0866c2; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-link-content > span { display: flex; align-items: center; gap: 3px; margin-top: 4px; font-size: 12px; color: #687484; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-link-content > span svg { flex: 0 0 auto; width: 12px; height: 12px; }
.demo-tag { display: inline-flex; align-items: center; gap: 5px; width: fit-content; max-width: 100%; padding: 4px 7px; border-radius: 5px; font-size: 11px; line-height: 1.4; font-weight: 500; }
.demo-tag.blue { color: #245788; background: #eaf3ff; }
.demo-tag.green { color: #286647; background: #e9f5ed; }
.demo-tag.violet { color: #63478b; background: #f1ecf9; }
.demo-link-actions, .demo-link-count, .demo-link-date { display: flex; gap: 6px; align-items: center; justify-content: center; color: #657181; font-size: 12px; }
.demo-link-actions { border-right: 1px solid #e2e5e9; padding-right: 8px; }
.demo-link-date { border-left: 1px solid #e2e5e9; padding-left: 8px; }
.demo-dashboard-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; color: #657181; font-size: 12px; }
.demo-dashboard-footer span { display: flex; gap: 5px; align-items: center; }
.home-tags-callout {
    display: flex; gap: 24px; justify-content: space-between; align-items: center;
    padding: 26px 40px; border-top: 1px solid var(--border);
}
.home-tags-callout h3, .home-feature h3, .home-use-grid h3 { margin: 6px 0 0; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.018em; }
.home-tags-callout p, .home-feature p, .home-use-grid p { margin: 7px 0 0; font-size: 15px; color: #545c68; line-height: 1.6; }
.home-plan-label { color: #526479; font-size: 12px; font-weight: 550; }
.home-tag-examples { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.home-tag-examples .demo-tag { font-size: 12px; padding: 7px 9px; }

.home-feature-heading { padding: 52px 28px 36px; }
.home-feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--border); }
.home-feature { min-width: 0; display: flex; flex-direction: column; padding: 30px 34px 32px; }
.home-feature:nth-child(odd) { border-right: 1px solid var(--border); }
.home-feature:nth-child(n+3) { border-top: 1px solid var(--border); }
.home-feature-stage {
    min-width: 0; display: flex; align-items: center; justify-content: center;
    min-height: 300px; padding: 20px 16px;
    background: linear-gradient(180deg,#fafbfc,#fff);
}
.demo-panel {
    width: min(100%, 410px); padding: 14px; border: 1px solid #e0e5e9;
    background: #fff; border-radius: 10px;
    box-shadow: 0 4px 15px rgba(25,40,62,.04);
    font-size: 12px; line-height: 1.4; color: #3f4a58;
}
.demo-panel-head { display: flex; align-items: center; gap: 8px; justify-content: space-between; margin-bottom: 13px; color: #20252c; }
.demo-panel-head strong { font-weight: 600; font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-panel-head .demo-control { font-size: 11px; padding: 5px 7px; }
.demo-panel-head .demo-control svg { width: 12px; height: 12px; }
.demo-stats-summary { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 2px 0 12px; }
.demo-stats-summary > div { display: grid; gap: 3px; }
.demo-stats-summary strong { font-size: 29px; line-height: 1; font-weight: 500; color: #191c21; letter-spacing: -.04em; }
.demo-blue { font-size: 11px; color: #0866c2; }
.demo-chart { display: flex; gap: 8px; height: 88px; }
.demo-chart-axis { display: flex; flex-direction: column; justify-content: space-between; font-size: 10px; color: #667085; }
.demo-chart-bars { flex: 1; display: flex; align-items: end; gap: 7%; padding: 0 8px; border-bottom: 1px solid #e2e5e9; background: repeating-linear-gradient(to top,#fff 0 calc(33.33% - 1px),#eef1f4 calc(33.33% - 1px) 33.33%); }
.demo-chart-bars span { height: var(--bar); flex: 1; background: #7aafe8; border-radius: 3px 3px 0 0; }
.demo-chart-bars span:last-child { background: #2475c1; }
.demo-chart-labels { display: flex; justify-content: space-between; margin: 5px 0 10px 22px; font-size: 10px; color: #657181; }
.demo-source { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #edf0f2; padding: 5px 0 0; margin-top: 4px; }
.demo-source span { display: flex; align-items: center; gap: 6px; }
.demo-source:first-of-type { font-weight: 600; }
.demo-qr-top, .demo-download { display: flex; align-items: center; gap: 4px; }
.demo-qr-top { justify-content: space-between; margin-bottom: 8px; }
.demo-download { font-size: 11px; }
.demo-download svg { width: 12px; height: 12px; }
.demo-qr-image { display: grid; place-items: center; background: radial-gradient(#dce4ed .7px, transparent .7px) 0 0/6px 6px; border: 1px solid #dfe4ea; border-radius: 6px; min-height: 142px; }
.demo-qr-image img { background: white; padding: 5px; width: 118px; height: 118px; object-fit: contain; image-rendering: pixelated; }
.demo-qr-options { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 10px; }
.demo-swatches, .demo-logo-options { display: flex; gap: 6px; margin-top: 7px; align-items: center; }
.demo-swatches b { width: 19px; height: 19px; display: block; background: var(--swatch); border-radius: 50%; }
.demo-swatches b:first-child { outline: 1px solid #747d87; outline-offset: 2px; }
.demo-logo-options b, .demo-logo-options svg { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #e2e5e9; border-radius: 5px; padding: 3px; color: #4c5765; font-size: 11px; }
.demo-field-label { margin: 9px 0 4px; font-weight: 500; }
.demo-field { border: 1px solid #dfe3e8; border-radius: 5px; padding: 8px 9px; background: #fff; overflow-wrap: anywhere; font-size: 12px; }
.demo-short { display: flex; padding: 0; overflow: hidden; }
.demo-short span, .demo-short strong { padding: 8px 9px; }
.demo-short span { background: #f7f8fa; border-right: 1px solid #e2e5e9; color: #596474; }
.demo-short strong { font-weight: 500; }
.demo-field-active { border-color: #91bce7; box-shadow: 0 0 0 2px #eaf4ff; }
.demo-previous-destination { margin-top: 8px; color: #657181; font-size: 11px; overflow-wrap: anywhere; }
.demo-edit-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 14px; }
.demo-edit-foot > span:first-child { display: flex; gap: 4px; align-items: center; color: #526479; font-size: 11px; }
.demo-edit-foot .demo-dark-action { padding: 7px 13px; }
.demo-utm-result { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; border: 1px solid #e0e8f1; border-radius: 5px; background: #f5f9fd; padding: 8px; color: #526479; font-size: 11px; overflow-wrap: anywhere; }
.demo-utm-result span { min-width: 0; }
.home-feature-copy { margin-top: 22px; }
.home-feature-copy h3 { margin-top: 5px; }
.home-uses-heading { padding: 32px 40px 20px; }
.home-uses-heading h2 { margin: 0; color: #17191d; font-size: 27px; font-weight: 500; line-height: 1.2; letter-spacing: -.028em; }
.home-uses-heading p { margin: 8px 0 0; color: #545c68; font-size: 15px; }
.home-use-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--border); }
.home-use-grid article { padding: 24px 24px 28px; min-width: 0; }
.home-use-grid article + article { border-left: 1px solid var(--border); }
.home-use-grid article > svg, .home-use-grid article > [data-lucide] { color: #2475c1; width: 19px; height: 19px; margin-bottom: 9px; }
.home-use-grid h3 { font-size: 16px; }

/* Plans share one grid. */
.home-price-heading { text-align: left; padding: 54px 40px 34px; }
.home-price-heading h2, .home-price-heading p { margin-left: 0; margin-right: 0; }
.home-price-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--border); }
.home-price-plan { padding: 27px 26px 32px; display: grid; grid-template-rows: auto auto minmax(50px,auto) auto 1fr; align-content: start; gap: 12px; min-width: 0; }
.home-price-plan + .home-price-plan { border-left: 1px solid var(--border); }
.home-price-plus { background: #fafbfd; }
.home-price-name { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 24px; flex-wrap: wrap; }
.home-price-name h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.home-price-value { color: #17191d; font-size: 34px; line-height: 1.2; font-weight: 500; letter-spacing: -.035em; }
.home-price-value span { color: #596474; font-size: 14px; font-weight: 400; letter-spacing: 0; }
.home-price-free { font-size: 25px; line-height: 1.63; }
.home-price-plan > p { margin: 0; color: #545c68; font-size: 15px; line-height: 1.5; }
.home-price-plan > a { width: 100%; min-height: 40px; text-align: center; }
.home-price-features { border-top: 1px solid var(--border); margin-top: 7px; padding-top: 19px; }
.home-price-features strong { font-size: 14px; font-weight: 600; }
.home-price-features ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 11px; }
.home-price-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.5; color: #454e5b; }
.home-price-features li svg, .home-price-features li [data-lucide] { color: #2475c1; width: 15px; height: 15px; margin-top: 3px; }
.home-page .footer {
    background: #f8f9fa;
    border-top: 1px solid var(--border);
}
.home-page .footer-inner {
    padding: 30px 24px 24px; gap: 20px;
}
.home-page .footer-brand .logo-wrap { width: fit-content; margin-bottom: 7px; }
.home-page .footer-brand .logo-text { display: block; }
.home-page .footer-nav { gap: 4px; }
.home-page .footer-nav a { padding: 0 9px; font-weight: 500; }
.home-page .footer-bottom { color: #596474; font-weight: 400; border-top: 0; }

@media (max-width: 980px) {
    .home-page .nav-link { padding: 0 8px; }
    .home-feature { padding: 24px; }
    .home-feature-stage { padding: 15px 8px; }
    .home-tags-callout { flex-wrap: wrap; }
    .home-price-plan { padding: 22px 18px; }
    .home-price-name { min-height: 48px; align-content: start; }
    .home-price-plan > p { min-height: 66px; }
}
@media (max-width: 760px) {
    .home-page .topbar, .home-page .page-shell, .home-page .footer-inner { width: 100%; }
    .home-page .topbar { height: 60px; padding: 0 14px; }
    .home-page .topbar .nav a { height: 40px; }
    .home-page .nav-menu-toggle { width: 40px; height: 40px; border-radius: 7px; }
    .home-page .hero { padding: 50px 16px 0; background-size: 48px 48px,48px 48px,auto; }
    .home-page .hero h1 { max-width: 460px; font-size: clamp(35px, 7.5vw, 48px); line-height: 1.13; }
    .home-page .hero-text { font-size: 17px; max-width: 470px; }
    .home-page .hero-actions .primary-btn, .home-page .hero-actions .secondary-btn { height: 42px; border-radius: 8px; min-width: 0; }
    .home-page .builder-shell { width: min(100%, 470px); margin: 28px auto 32px; padding: 7px; }
    .home-page .builder-card { padding: 0; gap: 7px; }
    .home-page .url-input input#longUrl { border-radius: 8px; font-size: 16px; height: 46px; }
    .home-page .alias-row input { font-size: 16px; }
    .home-page .url-input button { height: 42px; border-radius: 8px; }
    .home-page .preview-card { padding: 10px; align-items: center; gap: 8px; }
    .home-page .preview-logo { width: 32px; height: 32px; }
    .home-page .preview-url { font-size: 13px; }
    .home-page .preview-long { font-size: 12px; }
    .home-page .icon-btn { width: 40px; height: 40px; min-width: 40px; }
    .home-page .stats-strip { gap: 12px; flex-wrap: nowrap; overflow: visible; justify-content: center; }
    .home-page .stats-item { flex: 1; flex-direction: column; align-items: center; text-align: center; white-space: normal; gap: 3px; }
    .home-page .stats-item span { font-size: 12px; line-height: 1.35; }
    .home-page .stats-divider { display: block; height: 30px; flex: 0 0 1px; }
    .home-section-heading { padding: 42px 22px 26px; }
    .home-section-heading h2 { font-size: clamp(30px, 6.5vw, 38px); }
    .home-section-heading p { font-size: 15px; }
    .home-dashboard-stage { padding: 10px 16px 24px; }
    .demo-dashboard-body { padding: 12px; }
    .demo-link-row { grid-template-columns: 30px minmax(0,1fr) auto; gap: 7px; padding: 9px; }
    .demo-link-content { grid-column: 2; }
    .demo-link-row .demo-tag { grid-row: 2; grid-column: 2; }
    .demo-link-actions { grid-row: 1; grid-column: 3; border: 0; padding: 0; }
    .demo-link-count { grid-row: 2; grid-column: 3; justify-content: end; }
    .demo-link-date { display: none; }
    .demo-link-mark { width: 30px; height: 30px; }
    .demo-link-content strong { font-size: 12px; }
    .demo-link-content > span { font-size: 11px; }
    .demo-dashboard-tools { flex-wrap: wrap; }
    .demo-search { flex: 1 0 100%; }
    .demo-dashboard-tools .demo-dark-action { margin-left: auto; }
    .home-tags-callout { padding: 22px; gap: 14px; }
    .home-tag-examples { flex-shrink: 1; }
    .home-feature-grid { grid-template-columns: 1fr; }
    .home-feature { padding: 22px; }
    .home-feature:nth-child(odd) { border-right: 0; }
    .home-feature + .home-feature { border-top: 1px solid var(--border); }
    .home-feature-stage { padding: 14px 6px; min-height: 0; }
    .home-feature-copy { margin-top: 16px; }
    .home-uses-heading { padding: 27px 22px 20px; }
    .home-uses-heading h2 { font-size: 25px; }
    .home-use-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .home-use-grid article { padding: 18px; }
    .home-use-grid article + article { border-left: 0; }
    .home-use-grid article:nth-child(even) { border-left: 1px solid var(--border); }
    .home-use-grid article:nth-child(n+3) { border-top: 1px solid var(--border); }
    .home-price-heading { text-align: left; }
    .home-price-grid { grid-template-columns: 1fr; }
    .home-price-plan { padding: 23px 22px; grid-template-rows: auto; gap: 9px; }
    .home-price-plan + .home-price-plan { border-left: 0; border-top: 1px solid var(--border); }
    .home-price-name, .home-price-plan > p { min-height: 0; }
    .home-price-plan > a { min-height: 44px; margin-top: 4px; }
    .home-page .footer-inner { padding: 25px 22px 24px; gap: 15px; }
    .home-page .footer-nav a { min-height: 40px; }
}
@media (max-width: 370px) {
    .home-page .hero { padding-left: 12px; padding-right: 12px; }
    .home-page .hero h1 { font-size: 32px; }
    .home-page .preview-logo { display: none; }
    .home-page .stats-strip { gap: 6px; }
    .home-use-grid { grid-template-columns: 1fr; }
    .home-use-grid article:nth-child(even) { border-left: 0; }
    .home-use-grid article + article { border-top: 1px solid var(--border); }
    .home-feature { padding: 18px; }
    .demo-panel { padding: 11px; }
    .demo-panel-head .demo-control { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html:has(.home-page) { scroll-behavior: auto; }
    .home-page :is(.hero-actions a,.home-section-heading a,.home-price-plan a,.nav a,.footer-nav a) {
        transition: none;
    }
}
