/* ═══════════════════════════════════════════════════════════════════════════
   MiloDeck — public marketing page.
   Self-contained and always dark: the app's light/dark toggle must not change
   how the front door looks. Every selector is prefixed .ms- so nothing here can
   leak into the application UI.
   ═══════════════════════════════════════════════════════════════════════════ */
.ms {
  --gold: #F5B800;
  --gold-2: #FFD75E;
  --gold-deep: #B57E00;
  --ink: #09090B;
  --ink-2: #0F0F12;
  --panel: #141418;
  --line: rgba(255, 255, 255, .09);
  --text: #F4F4F6;
  --dim: #A2A2AA;
  --faint: #6E6E78;
  --radius: 16px;
  --max: 1300px;
  position: relative;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.ms *, .ms *::before, .ms *::after { box-sizing: border-box; }
.ms a { color: inherit; text-decoration: none; }
.ms h1, .ms h2, .ms h3 { font-family: Montserrat, Inter, sans-serif; font-weight: 900; letter-spacing: -.02em; margin: 0; line-height: 1.05; }
.ms p { margin: 0; }
.ms-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.ms-gold { color: var(--gold); }
.ms-grad { background: linear-gradient(100deg, #FFE9A8 0%, var(--gold) 38%, #C98B00 72%, #FFDE87 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.ms-nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.ms-nav.stuck { background: rgba(9, 9, 11, .82); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.ms-nav .inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.ms-brand { display: flex; align-items: center; gap: 11px; flex: none; }
.ms-brand img { width: 36px; height: 36px; filter: drop-shadow(0 3px 10px rgba(245, 184, 0, .35)); }
.ms-brand b { font-family: Montserrat, sans-serif; font-weight: 900; font-size: 16px; letter-spacing: .07em; display: block; line-height: 1; }
.ms-brand small { display: block; font-size: 7.5px; letter-spacing: .17em; color: var(--gold); font-weight: 700; margin-top: 4px; }
.ms-links { display: flex; gap: 26px; margin-left: 10px; font-size: 14px; color: var(--dim); font-weight: 500; }
.ms-links a { position: relative; padding: 4px 0; }
.ms-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--gold); transition: right .25s; }
.ms-links a:hover { color: var(--text); }
.ms-links a:hover::after { right: 0; }
.ms-navcta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.ms-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: none; color: var(--text); align-items: center; justify-content: center; cursor: pointer; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.ms-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 14.5px; border: 1px solid var(--line); color: var(--text); background: rgba(255, 255, 255, .04); cursor: pointer; transition: transform .18s, background .18s, border-color .18s, box-shadow .18s; white-space: nowrap; }
.ms-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.ms-btn.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--gold-deep)); color: #15100A; border-color: transparent; box-shadow: 0 10px 30px -10px rgba(245, 184, 0, .7); }
.ms-btn.gold:hover { box-shadow: 0 16px 40px -12px rgba(245, 184, 0, .85); }
.ms-btn.sm { height: 40px; padding: 0 16px; font-size: 13.5px; }
.ms-btn.lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.ms-btn.ghost { background: none; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.ms-hero { position: relative; padding: 118px 0 72px; overflow: hidden; }
.ms-hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 820px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(245, 184, 0, .20), transparent 70%),
              radial-gradient(40% 50% at 85% 20%, rgba(255, 215, 94, .10), transparent 70%); pointer-events: none; }
.ms-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 55% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 20%, transparent 75%); opacity: .55; }
.ms-hero .ms-wrap { position: relative; z-index: 1; }
.ms-badge { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid rgba(245, 184, 0, .35); background: rgba(245, 184, 0, .08); font-size: 12.5px; font-weight: 600; color: #FFE6A2; letter-spacing: .01em; }
.ms-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245, 184, 0, .18); animation: ms-pulse 2.4s infinite; }
@keyframes ms-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(245, 184, 0, .2); } 50% { box-shadow: 0 0 0 7px rgba(245, 184, 0, 0); } }
.ms-hero h1 { font-size: clamp(38px, 5.2vw, 70px); margin: 20px 0 0; }
.ms-hero h1 span { display: block; }
.ms-hero .lead { max-width: 620px; margin: 20px 0 0; color: var(--dim); font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.62; }
.ms-hero .acts { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.ms-notes { display: grid; gap: 9px; margin-top: 22px; color: var(--faint); font-size: 13px; }
.ms-notes span { align-items: flex-start; }
.ms-notes svg { margin-top: 2px; }
.ms-notes span { display: inline-flex; align-items: center; gap: 7px; }
.ms-notes svg { color: var(--gold); flex: none; }

/* Browser frame around the product shots */
.ms-stage { position: relative; max-width: 1080px; margin: 54px auto 0; }
.ms-frame { position: relative; margin: 0 auto; max-width: 1080px; border-radius: 18px; border: 1px solid var(--line); background: #0E0E11; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset; overflow: hidden; }
.ms-frame .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #111115; }
.ms-frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2C2C33; }
.ms-frame .bar .url { margin-left: 12px; flex: 1; height: 22px; border-radius: 6px; background: #17171C; display: flex; align-items: center; padding: 0 10px; font-size: 11px; color: var(--faint); letter-spacing: .02em; }
.ms-frame img { display: block; width: 100%; height: auto; }

.ms-float { position: absolute; z-index: 2; border-radius: 14px; border: 1px solid var(--line); background: rgba(20, 20, 24, .92); backdrop-filter: blur(10px); padding: 13px 15px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); animation: ms-bob 6s ease-in-out infinite; }
.ms-float .t { font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ms-float .s { font-size: 11.5px; color: var(--dim); margin-top: 3px; }
.ms-float.one { left: -42px; top: 36%; animation-delay: -1s; }
.ms-float.two { right: -42px; top: 60%; animation-delay: -3.5s; }
@media (max-width: 1200px) { .ms-float.one { left: 8px; } .ms-float.two { right: 8px; } }
@keyframes ms-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ── Capability strip ───────────────────────────────────────────────────── */
.ms-strip { border-block: 1px solid var(--line); background: #0C0C0F; overflow: hidden; }
.ms-strip .track { display: flex; gap: 46px; padding: 17px 0; white-space: nowrap; animation: ms-slide 38s linear infinite; width: max-content; }
.ms-strip .track { gap: 0; }
.ms-strip span { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .22em; color: #55555E; }
.ms-strip i { display: inline-block; width: 5px; height: 5px; margin: 0 26px; border-radius: 50%; background: var(--gold-deep); vertical-align: middle; }
@keyframes ms-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Sections ───────────────────────────────────────────────────────────── */
.ms-sec { padding: 110px 0; position: relative; }
.ms-head { max-width: 860px; }
.ms-head.mid { margin: 0 auto; text-align: center; }
.ms-eyebrow { font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .24em; color: var(--gold); }
.ms-head h2 { font-size: clamp(28px, 3.8vw, 46px); margin: 16px 0 0; }
.ms-head p { color: var(--dim); font-size: 16.5px; line-height: 1.65; margin-top: 16px; }

/* Feature cards */
.ms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.ms-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; background: linear-gradient(180deg, #121216, #0D0D10); overflow: hidden; transition: transform .3s, border-color .3s; }
.ms-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(245, 184, 0, .45), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.ms-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, .16); }
.ms-card:hover::before { opacity: 1; }
.ms-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(245, 184, 0, .2), rgba(245, 184, 0, .05)); border: 1px solid rgba(245, 184, 0, .28); color: var(--gold); margin-bottom: 16px; }
.ms-card h3 { font-size: 17.5px; font-weight: 800; letter-spacing: -.01em; }
.ms-card p { color: var(--dim); font-size: 14.5px; line-height: 1.6; margin-top: 9px; }

/* Alternating showcase rows */
.ms-show { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; padding: 56px 0; }
.ms-show.flip > .copy { order: 2; }
.ms-show h3 { font-size: clamp(24px, 2.8vw, 34px); }
.ms-show p { color: var(--dim); font-size: 16px; line-height: 1.68; margin-top: 14px; }
.ms-list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.ms-list li { display: flex; gap: 11px; font-size: 14.5px; color: #CFCFD6; line-height: 1.5; }
.ms-list svg { flex: none; margin-top: 2px; color: var(--gold); }
.ms-shot { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95); transition: transform .4s; }
.ms-shot:hover { transform: translateY(-4px); }
.ms-shot img { display: block; width: 100%; height: auto; }

/* Light band */
.ms-light { background: #F3F3F5; color: #121214; padding: 96px 0; }
.ms-light .lockup { width: min(430px, 76vw); height: auto; display: block; margin: 0 auto 28px; }
.ms-light h2 { font-size: clamp(26px, 3.4vw, 40px); text-align: center; color: #121214; }
.ms-light p { text-align: center; max-width: 640px; margin: 16px auto 0; color: #55555E; font-size: 16.5px; line-height: 1.65; }
.ms-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.ms-step { background: #fff; border: 1px solid #E3E3E7; border-radius: var(--radius); padding: 26px 24px; position: relative; }
.ms-step .n { font-family: Montserrat, sans-serif; font-weight: 900; font-size: 13px; letter-spacing: .1em; color: var(--gold-deep); }
.ms-step h4 { font-family: Montserrat, sans-serif; font-size: 18px; font-weight: 800; margin: 10px 0 8px; }
.ms-step p { text-align: left; margin: 0; color: #55555E; font-size: 14.5px; line-height: 1.6; }

/* Security */
.ms-sheet { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #121216, #0C0C0F); padding: 42px; margin-top: 46px; }
.ms-sec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.ms-sec-list > div { display: flex; gap: 13px; }
.ms-sec-list b { display: block; font-size: 15px; margin-bottom: 4px; }
.ms-sec-list p { color: var(--dim); font-size: 14px; line-height: 1.55; }
.ms-sec-list svg { flex: none; color: var(--gold); margin-top: 2px; }

/* FAQ */
.ms-faq { margin-top: 46px; border-top: 1px solid var(--line); }
.ms-q { border-bottom: 1px solid var(--line); }
.ms-q button { width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 4px; background: none; border: 0; color: var(--text); font: inherit; font-size: 16.5px; font-weight: 600; text-align: left; cursor: pointer; }
.ms-q button span { flex: 1; }
.ms-q button i { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 17px; color: var(--gold); transition: transform .3s, background .3s; }
.ms-q.open button i { transform: rotate(45deg); background: rgba(245, 184, 0, .12); }
.ms-q .a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.ms-q.open .a { max-height: 340px; }
.ms-q .a p { color: var(--dim); font-size: 15px; line-height: 1.7; padding: 0 60px 24px 4px; }

/* Closing call to action */
.ms-end { position: relative; text-align: center; padding: 110px 0 120px; overflow: hidden; }
.ms-end::before { content: ''; position: absolute; left: 50%; top: 0; width: 900px; height: 900px; transform: translate(-50%, -45%); background: radial-gradient(circle, rgba(245, 184, 0, .17), transparent 62%); pointer-events: none; }
.ms-end h2 { font-size: clamp(30px, 4.6vw, 54px); position: relative; }
.ms-end p { color: var(--dim); max-width: 560px; margin: 18px auto 0; font-size: 17px; line-height: 1.6; position: relative; }
.ms-end .acts { display: flex; gap: 14px; justify-content: center; margin-top: 34px; position: relative; flex-wrap: wrap; }

/* Footer */
.ms-foot { border-top: 1px solid var(--line); padding: 44px 0 56px; background: #0B0B0E; }
.ms-foot .row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ms-foot .links { margin-left: auto; display: flex; gap: 22px; font-size: 14px; color: var(--dim); flex-wrap: wrap; }
.ms-foot .links a:hover { color: var(--gold); }
.ms-foot .fine { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; display: flex; gap: 10px 22px; flex-wrap: wrap; }

/* Reveal on scroll */
.ms .rev { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1); }
.ms .rev.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .ms-grid { grid-template-columns: repeat(2, 1fr); }
  .ms-show { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .ms-show.flip > .copy { order: 0; }
  .ms-sec-list { grid-template-columns: 1fr; }
  .ms-steps { grid-template-columns: 1fr; }
  .ms-float { display: none; }
}
@media (max-width: 860px) {
  .ms-links { display: none; }
  .ms-burger { display: inline-flex; }
  .ms-navcta .hide-s { display: none; }
  .ms-navcta .ms-btn.gold { padding: 0 14px; font-size: 13px; }
}
@media (max-width: 560px) {
  /* The call to action lives in the burger menu at this width; two buttons would crowd the bar. */
  .ms-navcta .ms-btn.gold { display: none; }
  .ms-brand small { display: none; }
  .ms-notes { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ms-notes span { align-items: flex-start; text-align: left; }
  .ms-notes svg { margin-top: 3px; }
}
@media (max-width: 760px) {
  .ms-hero { padding: 120px 0 70px; }
  .ms-sec { padding: 76px 0; }
  .ms-grid { grid-template-columns: 1fr; }
  .ms-sheet { padding: 26px 20px; }
  .ms-wrap { padding: 0 18px; }
  .ms-q .a p { padding-right: 10px; }
  .ms-stage { margin-top: 36px; }
}
/* A menu for narrow screens, opened by the burger */
.ms-mobile { display: none; position: fixed; inset: 72px 0 auto; z-index: 59; background: rgba(9, 9, 11, .97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 14px 24px 22px; }
.ms-mobile.on { display: block; }
.ms-mobile a { display: block; padding: 13px 0; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line); }
.ms-mobile .ms-btn { width: 100%; margin-top: 16px; }

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


/* ═══════════════════════════════════════════════════════════════════════════
   2026 refresh — ambient background, kinetic hero, the interactive tour and
   the bento grid. Everything below degrades to a plain static page under
   prefers-reduced-motion (the block at the end of the file switches it off).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Ambient background: three slow gold blooms behind a fading grid ────── */
.ms-bg { position: absolute; inset: 0 0 auto; height: 2400px; pointer-events: none; z-index: 0; overflow: hidden; }
.ms-bg i { position: absolute; display: block; border-radius: 50%; filter: blur(90px); opacity: .5; }
.ms-bg .b1 { width: 780px; height: 780px; top: -260px; right: -140px; background: radial-gradient(circle, rgba(245,184,0,.34), transparent 66%); animation: ms-drift1 26s ease-in-out infinite; }
.ms-bg .b2 { width: 620px; height: 620px; top: 340px; left: -220px; background: radial-gradient(circle, rgba(255,215,94,.18), transparent 68%); animation: ms-drift2 32s ease-in-out infinite; }
.ms-bg .b3 { width: 900px; height: 520px; top: 1150px; left: 42%; background: radial-gradient(circle, rgba(181,126,0,.20), transparent 70%); animation: ms-drift1 38s ease-in-out infinite reverse; }
.ms-bg .grid { position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(78% 46% at 50% 14%, #000 10%, transparent 76%);
  -webkit-mask-image: radial-gradient(78% 46% at 50% 14%, #000 10%, transparent 76%); opacity: .5; }
@keyframes ms-drift1 { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-60px, 50px, 0) scale(1.12); } }
@keyframes ms-drift2 { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(70px, -40px, 0) scale(1.08); } }
/* The old per-section glow is now the page-wide one. */
.ms-hero::before, .ms-hero::after { content: none; }
.ms-hero, .ms-sec, .ms-strip, .ms-light, .ms-end, .ms-foot { position: relative; z-index: 1; }

/* ── Kinetic headline ───────────────────────────────────────────────────── */
.ms h1.kin .line { display: block; }
/* background-clip:text does not reach a transformed child, so each animated word carries the
   gradient itself — otherwise the second line renders invisible. */
.ms h1.kin .ms-grad { background: none; color: inherit; -webkit-text-fill-color: currentColor; }
.ms h1.kin .ms-grad .w { background: linear-gradient(100deg, #FFE9A8 0%, var(--gold) 38%, #C98B00 72%, #FFDE87 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ms h1.kin .w { display: inline-block; opacity: 0; transform: translateY(26px) rotate(1.5deg); animation: ms-word .85s cubic-bezier(.2,.75,.25,1) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); margin-right: .26em; }
.ms h1.kin .line:nth-child(2) .w { animation-delay: calc(var(--i) * 70ms + 320ms); }
@keyframes ms-word { to { opacity: 1; transform: none; } }

/* ── Hero stage: the frame stands up as you scroll, and leans to the pointer */
.ms-stage { --p: 0; --mx: 0deg; --my: 0deg; position: relative; max-width: 1140px; margin: 64px auto 0; padding: 0 24px; perspective: 2000px; }
.ms-glow { position: absolute; left: 50%; top: 8%; width: 86%; height: 70%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(245,184,0,.30), transparent 65%); filter: blur(56px); pointer-events: none; }
.ms-tilt { position: relative; transform-style: preserve-3d;
  transform: rotateX(calc((1 - var(--p)) * 9deg + var(--my))) rotateY(var(--mx)) scale(calc(.96 + var(--p) * .04));
  transform-origin: 50% 0%; transition: transform .35s cubic-bezier(.2,.7,.3,1); will-change: transform; }
.ms-hero .ms-frame { box-shadow: 0 70px 140px -45px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.05) inset, 0 0 90px -30px rgba(245,184,0,.35); }
.ms-frame .bar .url svg { margin-right: 6px; opacity: .7; }
.ms-phone { position: absolute; left: -26px; bottom: -44px; width: 188px; border-radius: 26px; padding: 7px; background: linear-gradient(160deg, #26262C, #0E0E12); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 70px -24px rgba(0,0,0,.95); transform: translateZ(60px) rotate(-4deg); }
.ms-phone img { display: block; width: 100%; height: auto; border-radius: 20px; }
.ms-float { transform: translateZ(80px); }
.ms-float.one { left: -104px; top: 22%; }
.ms-float.two { right: -104px; top: 56%; }
@media (max-width: 1420px) { .ms-float.one { left: -40px; } .ms-float.two { right: -40px; } }
@media (max-width: 1240px) { .ms-float.one { left: 8px; top: 16%; } .ms-float.two { right: 8px; } }
@media (max-width: 1100px) { .ms-phone { display: none; } }

/* ── The interactive tour ───────────────────────────────────────────────── */
.ms-tour { display: grid; grid-template-columns: minmax(280px, 340px) 1fr; grid-template-areas: "picks panes" "says panes"; gap: 26px 44px; align-items: start; margin-top: 52px; }
.ms-tour .picks { grid-area: picks; display: grid; gap: 8px; }
.ms-tour .says { grid-area: says; }
.ms-tour .panes { grid-area: panes; position: sticky; top: 104px; }

.ms-tour .pick { position: relative; display: flex; align-items: center; gap: 13px; width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.02); color: var(--dim); font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: border-color .25s, background .25s, color .25s, transform .25s; }
.ms-tour .pick:hover { background: rgba(255,255,255,.05); color: var(--text); transform: translateX(3px); }
.ms-tour .pick .ic { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--faint); transition: color .25s, border-color .25s, background .25s; }
.ms-tour .pick .tx { display: block; min-width: 0; }
.ms-tour .pick b { display: block; font-size: 14.5px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.ms-tour .pick small { display: block; font-size: 12.5px; margin-top: 2px; color: var(--faint); }
.ms-tour .pick .fill { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.ms-tour .pick.on { border-color: rgba(245,184,0,.42); background: linear-gradient(100deg, rgba(245,184,0,.11), rgba(245,184,0,.03)); color: var(--text); }
.ms-tour .pick.on .ic { color: var(--gold); border-color: rgba(245,184,0,.45); background: rgba(245,184,0,.1); }
.ms-tour.playing .pick.on .fill { animation: ms-fill 7s linear forwards; }
@keyframes ms-fill { from { width: 0; } to { width: 100%; } }

.ms-tour .panes { position: sticky; display: grid; }
.ms-tour .pane { grid-area: 1 / 1; margin: 0; opacity: 0; transform: scale(.985) translateY(10px); transition: opacity .55s cubic-bezier(.2,.7,.3,1), transform .55s cubic-bezier(.2,.7,.3,1); pointer-events: none; }
.ms-tour .pane.on { opacity: 1; transform: none; pointer-events: auto; }
.ms-frame.sm { border-radius: 14px; box-shadow: 0 50px 100px -42px rgba(0,0,0,.95), 0 0 70px -34px rgba(245,184,0,.26); }
.ms-frame.sm .bar { padding: 9px 12px; }
.ms-frame.sm .bar i { width: 8px; height: 8px; }
.ms-frame.sm img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

.ms-tour .say { display: none; }
.ms-tour .say.on { display: block; animation: ms-say .5s cubic-bezier(.2,.7,.3,1); }
@keyframes ms-say { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ms-tour .say h3 { font-size: clamp(21px, 2.1vw, 27px); line-height: 1.15; }
.ms-tour .say p { color: var(--dim); font-size: 15px; line-height: 1.65; margin-top: 12px; }
.ms-tour .say .ms-list { margin-top: 16px; }
.ms-tour .say .ms-list li { font-size: 14px; }

@media (max-width: 980px) {
  .ms-tour { grid-template-columns: 1fr; grid-template-areas: "picks" "panes" "says"; gap: 22px; }
  .ms-tour .panes { position: static; }
  .ms-tour .picks { grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .ms-tour .picks::-webkit-scrollbar { display: none; }
  .ms-tour .pick:hover { transform: none; }
}

/* ── Bento grid with a gold spotlight that follows the pointer ──────────── */
.ms-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 54px; }
.ms-bento .ms-card { grid-column: span 2; }
.ms-bento .ms-card.wide { grid-column: span 3; }
.ms-bento .ms-card.full { grid-column: span 6; display: grid; grid-template-columns: auto 1fr; gap: 2px 20px; align-items: center; }
.ms-bento .ms-card.full .ms-ico { grid-row: span 2; margin-bottom: 0; }
.ms-bento .ms-card.full h3 { align-self: end; }
.ms-bento .ms-card.full p { align-self: start; max-width: 76ch; }
.ms-bento .ms-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(245,184,0,.13), transparent 62%); pointer-events: none; }
.ms-bento .ms-card:hover::after { opacity: 1; }
@media (max-width: 980px) { .ms-bento { grid-template-columns: repeat(2, 1fr); } .ms-bento .ms-card, .ms-bento .ms-card.wide { grid-column: span 1; } .ms-bento .ms-card.full { grid-column: span 2; } }
@media (max-width: 620px) { .ms-bento { grid-template-columns: 1fr; } .ms-bento .ms-card.full { grid-column: span 1; grid-template-columns: 1fr; } .ms-bento .ms-card.full .ms-ico { grid-row: auto; margin-bottom: 14px; } }

/* ── Light band: a line joining the three steps ─────────────────────────── */
.ms-steps { position: relative; }
.ms-steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 46px; height: 1px; background: repeating-linear-gradient(90deg, #D8D8DE 0 6px, transparent 6px 12px); }
.ms-step { z-index: 1; transition: transform .3s, box-shadow .3s; }
.ms-step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.4); }
@media (max-width: 1000px) { .ms-steps::before { content: none; } }

/* ── Security sheet ─────────────────────────────────────────────────────── */
.ms-sec-list > div { padding: 14px; border-radius: 12px; transition: background .25s; }
.ms-sec-list > div:hover { background: rgba(255,255,255,.035); }

/* ── Closing ────────────────────────────────────────────────────────────── */
.ms-endglow { position: absolute; left: 50%; top: 0; width: 1000px; height: 560px; transform: translate(-50%, -40%); pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(245,184,0,.22), transparent 62%); filter: blur(30px); animation: ms-pulseglow 7s ease-in-out infinite; }
@keyframes ms-pulseglow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.ms-end::before { content: none; }

@media (max-width: 760px) {
  .ms-stage { margin-top: 38px; padding: 0 14px; }
  .ms-tilt { transform: none; }
  .ms-glow { opacity: .7; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Hero, second pass — the copy and a real phone share the width, the frame
   below can be switched between four real screens, and the vertical rhythm is
   tightened so the product is visible without scrolling on a laptop.
   ═══════════════════════════════════════════════════════════════════════════ */
.hero-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 20px 56px; align-items: center; }
.hero-copy { max-width: 680px; }
.hero-side { position: relative; min-height: 500px; display: grid; place-items: center end; padding-right: 6px; perspective: 1400px; }

/* The phone is a real Today screenshot, floating with the chips around it. */
.hero-side .ms-phone { position: relative; left: auto; bottom: auto; width: 272px; padding: 9px; border-radius: 34px;
  background: linear-gradient(160deg, #2A2A31, #0D0D11); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.95), 0 0 70px -24px rgba(245,184,0,.4);
  transform: rotate(-3deg) translateZ(0); animation: ms-bob 7s ease-in-out infinite; display: block; }
.hero-side .ms-phone::before { content: ''; position: absolute; left: 50%; top: 15px; transform: translateX(-50%); width: 78px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.16); z-index: 2; }
.hero-side .ms-phone img { border-radius: 26px; width: 100%; height: auto; display: block; }

.hero-side .ms-float { position: absolute; animation: ms-bob 6.5s ease-in-out infinite; max-width: 252px; }
.hero-side .ms-float { max-width: 236px; }
.hero-side .ms-float.one { left: -56px; top: 4%; animation-delay: -.8s; }
.hero-side .ms-float.two { right: -72px; top: 58%; max-width: 218px; animation-delay: -2.6s; }
.hero-side .ms-float.three { left: -30px; bottom: 4%; animation-delay: -4.4s; }
@media (max-width: 1440px) { .hero-side .ms-float.one { left: -18px; } .hero-side .ms-float.three { left: -6px; } .hero-side .ms-float.two { right: -16px; } }

/* Segmented switcher above the frame */
.ms-switch { display: flex; gap: 6px; justify-content: center; margin: 0 auto 20px; padding: 6px; width: max-content; max-width: 100%;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(18,18,22,.75); backdrop-filter: blur(10px); overflow-x: auto; scrollbar-width: none; }
.ms-switch::-webkit-scrollbar { display: none; }
.ms-switch button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 10px;
  background: none; color: var(--dim); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .22s, color .22s; }
.ms-switch button:hover { color: var(--text); background: rgba(255,255,255,.06); }
.ms-switch button.on { color: #15100A; background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 8px 22px -10px rgba(245,184,0,.8); }
.ms-switch button svg { opacity: .9; }

/* Two stacked shots so switching crossfades instead of flashing white */
.ms-frame .shots { position: relative; display: grid; }
.ms-frame .shots img { grid-area: 1 / 1; width: 100%; height: auto; display: block; opacity: 0; transition: opacity .4s ease; }
.ms-frame .shots img.on { opacity: 1; }

.ms-stage { max-width: 1240px; margin: 8px auto 0; }

@media (max-width: 1180px) {
  .hero-top { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { max-width: 760px; margin: 0 auto; }
  .ms-hero .lead { margin-left: auto; margin-right: auto; }
  .ms-hero .acts, .ms-notes { justify-content: center; }
  .hero-side { min-height: 0; margin-top: 30px; }
  .hero-side .ms-float { display: none; }
  .hero-side .ms-phone { width: 230px; }
}
@media (max-width: 760px) {
  .ms-hero { padding: 100px 0 56px; }
  .hero-side .ms-phone { width: 196px; }
  .ms-switch { width: 100%; justify-content: flex-start; }
}
