/* DishDash product launch: four roles, one shared visual system. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  max-width: none;
  height: 78px;
  padding-inline: max(28px, calc((100vw - 1260px) / 2));
  background: #ffffffed;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #eee8eb;
}
.topbar .brand span {
  display: none;
}
.topbar .brand img {
  width: 36px;
  height: 36px;
}
.topbar .brand b {
  font-size: 24px;
}
.topbar nav {
  font-size: 15px;
}
.topbar .button {
  border-radius: 999px;
  min-height: 42px;
}
#preview-mode {
  border: 0;
  border-radius: 0;
  background: #f6f5f6;
  margin: 0;
  padding: 8px 16px;
  font-size: 12px;
}
.keynote-hero {
  padding: 72px 24px 0;
  text-align: center;
  overflow: clip;
}
.keynote-intro {
  position: relative;
  z-index: 1;
}
.keynote-hero .eyebrow {
  justify-content: center;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 24px;
}
.keynote-hero h1 {
  font-size: clamp(56px, 7.1vw, 100px);
  line-height: 1.14;
  letter-spacing: -2px;
  margin: 0 0 24px;
}
.keynote-hero h1 em {
  display: inline-block;
  background: linear-gradient(100deg, #d6003a 15%, #f85800 95%);
  background-clip: text;
  color: transparent;
  padding: 0 6px 8px;
}
.keynote-lead {
  font-size: 22px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 28px;
}
.keynote-hero .actions {
  justify-content: center;
  gap: 30px;
}
.keynote-hero .button {
  border-radius: 999px;
  padding: 16px 26px;
  gap: 18px;
}
.play-circle {
  display: inline-grid;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 10px;
  padding-left: 2px;
}
.keynote-devices {
  max-width: 1160px;
  margin: 26px auto 0;
}
.keynote-devices img {
  width: 100%;
  height: auto;
  display: block;
}
.keynote-devices figcaption {
  color: var(--muted);
  font-size: 12px;
  margin-top: -14px;
  position: relative;
}
.role-index {
  max-width: 850px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 40px auto 0;
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
}
.role-index a {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 700;
  min-height: 44px;
}
.role-index span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 400;
}
.role-index a:hover {
  color: var(--primary);
}
.ecosystem-section,
.films-section {
  padding: 104px max(32px, calc((100vw - 1200px) / 2));
}
.ecosystem-section {
  background: #f6f5f6;
}
.ecosystem-section .section-head,
.films-section .section-head {
  margin-bottom: 54px;
}
.ecosystem-section h2,
.films-section h2,
.section h2,
.menu-story h2,
.partner-section h2,
.closing-cta h2 {
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.25;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.product-card {
  background: white;
  border-radius: 32px;
  padding: 38px 42px;
  min-width: 0;
  scroll-margin-top: 105px;
  display: flex;
  flex-direction: column;
}
.product-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.product-number {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}
.role-glyph {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--gradient);
  box-shadow: 0 12px 25px #d6003a16;
}
.role-glyph svg {
  width: 50px;
  height: 50px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.product-card h3 {
  font-size: clamp(30px, 3.05vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.product-card > p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 18px;
}
.product-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  font-size: 16px;
}
.product-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.product-card > .text-link,
.product-detail {
  margin-top: auto;
}
.product-detail summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--primary);
  cursor: pointer;
  min-height: 44px;
  align-items: center;
  font-weight: 700;
}
.product-detail summary::-webkit-details-marker {
  display: none;
}
.product-detail summary span {
  font: 24px Arial;
}
.product-detail[open] summary span {
  transform: rotate(45deg);
}
.product-detail p {
  font-size: 15px;
  margin: 12px 0 0;
  color: var(--muted);
}
.ecosystem-note {
  margin-top: 28px;
  margin-bottom: 0;
}
.films-section {
  background: var(--ink);
  color: white;
}
.films-section .eyebrow {
  color: #ff8d70;
}
.films-section .lead {
  color: #c8bbc3;
}
.film-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.film-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: white;
  color: var(--ink);
  transition: transform 0.35s;
}
.film-card:hover {
  transform: translateY(-5px);
}
.film-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.film-caption {
  padding: 22px 28px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.film-caption small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 6px;
}
.film-caption strong {
  font-size: 24px;
  line-height: 1.5;
}
.film-play {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-size: 15px;
  padding-left: 3px;
}
.section {
  max-width: 1296px;
  margin: 112px auto;
  padding-inline: 48px;
}
.smart-story {
  display: flex;
  flex-direction: column-reverse;
  gap: 50px;
}
.smart-story .story-copy {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
}
.smart-story .story-copy > .eyebrow {
  grid-column: 1 / -1;
}
.smart-story .story-copy h2 {
  grid-column: 1;
  grid-row: 2 / 4;
  font-size: clamp(48px, 5.5vw, 78px);
  margin-bottom: 0;
}
.smart-story .story-copy .lead,
.smart-story .story-copy .feature-list,
.smart-story .story-copy > a {
  grid-column: 2;
}
.smart-story .story-copy .feature-list {
  margin-top: 10px;
}
.smart-story .story-photo {
  width: 100%;
  margin: 0;
}
.smart-story .story-photo img {
  width: 100%;
  height: auto;
  max-height: 740px;
  object-fit: cover;
  border-radius: 32px;
}
.pickup-plan {
  border-top: 1px solid var(--line);
  padding-top: 100px;
}
.pickup-plan figure {
  background: #f6f5f6;
  border-radius: 32px;
  overflow: hidden;
}
.pickup-plan figure img {
  max-height: 760px;
  object-fit: contain;
}
.pickup-plan figcaption {
  padding: 12px 24px 20px;
}
.zone-legend {
  gap: 28px;
  margin-top: 40px;
}
.zone-legend li {
  padding: 0;
  background: transparent;
  border: 0;
}
.menu-story {
  background: #f6f5f6;
  padding-block: 104px;
}
.menu-story-inner {
  max-width: 1296px;
  gap: 72px;
}
.scan-explainer {
  background: white;
  border-radius: 32px;
  box-shadow: 0 20px 80px #1a121608;
}
.partner-section {
  margin-block: 104px;
  background: white;
}
.closing-cta {
  margin-block: 100px;
  border-radius: 32px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Content stays readable when scripts or motion support are unavailable. */
#film-dialog {
  border: 1px solid #4b343f;
  border-radius: 24px;
  width: min(1040px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  padding: 24px;
  color: white;
  background: var(--ink);
  overscroll-behavior: contain;
}
#film-dialog::backdrop {
  background: #100b10dc;
  backdrop-filter: blur(10px);
}
body:has(#film-dialog[open]) {
  overflow: hidden;
}
.film-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.film-dialog-head h2 {
  font-size: 24px;
  line-height: 1.4;
  margin: 0;
}
.film-close {
  color: white;
  background: #35272f;
  border: 1px solid #59434c;
  border-radius: 50%;
  font: 28px Arial;
  flex: 0 0 44px;
  height: 44px;
  cursor: pointer;
}
#film-player {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  background: #1a1216;
  border-radius: 12px;
}
#film-description {
  font-size: 13px;
  color: #c8bbc3;
  margin: 16px 0 8px;
}
.film-transcript {
  font-size: 15px;
}
.film-transcript summary {
  cursor: pointer;
  padding-block: 10px;
}
.film-transcript p {
  color: #ded4db;
}
#film-error {
  font-size: 15px;
}
#film-error a {
  text-decoration: underline;
}
@media (max-width: 600px) {
  #film-dialog {
    padding: 18px;
    border-radius: 20px;
  }
  .film-dialog-head h2 {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-ready {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.65s ease,
      transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .reveal.is-ready.is-visible {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1050px) {
  .topbar > nav {
    gap: 18px;
    font-size: 14px;
  }
  .product-card {
    padding: 30px;
  }
  .smart-story .story-copy {
    column-gap: 40px;
  }
}
@media (max-width: 800px) {
  .topbar {
    height: 68px;
    padding: 0 20px;
    gap: 12px;
  }
  .topbar > nav {
    display: none;
  }
  .topbar .brand b {
    font-size: 22px;
  }
  .topbar .button.small {
    padding: 10px 14px;
    font-size: 13px;
    min-height: 40px;
  }
  .topbar .brand img {
    width: 32px;
    height: 32px;
  }
  .keynote-hero {
    padding: 56px 20px 0;
  }
  .keynote-hero h1 {
    font-size: clamp(48px, 9vw, 68px);
    letter-spacing: -1px;
  }
  .keynote-hero .eyebrow {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .keynote-lead {
    font-size: 18px;
  }
  .keynote-hero .actions {
    gap: 20px;
    flex-wrap: wrap;
  }
  .keynote-hero .button {
    padding: 14px 20px;
    min-height: 48px;
    font-size: 16px;
  }
  .keynote-hero .text-link {
    font-size: 16px;
  }
  .keynote-devices {
    margin: 32px -12px 0;
  }
  .keynote-devices figcaption {
    margin: 4px 12px 0;
    font-size: 11px;
  }
  .role-index {
    gap: 0;
    margin-top: 26px;
    padding: 18px 0 24px;
  }
  .role-index a {
    gap: 5px;
    font-size: 15px;
    flex-direction: column;
  }
  .role-index span {
    font-size: 10px;
  }
  .ecosystem-section,
  .films-section {
    padding: 64px 24px;
  }
  .ecosystem-section .section-head,
  .films-section .section-head {
    margin-bottom: 30px;
  }
  .product-grid,
  .film-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-card {
    border-radius: 26px;
    padding: 28px;
  }
  .product-card h3 {
    font-size: 36px;
  }
  .product-card > p {
    font-size: 17px;
  }
  .role-glyph {
    width: 64px;
    height: 64px;
    border-radius: 21px;
  }
  .role-glyph svg {
    width: 42px;
    height: 42px;
  }
  .film-caption {
    padding: 18px 22px 24px;
  }
  .film-caption strong {
    font-size: 22px;
  }
  .section {
    margin: 70px auto;
    padding-inline: 24px;
  }
  .smart-story .story-copy {
    display: block;
  }
  .smart-story .story-copy h2 {
    font-size: 52px;
    margin-bottom: 24px;
  }
  .smart-story .story-photo img {
    border-radius: 24px;
  }
  .pickup-plan {
    padding-top: 64px;
  }
  .pickup-plan figure {
    margin-inline: -8px;
    border-radius: 24px;
  }
  .zone-legend {
    gap: 22px;
  }
  .menu-story {
    padding-block: 64px;
  }
  .menu-story-inner {
    gap: 36px;
  }
  .partner-section {
    margin-block: 64px;
  }
  .closing-cta {
    margin: 64px 24px;
    border-radius: 26px;
  }
}
@media (max-width: 360px) {
  .topbar {
    padding-inline: 14px;
    gap: 8px;
  }
  .topbar .brand {
    gap: 6px;
  }
  .topbar .brand b {
    font-size: 19px;
  }
  .topbar .brand img {
    width: 28px;
    height: 28px;
  }
  .topbar .button.small {
    padding: 9px 11px;
    font-size: 12px;
  }
  .keynote-hero {
    padding-top: 42px;
  }
  .keynote-hero h1 {
    font-size: 40px;
  }
  .keynote-hero .actions {
    gap: 16px;
  }
  .product-card {
    padding: 24px;
  }
  .product-card h3 {
    font-size: 32px;
  }
  .product-card li {
    font-size: 15px;
  }
  .film-caption {
    padding-inline: 18px;
  }
  .film-caption strong {
    font-size: 20px;
  }
}
