:root {
    --white: #fff;
    --black: #000;
    --orange: #ef4f28;
    /*--head: 'Space Grotesk', sans-serif;*/
    --head: "Unbounded", "Arial Black", Arial, sans-serif;
    --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
    --shadow: 6px 6px 0 var(--black);
    --shadow1: 6px 6px 0 var(--orange);
    --shadow-sm: 3px 3px 0 var(--black);
    --shadow-sm1: 3px 3px 0 var(--orange);
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}
body {
    font-family: var(--body);
    color: var(--black);
    -webkit-font-smoothing: antialiased;
    background-color: var(--white);
    /*background-image: radial-gradient(var(--black) 1px, transparent 1.2px);
    background-size: 22px 22px;
    overflow-x: clip;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px));*/
    overflow-x: hidden;
}
body.has-pick {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}
h1,
h2,
h3,
h4 {
    font-family: var(--head);
    letter-spacing: -0.02em;
}
:focus-visible {
    outline: 3px solid var(--black);
    outline-offset: 3px;
}
.hero{background: #eef2f5;}
/* ---------- Floating pill nav ---------- */
.pill-nav {
    position: fixed;
    z-index: 1040;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(0.75rem + env(safe-area-inset-top, 0px));
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 50rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.4rem 0.35rem 1.1rem;
}
.pill-nav .logo {
    font-family: var(--head);
    font-weight: 900;
    font-size: 1rem;
    text-decoration: none;
    color: var(--black);
}
.pill-btn {
    border: 3px solid var(--orange);
    background: var(--orange);
    color: var(--white);
    border-radius: 50rem;
    font-family: var(--head);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.6rem 1rem;
    transition: all 0.2s;
}
.pill-btn:hover {
    background: var(--white);
    color: var(--black);
}
.menu-sheet {
    position: fixed;
    z-index: 1039;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(4.6rem + env(safe-area-inset-top, 0px));
    background: var(--white);
    border: 3px solid var(--black);
    box-shadow: var(--shadow);
    border-radius: 24px;
    padding: 0.5rem 1.2rem;
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition:
        clip-path 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 0.2s;
}
.menu-sheet.open {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
}
.menu-sheet a {
    display: flex;
    justify-content: space-between;
    font-family: var(--head);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--black);
    text-decoration: none;
    padding: 0.9rem 0;
    border-bottom: 2px dashed var(--black);
}
.menu-sheet a:last-child {
    border: 0;
}
.menu-sheet a:hover {
    padding-left: 0.5rem;
}
.menu-sheet a {
    transition: padding 0.2s;
}

/* ---------- Buttons ---------- */
.btn-b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--head);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--black);
    background: var(--white);
    border: 3px solid var(--orange);
    border-radius: 14px;
    padding: 1rem 1.4rem;
    box-shadow: var(--shadow-sm1);
    text-decoration: none;
    transition:
        transform 0.15s,
        box-shadow 0.15s,
        background 0.2s,
        color 0.2s;
}
.btn-b:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--black);
    color: var(--black);
}
.btn-b:active {
    transform: translate(3px, 3px);
    box-shadow: 0 0 0 var(--black);
}
.btn-b.dark {
    background: var(--black);
    color: var(--white);
}
.btn-b.dark:hover {
    color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
    padding: 8rem 0 3rem;
    position: relative;
}
.hero h1 {
    /*font-weight: 900;*/
    font-size: clamp(2.1rem, 9.5vw, 5rem);
    line-height: 1.02;
    margin-bottom: 1.2rem;
}
.hero h1 .row-l {
    display: block;
}
.flip {
    display: inline-block;
    background: #ef4f28;
    color: var(--white);
    padding: 0.02em 0.22em;
    border-radius: 0.2em;
    transform: rotate(-2deg);
    overflow: hidden;
    vertical-align: bottom;
}
.flip span {
    display: inline-block;
    animation: flipin 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes flipin {
    from {
        transform: translateY(100%);
    }
    to {
        transform: none;
    }
}
.hero p.lead {
    max-width: 36ch;
    font-size: 1.08rem;
}
.hero-in {
    opacity: 0;
    transform: translateY(20px);
    animation: hin 0.7s forwards;
}
.hero-in:nth-child(2) {
    animation-delay: 0.12s;
}
.hero-in:nth-child(3) {
    animation-delay: 0.24s;
}
.hero-in:nth-child(4) {
    animation-delay: 0.36s;
}
@keyframes hin {
    to {
        opacity: 1;
        transform: none;
    }
}

/* floating stickers */
.stickers {
    position: relative;
    height: 240px;
    margin-top: 2rem;
}
.sticker {
    position: absolute;
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 0.9rem 1.1rem;
    font-family: var(--head);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    animation: bob 4s ease-in-out infinite;
}
.sticker svg {
    width: 26px;
    height: 26px;
    stroke: var(--black);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sticker.s1 {
    left: 2%;
    top: 6%;
    transform: rotate(-6deg);
}
.sticker.s2 {
    right: 2%;
    top: 30%;
    transform: rotate(5deg);
    animation-delay: -1.3s;
    background: var(--orange);
    color: var(--white);
}
.sticker.s2 svg {
    stroke: var(--white);
}
.sticker.s3 {
    left: 14%;
    bottom: 2%;
    transform: rotate(3deg);
    animation-delay: -2.4s;
}
@keyframes bob {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -10px;
    }
}

/* ---------- Scroll-driven ticker ---------- */
.ticker {
    background: var(--black);
    color: var(--white);
    border-block: 3px solid var(--black);
    overflow: hidden;
    white-space: nowrap;
    padding: 0.9rem 0;
    transform: rotate(-1.5deg);
    margin: 2.5rem -2% 0;
}
.ticker-t {
    display: inline-block;
    font-family: var(--head);
    font-weight: 900;
    font-size: 1.6rem;
    will-change: transform;
}
.ticker-t span {
    margin: 0 1.2rem;
}

/* ---------- Sections ---------- */
.sec {
    padding: 4.5rem 0;
}
.tag {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    font-family: var(--head);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 0.35rem 0.8rem;
    border-radius: 50rem;
    margin-bottom: 0.9rem;
}
.sec-title {
    /*font-weight: 900;*/
    font-size: clamp(1.8rem, 7.5vw, 3.4rem);
    line-height: 1.02;
    margin-bottom: 0.8rem;
    background: var(--white);
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 0.15em;
}
.sec-sub {
    background: var(--white);
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border: 2px solid var(--black);
    border-radius: 10px;
    margin-top: 0.6rem;
}

/* ---------- Sticky stacked cards ---------- */
.stack {
    margin-top: 2rem;
}
.stack-card {
    position: sticky;
    top: calc(88px + var(--i) * 10px);
    background: var(--white);
    /*border: 3px solid var(--black);*/
    border-radius: 24px;
    /*box-shadow: var(--shadow);*/
    padding: 1.4rem;
    margin-bottom: 1.6rem;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition:
        background 0.3s,
        color 0.3s;
}
.stack-card:nth-child(odd) {
    border: 3px solid var(--orange);
    box-shadow: var(--shadow1);
}
.stack-card:nth-child(even) {
    background: var(--black);
    color: var(--white);
}
.stack-card{
  width: 100% !important;
}
.stack_box{
  width: 80%;
}
.stack-card{
  width: 20%;
}
.stack-card .ico {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    border: 3px solid currentColor;
    display: grid;
    place-items: center;
    transition: transform 0.4s;
}
.stack-card:hover .ico {
    transform: rotate(-12deg) scale(1.1);
}
.stack-card .ico svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.stack-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}
.stack-card p {
    margin: 0;
    line-height: 1.55;
    max-width: 100%;
}
@media (min-width: 768px) {
    .stack-card {
        flex-direction: row;
        align-items: center;
        gap: 1.6rem;
        padding: 2rem;
    }
}

/* ---------- Tabs (details) ---------- */
.tabs-wrap {
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.nav-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    padding: 0.9rem;
    border-bottom: 3px solid var(--black);
    scrollbar-width: none;
}
.nav-pills::-webkit-scrollbar {
    display: none;
}
.nav-pills .nav-link {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 3px solid var(--orange);
    border-radius: 50rem;
    color: var(--black);
    font-family: var(--head);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.55rem 1rem;
    background: var(--white);
    transition: all 0.2s;
}
.nav-pills .nav-link svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nav-pills .nav-link.active {
    background: var(--orange);
    color: var(--white);
}
.tab-pane {
    padding: 1.8rem 1.4rem 2rem;
}
.tab-pane .big-ico {
    width: 76px;
    height: 76px;
    border: 3px solid var(--orange);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background: var(--orange);
    color: var(--white);
}
.tab-pane .big-ico svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tab-pane h3 {
    font-size: 1.4rem;
}
.tab-pane p {
    max-width: 46ch;
    line-height: 1.6;
    margin: 0;
}
.tab-pane.active .big-ico {
    animation: pop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
@keyframes pop {
    from {
        transform: scale(0.4) rotate(-30deg);
    }
    to {
        transform: none;
    }
}

/* ---------- Checklist ---------- */
.check-box {
    background: var(--white);
    border: 3px solid var(--orange);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 1.4rem;
    height: 100%;
}
.meter {
    height: 14px;
    border: 3px solid var(--orange);
    border-radius: 50rem;
    overflow: hidden;
    margin: 0.8rem 0 1rem;
}
.meter i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--orange);
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.chk {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.8rem 0;
    border-top: 2px dashed var(--black);
    cursor: pointer;
    user-select: none;
}
.chk input {
    position: absolute;
    opacity: 0;
}
.chk .box {
    flex: 0 0 26px;
    height: 26px;
    border: 3px solid var(--orange);
    border-radius: 8px;
    display: grid;
    place-items: center;
    transition: background 0.2s;
}
.chk .box svg {
    width: 16px;
    height: 16px;
    stroke: var(--white);
    fill: none;
    stroke-width: 3.2;
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    transition: stroke-dashoffset 0.3s;
}
.chk input:checked + .box {
    background: var(--orange);
}
.chk input:checked + .box svg {
    stroke-dashoffset: 0;
}
.chk input:focus-visible + .box {
    outline: 3px solid var(--black);
    outline-offset: 3px;
}
.chk span.t {
    position: relative;
    transition: opacity 0.3s;
}
.chk input:checked ~ .t {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}
.note {
    margin-top: 1.2rem;
    background: var(--black);
    color: var(--white);
    border-radius: 18px;
    padding: 1.1rem;
    transform: rotate(-1deg);
}
.note h4 {
    font-size: 0.95rem;
}

/* ---------- Receipt pricing ---------- */
.receipt {
    position: relative;
    background: var(--white);
    border: 3px solid var(--orange);
    box-shadow: var(--shadow);
    padding: 1.4rem 1.2rem 2rem;
    max-width: 560px;
    margin-inline: auto;
    -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/18px 100%;
    mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/18px 100%;
    -webkit-mask-composite: source-over;
}
.receipt-wrap {
    max-width: 560px;
    margin-inline: auto;
    filter: drop-shadow(6px 6px 0 #000);
}
.receipt-wrap .receipt {
    box-shadow: none;
    border-bottom: 0;
    max-width: none;
}
.receipt h3 {
    font-size: 1.1rem;
    text-align: center;
    margin: 0 0 0.3rem;
}
.receipt .sub {
    text-align: center;
    margin-bottom: 1rem;
    border-bottom: 3px dashed var(--black);
    padding-bottom: 1rem;
}
.p-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 0.3rem;
    border-bottom: 2px dashed var(--black);
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        padding 0.2s;
    position: relative;
}
.p-row .dot {
    flex: 0 0 22px;
    height: 22px;
    border: 3px solid var(--black);
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.p-row .dot::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
    transform: scale(0);
    transition: transform 0.25s;
}
.p-row .nm {
    flex: 1;
    font-weight: 600;
}
.p-row .amt {
    font-family: var(--head);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}
.p-row:hover {
    background: rgba(0, 0, 0, 0.06);
}
.p-row.active {
    background: var(--black);
    color: var(--white);
    padding-inline: 0.9rem;
}
.p-row.active .dot {
    border-color: var(--white);
    background: var(--white);
}
.p-row.active .dot::after {
    background: var(--black);
    transform: scale(1);
}

/* ---------- Pick bar ---------- */
.pick-bar {
    position: fixed;
    z-index: 1050;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    background: var(--black);
    color: var(--white);
    border: 3px solid var(--black);
    border-radius: 20px;
    box-shadow:
        0 0 0 3px var(--white),
        6px 6px 0 3px var(--orange);
    padding: 0.75rem 0.75rem 0.75rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    transform: translateY(160%);
    transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1);
    max-width: 640px;
    margin-inline: auto;
}
.pick-bar.show {
    transform: none;
}
.pick-bar small {
    display: block;
    opacity: 0.8;
}
.pick-bar strong {
    font-family: var(--head);
    font-size: 0.9rem;
}
.pick-bar .btn-b {
    background: var(--white);
    color: var(--black);
    padding: 0.7rem 1rem;
    box-shadow: none;
    border-color: var(--white);
    white-space: nowrap;
}

/* ---------- CTA ---------- */
.cta {
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 32px;
    box-shadow: var(--shadow);
    padding: 3.2rem 1.4rem;
    text-align: center;
}
.cta h2 {
    /*font-weight: 900;*/
    font-size: clamp(1.9rem, 8.5vw, 3.8rem);
    line-height: 1.02;
}
footer {
    padding: 2.5rem 0 3rem;
}
footer .in {
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
}

/* ---------- Reveal ---------- */
.rv {
    opacity: 0;
    transform: translateY(30px) rotate(1deg);
    transition:
        opacity 0.6s ease,
        transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rv.in {
    opacity: 1;
    transform: none;
}

@media (min-width: 768px) {
    .sec {
        padding: 7rem 0;
    }
    .hero {
        padding: 10rem 0 4rem;
    }
    .stickers {
        height: 300px;
    }
    .sticker {
        font-size: 1rem;
    }
    .pill-nav,
    .menu-sheet {
        left: 50%;
        right: auto;
        width: min(720px, calc(100% - 1.5rem));
        transform: translateX(-50%);
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    .hero-in,
    .rv {
        opacity: 1;
        transform: none;
    }
    .stack-card {
        position: relative;
        top: auto;
    }
}
