:root {
    --navy: #10234d;
    --blue: #168be8;
    --cyan: #18afd0;
    --pink: #f51762;
    --hot-pink: #f22991;
    --violet: #9746ec;
    --orange: #ff9f18;
    --green: #18c65b;
    --cream: #fff9f4;
    --muted: #52617f;
    --line: rgba(35, 48, 88, .08);
    --shadow: 0 16px 45px rgba(74, 49, 37, .10);
    --font: "Trebuchet MS", Avenir, "Segoe UI", Arial, sans-serif;
    --script: "Segoe Script", "Brush Script MT", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--navy);
    background: #fffaf7;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
}
button, input { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(245, 23, 98, .3); outline-offset: 3px; }

.site-scene {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: #fff9f5 url('../images/ice-cream-world.webp') center top / 100% auto no-repeat;
}
.site-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,252,249,.10) 50%, rgba(255,250,247,.72) 88%, #fffaf7 100%);
}
.glass-panel {
    background: rgba(255,255,255,.91);
    border: 1px solid rgba(255,255,255,.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.floating-header {
    position: relative;
    z-index: 20;
    width: min(calc(100% - 32px), 1580px);
    min-height: 86px;
    margin: 15px auto 0;
    padding: 8px 22px 8px 30px;
    display: grid;
    grid-template-columns: 315px 1fr 205px;
    align-items: center;
    gap: 22px;
    background: rgba(255,255,255,.93);
    border: 1px solid rgba(255,255,255,.98);
    border-radius: 32px;
    box-shadow: 0 13px 35px rgba(62,41,29,.12);
    backdrop-filter: blur(18px);
}
.brand-lockup { display: flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; flex: 0 0 auto; overflow: hidden; border-radius: 50%; background: #16a8cc; }
.brand-logo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.nav-brand .brand-logo { width: 70px; height: 70px; border: 2px solid #0f789e; }
.nav-brand > span { margin-left: 13px; display: grid; line-height: 1.03; }
.nav-brand strong { color: var(--navy); font-size: 25px; font-weight: 900; letter-spacing: -1.2px; white-space: nowrap; }
.nav-brand em { margin-top: 5px; color: var(--pink); font-size: 14px; font-style: normal; font-weight: 900; letter-spacing: .3px; text-align: center; }
.public-nav { display: flex; align-items: center; justify-content: center; gap: clamp(25px, 3.2vw, 52px); }
.public-nav a { position: relative; padding: 18px 0; color: #142650; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.public-nav a:hover, .public-nav a.active { color: var(--pink); }
.follow-pill { min-height: 50px; padding: 5px 9px 5px 19px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--pink); background: #fff0f5; border-radius: 999px; }
.follow-pill > strong { font-size: 15px; white-space: nowrap; }
.social-nav { display: flex; gap: 7px; align-items: center; }
.social-nav a { width: 31px; height: 31px; display: grid; place-items: center; color: #fff; background: var(--blue); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 3px 8px rgba(16,35,77,.12); text-decoration: none; }
.social-nav a:first-child { background: linear-gradient(145deg, #fb1670, #ff711e); }
.social-nav a:nth-child(3) { background: #111827; }
.social-nav a:nth-child(4) { background: #f00f37; }
.social-nav svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 1.7; }
.social-nav a:first-child svg { fill: none; }
.menu-toggle { display: none; }

.public-shell { width: min(calc(100% - 28px), 1160px); margin: 0 auto; padding: 0 0 16px; }
.hero { padding: 18px 210px 19px; text-align: center; }
.hero-logo { width: 168px; height: 168px; margin: 0 auto -1px; display: block; overflow: hidden; border: 4px solid #0e84aa; border-radius: 50%; box-shadow: 0 10px 22px rgba(12,102,137,.16); }
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.hero-wordmark { display: grid; justify-items: center; line-height: 1; }
.hero-wordmark strong { font-size: clamp(39px, 4.8vw, 60px); font-weight: 900; letter-spacing: -2px; text-shadow: 0 3px 0 #fff; white-space: nowrap; }
.hero-wordmark span { margin-top: 5px; color: var(--pink); font-size: clamp(21px, 2.2vw, 29px); font-weight: 900; letter-spacing: 1px; }
.hero h1 { margin: 11px -100px 5px; font-size: clamp(27px, 3vw, 39px); line-height: 1.1; letter-spacing: -.9px; }
.hero h1 em { padding: 0 5px; color: var(--pink); font-family: var(--script); font-size: 1.28em; font-style: normal; font-weight: 500; }
.hero > p { max-width: 650px; margin: 7px auto 0; color: #304263; font-size: clamp(16px, 1.7vw, 21px); line-height: 1.35; }

.progress-panel { width: min(100%, 900px); min-height: 280px; margin: 0 auto 17px; padding: 29px 36px 24px 53px; display: grid; grid-template-columns: minmax(0,1fr) 245px; align-items: center; gap: 18px; overflow: hidden; border-radius: 30px; }
.section-kicker { display: block; margin-bottom: 4px; color: var(--pink); font-size: 17px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.progress-percent { display: block; width: fit-content; color: transparent; background: linear-gradient(100deg, var(--pink), #e23c9d 48%, var(--blue)); background-clip: text; -webkit-background-clip: text; font-size: clamp(68px, 8vw, 92px); line-height: 1; letter-spacing: -4px; }
.progress-content h2 { margin: 0 0 16px 8px; color: var(--navy); font-size: 19px; }
.progress-track { position: relative; height: 34px; margin-bottom: 19px; background: #eee9e7; border-radius: 999px; box-shadow: inset 0 3px 10px rgba(56,42,42,.08); }
.progress-fill { height: 100%; min-width: 0; border-radius: inherit; background: linear-gradient(90deg, #fa1260, #f02695 48%, #218be9); box-shadow: 0 4px 10px rgba(239,26,111,.18); transition: width 1s linear; }
.progress-pill { position: absolute; top: 50%; left: 0; transform: translate(-50%,-50%); min-width: 52px; padding: 3px 8px; color: #fff; background: var(--blue); border: 2px solid rgba(255,255,255,.75); border-radius: 999px; font-size: 13px; font-weight: 900; text-align: center; transition: left 1s linear; }
.progress-pill b { font-weight: inherit; }
.progress-content > p { margin: 0 8px; color: var(--muted); font-size: 14px; }
.cart-art { width: 240px; height: 250px; display: block; align-self: end; filter: drop-shadow(0 13px 13px rgba(65,35,32,.12)); }
.cart-art img { width: 100%; height: 100%; object-fit: contain; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(8, minmax(110px,1fr)); margin: 0 auto 17px; padding: 19px 22px 16px; border-radius: 24px; }
.timeline::before { content: ""; position: absolute; z-index: 0; top: 47px; left: 7%; right: 7%; height: 5px; background: linear-gradient(90deg, var(--pink), var(--pink) 43%, #c5c5c5 60%, #c5c5c5); border-radius: 8px; }
.timeline-step { position: relative; z-index: 1; min-width: 0; text-align: center; }
.step-marker { width: 55px; height: 55px; margin: 0 auto 10px; display: grid; place-items: center; color: #fff; background: #aaa; border: 6px solid #eee; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 6px 14px rgba(55,50,55,.12); font-size: 21px; font-weight: 900; }
.step-marker .check, .step-marker .pulse-dot, .step-marker .pending-dot { display: none; }
.timeline-step h2 { min-height: 40px; margin: 0 auto; padding: 0 6px; color: var(--navy); font-size: 12px; line-height: 1.22; }
.step-state { display: none; }
.timeline-step.completed .step-marker { background: linear-gradient(145deg, #ff4484, var(--pink)); border-color: #ffd1e1; }
.timeline-step.completed .check { display: block; }
.timeline-step.current .step-marker { background: linear-gradient(145deg, #f64fcb, #e529aa); border-color: #ffc7ec; box-shadow: 0 0 0 12px rgba(248,74,199,.11), 0 0 28px rgba(243,43,171,.35); animation: pulse 2s ease-in-out infinite; }
.timeline-step.current .pulse-dot { display: block; }
.timeline-step.current h2 { color: #d71676; }
.timeline-step.pending .pending-dot { display: block; color: #fff; }

.status-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 17px; }
.status-card { min-width: 0; min-height: 188px; padding: 15px 15px 15px 18px; display: grid; grid-template-columns: 78px 1fr; align-items: start; gap: 12px; border-radius: 20px; }
.card-icon { width: 72px; height: 72px; display: grid; place-items: center; border: 8px solid rgba(255,255,255,.8); border-radius: 50%; box-shadow: 0 4px 13px rgba(49,40,66,.11); font-size: 38px; }
.ice-icon { background: linear-gradient(145deg,#ffb4d1,#ff5c9d); }
.rocket-icon { background: linear-gradient(145deg,#b8eaff,#29a8fb); }
.clock-icon { color: #fff; background: linear-gradient(145deg,#ffd169,#ff9d11); }
.calendar-icon { color: #fff; background: linear-gradient(145deg,#dbb4ff,#9847eb); }
.card-body { min-width: 0; padding-top: 3px; }
.card-label { display: block; margin-bottom: 14px; color: var(--pink); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.live-card .card-label { color: var(--blue); }
.countdown-card .card-label { color: var(--orange); }
.launch-card .card-label { color: var(--violet); }
.card-body h2 { margin: 0 0 8px; color: var(--navy); font-size: 14px; line-height: 1.3; }
.card-body p { margin: 0; color: #344463; font-size: 12px; line-height: 1.55; }
.live-indicator { margin-top: 12px; display: flex; align-items: center; gap: 5px; color: var(--green); font-size: 13px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.live-indicator i { width: 10px; height: 10px; background: currentColor; border-radius: 50%; box-shadow: 0 0 0 3px rgba(24,198,91,.12); }
body[data-status="idle"] .live-indicator, body[data-status="paused"] .live-indicator, body[data-status="completed"] .live-indicator { color: #9aa2ae; }
.countdown { display: grid; grid-template-columns: 1fr 9px 1fr 9px 1fr; align-items: center; gap: 2px; margin-top: 22px; }
.countdown span { color: var(--navy); font-size: clamp(20px,2.5vw,29px); line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums; text-align: center; }
.countdown i { color: var(--navy); font-size: 23px; font-style: normal; font-weight: 900; text-align: center; }
.countdown-labels { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 5px; color: #65708a; font-size: 7px; text-transform: uppercase; text-align: center; }
.launch-card h2 { font-size: 15px; }
.stay-tuned { display: block; margin-top: 11px; color: var(--violet); font-size: 13px; }

.patience-strip { min-height: 126px; padding: 3px 45px 0 100px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; overflow: hidden; border-radius: 24px; }
.patience-copy { text-align: center; }
.patience-copy strong { display: block; color: var(--pink); font-family: var(--script); font-size: clamp(28px,3vw,39px); font-weight: 500; line-height: 1.1; }
.patience-copy p { margin: 4px 0 0; color: var(--navy); font-size: 17px; font-weight: 800; }
.patience-copy span { display: block; color: var(--pink); font-size: 27px; line-height: 1; }
.patience-strip picture { height: 145px; align-self: end; }
.patience-strip img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }

.site-footer { position: relative; width: min(calc(100% - 28px),1160px); margin: 0 auto 12px; padding: 17px 28px 29px; display: grid; grid-template-columns: 140px 1.1fr 1.1fr .85fr 1.1fr; gap: 22px; align-items: center; border-radius: 25px; }
.footer-brand { align-self: center; text-align: center; }
.footer-brand .brand-logo { width: 90px; height: 90px; margin: 0 auto 4px; border: 2px solid #0b88ad; }
.mini-wordmark { display: grid; line-height: 1; }
.mini-wordmark strong { font-size: 16px; letter-spacing: -.8px; }
.mini-wordmark span { margin-top: 4px; color: var(--pink); font-size: 8px; font-weight: 900; }
.footer-intro { color: #53617b; font-size: 11px; }
.footer-links > strong, .footer-follow > strong, .newsletter > strong { display: block; margin-bottom: 7px; font-size: 12px; }
.footer-links > div { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.footer-links a { color: #53617b; font-size: 10px; text-decoration: none; }
.footer-follow .social-nav a { width: 25px; height: 25px; border-width: 1px; }
.newsletter p { margin: 0 0 8px; color: #53617b; font-size: 9px; }
.newsletter > div { display: grid; grid-template-columns: 1fr 39px; background: #fff; border: 1px solid #eee; border-radius: 999px; overflow: hidden; }
.newsletter input { min-width: 0; padding: 9px 12px; border: 0; background: transparent; font-size: 9px; }
.newsletter button { border: 0; color: #fff; background: var(--pink); border-radius: 50%; }
.footer-bottom { position: absolute; left: 175px; right: 28px; bottom: 7px; display: flex; justify-content: space-between; color: #65708a; font-size: 7px; }

.connection-toast { position: fixed; z-index: 30; left: 50%; bottom: 18px; transform: translate(-50%,20px); padding: 10px 16px; color: #fff; background: var(--navy); border-radius: 12px; opacity: 0; pointer-events: none; transition: .2s ease; }
.connection-toast.visible { opacity: 1; transform: translate(-50%,0); }

@keyframes pulse { 50% { transform: scale(1.07); } }

@media (max-width: 1200px) {
    .floating-header { grid-template-columns: 270px 1fr 205px; padding-left: 22px; }
    .nav-brand strong { font-size: 21px; }
    .public-nav { gap: 22px; }
    .follow-pill { padding-left: 12px; }
    .status-card { grid-template-columns: 65px 1fr; padding-left: 12px; }
    .card-icon { width: 62px; height: 62px; border-width: 6px; font-size: 32px; }
}

@media (max-width: 900px) {
    .floating-header { min-height: 72px; grid-template-columns: 245px 1fr 44px; border-radius: 25px; }
    .nav-brand .brand-logo { width: 57px; height: 57px; }
    .nav-brand strong { font-size: 19px; }
    .nav-brand em { font-size: 11px; }
    .follow-pill { display: none; }
    .menu-toggle { grid-column: 3; width: 42px; height: 42px; padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 0; border-radius: 13px; background: #fff0f5; cursor: pointer; }
    .menu-toggle span { width: 100%; border-top: 2px solid var(--pink); transition: .2s ease; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
    .public-nav { position: absolute; top: 78px; left: 0; right: 0; padding: 12px; display: grid; gap: 2px; background: rgba(255,255,255,.98); border-radius: 20px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease; }
    .public-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
    .public-nav a { padding: 10px 14px; border-radius: 10px; }
    .hero { padding-inline: 130px; }
    .progress-panel { grid-template-columns: minmax(0,1fr) 205px; }
    .cart-art { width: 205px; }
    .timeline { grid-template-columns: repeat(8,115px); overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
    .timeline::before { left: 57px; right: auto; width: 805px; }
    .timeline-step { scroll-snap-align: center; }
    .status-grid { grid-template-columns: repeat(2,1fr); }
    .status-card { min-height: 164px; grid-template-columns: 72px 1fr; }
    .site-footer { grid-template-columns: 120px 1fr 1fr; }
    .footer-follow, .newsletter { align-self: start; }
    .footer-bottom { left: 150px; }
}

@media (max-width: 620px) {
    .site-scene { background-size: auto 100vh; opacity: .72; }
    .floating-header { width: calc(100% - 20px); padding: 6px 12px; grid-template-columns: 1fr 44px; }
    .nav-brand { grid-column: 1; }
    .nav-brand .brand-logo { width: 53px; height: 53px; }
    .nav-brand strong { font-size: 18px; }
    .public-shell { width: calc(100% - 20px); }
    .hero { padding: 18px 0 19px; }
    .hero-logo { width: 130px; height: 130px; }
    .hero-wordmark strong { font-size: clamp(31px,10vw,44px); white-space: normal; }
    .hero-wordmark span { font-size: 18px; }
    .hero h1 { margin-inline: 0; font-size: 26px; }
    .hero > p { max-width: 360px; font-size: 15px; }
    .progress-panel { min-height: 0; padding: 23px 20px; grid-template-columns: 1fr; border-radius: 23px; }
    .cart-art { width: 160px; height: 155px; position: absolute; right: 5px; top: 7px; opacity: .23; }
    .progress-content { position: relative; z-index: 1; }
    .section-kicker { font-size: 14px; }
    .progress-percent { font-size: 72px; }
    .progress-content h2 { margin-left: 0; }
    .progress-content > p { margin-inline: 0; font-size: 12px; }
    .timeline { padding-inline: 6px; border-radius: 20px; }
    .status-grid { grid-template-columns: 1fr; }
    .status-card { min-height: 145px; grid-template-columns: 78px 1fr; }
    .countdown { max-width: 240px; margin-top: 10px; }
    .patience-strip { min-height: 210px; padding: 21px 15px 0; grid-template-columns: 1fr; }
    .patience-copy strong { font-size: 30px; }
    .patience-copy p { font-size: 14px; }
    .patience-strip picture { height: 118px; }
    .site-footer { width: calc(100% - 20px); padding: 20px 22px 38px; grid-template-columns: 1fr 1fr; align-items: start; }
    .footer-brand, .footer-intro { text-align: center; }
    .footer-intro { align-self: center; }
    .footer-bottom { left: 20px; right: 20px; flex-direction: column; align-items: center; gap: 2px; }
}

@media (max-width: 390px) {
    .nav-brand > span { margin-left: 8px; }
    .nav-brand strong { font-size: 15px; letter-spacing: -.7px; }
    .nav-brand em { font-size: 9px; }
    .hero-wordmark strong { font-size: 32px; }
    .site-footer { grid-template-columns: 1fr; }
    .footer-intro { margin-top: -8px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
