h1, h2, h3 { line-height: unset; }
.pub { min-height: 100vh; display: flex; flex-direction: column; color: var(--color-on-surface); background: var(--color-surface); }
.pub-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 1.5rem; padding: .75rem 2rem; background: var(--color-surface-alt); border-bottom: 1px solid var(--color-border); }
.pub-brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1.2rem; color: var(--color-on-surface); text-decoration: none; }
.pub-brand img { height: 36px; }
.pub-nav { display: flex; gap: 1rem; flex: 1; flex-wrap: wrap; }
.pub-nav a { color: var(--color-subtle); text-decoration: none; padding: .25rem .5rem; border-bottom: 2px solid transparent; }
.pub-nav a:hover, .pub-nav a.active { color: var(--color-on-surface); border-bottom-color: var(--color-primary); }
.pub-actions { display: flex; align-items: center; gap: .75rem; }
.pub-theme { background: transparent; border: 1px solid var(--color-border); color: var(--color-on-surface); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; }
.pub-theme:hover { background: var(--color-primary); color: #fff; }
.pub-signin { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; border: none; padding: .5rem 1.25rem; border-radius: 8px; text-decoration: none; font-weight: 500; display: inline-flex; gap: .4rem; align-items: center; transition: transform .2s, box-shadow .2s; }
.pub-signin:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 119, 141, .3); }
.pub-main { flex: 1; }
.pub-footer { padding: 1.5rem 2rem; background: var(--color-surface-alt); border-top: 1px solid var(--color-border); color: var(--color-subtle); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.pub-footer a { color: var(--color-subtle); margin-left: 1rem; }

.pub-hero { text-align: center; padding: 5rem 1.5rem 4rem; background: linear-gradient(180deg, var(--color-surface-alt), var(--color-surface)); }
.pub-hero h1 { font-size: 2.8rem; font-weight: 700; }
.pub-hero p { font-size: 1.25rem; color: var(--color-subtle); max-width: 700px; margin: 1rem auto 2rem; }
.pub-section { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem; }
.pub-section h2 { margin-bottom: .5rem; }
.pub-section .lead { color: var(--color-subtle); margin-bottom: 2rem; }
.pub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.pub-card { background: var(--color-surface-alt); border: 1px solid var(--color-border); border-radius: 12px; padding: 1.5rem; box-shadow: 0 4px 6px rgba(0, 0, 0, .1); }
.pub-card i { font-size: 2rem; color: var(--color-primary); }
.pub-card h3 { font-size: 1.2rem; margin: .75rem 0 .5rem; }
.pub-card p { color: var(--color-subtle); margin: 0; }
    .pub-card.blur {
        filter: blur(8px);
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

.pub-hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto; padding: 4rem 1.5rem; text-align: left; }
.pub-hero-split h1 { font-size: 2.8rem; font-weight: 700; }
.pub-hero-split p { color: var(--color-subtle); font-size: 1.2rem; margin: 1rem 0 2rem; }
.pub-img { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; border-radius: 12px; border: 1px solid var(--color-border); background: linear-gradient(135deg, var(--color-base-subtle), var(--color-surface-alt)); color: var(--color-subtle); }
.pub-img i { font-size: 3rem; color: var(--color-primary); }
.pub-shot { width: 100%; }
.pub-shot-toggle { position: fixed; top: 0; left: 0; opacity: 0; pointer-events: none; }
.pub-shot-frame { display: block; cursor: zoom-in; border-radius: 12px; border: 1px solid var(--color-border); background: var(--color-surface-alt); overflow: hidden; box-shadow: 0 12px 32px rgba(0, 0, 0, .3), 0 0 0 1px rgba(0, 119, 141, .25); transition: transform .2s, box-shadow .2s; }
.pub-shot-frame:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 119, 141, .35); }
.pub-shot-toggle:focus-visible + .pub-shot-frame { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.pub-shot-bar { display: flex; gap: .4rem; padding: .55rem .75rem; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); }
.pub-shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.pub-shot-frame img { display: block; width: 100%; height: auto; }
.pub-shot-overlay { display: none; position: fixed; inset: 0; z-index: 3000; background: rgba(0, 0, 0, .85); cursor: zoom-out; align-items: center; justify-content: center; padding: 2rem; }
.pub-shot-toggle:checked ~ .pub-shot-overlay { display: flex; }
.pub-shot-overlay img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 16px 48px rgba(0, 0, 0, .6); }
.pub-shot-close { position: absolute; top: 1rem; right: 1.5rem; color: #fff; font-size: 1.5rem; }
.pub-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.pub-split.reverse > :first-child { order: 2; }
.pub-checks { list-style: none; padding: 0; margin: 1rem 0 0; }
.pub-checks li { display: flex; gap: .6rem; padding: .4rem 0; }
.pub-checks i { color: var(--color-secondary); }
.pub-highlights { background: var(--color-surface-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.pub-cta { text-align: center; }
.pub-cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 900px; margin: 0 auto; z-index: 2000; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.25rem; background: var(--color-surface-alt); color: var(--color-on-surface); border: 1px solid var(--color-border); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.pub-cookie-text { display: flex; gap: .75rem; align-items: center; flex: 1; min-width: 250px; }
.pub-cookie-text i { font-size: 1.5rem; color: var(--color-primary); }
.pub-cookie-actions { display: flex; gap: .5rem; }
.pub-cookie-btn { border: none; border-radius: 8px; padding: .5rem 1.25rem; color: #fff; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); cursor: pointer; }
.pub-cookie-btn.secondary { background: transparent; color: var(--color-on-surface); border: 1px solid var(--color-border); }

@media (max-width: 800px) { .pub-hero-split, .pub-split { grid-template-columns: 1fr; } .pub-split.reverse > :first-child { order: 0; } }
img, video { max-width: 100%; }
.pub-header { flex-wrap: wrap; }
.pub-main { min-width: 0; overflow-x: clip; }
@media (max-width: 1024px) {
  .pub-header { padding: .75rem 1.25rem; gap: 1rem; }
  .pub-hero-split, .pub-split { gap: 2rem; }
  .pub-hero h1, .pub-hero-split h1 { font-size: 2.3rem; }
}
@media (max-width: 700px) {
  .pub-header { padding: .6rem 1rem; gap: .5rem 1rem; }
  .pub-brand { font-size: 1.05rem; }
  .pub-brand img { height: 30px; }
  .pub-actions { margin-left: auto; }
  .pub-nav { order: 3; flex-basis: 100%; gap: .25rem .75rem; }
  .pub-signin { padding: .45rem .9rem; }
  .pub-hero { padding: 1rem; }
  .pub-hero h1, .pub-hero-split h1 { font-size: 1.75rem; }
  .pub-hero p, .pub-hero-split p { font-size: 1.05rem; }
  .pub-hero-split { padding: 0; gap: 1.5rem; }
  .pub-section { padding: 2rem 1rem; }
  .pub-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pub-split { gap: 1.5rem; }
  .pub-split[style] { margin-top: 2rem !important; }
  .pub-footer { padding: 1.25rem 1rem; flex-direction: column; }
  .pub-footer a { margin: 0 1rem 0 0; }
  .pub-shot-overlay { padding: .75rem; }
  .pub-cookie { left: .5rem; right: .5rem; bottom: .5rem; }
}
