/* Paper system for Ticketebook.
   Same discipline as eSortcode / ePayment (Inter, IBM Plex Mono, 4px, left kickers)
   on a warmer programme-paper ground so the magenta hexagon stays sharp. */
.home {
    --ink: #161412;
    --ink-soft: #5c574f;
    --paper: #f3efe8;
    --card: #fffcf7;
    --line: rgba(22, 20, 18, 0.12);
    --pink: #e91e63;
    --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
    --nav-height: 76px;
    --container-max: 1200px;
    background: var(--paper);
    color: var(--ink);
}

.home .container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.home h1,
.home h2,
.home .home-price-num,
.home .home-rate-name {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.home .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: var(--nav-height);
    padding: 0;
    background: rgba(243, 239, 232, 0.92);
    backdrop-filter: saturate(1.2) blur(10px);
    -webkit-backdrop-filter: saturate(1.2) blur(10px);
    box-shadow: none;
    border-bottom: 1px solid var(--line);
    z-index: 1000;
}

.home .navbar.scrolled {
    background: rgba(243, 239, 232, 0.97);
    box-shadow: none;
}

.home .navbar .container {
    display: block;
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.home .nav-wrapper {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: var(--nav-height);
    column-gap: 1.25rem;
}

.home .logo img,
.home .brand-logo {
    height: 40px;
    width: auto;
    max-height: 40px;
    object-fit: contain;
}

.home .nav-wrapper > .logo {
    grid-column: 1;
    justify-self: start;
}

.home .nav-menu {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.25rem 1.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.home .nav-menu > li:last-child {
    margin-left: 0.9rem;
}

.home .hamburger {
    grid-column: 3;
    justify-self: end;
}

.home .nav-menu a {
    color: var(--ink);
    font-weight: 600;
    letter-spacing: 0;
    padding: 0.5rem 0.15rem;
    border-radius: 0;
    background: none;
}

.home .nav-menu a:hover,
.home .nav-menu a.active {
    color: var(--pink);
    background: none;
}

.home .nav-menu .btn,
.home .nav-menu .btn-primary {
    border-radius: 4px;
    padding: 0.55rem 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: none;
    transform: none;
    background: var(--pink);
    color: #fff !important;
    border: 1px solid var(--pink);
}

.home .nav-menu .btn:hover,
.home .nav-menu .btn-primary:hover {
    background: #c2185b;
    border-color: #c2185b;
    color: #fff !important;
    transform: none;
    box-shadow: none;
}

.home .btn {
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: none;
    transform: none;
    backdrop-filter: none;
    border-width: 1px;
}

.home .btn:hover {
    transform: none;
    box-shadow: none;
}

.home .btn-primary {
    background: var(--pink);
    color: #fff !important;
    border: 1px solid var(--pink);
}

.home .btn-primary:hover {
    background: #c2185b;
    color: #fff !important;
    border-color: #c2185b;
}

.home .btn-secondary,
.home .btn-outline {
    background: transparent;
    color: var(--ink) !important;
    border: 1px solid var(--ink);
}

.home .btn-secondary:hover,
.home .btn-outline:hover {
    background: var(--ink);
    color: var(--card) !important;
    border-color: var(--ink);
}

.home .hamburger {
    display: none;
    border-radius: 4px;
    border: 1px solid var(--line);
    background: var(--card);
    width: 44px;
    height: 44px;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    box-sizing: border-box;
}

.home .hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--ink);
    border-radius: 2px;
}

.home .mobile-menu-toggle {
    display: none;
}

/* Hero */
.home-hero {
    padding: calc(var(--nav-height) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3rem, 6vw, 5rem);
    border-bottom: 1px solid var(--line);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(2.5rem, 5vw, 5.5rem);
    align-items: center;
}

.home-kicker {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
}

.home-hero h1 {
    font-size: clamp(2.35rem, 5.2vw, 3.5rem);
    line-height: 1.08;
    font-weight: 600;
    margin: 0 0 1.15rem;
    max-width: 14ch;
}

.home-hero .lede {
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 36rem;
    margin: 0 0 1.75rem;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
    margin-bottom: 1.25rem;
}

.home-hero-note {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin: 0;
}

.home-hero-note a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-hero-note a:hover {
    color: var(--pink);
}

.home-slip {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--pink);
    padding: 1.5rem 1.6rem 1.35rem;
    box-shadow: 0 18px 40px rgba(22, 20, 18, 0.06);
}

.home-slip-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.15rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.home-slip-rows {
    display: grid;
    gap: 0.55rem 1.25rem;
    margin-bottom: 1.25rem;
}

.home-slip-row {
    display: grid;
    grid-template-columns: 9.5rem 1fr;
    gap: 0.75rem;
    font-size: 0.95rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--line);
}

.home-slip-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.home-slip-row dt {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 500;
    padding-top: 0.2rem;
}

.home-slip-row dd {
    margin: 0;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.home-slip-status {
    color: #1f6b3a;
}

.home-slip-json {
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--ink-soft);
    white-space: pre-wrap;
}

/* Proof */
.home-proof {
    padding: 2.25rem 0 2.5rem;
    border-bottom: 1px solid var(--line);
}

.home-proof-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 1.25rem;
}

.home .partner-logo {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 160px;
    height: 72px;
    padding: 0 0.5rem;
}

.home .partner-logo:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
    background: transparent !important;
}

.home .partner-logo img {
    max-height: 40px;
    filter: grayscale(1) contrast(1.08);
    opacity: 0.7;
    mix-blend-mode: multiply;
    background: transparent;
}

.home .partner-logo:hover img {
    filter: grayscale(1) contrast(1.08);
    opacity: 0.95;
    transform: none;
}

.home .partners-nav {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    color: var(--ink);
    box-shadow: none;
    background: var(--card);
}

.home .partners-nav:hover {
    background: var(--card);
    transform: translateY(-50%);
    box-shadow: none;
}

.home .partners-section,
.home .partners-header {
    background: transparent;
    border: 0;
    text-align: left;
}

/* Products as a rate card */
.home-products,
.home-pricing,
.home-stack,
.home-sister {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    border-bottom: 1px solid var(--line);
}

.home-section-head {
    max-width: 36rem;
    margin-bottom: 2rem;
    text-align: left;
}

.home-section-head h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    line-height: 1.15;
    margin: 0 0 0.6rem;
}

.home-section-head p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.home-rate {
    border-top: 1px solid var(--ink);
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-rate a {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 8.5rem minmax(0, 1.6fr) auto;
    gap: 1rem 1.5rem;
    align-items: baseline;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
}

.home-rate a:hover .home-rate-name,
.home-rate a:hover .home-rate-go {
    color: var(--pink);
}

.home-rate-name {
    font-size: 1.45rem;
}

.home-rate-price {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-size: 0.95rem;
}

.home-rate-blurb {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.home-rate-go {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Pricing */
.home-price-table {
    width: 100%;
    border-collapse: collapse;
}

.home-price-table th,
.home-price-table td {
    text-align: left;
    padding: 1rem 1rem 1rem 0;
    border-bottom: 1px solid var(--line);
    vertical-align: baseline;
}

.home-price-table th {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border-bottom-color: var(--ink);
}

.home-price-table td:nth-child(2),
.home-price-table td:nth-child(3) {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.home-price-table a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-price-table a:hover {
    color: var(--pink);
}

.home-price-foot {
    margin: 1.25rem 0 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

/* Stack */
.home-stack-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
}

.home-stack-list li {
    padding: 1.35rem 1.5rem 1.35rem 0;
    border-bottom: 1px solid var(--line);
}

.home-stack-list li:nth-child(even) {
    padding-left: 1.5rem;
    padding-right: 0;
    border-left: 1px solid var(--line);
}

.home-stack-list h3 {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.home-stack-list p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
    line-height: 1.55;
}

/* Highlight strip */
.home-sla {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--line);
}

.home-sla-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem 2rem;
}

.home-sla p {
    margin: 0;
    font-size: 1.05rem;
    max-width: 46rem;
}

.home-sla a {
    font-weight: 600;
    white-space: nowrap;
    color: var(--ink);
    text-decoration: none;
}

.home-sla a:hover {
    color: var(--pink);
}

.home-why-banner {
    padding: 1.5rem 0 1.65rem;
    border-bottom: 1px solid var(--line);
}

.home-why-banner-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) auto;
    gap: 1.25rem 2rem;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--pink);
    padding: 1.25rem 1.4rem 1.2rem;
}

.home-why-banner .home-kicker {
    margin-bottom: 0.35rem;
}

.home-why-banner h2 {
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
    margin: 0 0 0.4rem;
}

.home-why-banner p {
    margin: 0;
    color: var(--ink-soft);
    max-width: 44rem;
    font-size: 1.02rem;
}

.home-why-banner .btn {
    white-space: nowrap;
}

@media (max-width: 800px) {
    .home-why-banner-inner {
        grid-template-columns: 1fr;
    }
}

/* Sister */
.home-sister-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
}

.home-sister-list a {
    display: grid;
    grid-template-columns: 10rem 1fr auto;
    gap: 1rem 1.5rem;
    align-items: center;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
}

.home-sister-list a:hover span:last-child {
    color: var(--pink);
}

.home-sister-list img {
    max-height: 28px;
    width: auto;
    filter: grayscale(1) contrast(1.05);
    opacity: 0.85;
    mix-blend-mode: multiply;
    background: transparent;
}

.home-sister-list p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.home-sister-list span:last-child {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.sister-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

/* Close */
.home-close {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.home-close .home-hero-actions {
    margin-top: 1.35rem;
}

.home-close h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    max-width: 16ch;
    margin: 0 0 1rem;
}

.home-close p {
    color: var(--ink-soft);
    max-width: 32rem;
    margin: 0 0 1.5rem;
    font-size: 1.08rem;
}

.home-close-meta {
    margin: 1.1rem 0 0;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

/* Footer */
.home .footer {
    background: var(--paper);
    color: var(--ink);
    border-top: 1px solid var(--line);
    padding: 2.5rem 0 1.5rem;
}

.home .footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2rem 2.5rem;
    margin-bottom: 2rem;
}

.home .footer-brand-logo,
.home .footer-logo-img {
    height: 40px;
    width: auto;
    mix-blend-mode: multiply;
    background: transparent;
}

.home .footer-section h4,
.home .footer-column h4 {
    color: var(--ink);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0 0 0.85rem;
}

.home .footer-section p,
.home .footer-tagline,
.home .footer-description,
.home .footer-section ul li a,
.home .footer-column ul li a {
    color: var(--ink-soft);
    opacity: 1;
}

.home .footer-section ul,
.home .footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home .footer-section ul li,
.home .footer-column ul li {
    margin: 0 0 0.45rem;
}

.home .footer-section ul li a:hover,
.home .footer-column ul li a:hover {
    color: var(--pink);
}

.home .footer-social {
    display: none;
}

.home .iso-logo,
.home .iso-badge-footer {
    height: 90px;
    max-height: 90px;
    width: auto;
    max-width: 100%;
    margin-top: 1rem;
    filter: invert(1);
    mix-blend-mode: multiply;
    background: transparent;
}

.home .footer-iso {
    text-align: left;
    margin-top: 1.25rem;
}

.home .footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
    color: var(--ink-soft);
}

.home .footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.home .footer-bottom a,
.home .footer-policy-link {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home .footer-bottom a:hover {
    color: var(--pink);
}

.home .group-logo {
    height: 56px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: multiply;
}

.home .scroll-top {
    background: var(--ink);
    color: var(--card);
    border-radius: 4px;
    box-shadow: none;
    z-index: 10002;
}

.home .scroll-top.show {
    display: flex;
}

.home .scroll-top:hover {
    background: var(--pink);
    color: #fff;
    transform: none;
    box-shadow: none;
}

body.cookie-banner-on .scroll-top.show {
    bottom: 7.5rem;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--card, #fffcf7);
    border-top: 1px solid var(--line, rgba(22, 20, 18, 0.12));
    z-index: 10000;
    transition: bottom 0.25s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.35rem clamp(16px, 3vw, 28px);
}

.cookie-banner-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
    color: var(--ink, #161412);
}

.cookie-banner-content p {
    margin: 0 0 1rem;
    color: var(--ink-soft, #5c574f);
    font-size: 0.95rem;
}

.cookie-banner-content a {
    color: var(--ink, #161412);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
}

.cookie-modal.closing {
    opacity: 0;
}

.cookie-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 20, 18, 0.45);
}

.cookie-modal-content {
    position: relative;
    background: var(--card, #fffcf7);
    border: 1px solid var(--line, rgba(22, 20, 18, 0.12));
    border-radius: 4px;
    width: 90%;
    max-width: 640px;
    max-height: min(85vh, 40rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cookie-modal-header,
.cookie-modal-footer {
    padding: 1.25rem 1.5rem;
    flex: 0 0 auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--line, rgba(22, 20, 18, 0.12));
}

.cookie-modal-header h2 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
}

.cookie-modal-header p {
    margin: 0;
    color: var(--ink-soft, #5c574f);
    font-size: 0.92rem;
}

.cookie-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid var(--line, rgba(22, 20, 18, 0.12));
    background: var(--paper, #f3efe8);
    color: var(--ink, #161412);
}

.cookie-modal-body {
    padding: 1.25rem 1.5rem;
    overflow-y: auto;
    flex: 1 1 auto;
}

.cookie-setting-item {
    background: var(--paper, #f3efe8);
    border: 1px solid var(--line, rgba(22, 20, 18, 0.12));
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.cookie-setting-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-setting-info {
    flex: 1;
}

.cookie-setting-info h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-required {
    background: var(--pink, #e91e63);
    color: #fff;
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cookie-setting-info p {
    margin: 0;
    color: var(--ink-soft, #5c574f);
    font-size: 0.85rem;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--line, rgba(22, 20, 18, 0.12));
    border-radius: 4px;
    cursor: pointer;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background: var(--card, #fffcf7);
    border-radius: 2px;
    transition: transform 0.2s ease;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--pink, #e91e63);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background: var(--ink, #161412);
    cursor: not-allowed;
}

.cookie-modal-footer {
    display: flex;
    gap: 0.75rem;
    border-top: 1px solid var(--line, rgba(22, 20, 18, 0.12));
}

.cookie-modal-footer .btn {
    flex: 1;
    justify-content: center;
}

body.cookie-modal-open {
    overflow: hidden;
}

@media (max-width: 968px) {
    .home .nav-wrapper {
        display: flex;
    }

    .home .hamburger {
        display: flex;
        margin-left: auto;
        grid-column: auto;
    }

    .home .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(22rem, 86vw);
        background: var(--paper) !important;
        box-shadow: none !important;
        border-left: 1px solid var(--line) !important;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        padding: 4.5rem 1.25rem 1.5rem;
        gap: 0;
        transform: translateX(110%);
        transition: transform 0.25s ease;
    }

    .home .nav-menu > li:last-child {
        margin-left: 0;
    }

    .home .nav-menu.active,
    .home .nav-menu.open {
        transform: translateX(0);
    }

    .home .nav-menu a {
        display: block;
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--line);
    }

    .home .nav-menu .btn {
        margin-top: 1rem;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .home-hero-grid,
    .home-stack-list,
    .home-sister-list a,
    .home .footer-content {
        grid-template-columns: 1fr;
    }

    .home-rate a {
        grid-template-columns: 1fr auto;
        gap: 0.35rem 1rem;
    }

    .home-rate-blurb,
    .home-rate-go {
        grid-column: 1 / -1;
    }

    .home-slip-row {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .home-stack-list li:nth-child(even) {
        padding-left: 0;
        border-left: 0;
    }

    .home-sister-list img {
        max-height: 24px;
    }
}

@media (max-width: 640px) {
    .home-hero h1 {
        max-width: none;
    }

    .cookie-banner-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Inner pages ---------- */
.home .case-study-hero,
.home .case-study-hero::before,
.home .filter-section {
    background: var(--paper) !important;
    color: var(--ink) !important;
}

.home .filter-section {
    top: var(--nav-height) !important;
}

.home .case-study-hero::before {
    display: none !important;
}

.home .case-study-hero {
    padding: calc(var(--nav-height) + 2.25rem) 0 2.5rem !important;
}

.home .case-study-hero h1,
.home .case-study-hero p,
.home .hero-subtitle,
.home .hero-tag,
.home .breadcrumb,
.home .breadcrumb a,
.home .breadcrumb span {
    color: var(--ink) !important;
    text-shadow: none !important;
}

.home .hero-tag {
    background: none !important;
    border: 0 !important;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft) !important;
    padding: 0;
}

.home .case-study-hero .hero-content {
    display: block !important;
    max-width: 38rem;
}

.home .case-study-hero h1 {
    max-width: 16ch;
    font-size: clamp(2rem, 4.2vw, 2.85rem);
    line-height: 1.08;
    margin: 0 0 1rem;
}

.home .case-study-hero .hero-subtitle {
    margin: 0;
    max-width: 38rem;
    font-size: 1.08rem;
    line-height: 1.55;
}

.home .case-study-hero .breadcrumb {
    margin: 0 0 1.25rem;
    font-size: 0.85rem;
}

.home .case-study-hero .breadcrumb i {
    color: var(--ink-soft);
}

.home .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
}

.home .stat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 4px;
    text-align: left;
    padding: 1rem 1.15rem;
    backdrop-filter: none;
}

.home .stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0 0 0.25rem;
}

.home .stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-family: var(--mono);
    opacity: 1;
}

.home .filter-section {
    padding: 0.75rem 0 0.35rem !important;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}

.home .filter-tabs {
    justify-content: flex-start;
    gap: 0.5rem 0.65rem;
}

.home .filter-tab {
    background: var(--card) !important;
    border: 1px solid var(--line) !important;
    border-radius: 4px !important;
    color: var(--ink) !important;
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
}

.home .filter-tab:hover,
.home .filter-tab.active {
    background: var(--pink) !important;
    color: #fff !important;
    border-color: var(--pink) !important;
}

.home .case-studies-grid-section,
.home .client-overview,
.home .benefits-overview {
    padding-top: 2rem !important;
}

.home .case-study-card.featured {
    border: 1px solid var(--line) !important;
    border-left: 3px solid var(--pink) !important;
}

.home .case-study-badge {
    position: static;
    display: block;
    width: fit-content;
    background: none !important;
    color: var(--ink-soft) !important;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 1.15rem 1.5rem 0;
    border-radius: 0;
}

.home .case-study-image {
    display: none;
}

.home .case-study-content {
    padding: 0 1.5rem 1.5rem;
}

.home .case-study-content h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    margin-bottom: 0.65rem;
}

.home .case-study-excerpt {
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.home .case-study-highlights {
    background: var(--paper) !important;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1rem 1.15rem;
    gap: 1rem;
}

.home .highlight-item i {
    font-size: 1rem;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pink);
    color: #fff !important;
    border-radius: 4px;
}

.home .tag {
    border-radius: 4px;
    background: var(--paper);
    border-color: var(--line);
}

.home .coming-soon-grid,
.home .coming-soon-card {
    text-align: left;
}

.home .coming-soon-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px !important;
    background: var(--pink) !important;
    margin: 0 0 1rem;
}

.home .coming-soon-icon i {
    font-size: 1.1rem;
    color: #fff !important;
}

.home .coming-tag {
    border-radius: 4px;
    background: var(--paper);
    color: var(--ink-soft);
}

.home .case-study-cta,
.home .share-story {
    background: var(--paper) !important;
    text-align: left;
    color: var(--ink) !important;
}

.home .case-study-cta h2,
.home .case-study-cta p,
.home .share-story h2,
.home .share-story p,
.home .cta-benefit,
.home .cta-benefit span {
    color: var(--ink) !important;
}

.home .cta-benefits {
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media (max-width: 800px) {
    .home .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
}

.home .page-header,
.home .case-hero,
.home .cs-hero,
.home .error-page {
    background: var(--paper) !important;
    color: var(--ink) !important;
    padding: calc(var(--nav-height) + 2.25rem) 0 2.5rem !important;
    min-height: 0 !important;
    text-align: left;
    position: relative;
}

.home .page-header > .container,
.home .signup-hero > .container,
.home .partners-hero > .container,
.home .case-study-hero > .container,
.home .home-hero > .container,
.home .legal-container > .legal-header {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.home .page-header .hero-content,
.home .partners-hero .hero-content,
.home .signup-hero .hero-content {
    display: block !important;
}

.page-header-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: clamp(1.5rem, 4vw, 4.5rem);
    align-items: center;
}

.page-header-grid .header-content,
.page-header-grid .hero-content {
    max-width: 38rem;
    margin: 0;
    text-align: left;
}

.page-graphic {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--pink);
    padding: 1.15rem 1.2rem 1.05rem;
    box-shadow: 0 18px 40px rgba(22, 20, 18, 0.06);
}

.pg-kicker,
.page-graphic .pg-kicker {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 0.75rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.pg-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
}

.pg-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pg-row span {
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pg-row strong {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pg-seats {
    display: grid;
    grid-template-columns: repeat(8, 12px);
    gap: 3px;
    justify-content: end;
    margin-top: 0.35rem;
}

.pg-seats i {
    width: 12px;
    height: 10px;
    border: 1px solid var(--line);
    border-radius: 1px 1px 3px 3px;
    display: block;
    background: var(--card);
}

.pg-seats i.on {
    background: var(--pink);
    border-color: var(--pink);
}

.pg-seats i.dim {
    background: #d8d3cb;
}

.pg-steps {
    display: grid;
    gap: 0.45rem;
}

.pg-steps b {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    font-size: 0.88rem;
}

.pg-steps b em {
    font-style: normal;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--pink);
    width: 1.1rem;
}

.pg-hex {
    width: 52px;
    height: 60px;
    background: var(--pink);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.35rem;
    margin: 0.35rem 0 0.15rem;
}

.pg-phone {
    width: 92px;
    margin: 0 auto;
    border: 1px solid var(--ink);
    border-radius: 12px;
    padding: 8px 8px 10px;
    background: var(--paper);
}

.pg-phone .notch {
    width: 28px;
    height: 4px;
    background: var(--ink);
    border-radius: 2px;
    margin: 0 auto 8px;
}

.pg-phone .screen {
    background: var(--card);
    border: 1px solid var(--line);
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-phone .frame {
    width: 42px;
    height: 42px;
    border: 2px solid var(--pink);
    border-radius: 4px;
}

.pg-qr {
    width: 72px;
    height: 72px;
    background: var(--ink);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4px;
    padding: 8px;
}

.pg-qr span {
    background: var(--card);
}

.pg-doc {
    display: grid;
    gap: 0.35rem;
}

.pg-doc i {
    display: block;
    height: 6px;
    background: var(--line);
    border-radius: 2px;
}

.pg-doc i:nth-child(1) { width: 70%; }
.pg-doc i:nth-child(2) { width: 100%; }
.pg-doc i:nth-child(3) { width: 88%; }
.pg-doc i:nth-child(4) { width: 54%; }

.pg-cal {
    display: grid;
    grid-template-columns: repeat(7, 12px);
    gap: 3px;
    justify-content: end;
    margin: 0.15rem 0 0.65rem;
}

.pg-cal i {
    width: 12px;
    height: 12px;
    border: 1px solid var(--line);
    border-radius: 1px;
    display: block;
    background: var(--card);
}

.pg-cal i.on {
    background: var(--pink);
    border-color: var(--pink);
}

.pg-cal i.dim {
    background: #d8d3cb;
}

@media (max-width: 800px) {
    .page-header-grid {
        grid-template-columns: 1fr;
    }

    .page-graphic {
        max-width: 22rem;
    }
}

.home .page-header h1,
.home .header-content h1 {
    color: var(--ink) !important;
    text-shadow: none !important;
    font-weight: 600;
    letter-spacing: -0.03em;
    font-size: clamp(2rem, 4vw, 2.8rem);
    max-width: 18ch;
    margin: 0 0 1rem;
}

.home .page-header p,
.home .header-content p {
    color: var(--ink-soft) !important;
    text-shadow: none !important;
    font-size: 1.08rem;
    line-height: 1.55;
    max-width: 38rem;
    margin: 0;
    opacity: 1;
}

.home .page-header .badge,
.home .header-content .badge {
    display: block;
    width: fit-content;
    background: none !important;
    color: var(--ink-soft) !important;
    border: 0 !important;
    border-radius: 0;
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    box-shadow: none;
}

.home .page-header .revolutionary-feature,
.home .header-content .revolutionary-feature {
    background: var(--card) !important;
    border: 1px solid var(--line) !important;
    border-left: 3px solid var(--pink) !important;
    border-radius: 4px !important;
    padding: 1.25rem 1.4rem !important;
    margin: 1.5rem 0 0 !important;
    max-width: 38rem !important;
    margin-left: 0 !important;
    text-align: left;
}

.home .page-header .revolutionary-feature h3,
.home .page-header .revolutionary-feature p {
    color: var(--ink) !important;
}

.home section:not(.navbar) {
    background: var(--paper) !important;
    color: var(--ink);
}

.home .section-header,
.home .section-header.centered {
    text-align: left;
    max-width: 36rem;
    margin: 0 0 2rem;
    margin-left: 0;
    margin-right: auto;
}

.home .section-header h2,
.home h2.section-title,
.home .category-title {
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink) !important;
    text-align: left;
}

.home .section-header p,
.home .section-subtitle {
    color: var(--ink-soft) !important;
    text-align: left;
}

.home [class*="-card"],
.home .feature-item,
.home .feature-card,
.home .pricing-card,
.home .explainer-card,
.home .benefit-card,
.home .tech-card,
.home .value-card,
.home .use-case-card,
.home .faq-item,
.home .contact-form-container,
.home .contact-info-box,
.home .info-box,
.home .partner-card,
.home .case-card,
.home .cs-card,
.home .error-container,
.home .signup-card,
.home .legal-content,
.home .policy-content {
    background: var(--card) !important;
    border: 1px solid var(--line) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    color: var(--ink);
}

.home [class*="-card"]:hover,
.home .feature-card:hover,
.home .pricing-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.home .feature-icon,
.home .value-icon,
.home .explainer-number,
.home .tech-card i,
.home .benefit-card i,
.home .use-case-card i,
.home .value-card i {
    clip-path: none !important;
    border-radius: 4px;
    background: var(--pink) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.home .cta-section,
.home .booking-fee-section,
.home [style*="linear-gradient"] {
    background: var(--paper) !important;
    color: var(--ink) !important;
    backdrop-filter: none !important;
}

.home [style*="color: white"],
.home [style*="color:white"],
.home [style*="color: #fff"],
.home [style*="color:#fff"],
.home [style*="color: #FFD700"],
.home [style*="color:#FFD700"],
.home .booking-fee-section h2,
.home .booking-fee-section h3,
.home .booking-fee-section h4,
.home .booking-fee-section p,
.home .booking-fee-section span,
.home .booking-fee-section strong,
.home .cta-section h2,
.home .cta-section p,
.home .cta-note {
    color: var(--ink) !important;
}

.home [style*="background: rgba(255,255,255"],
.home [style*="background:rgba(255,255,255"],
.home [style*="background: white"],
.home [style*="background:#fff"] {
    background: var(--card) !important;
    backdrop-filter: none !important;
    color: var(--ink) !important;
    border: 1px solid var(--line) !important;
    border-radius: 4px !important;
}

.home input,
.home select,
.home textarea {
    background: var(--card) !important;
    border: 1px solid var(--line) !important;
    border-radius: 4px !important;
    color: var(--ink) !important;
    box-shadow: none !important;
}

.home table {
    background: transparent;
    color: var(--ink);
}

.home th,
.home td {
    border-bottom: 1px solid var(--line);
    background: transparent !important;
    color: var(--ink);
}

.home .features-nav {
    background: var(--paper) !important;
    box-shadow: none !important;
    padding: 0.75rem 0 0.35rem !important;
    top: var(--nav-height);
    border-bottom: 1px solid var(--line);
}

.home .features-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible;
}

.home .feature-nav-btn {
    background: var(--card) !important;
    border: 1px solid var(--line) !important;
    border-radius: 4px !important;
    color: var(--ink) !important;
    box-shadow: none !important;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.home .feature-nav-btn.active,
.home .feature-nav-btn:hover {
    background: var(--pink) !important;
    color: #fff !important;
    border-color: var(--pink) !important;
}

.home .features-section {
    padding-top: 2rem !important;
}

.home .cta-section {
    text-align: left;
}

.home .cta-content {
    max-width: 40rem;
    margin: 0;
}

.home .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.85rem 1.25rem;
    margin: 1.35rem 0 1rem;
}

.home .cta-buttons .btn {
    width: auto;
}

.home .faq-search input {
    border-radius: 4px !important;
}

.home .legal-content,
.home .policy-content,
.home .terms-content {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0;
    max-width: 48rem;
}

.home .legal-content h2,
.home .policy-content h2,
.home .terms-content h2 {
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.4rem;
    font-weight: 600;
}

.home .error-page {
    min-height: auto !important;
    display: block !important;
}

.home .error-container {
    text-align: left;
    padding: 2rem 0 !important;
    max-width: 36rem;
    margin: 0;
}

.home .error-code {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    text-shadow: none !important;
    color: var(--pink) !important;
}

.home .etellect-logo,
.home .etellect-logo-section img {
    mix-blend-mode: multiply;
    background: transparent;
    max-height: 72px;
    width: auto;
}

.home .btn-white {
    background: transparent !important;
    color: var(--ink) !important;
    border: 1px solid var(--ink) !important;
}

.home .btn-white:hover {
    background: var(--ink) !important;
    color: var(--card) !important;
}

.home main h2,
.home main h3,
.home main h4 {
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.home .comparison-table th {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    border-bottom-color: var(--ink);
}

/* Ticketebook pricing calculator — same slider discipline as eSortcode */
.tb-calc {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    border-bottom: 1px solid var(--line);
}

.tb-calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.tb-slider.slider-container {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 1.15rem;
    margin: 0;
}

.tb-slider .slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.65rem;
}

.tb-slider .slider-label-row h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.02em;
}

.tb-slider-hint {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--ink-soft);
    font-weight: 400;
    line-height: 1.4;
}

.tb-slider .slider-value-display {
    background: none;
    color: var(--ink);
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    min-width: 0;
    font-family: var(--mono);
    font-size: 1.05rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    text-align: right;
    flex-shrink: 0;
}

.tb-slider .slider-wrapper {
    padding: 0.35rem 0 0;
}

.tb-slider .slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    border-radius: 0;
    background: var(--line);
    outline: none;
    margin: 0;
    cursor: pointer;
}

.tb-slider .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    background: var(--ink);
    box-shadow: none;
    border: 0;
    cursor: pointer;
}

.tb-slider .slider::-webkit-slider-thumb:hover {
    background: var(--pink);
}

.tb-slider .slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    background: var(--ink);
    box-shadow: none;
    border: 0;
    cursor: pointer;
}

.tb-slider .slider::-moz-range-thumb:hover {
    background: var(--pink);
}

.tb-slider .slider::-moz-range-track {
    height: 3px;
    background: var(--line);
    border: 0;
}

.tb-slider .slider-range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.55rem;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
}

.tb-calc-note {
    margin: 1rem 0 0;
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.tb-calc-note strong {
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.tb-calc-summary {
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--pink);
    border-radius: 4px;
    padding: 1.35rem 1.4rem 1.2rem;
}

.tb-calc-summary h3 {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.tb-results {
    display: grid;
    gap: 0.4rem 0;
}

.tb-result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
}

.tb-result-row span {
    color: var(--ink-soft);
}

.tb-result-row strong {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.tb-result-muted span,
.tb-result-muted strong {
    font-weight: 500;
}

.tb-result-total {
    border-bottom: 0;
    padding-bottom: 0;
    padding-top: 0.15rem;
}

.tb-result-total span,
.tb-result-total strong {
    color: var(--ink);
    font-weight: 600;
}

.tb-calc-foot {
    margin: 1rem 0 0;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

@media (max-width: 900px) {
    .tb-calc-grid {
        grid-template-columns: 1fr;
    }
}
