/* Shared design tokens from the original Menu Launcher website. */
:root {
  --primary-bg: #fff;
  --secondary-bg: #f5f5f7;
  --text-color: #1d1d1f;
  --subtext-color: #6e6e73;
  --accent-color: #0071e3;
  --footer-bg: #fbfbfd;
  --border-color: rgba(0, 0, 0, .08);
  --content-width: 1000px;
}
* { box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; scroll-padding-top: 85px; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 52px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: var(--primary-bg);
  color: var(--text-color);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, video { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
h2 { font-size: clamp(32px, 4vw, 44px); }
h3 { font-size: 23px; font-weight: 600; letter-spacing: -.015em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-color); outline-offset: 5px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: calc(100% - 40px); max-width: var(--content-width); margin-inline: auto; }
#main { flex: 1 0 auto; display: flex; flex-direction: column; }
.projects-page .page-intro { padding: 70px 0 40px; }
.projects-page .page-intro h1 { margin-bottom: 0; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 2000; background: var(--text-color); color: white; padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 65px; }

/* Compact translucent navigation. */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; min-height: 52px;
  padding: 8px max(20px, calc((100vw - 1200px) / 2));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  z-index: 1000; background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.main-navigation { display: flex; gap: 30px; align-items: center; }
.main-navigation a { padding: 8px 0; font-size: 12px; color: #515154; }
.main-navigation a:hover, .main-navigation a[aria-current] { color: var(--text-color); }
.store-link { background: var(--text-color); color: #fff; border-radius: 999px; padding: 6px 15px; font-size: 12px; transition: opacity .2s; white-space: nowrap; }
.header-panel { display: contents; }
.header-end { justify-self: end; display: flex; align-items: center; gap: 14px; }
.lang-dropdown { position: relative; display: inline-flex; align-items: center; }
.lang-select {
  appearance: none; -webkit-appearance: none;
  min-width: 52px; padding: 5px 22px 5px 10px;
  border: 1px solid var(--border-color); border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23515154' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 8px center;
  color: var(--text-color); font-size: 12px; font-weight: 600; line-height: 1.2;
}
.lang-select:hover { border-color: #d2d2d7; }
html:not(.js) .lang-select { display: none; }
.lang-fallback { display: none; }
html:not(.js) .lang-fallback { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.store-link:hover { opacity: .82; }
.menu-toggle {
  display: none; width: 44px; height: 44px; margin: -8px -6px -8px 0;
  border: 0; background: none; padding: 0; color: var(--text-color);
  align-items: center; justify-content: center;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block; width: 18px; height: 1.5px; border-radius: 1px;
  background: currentColor; position: relative; transition: transform .2s, opacity .2s;
}
.menu-toggle-bars::before,
.menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* Centered publication and product heroes. */
.home-hero, .product-hero { text-align: center; padding: 68px 0 40px; max-width: 900px; margin: auto; }
.eyebrow { color: var(--subtext-color); font-size: 14px; font-weight: 500; margin-bottom: 25px; }
.app-icon { width: 120px; height: 120px; object-fit: cover; border-radius: 27px; flex-shrink: 0; }
.home-hero > .app-icon, .product-hero > .app-icon { margin: 0 auto 28px; box-shadow: 0 10px 24px rgba(0, 0, 0, .1); }
.product-label { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 16px; }
.home-hero h1, .product-hero h1 { font-size: clamp(48px, 6vw, 68px); line-height: 1.03; letter-spacing: -.045em; margin-bottom: 22px; }
.hero-description { max-width: 670px; margin: 0 auto 30px; color: var(--subtext-color); font-size: 22px; line-height: 1.45; }
.product-copy { max-width: 680px; margin: 0 auto 28px; text-align: left; }
.product-copy p { color: var(--subtext-color); font-size: 18px; line-height: 1.55; }
.product-copy p:last-child { margin-bottom: 0; }
.actions { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--accent-color); border-radius: 999px; background: var(--accent-color); color: #fff; padding: 12px 27px; font-size: 16px; font-weight: 500; transition: background .2s, transform .2s; }
.button:hover { background: #0077ed; }
.button:active { transform: scale(.98); }
.button-secondary { background: transparent; color: var(--accent-color); }
.button-secondary:hover { background: #eef6ff; }
.text-link { color: var(--accent-color); font-size: 16px; display: inline-flex; align-items: center; gap: .18em; padding-bottom: 2px; text-decoration: none; }
.text-link:hover, .project-card:hover .text-link, .support-card:hover .text-link { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%; background-repeat: no-repeat; background-size: 100% 1px; }
.text-link span { font-size: 1em; line-height: 1; transform: translateY(-.08em); }
.pill { display: inline-block; padding: 5px 12px; font-size: 12px; border-radius: 999px; background: var(--secondary-bg); color: var(--subtext-color); margin-bottom: 20px; }
.monogram-icon { display: grid; place-items: center; background: linear-gradient(145deg, #fbfbfd, #e8e8ed); color: var(--text-color); font-size: 32px; font-weight: 600; letter-spacing: -.04em; border: 1px solid var(--border-color); }

/* Large, quiet product tiles. */
.section { padding: 65px 0 85px; }
.section-heading { text-align: center; margin-bottom: 45px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading p { font-size: 19px; color: var(--subtext-color); margin: 0; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--secondary-bg); border-radius: 24px; overflow: hidden; }
.project-info { padding: 36px 28px 0; }
.project-info .project-status { font-size: 12px; font-weight: 500; color: var(--subtext-color); margin-bottom: 9px; }
.project-info h3 { font-size: 34px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 13px; }
.project-info > p:not(.project-status) { max-width: 340px; min-height: 54px; font-size: 17px; line-height: 1.45; color: var(--subtext-color); margin: 0 auto 18px; }
.project-card:hover .text-link { text-decoration: none; }
.project-art { width: 100%; padding: 38px 20px 43px; display: flex; justify-content: center; }
.project-art .app-icon { width: 140px; height: 140px; border-radius: 31px; box-shadow: 0 14px 30px rgba(0, 0, 0, .09); }
.project-art .monogram-icon { font-size: 38px; background: #fff; }
.project-dashboard { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 80px; }
.project-tile { display: flex; flex-direction: column; align-items: center; gap: 16px; flex: 0 0 200px; padding: 32px 16px 28px; background: var(--secondary-bg); border-radius: 24px; }
.project-tile .app-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.project-tile h2 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.project-tile:hover { background: #ececf1; }
.about-section { padding: 80px 0 100px; text-align: center; border-top: 1px solid var(--border-color); }
.about-photo { display: block; width: 180px; height: 180px; object-fit: cover; object-position: center 20%; margin: 0 auto 28px; border-radius: 50%; box-shadow: 0 14px 30px rgba(0, 0, 0, .09); }
.about-section h2 { margin-bottom: 28px; }
.about-section .eyebrow { margin-bottom: 12px; }
.about-copy { max-width: 650px; margin: auto; }
.about-copy p { font-size: 19px; color: var(--subtext-color); line-height: 1.55; }
.about-copy .text-link { margin-top: 10px; }

/* Product details. */
.product-video { margin: 0 auto 36px; max-width: 900px; }
.product-video video { width: 100%; border-radius: 24px; background: #000; aspect-ratio: 16 / 10; }
.media-section { margin: 0 0 20px; }
.media-frame { position: relative; }
.media-gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; padding: 4px 0; cursor: grab; scrollbar-width: none; }
.media-gallery::-webkit-scrollbar { display: none; }
.media-gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.media-card { flex: 0 0 100%; margin: 0; background: var(--secondary-bg); border: 1px solid var(--border-color); border-radius: 24px; overflow: hidden; scroll-snap-align: start; user-select: none; }
.media-card img, .media-card video { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; -webkit-user-drag: none; }
.media-card video { background: #000; }
.gallery-nav { display: none; position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--text-color); place-items: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); transform: translateY(-50%); }
.js .gallery-nav { display: grid; }
.gallery-nav[data-gallery-previous] { left: 12px; }
.gallery-nav[data-gallery-next] { right: 12px; }
.gallery-nav:hover { background: #fff; }
.gallery-nav:disabled { opacity: .35; cursor: default; }
.gallery-nav svg { display: block; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature-grid > div { padding: 36px 28px; border-radius: 22px; background: var(--secondary-bg); }
.feature-number { display: inline-block; font-size: 28px; margin-bottom: 18px; }
.feature-grid h3 { font-size: 21px; margin-bottom: 9px; }
.feature-grid p { color: var(--subtext-color); font-size: 15px; line-height: 1.55; margin: 0; }
.resource-strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--border-color); padding: 30px 0; margin-bottom: 30px; }
.resource-strip p { margin: 0; font-size: 14px; color: var(--subtext-color); }
.resource-strip nav { display: flex; gap: 22px; color: var(--accent-color); font-size: 14px; }
.resource-strip a:hover { text-decoration: underline; }
.coming-soon { text-align: center; max-width: 800px; width: calc(100% - 40px); margin: 0 auto 85px; padding: 60px; background: var(--secondary-bg); border-radius: 24px; }
.coming-soon h2 { margin-bottom: 22px; }
.coming-soon p { font-size: 18px; color: var(--subtext-color); }
.coming-soon .text-link { margin-top: 12px; }

/* Shared information pages. */
.page-intro { padding: 70px 0 55px; text-align: center; }
.page-intro h1 { font-size: clamp(44px, 6vw, 64px); letter-spacing: -.045em; margin-bottom: 20px; }
.page-intro > p:not(.eyebrow) { max-width: 660px; margin: 0 auto 16px; color: var(--subtext-color); font-size: 21px; }
.page-intro > p.last-updated { font-size: 13px; }
.document-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 55px; padding-bottom: 85px; }
.document-nav { position: sticky; top: 85px; align-self: start; display: grid; gap: 16px; font-size: 13px; color: var(--subtext-color); }
.document-nav a:hover { color: var(--accent-color); }
.prose { font-size: 16px; overflow-wrap: anywhere; }
.prose h2, .prose h3 { font-size: 24px; line-height: 1.25; margin: 35px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { line-height: 1.75; color: #515154; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--accent-color); }
.prose a:hover { text-decoration: underline; }
.prose section + section { margin-top: 38px; }
.prose address { font-style: normal; line-height: 1.8; color: #515154; }
.developer-box { margin: 0 0 1em; line-height: 1.8; color: #515154; }
.notice { background: var(--secondary-bg); border-radius: 18px; color: #515154; padding: 23px 26px; margin-bottom: 32px; font-size: 14px; line-height: 1.6; }
.notice strong { color: var(--text-color); }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; }
.support-grid.legal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.support-card { color: inherit; display: block; }
.support-card:hover .text-link { text-decoration: none; }
.support-card { padding: 36px; background: var(--secondary-bg); border-radius: 24px; }
a.support-card:hover { background: #ececf1; }
.support-card.is-selected { box-shadow: inset 0 0 0 2px var(--text-color); }
.support-card .app-icon { width: 70px; height: 70px; border-radius: 16px; margin-bottom: 25px; font-size: 24px; }
.support-card h2 { font-size: 30px; margin-bottom: 15px; }
.support-card p { font-size: 16px; color: var(--subtext-color); }
.support-card .actions { justify-content: start; margin-top: 22px; gap: 16px; }
.support-card .button, .support-card .text-link { font-size: 14px; }
.support-answers { margin-bottom: 50px; }
.answer-group { display: none; max-width: 800px; margin: 20px auto 0; }
.answer-group:target, .js .answer-group.is-open { display: block; }
.js .answer-group { display: none; }
.js .answer-group.is-open { display: block; }
.answer-group h2 { font-size: 34px; margin-bottom: 24px; }
.answer-group details { border-bottom: 1px solid var(--border-color); }
.answer-group summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; font-size: 17px; font-weight: 500; }
.answer-group summary::-webkit-details-marker { display: none; }
.answer-group summary::after { content: "+"; color: var(--subtext-color); }
.answer-group details[open] summary::after { content: "−"; }
.answer-group details > div { padding: 0 30px 24px 0; font-size: 16px; line-height: 1.65; color: var(--subtext-color); }
.answer-group details a { color: var(--accent-color); }
.answer-group details a:hover { text-decoration: underline; }
.answer-group details > div p:last-of-type { margin-bottom: 0; }
.answers-empty { color: var(--subtext-color); font-size: 16px; line-height: 1.65; }
.answers-empty a { color: var(--accent-color); }
.answers-empty a:hover { text-decoration: underline; }
.answer-screenshot { margin: 20px 0 0; border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; background: var(--secondary-bg); }
.answer-screenshot img { margin: 0 auto; max-height: 420px; width: auto; object-fit: contain; }
.contact-panel { width: 100%; margin: 0 0 85px; padding: 50px; border-radius: 24px; background: var(--secondary-bg); text-align: center; }
.contact-panel h2 { font-size: 36px; margin-bottom: 22px; }
.contact-panel p { font-size: 16px; color: var(--subtext-color); }
.contact-panel .actions { margin-top: 27px; }
.empty-state { padding: 60px 20px 80px; border-radius: 24px; background: var(--secondary-bg); margin: 70px 0 80px; text-align: center; }
.empty-state h1, .empty-state h2 { font-size: 36px; margin-bottom: 23px; }
.empty-state p { color: var(--subtext-color); max-width: 520px; margin: 0 auto 20px; font-size: 18px; }

/* Footer. */
.site-footer { margin-top: auto; background: var(--footer-bg); border-top: 1px solid var(--border-color); padding: 34px 0; color: var(--subtext-color); }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top { padding-bottom: 24px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.footer-follow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-follow-label { margin: 0; font-size: 14px; color: var(--text-color); }
.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social a { color: var(--text-color); opacity: .55; }
.footer-social a:hover { opacity: 1; }
.footer-social svg { display: block; }
.footer-credit-wrap { margin: 0; font-size: 12px; text-align: right; }
.footer-credit:hover { color: var(--text-color); text-decoration: underline; }
.footer-bottom { font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--text-color); text-decoration: underline; }
.back-to-top { white-space: nowrap; }

@media (max-width: 900px) {
  .site-header { gap: 20px; }
  .main-navigation { gap: 24px; }
  .feature-grid { gap: 16px; }
  .feature-grid > div { padding: 28px 20px; }
  .document-layout { grid-template-columns: 155px minmax(0, 1fr); gap: 30px; }
  .support-grid.legal-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .site-header { grid-template-columns: 1fr auto; gap: 12px; }
  .wordmark { font-size: 18px; }
  .brand-mark { width: 28px; height: 28px; border-radius: 7px; }
  .store-link { padding: 10px 16px; font-size: 13px; }
  .js .menu-toggle { display: flex; }
  .header-panel {
    display: none; grid-column: 1 / -1;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 8px 0 12px;
  }
  .header-panel.is-open { display: flex; }
  html:not(.js) .header-panel { display: flex; }
  html:not(.js) .menu-toggle { display: none; }
  .main-navigation { flex-direction: column; gap: 0; padding: 4px 0 10px; }
  .main-navigation a { padding: 12px 0; font-size: 17px; }
  .header-end { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border-color); }
  .lang-select { min-width: 64px; padding: 8px 26px 8px 12px; font-size: 14px; }
  html:not(.js) body { padding-top: 220px; }
  .home-hero, .product-hero { padding: 48px 0 32px; }
  .home-hero > .app-icon, .product-hero > .app-icon { width: 100px; height: 100px; border-radius: 23px; margin-bottom: 25px; }
  .home-hero h1, .product-hero h1 { font-size: clamp(36px, 8.6vw, 48px); }
  .product-label { font-size: 19px; }
  .hero-description { font-size: 19px; max-width: 440px; }
  .product-copy { max-width: none; }
  .product-copy p { font-size: 17px; }
  .gallery-nav { width: 40px; height: 40px; }
  .actions { gap: 18px; }
  .button { font-size: 15px; padding: 11px 23px; }
  .section { padding: 45px 0 60px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 32px; }
  .section-heading p { font-size: 17px; }
  .project-grid, .support-grid, .feature-grid, .support-grid.legal-grid { grid-template-columns: 1fr; }
  .project-tile { flex: 1 1 calc(50% - 10px); max-width: none; }
  .project-grid { gap: 20px; }
  .project-info { padding-top: 32px; }
  .project-info h3 { font-size: 32px; }
  .project-art { padding-block: 30px 35px; }
  .project-art .app-icon { width: 120px; height: 120px; border-radius: 27px; }
  .about-section { padding-block: 50px 65px; }
  .about-photo { width: 140px; height: 140px; margin-bottom: 22px; }
  .about-copy p { font-size: 18px; }
  .feature-grid > div { padding: 30px; }
  .page-intro { padding: 50px 0 35px; }
  .page-intro > p:not(.eyebrow) { font-size: 19px; }
  .document-layout { grid-template-columns: 1fr; gap: 35px; }
  .document-nav { position: static; display: flex; flex-wrap: wrap; gap: 14px 20px; }
  .support-card { padding: 30px; }
  .answer-group h2 { font-size: 30px; }
  .contact-panel, .coming-soon { padding: 35px 25px; }
  .contact-panel h2 { font-size: 32px; }
  .empty-state { padding: 45px 25px; }
  .empty-state h1, .empty-state h2 { font-size: 30px; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-follow { justify-content: center; }
  .footer-credit-wrap { text-align: center; }
  .footer-bottom { font-size: 11px; gap: 20px; }
  .footer-bottom nav { width: 100%; order: -1; }
  .back-to-top { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html, .media-gallery { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
