:root {
  --mm-primary: #0066da;
  --mm-primary-dark: #0054b5;
  --mm-primary-light: #2684fc;
  --mm-primary-soft: #e8f1ff;
  --mm-accent-green: #00ac47;
  --mm-accent-yellow: #ffba00;
  --mm-white: #ffffff;
  --mm-soft: #f5f5f6;
  --mm-surface: #fbfbfd;
  --mm-text: #181a23;
  --mm-muted: #636b7f;
  --mm-border: #e4e7f1;
  --mm-shadow: 0 18px 40px rgba(11, 87, 208, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.memo-body {
  min-height: 100vh;
  color: var(--mm-text);
  background:
    radial-gradient(620px 320px at 0% -10%, rgba(0, 102, 218, 0.22), transparent 60%),
    radial-gradient(560px 220px at 100% -4%, rgba(0, 172, 71, 0.14), transparent 64%),
    var(--mm-soft);
  font-family: "Google Sans", "Trebuchet MS", sans-serif;
  line-height: 1.45;
}

a {
  color: var(--mm-primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.memo-top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--mm-border);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.86);
}

.memo-top-inner {
  width: min(1160px, calc(100% - 24px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.memo-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--mm-text);
  font-weight: 700;
  font-size: 18px;
}

.memo-brand img {
  width: 26px;
  height: 26px;
}

.memo-nav {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.memo-nav a {
  color: var(--mm-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 11px;
  border-radius: 999px;
}

.memo-nav a:hover {
  text-decoration: none;
  background: #e8f1ff;
  color: var(--mm-primary-dark);
}

.cta-install {
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(130deg, var(--mm-primary) 0%, var(--mm-primary-light) 58%, var(--mm-accent-green) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 16px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0, 102, 218, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-install:hover {
  text-decoration: none;
  filter: brightness(1.04);
}

.memo-page {
  width: min(1160px, calc(100% - 24px));
  margin: 20px auto 28px;
  display: grid;
  gap: 16px;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 14px;
}

.hero-copy,
.hero-viewer,
.section-shell {
  background: var(--mm-white);
  border: 1px solid var(--mm-border);
  border-radius: 20px;
  box-shadow: var(--mm-shadow);
}

.hero-copy {
  padding: 28px;
}

.hero-kicker {
  margin: 0;
  color: var(--mm-primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 10px 0;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.04;
}

.hero-lead {
  margin: 0;
  color: var(--mm-muted);
  font-size: 17px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  gap: 8px;
}

.btn-solid {
  color: #fff;
  background: linear-gradient(130deg, var(--mm-primary) 0%, var(--mm-primary-light) 58%, var(--mm-accent-green) 100%);
}

.btn-soft {
  color: var(--mm-primary-dark);
  border-color: #cfe1ff;
  background: var(--mm-primary-soft);
}

.btn:hover {
  text-decoration: none;
}

.chrome-icon {
  width: 17px;
  height: 17px;
  display: inline-block;
  flex: 0 0 17px;
  object-fit: contain;
  vertical-align: middle;
}

.hero-bullets {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--mm-muted);
}

.hero-viewer {
  padding: 12px;
  background:
    linear-gradient(170deg, rgba(0, 102, 218, 0.08) 0%, transparent 56%),
    #ffffff;
}

.viewer-top {
  padding: 4px 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.viewer-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.viewer-count {
  font-size: 12px;
  color: var(--mm-muted);
}

.viewer-stage {
  position: relative;
  border: 1px solid #d5daf0;
  border-radius: 14px;
  overflow: hidden;
  background: #e7eaf4;
}

.viewer-stage img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(23, 23, 40, 0.42);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.slide-btn.prev {
  left: 8px;
}

.slide-btn.next {
  right: 8px;
}

.viewer-strip {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.shot {
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.shot.active {
  border-color: var(--mm-primary);
}

.shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}

.viewer-dots {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #c8cbe0;
  cursor: pointer;
}

.dot.active {
  width: 22px;
  background: var(--mm-primary);
}

.section-shell {
  padding: 24px;
}

.legal-page {
  width: min(980px, calc(100% - 24px));
  margin: 20px auto 28px;
  display: grid;
  gap: 14px;
}

.legal-shell,
.support-shell {
  background: var(--mm-white);
  border: 1px solid var(--mm-border);
  border-radius: 20px;
  box-shadow: var(--mm-shadow);
  padding: 24px;
}

.legal-shell h1,
.support-shell h1 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.06;
}

.legal-meta {
  margin-top: 8px;
  font-size: 14px;
  color: var(--mm-muted);
}

.legal-shell h2 {
  margin: 20px 0 8px;
  font-size: 24px;
}

.legal-shell p,
.legal-shell li,
.support-shell p,
.support-shell li {
  color: var(--mm-muted);
}

.legal-shell ul {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.support-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.support-card {
  border: 1px solid var(--mm-border);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.support-card h3 {
  margin: 0;
  font-size: 20px;
}

.support-card p {
  margin: 8px 0 0;
}

.tag-pill {
  margin-top: 10px;
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: #e8f1ff;
  color: var(--mm-primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.section-kicker {
  margin: 0;
  color: var(--mm-primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-kicker-chrome {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.feature-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.feature-card {
  border: 1px solid var(--mm-border);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.feature-card h3 {
  margin: 0;
  font-size: 20px;
}

.feature-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.feature-icon-a {
  color: #0b57d0;
  background: #e8f1ff;
}

.feature-icon-b {
  color: #146c2e;
  background: #e6f5eb;
}

.feature-icon-c {
  color: #0054b5;
  background: #edf4ff;
}

.feature-icon-d {
  color: #8a4b00;
  background: #fff6df;
}

.feature-card p {
  margin: 7px 0 0;
  color: var(--mm-muted);
}

.steps-line {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.step-card {
  border: 1px solid var(--mm-border);
  border-radius: 12px;
  padding: 16px;
  background:
    linear-gradient(175deg, rgba(0, 102, 218, 0.08) 0%, transparent 56%),
    #fff;
}

.step-card span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--mm-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

.step-card h3 {
  margin: 10px 0 6px;
  font-size: 19px;
}

.step-card p {
  margin: 0;
  color: var(--mm-muted);
}

.link-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.link-card {
  border: 1px solid var(--mm-border);
  border-radius: 12px;
  padding: 14px;
}

.link-card h3 {
  margin: 0;
  font-size: 17px;
}

.link-card p {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}

.faq-list {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--mm-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-q {
  width: 100%;
  border: 0;
  background: #fff;
  color: var(--mm-text);
  text-align: left;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-q span {
  font-size: 21px;
  color: var(--mm-primary-dark);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease;
}

.faq-a p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--mm-muted);
}

.faq-item.open .faq-a {
  max-height: 180px;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.memo-footer {
  border-top: 1px solid var(--mm-border);
  background: #fff;
}

.memo-footer-inner {
  width: min(1160px, calc(100% - 24px));
  margin: 0 auto;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--mm-muted);
  font-size: 13px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1080px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .memo-top-inner {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px 0;
  }

  .memo-brand {
    grid-column: 1 / -1;
  }

  .memo-nav {
    grid-column: 1 / -1;
    margin-left: 0;
    overflow: auto;
    padding-bottom: 2px;
  }

  .memo-nav::-webkit-scrollbar {
    height: 6px;
  }

  .memo-nav::-webkit-scrollbar-thumb {
    background: #d8dbec;
    border-radius: 99px;
  }

  .feature-grid,
  .steps-line,
  .link-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .memo-page,
  .memo-top-inner,
  .memo-footer-inner {
    width: calc(100% - 16px);
  }

  .memo-top {
    position: static;
  }

  .hero-copy,
  .hero-viewer,
  .section-shell {
    padding: 18px;
  }

  .viewer-strip {
    display: none;
  }

  .memo-footer-inner {
    min-height: auto;
    padding: 10px 0;
    display: grid;
    justify-items: center;
    text-align: center;
  }
}
