:root { --blue: #1f3fd8; --deep: #142a9e; --cream: #f6ecd9; --ink: #10163f;
  --font: "SF Pro Rounded", ui-rounded, "Arial Rounded MT Bold", "Nunito", "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: #fff; background: radial-gradient(ellipse at 50% 45%, var(--blue) 0%, #1a36c4 55%, var(--deep) 100%) fixed; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; pointer-events: none; }

.top { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; }
.logo { color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; background: rgba(20,42,158,.9); padding: 4px 14px 6px; border-radius: 999px; }
.top nav { display: flex; gap: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); padding: 4px; border-radius: 999px; backdrop-filter: blur(10px); }
.top nav a { color: #fff; text-decoration: none; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.top nav a:hover { background: rgba(255,255,255,.15); }
.bag { background: var(--cream); color: var(--ink); border: 0; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.bag b { display: inline-block; min-width: 20px; margin-left: 4px; background: var(--ink); color: #fff; border-radius: 999px; padding: 1px 6px; font-size: 11px; }

main { position: relative; z-index: 2; }
.s { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 90px 6vw; }

/* hero */
.vert { position: absolute; left: 3vw; top: 50%; margin: 0; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-size: clamp(44px, 7.4vh, 92px); line-height: .95; font-weight: 800; letter-spacing: -0.02em; }
.thumbs { position: absolute; left: calc(3vw + clamp(110px, 17vh, 200px)); bottom: 7vh; display: flex; gap: 10px; }
.thumb { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); border-radius: 14px; padding: 8px; color: #fff; font: inherit; font-size: 11px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; width: 76px; }
.thumb i { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--c) 70%, #fff), var(--c) 60%);
  box-shadow: inset 0 0 0 3px #d4a64a, inset 0 0 0 7px var(--c), inset 0 0 0 8px #d4a64a; }
.thumb.on { background: rgba(255,255,255,.2); border-color: #fff; }
.buy { position: absolute; right: 5vw; bottom: 7vh; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chips { display: flex; gap: 6px; }
.chips button { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.chips button[aria-checked="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.chips button[aria-checked="true"]::before { content: "✓ "; }
.cta { background: var(--cream); color: var(--ink); border: 0; border-radius: 999px; padding: 13px 26px; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; transition: transform .15s; }
.cta:hover { transform: translateY(-2px); }
.scroll-hint { position: absolute; left: 50%; bottom: 3vh; transform: translateX(-50%); margin: 0; font-size: 12px; opacity: .7; }

/* text blocks */
.copy { max-width: 430px; }
.copy.left { margin-right: auto; } .copy.right { margin-left: auto; }
.copy h2 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 68px); line-height: 1; font-weight: 800; letter-spacing: -0.025em; }
.copy p { margin: 0 0 22px; font-size: 16px; line-height: 1.5; opacity: .88; max-width: 360px; }
.btn { display: inline-block; background: #fff; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 14px; padding: 11px 22px; border-radius: 999px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; font-size: 13px; }
.facts b { display: block; font-size: 34px; line-height: 1; }

/* cream band with marquee */
.band { position: absolute; left: 0; right: 0; top: 0; color: var(--blue); }
.wave { display: block; width: 100%; height: 60px; fill: var(--cream); }
.wave.flip { transform: scaleY(-1); }
.marquee { background: var(--cream); overflow: hidden; white-space: nowrap; padding: 4px 0; }
.track { display: inline-flex; animation: marquee 22s linear infinite; }
.track span { font-size: clamp(22px, 3vw, 40px); font-weight: 800; padding-right: .4em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.wave.bottom { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; }
.foot { position: relative; z-index: 2; background: var(--cream); color: var(--ink); display: flex; justify-content: space-between; padding: 26px 6vw 40px; font-size: 13px; }
.foot b { font-size: 20px; }

.toast { position: fixed; left: 50%; top: 76px; transform: translateX(-50%); z-index: 9; background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 999px; font-size: 13px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.toast.on { opacity: 1; }

/* portrait / phones: the tin sits in the upper half, text in the lower half */
@media (max-aspect-ratio: 1/1) {
  .s { align-items: flex-end; padding-bottom: 12vh; }
  .copy { max-width: none; background: rgba(20,42,158,.55); backdrop-filter: blur(8px); padding: 18px; border-radius: 18px; }
  .copy.right { margin-left: 0; }
  .vert { writing-mode: horizontal-tb; transform: none; top: auto; bottom: 29vh; left: 6vw; font-size: clamp(30px, 8.5vw, 48px); }
  .thumbs { left: 6vw; bottom: 17vh; }
  .buy { left: 6vw; right: 6vw; align-items: stretch; bottom: 6vh; }
  .chips { justify-content: space-between; } .chips button { flex: 1; }
  .scroll-hint { display: none; }
  .top nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track { animation: none; }
}
