/* The new identity is shared; the composition below is scoped to the portal. */
.tp-theme .logo-mark.brand-symbol { width: 42px; height: 42px; border: 0; background: transparent; border-radius: 0; }
.tp-theme .brand-symbol img { display: block; width: 100%; height: 100%; }
.tp-theme .brand-wordmark strong { font-size: 1.5rem; letter-spacing: -.055em; text-transform: none; }
.tp-theme .brand-wordmark em { letter-spacing: .12em; }
.tp-theme .tp-footer__brand .brand-symbol { width: 38px; height: 38px; }
.tp-theme .tp-footer__brand .brand-wordmark strong { font-size: 1.35rem; }
.tp-theme .portal-page { background: linear-gradient(180deg, #fff 0, var(--tp-canvas-glow) 580px, var(--tp-canvas) 100%); padding-bottom: 1rem; }
.tp-theme .portal-intro { padding: 3.2rem 0 2.6rem; }
.tp-theme .portal-intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3.5rem; }
.tp-theme .portal-eyebrow { display: flex; align-items: center; gap: .6rem; font: 500 .68rem var(--tp-font-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--tp-primary); margin: 0 0 1.25rem; }
.tp-theme .portal-eyebrow > span { width: 1.8rem; height: 2px; background: currentColor; }
.tp-theme .portal-intro h1 { font: 700 clamp(2.5rem, 4.8vw, 4.6rem)/1.04 var(--tp-font-display); letter-spacing: -.055em; max-width: 11ch; margin: 0 0 1.4rem; color: var(--tp-ink-strong); text-wrap: balance; }
.tp-theme .portal-lead { max-width: 43ch; color: var(--tp-ink-muted); font-size: 1.08rem; line-height: 1.7; margin-bottom: 1.8rem; }
.tp-theme .portal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.tp-theme .portal-actions .btn { min-height: 46px; gap: .8rem; }
.tp-theme .portal-text-link { display: inline-flex; gap: .65rem; align-items: center; font-size: .85rem; font-weight: 600; color: var(--tp-primary); }
.tp-theme .portal-text-link i { font-size: .65rem; }
.tp-theme .portal-visual { position: relative; min-width: 0; height: 370px; background: radial-gradient(ellipse at 65% 40%, #dff5f7, transparent 68%), linear-gradient(135deg, #f7fafc, #eef5f9); border: 1px solid var(--tp-line-soft); border-radius: 8px; overflow: hidden; isolation: isolate; }
.tp-theme .portal-visual::before { position: absolute; content: ''; inset: 0; background-image: linear-gradient(var(--tp-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--tp-grid-line) 1px, transparent 1px); background-size: 35px 35px; mask-image: linear-gradient(135deg, black, transparent 85%); }
.tp-theme .portal-visual-orbit { position: absolute; width: 280px; height: 280px; inset-inline-start: calc(50% - 140px); top: 28px; border: 1px solid #0b74901a; border-radius: 50%; }
.tp-theme .portal-visual-orbit::after { content: ''; position: absolute; inset: 22px; border: 1px dashed #0b74901a; border-radius: 50%; }
.tp-theme .portal-visual-mark { position: absolute; width: 110px; height: 110px; inset-inline-start: 10%; top: 9%; opacity: .07; transform: rotate(-9deg); }
.tp-theme .portal-product { position: absolute; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 12px 9px #0c152414); }
.tp-theme .portal-product--mobile { inset-inline-start: 3%; top: 27%; width: 31%; height: 62%; transform: rotate(-9deg); z-index: 2; }
.tp-theme .portal-product--computer { inset-inline-end: 3%; top: 1%; width: 65%; height: 65%; transform: rotate(5deg); }
.tp-theme .portal-product--mobility { inset-inline-end: 1%; bottom: 8%; width: 67%; height: 38%; z-index: 3; }
.tp-theme .portal-visual-caption { position: absolute; bottom: 15px; inset-inline-start: 20px; font: 500 .6rem var(--tp-font-mono); letter-spacing: .03em; color: var(--tp-ink-muted); }
.tp-theme .portal-visual-caption span { color: var(--tp-primary); margin-inline: .45rem; }
.tp-theme .portal-content { padding-bottom: 1rem; }
.tp-theme .portal-directory { scroll-margin-top: 1.5rem; margin-bottom: 2.5rem; }
.tp-theme .portal-section-heading { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.2rem; }
.tp-theme .portal-section-heading h2 { font-size: 1.45rem; letter-spacing: -.035em; margin: 0; }
.tp-theme .portal-section-heading > p { font-size: .85rem; color: var(--tp-ink-muted); margin: 0; }
.tp-theme .portal-section-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.tp-theme .portal-section { grid-column: span 4; min-height: 310px; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: stretch; padding: 1.4rem; overflow: hidden; background: var(--tp-surface); border: 1px solid var(--tp-line); border-radius: 8px; color: var(--tp-ink); transition: border-color .18s, box-shadow .18s; isolation: isolate; }
.tp-theme .portal-section:nth-child(-n+2) { grid-column: span 6; min-height: 260px; }
.tp-theme .portal-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 100% 90%, var(--portal-soft), transparent 70%); z-index: -1; }
.tp-theme .portal-section:hover { border-color: var(--portal-accent); box-shadow: 0 6px 20px -14px var(--portal-accent); color: var(--tp-ink); }
.tp-theme .portal-section-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.tp-theme .portal-section-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: var(--portal-soft); color: var(--portal-accent); font-size: .95rem; }
.tp-theme .portal-section-arrow { color: var(--tp-ink-muted); font-size: .7rem; }
.tp-theme .portal-section-arrow i { transform: rotate(-45deg); }
.tp-theme .portal-section-copy { position: relative; z-index: 2; max-width: 100%; }
.tp-theme .portal-section h3 { font-size: 1.25rem; line-height: 1.15; letter-spacing: -.035em; margin: 0 0 .6rem; max-width: 20ch; }
.tp-theme .portal-section-copy > p { font-size: .85rem; color: var(--tp-ink-muted); line-height: 1.55; margin: 0; max-width: 36ch; }
.tp-theme .portal-section-art { position: relative; align-self: flex-end; width: 60%; height: 122px; object-fit: contain; mix-blend-mode: multiply; margin: .3rem -.25rem -.15rem 0; transition: transform .2s; }
.tp-theme .portal-section:hover .portal-section-art { transform: translateY(-3px); }
.tp-theme .portal-section:nth-child(-n+2) .portal-section-copy { width: 57%; }
.tp-theme .portal-section:nth-child(-n+2) .portal-section-art { position: absolute; inset-inline-end: 1rem; bottom: 2.2rem; width: 38%; height: 185px; margin: 0; }
.tp-theme .portal-section-categories { position: relative; z-index: 2; padding-top: 1rem; margin: auto 0 0; font: 400 .6rem/1.5 var(--tp-font-mono); color: var(--portal-accent); max-width: 100%; }
.tp-theme .portal-section:nth-child(-n+2) .portal-section-categories { max-width: 57%; }
.tp-theme .portal-compare { display: flex; align-items: center; gap: 1.5rem; padding: 2rem; background: #0c1524; border-radius: 8px; color: #f7fafc; margin-bottom: 3rem; }
.tp-theme .portal-compare-symbol { flex: 0 0 58px; display: grid; place-items: center; width: 58px; height: 58px; color: #67e8f9; border: 1px solid #ffffff26; border-radius: 8px; font-size: 1.3rem; }
.tp-theme .portal-compare-copy { flex: 1; min-width: 0; }
.tp-theme .portal-compare .portal-eyebrow { color: #67e8f9; margin-bottom: .55rem; font-size: .6rem; }
.tp-theme .portal-compare h2 { color: #fff; font-size: 1.65rem; letter-spacing: -.035em; margin: 0 0 .5rem; }
.tp-theme .portal-compare-copy > p:last-child { color: #bac9d8; font-size: .85rem; margin: 0; }
.tp-theme .portal-compare > .btn { flex-shrink: 0; gap: .75rem; }
.tp-theme .portal-brands { margin-bottom: 2rem; }
.tp-theme .portal-brand-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-block-start: 1px solid var(--tp-line); border-inline-start: 1px solid var(--tp-line); }
.tp-theme .portal-brand-list a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-width: 0; padding: 1.1rem .9rem; color: var(--tp-ink-variant); background: #ffffff8c; font-size: .9rem; font-weight: 600; border-inline-end: 1px solid var(--tp-line); border-block-end: 1px solid var(--tp-line); overflow-wrap: anywhere; }
.tp-theme .portal-brand-list a i { font-size: .55rem; color: var(--tp-ink-faint); }
.tp-theme .portal-brand-list a:hover { background: var(--tp-surface); color: var(--tp-primary); }
@media (max-width: 1024px) {
    .tp-theme .portal-intro-grid { gap: 2rem; }
    .tp-theme .portal-visual { height: 320px; }
    .tp-theme .portal-section { padding: 1.1rem; }
    .tp-theme .portal-brand-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .tp-theme .portal-intro { padding: 2rem 0; }
    .tp-theme .portal-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .tp-theme .portal-intro h1 { max-width: 14ch; font-size: clamp(2.6rem, 7vw, 3.4rem); }
    .tp-theme .portal-lead { margin-bottom: 1.25rem; }
    .tp-theme .portal-visual { height: 260px; }
    .tp-theme .portal-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-theme .portal-section, .tp-theme .portal-section:nth-child(-n+2) { grid-column: span 1; min-height: 340px; }
    .tp-theme .portal-section:last-child { grid-column: 1 / -1; min-height: 225px; }
    .tp-theme .portal-section:nth-child(-n+2) .portal-section-copy { width: 100%; }
    .tp-theme .portal-section:nth-child(-n+2) .portal-section-art { position: relative; inset: auto; width: 75%; height: 125px; margin-top: auto; }
    .tp-theme .portal-section:nth-child(-n+2) .portal-section-categories { max-width: 100%; }
    .tp-theme .portal-section:last-child .portal-section-copy { width: 60%; }
    .tp-theme .portal-section:last-child .portal-section-art { position: absolute; inset-inline-end: 1rem; bottom: 1.5rem; width: 35%; height: 140px; }
    .tp-theme .portal-section:last-child .portal-section-categories { max-width: 60%; }
    .tp-theme .portal-compare { flex-wrap: wrap; padding: 1.5rem; }
    .tp-theme .portal-compare-symbol { display: none; }
    .tp-theme .portal-compare > .btn { margin-inline-start: auto; }
    .tp-theme .portal-brand-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 450px) {
    .tp-theme .brand-wordmark strong { font-size: 1.35rem; }
    .tp-theme .brand-symbol { width: 38px; height: 38px; }
    .tp-theme .portal-section-grid { grid-template-columns: minmax(0, 1fr); }
    .tp-theme .portal-section, .tp-theme .portal-section:nth-child(-n+2), .tp-theme .portal-section:last-child { grid-column: 1; min-height: 235px; }
    .tp-theme .portal-section-copy, .tp-theme .portal-section:nth-child(-n+2) .portal-section-copy { width: 62%; }
    .tp-theme .portal-section-art, .tp-theme .portal-section:nth-child(-n+2) .portal-section-art, .tp-theme .portal-section:last-child .portal-section-art { position: absolute; inset-inline-end: .7rem; inset-block-end: 2.7rem; top: auto; width: 34%; height: 145px; margin: 0; }
    .tp-theme .portal-section-categories, .tp-theme .portal-section:nth-child(-n+2) .portal-section-categories, .tp-theme .portal-section:last-child .portal-section-categories { max-width: 80%; }
    .tp-theme .portal-section h3 { font-size: 1.3rem; }
    .tp-theme .portal-section-copy > p { font-size: .82rem; }
    .tp-theme .portal-compare h2 { font-size: 1.5rem; }
    .tp-theme .portal-brand-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .tp-theme .portal-section, .tp-theme .portal-section-art { transition: none; } }
/* Let the product itself, rather than its square source canvas, set the scale. */
.tp-theme .portal-product { filter: none; }
.tp-theme .portal-product--mobility { object-fit: cover; object-position: center; width: 62%; height: 44%; bottom: 7%; }
.tp-theme .portal-section--electric-mobility .portal-section-art { object-fit: cover; width: 80%; object-position: center; }
@media (max-width: 760px) { .tp-theme .portal-section--electric-mobility .portal-section-art { width: 75%; } }
/* Front-page search: the site should answer "what is this?" and "find X"
   without making a visitor hunt for the header field. */
.tp-theme .portal-stats {
    display: flex; gap: 1.4rem; flex-wrap: wrap; margin: 0 0 1.2rem;
    font-family: var(--tp-font-mono); font-size: .78rem; letter-spacing: .05em;
    text-transform: uppercase; color: var(--tp-ink-soft, #475467);
}
.tp-theme .portal-stats strong { font-size: 1.05rem; color: var(--tp-ink, #101828); font-weight: 600; }
.tp-theme .portal-search { display: flex; gap: .5rem; margin: 0 0 1.4rem; max-width: 540px; }
.tp-theme .portal-search input {
    flex: 1 1 auto; min-width: 0; padding: .72rem .9rem;
    border: 1px solid var(--tp-line, #d0d5dd); border-radius: 2px;
    background: var(--tp-surface, #fff); color: inherit; font: inherit;
}
.tp-theme .portal-search .btn { flex: 0 0 auto; }
@media (max-width: 520px) { .tp-theme .portal-search { flex-direction: column; } }
@media (max-width: 450px) {
    .tp-theme .portal-section--electric-mobility .portal-section-art { width: 39%; }
    .tp-theme .portal-compare { display: grid; gap: 1.2rem; }
    .tp-theme .portal-compare > .btn { justify-self: start; margin-inline-start: 0; }
}
