*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
@media (max-width: 768px) { body { padding-left: 6px; padding-right: 6px; } }

@font-face {
    font-family: 'RivetDisplay';
    src: url('/quiet-fjord/symbols/rivet-display-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'RivetDisplay';
    src: url('/quiet-fjord/symbols/rivet-display-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HarborSans';
    src: url('/quiet-fjord/symbols/harbor-sans-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PolarSlab';
    src: url('/quiet-fjord/symbols/polar-slab-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LineAwesome";
    src: url("/quiet-fjord/symbols/line-awesome-solid.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.la, .las {
    font-family: "LineAwesome";
    font-weight: 900;
    font-style: normal;
    display: inline-block;
    line-height: 1;
}

.la-home::before         { content: "\f015"; }
.la-sign-in-alt::before  { content: "\f2f6"; }
.la-user-plus::before    { content: "\f234"; }
.la-envelope::before     { content: "\f0e0"; }
.la-shield-alt::before   { content: "\f3ed"; }
.la-hockey-puck::before  { content: "\f453"; }
.la-eye::before          { content: "\f06e"; }
.la-eye-slash::before    { content: "\f070"; }
.la-check-circle::before { content: "\f058"; }

body {
    font-family: 'HarborSans', sans-serif;
    background-color: #f0f8ff;
    color: #0e1720;
}
h1, h2, h3, h4 { font-family: 'RivetDisplay', system-ui, -apple-system, sans-serif; }
h1 { font-weight: 700; }
@media (max-width: 480px) { h1 { font-family: system-ui, -apple-system, sans-serif; } }

img[srcset] { width: auto; height: auto; }
@media (min-width: 1201px) { img[srcset] { max-width: 1200px; } }
@media (min-width: 721px) and (max-width: 1200px) { img[srcset] { max-width: 720px; } }
@media (max-width: 720px) { img[srcset] { max-width: 360px; } }

@media (prefers-contrast: high) { body { background-color: #ffffff; color: #000000; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.age-hidden, .cookie-hidden {
    display: none !important;
}

.age-ribbon {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
    background: #1f2a44;
    color: #ffffff;
    border-left: 4px solid #b24a4f;
    padding: 24px;
    width: 320px;
    max-width: 90vw;
    box-shadow: 0 4px 20px rgba(31, 42, 68, 0.28);
    border-radius: 8px 0 0 8px;
}
.ribbon-heading {
    font-family: 'RivetDisplay', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #b7d7de;
}
.ribbon-text {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.4;
}
.ribbon-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ribbon-accept, .ribbon-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-family: 'RivetDisplay', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 120px;
}
.ribbon-accept {
    background: #2f7a6a;
    color: white;
}
.ribbon-accept:hover, .ribbon-accept:focus {
    background: #27695c;
}
.ribbon-decline {
    background: #b24a4f;
    color: white;
}
.ribbon-decline:hover, .ribbon-decline:focus {
    background: #9f3f44;
}

.cookie-tray {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    background: #273552;
    color: #ffffff;
    padding: 18px 24px;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 -2px 15px rgba(31, 42, 68, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.tray-text {
    font-size: 0.95rem;
    line-height: 1.4;
    flex: 1;
    min-width: 300px;
}
.tray-link {
    color: #b7d7de;
    text-decoration: underline;
}
.tray-link:hover {
    color: #ffffff;
}
.tray-confirm {
    background: #3b6b7a;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-family: 'RivetDisplay', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.tray-confirm:hover, .tray-confirm:focus {
    background: #345f6d;
}

.hid-top {
    background: #273552;
    color: white;
    padding: 16px 0;
    position: relative;
}
.top-frame {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}
.hid-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.brand-glyph {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.brand-name {
    font-family: 'RivetDisplay', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #f2f5f8;
}
.puck-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}
.puck-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}
.puck-toggle[aria-expanded="true"] .la-hockey-puck::before {
    content: "\f00d";
}
.hid-nav {
    display: flex;
}
.sgf-list {
    display: flex;
    list-style: none;
    gap: 28px;
}
.sgf-link {
    color: #b7d7de;
    text-decoration: none;
    font-family: 'RivetDisplay', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
    padding: 6px 0;
}
.sgf-link:hover, .sgf-link:focus {
    color: #f2f5f8;
}
.sgf-link::before {
    font-size: 1.1em;
}

@media (max-width: 992px) {
    .age-ribbon {
        width: 280px;
        padding: 20px;
    }
    .cookie-tray {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .tray-text {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .top-frame {
        padding: 0 16px;
        flex-wrap: wrap;
    }
    .puck-toggle {
        display: block;
        order: 2;
    }
    .hid-brand {
        order: 1;
        flex: 1;
    }
    .hid-nav {
        order: 3;
        width: 100%;
        display: none;
        margin-top: 16px;
    }
    .hid-nav[data-sgf-visible] {
        display: block;
    }
    .sgf-list {
        flex-direction: column;
        gap: 0;
        background: #1f2a44;
        border-radius: 8px;
        overflow: hidden;
    }
    .sgf-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .sgf-item:last-child {
        border-bottom: none;
    }
    .sgf-link {
        padding: 14px 20px;
        justify-content: flex-start;
    }
    .age-ribbon {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 20px auto;
        border-radius: 8px;
        border-left: none;
        border-top: 4px solid #b24a4f;
    }
    .cookie-tray {
        width: 95%;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.1rem;
    }
    .ribbon-actions {
        flex-direction: column;
    }
    .ribbon-accept, .ribbon-decline {
        width: 100%;
    }
}

.ice-countdown {
    position: relative;
    min-height: 800px;
    overflow: hidden;
    background: linear-gradient(135deg, #1f2a44 0%, #2f7a6a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.countdown-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.countdown-center {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}
.countdown-title {
    font-family: 'PolarSlab', sans-serif;
    font-size: 3.5rem;
    color: #f2f5f8;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.countdown-text {
    font-size: 1.2rem;
    color: #b7d7de;
    margin-bottom: 40px;
    line-height: 1.6;
}
.countdown-prize {
    font-family: 'RivetDisplay', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #7fb7c4;
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(47, 122, 106, 0.28);
}
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.timer-unit {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    min-width: 120px;
    border: 1px solid rgba(183, 215, 222, 0.22);
}

.unit-value {
    display: block;
    font-family: 'RivetDisplay', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #f2f5f8;
    line-height: 1;
}
.unit-label {
    display: block;
    font-size: 1rem;
    color: #b7d7de;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.countdown-link {
    padding: 16px 40px;
    border-radius: 8px;
    font-family: 'RivetDisplay', sans-serif;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 180px;
}
.countdown-login {
    background: #3b6b7a;
    color: #ffffff;
}
.countdown-login:hover {
    background: #345f6d;
    transform: translateY(-2px);
}
.countdown-register {
    background: #b24a4f;
    color: #ffffff;
}
.countdown-register:hover {
    background: #9f3f44;
    transform: translateY(-2px);
}

.pack-stack {
    padding: 100px 0;
    background: #f2f5f8;
}
.stack-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.stack-heading {
    font-family: 'PolarSlab', sans-serif;
    font-size: 2.8rem;
    color: #1f2a44;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.stack-description {
    text-align: center;
    color: #3b6b7a;
    font-size: 1.1rem;
    margin-bottom: 60px;
    line-height: 1.6;
}

.stack-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.stack-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(31, 42, 68, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}
.stack-card:hover {
    transform: translateY(-5px);
    border-color: #2f7a6a;
    box-shadow: 0 15px 40px rgba(31, 42, 68, 0.15);
}

.card-title {
    font-family: 'RivetDisplay', sans-serif;
    font-size: 2rem;
    color: #273552;
    margin-bottom: 15px;
}
.card-price {
    font-family: 'RivetDisplay', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #b24a4f;
    margin-bottom: 25px;
}

.card-features {
    list-style: none;
    margin-bottom: 30px;
}
.feature-item {
    padding: 10px 0;
    color: #1f2a44;
    border-bottom: 1px solid #e6ebef;
    display: flex;
    align-items: center;
}
.feature-item::before {
    content: "✓";
    color: #2f7a6a;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
}

.card-action {
    display: inline-block;
    padding: 14px 32px;
    background: #273552;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'RivetDisplay', sans-serif;
    font-weight: 700;
    transition: background 0.3s ease;
}
.card-action:hover {
    background: #1f2a44;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #b24a4f;
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'RivetDisplay', sans-serif;
    font-weight: 700;
}


@media (max-width: 768px) {
    .ice-countdown {
        min-height: 600px;
    }
    .countdown-title {
        font-size: 2.5rem;
    }
    .countdown-prize {
        font-size: 3rem;
    }
    .timer-unit {
        min-width: 90px;
        padding: 15px;
    }
    .unit-value {
        font-size: 2.2rem;
    }
    .countdown-canvas {
        animation: none;
    }
    .stack-heading {
        font-size: 2.2rem;
    }
    .stack-card {
        padding: 30px 25px;
    }
    .card-title {
        font-size: 1.7rem;
    }
    .card-price {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .countdown-timer {
        gap: 15px;
    }
    .timer-unit {
        min-width: 70px;
        padding: 12px;
    }
    .unit-value {
        font-size: 1.8rem;
    }
    .unit-label {
        font-size: 0.9rem;
    }
    .countdown-link {
        min-width: 140px;
        padding: 14px 25px;
    }
    .feature-item {
        font-size: 0.95rem;
    }
}

.partner-grid {
    padding: 80px 0;
    background: #1f2a44;
}
.grid-frame {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.grid-heading {
    font-family: 'PolarSlab', sans-serif;
    font-size: 2.5rem;
    color: #f2f5f8;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.grid-text {
    text-align: center;
    color: #b7d7de;
    font-size: 1.1rem;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.grid-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.grid-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 80px;
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.grid-link:hover {
    transform: translateY(-5px);
    border-color: #2f7a6a;
    box-shadow: 0 10px 22px rgba(31, 42, 68, 0.25);
}
.link-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(35%);
    transition: filter 0.3s ease;
}
.grid-link:hover .link-image {
    filter: grayscale(0%);
}

.hid-bottom {
    background: #273552;
    color: #b7d7de;
    padding: 60px 0 30px;
}
.dvz-frame {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.dvz-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(183, 215, 222, 0.2);
}
.dvz-link {
    color: #f2f5f8;
    text-decoration: none;
    font-family: 'RivetDisplay', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    padding: 5px 0;
}
.dvz-link:hover {
    color: #2f7a6a;
}
.dvz-warning {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 10px;
}
.fsed-age {
    display: inline-block;
    background: #b24a4f;
    color: #ffffff;
    font-family: 'RivetDisplay', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
}
.fsed-text {
    font-family: 'PolarSlab', sans-serif;
    font-size: 1.5rem;
    color: #f2f5f8;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.fsed-details {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #9fc3cc;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.fsed-message {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #b7d7de;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.dvz-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(183, 215, 222, 0.15);
    font-size: 0.9rem;
    color: #9fc3cc;
}
.copyright-year,
.copyright-name {
    display: inline-block;
    margin: 0 5px;
}


@media (max-width: 768px) {
    .partner-grid {
        padding: 60px 0;
    }
    .grid-heading {
        font-size: 2rem;
    }
    .grid-links {
        gap: 20px;
    }
    .grid-link {
        width: 140px;
        height: 70px;
    }
    .dvz-links {
        gap: 15px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }
    .dvz-link {
        font-size: 0.9rem;
    }
    .fsed-age {
        font-size: 1.7rem;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
    .fsed-text {
        font-size: 1.3rem;
    }
    .fsed-details, .fsed-message {
        font-size: 0.8rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .grid-heading {
        font-size: 1.7rem;
    }
    .grid-links {
        gap: 15px;
    }
    .grid-link {
        width: 120px;
        height: 60px;
    }
    .dvz-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}
