@view-transition {
  navigation: auto;
}

::selection{
    background: hsla(192.22deg 100% 12% / 0.95);
    color: hsl(192.22deg 100% 99%);
}

::-moz-selection{
    background: hsla(192.22deg 100% 12% / 0.95);
    color: hsl(192.22deg 100% 99%);
}

:focus { outline: none; }

:focus-visible{
    outline: 2px solid hsla(192.22deg 100% 35% / 0.55);
    outline-offset: 3px;
    border-radius: 14px;
}

#primary-headline {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    max-width: 75%;
    display: flex;
    align-content: center;
}

#hero-container {
    display: flex;
    justify-content: center;
}

body {
    color: hsla(192.22deg 100% 10.59% / 100%);
    /*background-color: hsl(192.22deg 100% 10.59% / 2%);*/
    /*background-image: url(../images/om-gradient.jpg);*/
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
}

h1 {
    color: #002b36;
}

.btn, a.btn, #main-nav a.btn {
    background-color: hsla(192.22deg 100% 10.59% / 90%);
    background-image:
        linear-gradient(180deg,
            hsla(0 0% 100% / 0.14) 0%,
            hsla(0 0% 100% / 0.00) 60%
        ),
        linear-gradient(135deg,
            hsla(186deg 100% 70% / 0.10) 0%,   /* slightly greener highlight */
            hsla(198deg  95% 34% / 0.55) 45%,  /* your core */
            hsla(210deg  90% 14% / 0.90) 100%  /* slightly bluer shadow */
        );

    background-size: 180% 180%;
    background-position: 0% 0%;

    border: 1px solid transparent /* border is handled by ::before */;

    /* the actual “blur the background behind it” part */
    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);

    
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: .5rem;
    padding-bottom: .5rem;

    border-radius: 25px;
    corner-shape: squircle;
    text-decoration: none;
    font-size: 14px;

    color: hsla(190deg 30% 98% / 0.94);

    transition: all 0.1s;

    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;

    transition:
        background-position 220ms ease,
        transform 160ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;

    will-change: transform, background-position;

    box-shadow:
        0 6px 16px hsla(192.22deg 100% 6% / 0.18),
        inset 0 1px 0 hsla(0 0% 100% / 0.16),
        inset 0 -1px 0 hsla(192.22deg 100% 5% / 0.25);

    line-height: 1;

    letter-spacing: 0.01em;
}

.btn:hover {
    background-color: hsla(192.22deg 100% 10.59% / 100%);

    transition: all 0.2s;
    background-position: 100% 100%;
    transform: translateY(-1px);
    filter: brightness(1.06);

    border-color: hsla(0 0% 100% / 0.18);
    box-shadow:
        0 8px 22px hsla(192.22deg 100% 6% / 0.28),
        inset 0 1px 0 hsla(0 0% 100% / 0.20);
}


.btn.btn-lg {
    padding: 0.75rem;
    font-size: .75rem;
}


.btn:active{
    transform: translateY(0px) scale(0.99);
    filter: brightness(0.98);
    box-shadow:
        0 5px 14px hsla(192.22deg 100% 6% / 0.20),
        inset 0 1px 0 hsla(0 0% 100% / 0.14);
}

@media (prefers-reduced-motion: reduce){
    .btn{ transition: none; }
}

.btn::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px; /* border width */
    corner-shape: squircle;

    /* subtle cyan-to-blue border tint */
    background: linear-gradient(135deg,
        hsla(192.22deg 100% 80% / 0.22),
        hsla(205deg     90% 60% / 0.14),
        hsla(192.22deg 100% 30% / 0.18)
    );

    /* punch a hole so it becomes a border */
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

.btn::after{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    corner-shape: squircle;
    background: radial-gradient(120% 80% at 20% 10%,
        hsla(0 0% 100% / 0.16) 0%,
        hsla(0 0% 100% / 0.00) 60%
    );
    opacity: 0.9;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.btn:hover::after{
    opacity: 1;
}

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent,
        hsla(192.22deg 100% 10.59% / 0.10),
        transparent
    );
}

:root{
    caret-color: hsl(192.22deg 97% 35.54% / 1);
}

@media (prefers-reduced-motion: no-preference){
    html { scroll-behavior: smooth; }
}

* { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }



.btn.is-loading {
    cursor: wait;
    opacity: 0.8;
}