@font-face {
  font-family: 'Landing Jakarta';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../../fonts/plus-jakarta-sans/plus-jakarta-sans-variable.ttf') format('truetype');
}

.landing-page {
  --landing-accent: #2563eb;
  --landing-action: #286d68;
  --landing-action-hover: #205954;
  --landing-ink: #172337;
  --landing-muted: #697586;
  --landing-line: #e5e9ef;
  --landing-panel: #fff;
  position: relative;
  min-height: 100dvh;
  background: #f8f9fc;
  color: var(--landing-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.landing-page a {
  color: inherit;
  text-decoration: none;
}

.landing-page button {
  cursor: pointer;
}

.landing-page button:disabled {
  cursor: default;
  opacity: 0.6;
}

.landing-page :is(a, button):focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 4px;
}

.landing-page [hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--landing-ink);
}

.skip-link:focus {
  top: 12px;
}

.landing-shell {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
}

.landing-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 32px 48px;
  padding: 40px 0 0;
}

.landing-hero {
  display: grid;
  min-width: 0;
  gap: 24px;
}

.hero-copy h1 {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-size: clamp(28px, 2.55vw, 36px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.25;
  text-wrap: balance;
}

.hero-description {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--landing-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-artwork {
  min-width: 0;
  margin: 0;
}

.hero-artwork img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 5%, #000 95%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 5%, #000 95%, transparent),
    linear-gradient(to bottom, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}

.landing-features {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 12px;
  padding-top: 4px;
  scroll-margin-top: 24px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 12px 4px;
  border: 1px solid #dce4ef;
  border-radius: 8px;
  background: #ffffffb3;
  color: var(--landing-ink);
  text-align: center;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.feature-icon {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  display: grid;
  transform: translateY(-50%);
  place-items: center;
  width: 24px;
  height: 24px;
  color: #5374ad;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  position: relative;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.landing-features .feature-description {
  flex: none;
  width: 100%;
  margin: 0 auto;
  color: var(--landing-muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.google-account {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 32px rgb(30 51 87 / 4%);
}

.login-heading h2 {
  margin: 0;
  font-family: 'Landing Jakarta', sans-serif;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.8px;
  line-height: 1.3;
}

.login-heading p {
  margin: 8px 0 0;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.6;
}

.google-account-controls {
  min-width: 0;
}

.google-sign-in,
.google-sign-in-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dce2eb;
  border-radius: 8px;
  background: #fff;
  color: var(--landing-ink);
  font-size: 13px;
  font-weight: 500;
}

.google-sign-in:not(:disabled):hover {
  border-color: #b7c5dc;
  background: #fafbfe;
}

.google-sign-in-container {
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.google-sign-in-container > div {
  max-width: 100%;
}

.google-g {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
}

.google-account-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  background: #f8faff;
}

.google-account-avatar {
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e7efff;
  color: var(--landing-accent);
  font-size: 13px;
  font-weight: 600;
}

.google-account-profile strong,
.google-account-profile div > span {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.5;
}

.google-account-profile div > span {
  color: var(--landing-muted);
  font-size: 13px;
}

.google-account-status {
  margin: 12px 0;
  color: #ae4242;
  font-size: 13px;
  line-height: 1.6;
}

.login-help {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 14px 0;
}

.login-help button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--landing-muted);
  font-size: 13px;
}

.login-help button:hover {
  color: var(--landing-accent);
}

.login-help svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.google-mini {
  color: var(--landing-accent);
  font-size: 14px;
  font-weight: 650;
}

.login-submit {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--landing-action);
  border-radius: 8px;
  background: var(--landing-action);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 150ms ease;
}

.login-submit:not(:disabled):hover {
  border-color: var(--landing-action-hover);
  background: var(--landing-action-hover);
}

.login-footnote {
  margin: 12px 0 0;
  color: #8a93a2;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.login-footnote a {
  display: inline-block;
  color: var(--landing-muted);
}

.google-account-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.google-account-actions button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--landing-muted);
  font-size: 13px;
}

.privacy-copy {
  padding-top: 22px;
  border-top: 1px solid var(--landing-line);
}

.privacy-eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  color: #6b7c96;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
}

.privacy-eyebrow svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: #6485bc;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy-copy h2 {
  margin: 0 0 10px;
  font-family: 'Landing Jakarta', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.4;
}

.privacy-copy > p:not(.privacy-eyebrow) {
  margin: 0;
  color: var(--landing-muted);
  font-size: 13px;
  line-height: 1.8;
}

.privacy-benefits {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--landing-muted);
  font-size: 12px;
  line-height: 1.6;
  list-style: none;
}

.privacy-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-benefits span {
  display: grid;
  flex: 0 0 16px;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e5f3eb;
  color: #5a9475;
  font-size: 10px;
  font-weight: 600;
}

.landing-start {
  display: none;
}

.landing-menu {
  position: fixed;
  inset: 0 0 0 auto;
  box-sizing: border-box;
  width: min(320px, 85vw);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: max(16px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 0;
  border-left: 1px solid var(--landing-line);
  border-radius: 20px 0 0 20px;
  background: var(--landing-panel);
  color: var(--landing-ink);
  box-shadow: -12px 0 48px rgb(0 0 0 / 12%);
  transform: translateX(100%);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-menu[open] {
  display: flex;
  flex-direction: column;
}

.landing-menu-heading,
.landing-menu-access,
.landing-menu-links,
.landing-menu-footer {
  flex-shrink: 0;
}

.landing-menu.is-open {
  transform: translateX(0);
}

.landing-menu::backdrop {
  background: rgb(13 17 23 / 0%);
  transition: background-color 240ms ease;
}

.landing-menu.is-open::backdrop {
  background: rgb(13 17 23 / 38%);
}

.landing-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--landing-line);
}

.landing-menu-heading h2 {
  margin: 0;
  color: inherit;
  font-family: 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.landing-menu-close {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--landing-muted);
}

.landing-menu-close svg,
.landing-menu-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-menu-google-icon svg {
  stroke: none;
}

.landing-menu-access,
.landing-menu-links {
  display: grid;
  gap: 4px;
}

.landing-menu-access {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--landing-line);
}

.landing-menu-action {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
}

.landing-menu-icon {
  display: grid;
  flex: 0 0 20px;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--landing-muted);
}

.landing-menu-google-icon {
  color: inherit;
}

#landing-menu-google {
  border-color: color-mix(in srgb, var(--landing-action) 28%, var(--landing-line));
  background: color-mix(in srgb, var(--landing-action) 8%, var(--landing-panel));
  font-weight: 600;
}

.landing-menu-footer {
  margin-top: auto;
  padding-top: 24px;
}

.landing-menu-legal {
  display: grid;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--landing-line);
  color: var(--landing-muted);
}

.landing-menu-legal .landing-menu-action {
  min-height: 44px;
  font-size: 12px;
}

.landing-menu-tagline {
  margin: 24px 0 0;
  color: var(--landing-muted);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.landing-menu-tagline span {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
}

.landing-menu-action:not(:disabled):hover,
.landing-menu-close:hover {
  background: color-mix(in srgb, var(--landing-muted) 8%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .landing-menu,
  .landing-menu::backdrop {
    transition: none;
  }
}

.landing-start-dialog {
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow-y: auto;
  border: 1px solid var(--landing-line);
  border-radius: 18px;
  background: #fff;
  color: var(--landing-ink);
  box-shadow: 0 24px 80px rgb(0 0 0 / 24%);
}

.landing-start-dialog::backdrop {
  background: rgb(13 17 23 / 55%);
  backdrop-filter: blur(4px);
}

.landing-page:has(.landing-start-dialog[open], .landing-menu[open]) {
  overflow: hidden;
}

.landing-page .landing-start-dialog .google-account {
  width: 100%;
  max-width: none;
  gap: 20px;
  margin: 0;
  padding: 28px 24px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

.landing-start-dialog .login-heading {
  padding-right: 28px;
}

.landing-start-dialog .login-heading h2 {
  font-size: 23px;
}

.landing-start-dialog .google-account-controls {
  position: relative;
  display: grid;
  gap: 12px;
}

.landing-start-dialog .google-sign-in-container:empty {
  position: absolute;
  width: 100%;
  min-height: 0;
  visibility: hidden;
}

.landing-start-dialog .login-help,
.landing-start-dialog .login-footnote {
  display: none;
}

.landing-start-dialog .google-account-actions,
.landing-start-dialog .google-account-status {
  margin: 0;
}

.landing-start-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--landing-muted);
}

.landing-start-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.privacy-summary,
.landing-details-toggle,
.landing-footer-links {
  display: none;
}

.landing-details {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.landing-how,
.landing-why {
  min-width: 0;
  padding: 24px;
  border: 1px solid #e1e8f3;
  border-radius: 16px;
  background: #ffffff80;
}

.landing-why {
  border-color: #e7eefb;
  background: #eef4ff;
}

.landing-details-heading h2 {
  margin: 0;
  color: var(--landing-ink);
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.4;
}

.landing-details-heading p {
  margin: 4px 0 0;
  color: #526b98;
  font-size: 14px;
  line-height: 1.6;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.landing-steps li {
  position: relative;
  min-width: 0;
  text-align: center;
}

.landing-detail-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #e0e8f7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 4px rgb(38 72 140 / 7%);
  color: var(--landing-accent);
}

.landing-detail-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-detail-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.landing-steps .landing-detail-icon {
  margin: 0 auto 12px;
}

.landing-steps li:not(:last-child)::after {
  position: absolute;
  top: 22px;
  right: -15px;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border-top: 2px solid #7895c2;
  border-right: 2px solid #7895c2;
  content: '';
}

.landing-details h3 {
  margin: 0;
  color: var(--landing-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.landing-steps h3 {
  min-height: 36px;
}

.landing-steps p,
.landing-reasons p {
  margin: 4px 0 0;
  color: #5c6d87;
  font-size: 13px;
  line-height: 1.6;
}

.landing-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.landing-reasons li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-width: 0;
}

@media (max-width: 1100px) {
  .landing-details {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .landing-how,
  .landing-why {
    padding: 22px;
    border-radius: 12px;
  }

  .landing-details-heading h2 {
    font-size: 20px;
  }

  .landing-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .landing-steps li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    text-align: left;
  }

  .landing-steps .landing-detail-icon {
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .landing-steps h3 {
    min-height: 0;
  }

  .landing-steps li:not(:last-child)::after {
    display: none;
  }

  .landing-reasons {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
.landing-footer {
  grid-column: 1 / -1;
  padding: 20px 0 24px;
  border-top: 1px solid var(--landing-line);
  color: #8993a2;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.landing-footer p {
  margin: 0;
}

.landing-page .notes-pin-launcher {
  display: none;
}

.feature:hover,
.feature:focus-visible {
  border-color: #adc5e8;
  background: #eff5ff;
  box-shadow: 0 3px 10px rgb(38 72 140 / 7%);
}

.feature[aria-expanded='true'] {
  border-color: #8eafe0;
  background: #e9f2ff;
}

.landing-feature-popup {
  position: fixed;
  z-index: 50;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 28px;
  overflow-y: auto;
  border: 1px solid #dce5f1;
  border-radius: 18px;
  outline: none;
  background: #fff;
  box-shadow:
    0 16px 56px rgb(30 51 87 / 16%),
    0 2px 8px rgb(30 51 87 / 5%);
  color: var(--landing-ink);
}

.landing-feature-popup-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 20px;
}

.landing-feature-popup-icon {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #e0eafb;
  border-radius: 14px;
  background: #eff5ff;
  color: #4b78bc;
}

.landing-feature-popup-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-feature-popup h2 {
  margin: 0;
  font-family: 'Landing Jakarta', sans-serif;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.6px;
  line-height: 1.4;
}

.landing-feature-popup-intro {
  margin: 20px 0;
  color: #657286;
  font-size: 14px;
  line-height: 1.8;
}

.landing-feature-popup-points {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  background: #f8fafd;
  list-style: none;
}

.landing-feature-popup-points li {
  position: relative;
  padding-left: 14px;
  color: #45566e;
  font-size: 13px;
  line-height: 1.7;
}

.landing-feature-popup-points li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7e9fc9;
  content: '';
}

.landing-feature-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #77859a;
  font-size: 22px;
  line-height: 1;
}

.landing-feature-popup-close:hover {
  background: #eff3f9;
  color: var(--landing-ink);
}

@media (max-width: 560px) {
  .landing-feature-popup {
    padding: 22px;
    border-radius: 14px;
  }

  .landing-feature-popup h2 {
    font-size: 19px;
  }
}
@media (min-width: 901px) {
  .landing-main {
    row-gap: 24px;
  }

  .landing-hero {
    grid-column: 1;
    grid-row: 1 / span 3;
    grid-template-rows: subgrid;
  }

  .hero-artwork {
    align-self: start;
  }

  .google-account {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: stretch;
    justify-content: space-between;
  }

  .landing-details {
    grid-row: 4;
  }

  .landing-footer {
    grid-column: 1 / -1;
    grid-row: 5;
  }
}
@media (max-width: 1100px) {
  .landing-shell {
    width: calc(100% - 64px);
  }

  .landing-main {
    grid-template-columns: minmax(0, 1fr) 330px;
    column-gap: 32px;
    padding-top: 32px;
  }

  .google-account {
    padding: 24px;
  }

  .landing-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .landing-shell {
    width: min(680px, calc(100% - 48px));
  }

  .landing-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 4.5vw, 34px);
  }

  .landing-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .google-account {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .landing-shell {
    width: calc(100% - 40px);
  }

  .landing-main {
    padding-top: 28px;
  }

  .landing-hero {
    gap: 20px;
  }

  .hero-copy h1 {
    font-size: 28px;
    letter-spacing: -1.1px;
  }

  .hero-description {
    margin-top: 10px;
    font-size: 14px;
  }

  .landing-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .landing-features .feature {
    justify-content: center;
    min-height: 44px;
    padding: 8px 6px;
    border-radius: 8px;
  }

  .landing-features .feature-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
    font-size: 12px;
    text-align: left;
  }

  .landing-features .feature-icon {
    position: static;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    transform: none;
  }

  .landing-features .feature-icon svg {
    width: 20px;
    height: 20px;
  }

  .landing-features .feature-description {
    display: none;
  }

  .google-account {
    padding: 24px;
    border-radius: 12px;
  }

  .landing-footer {
    padding-top: 16px;
    font-size: 12px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .landing-main {
    gap: 20px;
    padding-top: 24px;
  }

  .landing-hero {
    gap: 20px;
  }

  .landing-start {
    display: block;
  }

  .landing-start-note {
    margin: 8px 0 0;
    color: var(--landing-muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
  }

  .hero-artwork {
    width: min(100%, 315px);
    margin: 0 auto;
  }

  .landing-main > .privacy-copy {
    display: none;
  }

  .privacy-copy > :not(.privacy-summary) {
    display: none;
  }

  .privacy-summary {
    display: block;
  }

  .privacy-summary h2 {
    margin: 0 0 6px;
    color: var(--landing-ink);
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
  }

  .privacy-summary p {
    margin: 0;
    color: var(--landing-muted);
    font-size: 13px;
    line-height: 1.7;
  }

  .landing-details-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 12px;
    border: 1px solid var(--landing-line);
    border-radius: 12px;
    background: var(--landing-panel);
    color: var(--landing-ink);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    transition:
      background-color 150ms ease,
      border-color 150ms ease;
  }

  .landing-details-toggle:is(:hover, [aria-expanded='true']) {
    border-color: color-mix(in srgb, var(--landing-ink) 20%, var(--landing-line));
    background: color-mix(in srgb, var(--landing-action) 5%, var(--landing-panel));
  }

  .landing-details-symbol {
    display: grid;
    flex: 0 0 30px;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgb(40 109 104 / 10%);
    color: var(--landing-action);
  }

  .landing-details-label {
    flex: 1;
  }

  .landing-details-toggle svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .landing-details-toggle[aria-expanded='true'] .landing-details-chevron {
    transform: rotate(180deg);
  }

  .landing-footer {
    padding: 0 0 20px;
    border-top: 0;
    font-size: 11px;
  }

  .landing-footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
    color: var(--landing-muted);
    font-size: 12px;
  }

  .landing-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (prefers-color-scheme: dark) {
  .landing-details-symbol {
    color: #8acbc3;
  }

  .landing-start-dialog {
    background: #161b22;
  }

  .hero-artwork img {
    filter: brightness(0.65) saturate(0.85);
  }

  .landing-page {
    --landing-accent: #79b8ff;
    --landing-ink: #e6edf3;
    --landing-muted: #a4aebb;
    --landing-line: #30363d;
    --landing-panel: #161b22;
    background: #0d1117;
    color: var(--landing-ink);
  }

  .landing-page
    :is(
      .skip-link,
      .feature,
      .google-account,
      .google-sign-in,
      .google-sign-in-container,
      .landing-how,
      .landing-detail-icon,
      .landing-feature-popup
    ) {
    border-color: var(--landing-line);
    background: #161b22;
    color: var(--landing-ink);
  }

  .landing-page :is(.google-account-profile, .landing-why, .landing-feature-popup-points) {
    border-color: var(--landing-line);
    background: #131e2e;
  }

  .landing-page :is(.feature-icon, .landing-detail-icon, .landing-feature-popup-icon) {
    color: var(--landing-accent);
  }

  .landing-page :is(.google-account-avatar, .landing-feature-popup-icon) {
    border-color: #344b6a;
    background: #1b2d47;
    color: var(--landing-accent);
  }

  .landing-page
    :is(
      .login-heading h2,
      .privacy-copy h2,
      .google-account-profile strong,
      .landing-feature-popup h2
    ) {
    color: var(--landing-ink);
  }

  .landing-page
    :is(
      .login-footnote,
      .privacy-eyebrow,
      .landing-details-heading p,
      .landing-steps p,
      .landing-reasons p,
      .landing-footer,
      .landing-feature-popup-intro,
      .landing-feature-popup-points li,
      .landing-feature-popup-close
    ) {
    color: var(--landing-muted);
  }

  .landing-page .privacy-eyebrow svg {
    stroke: var(--landing-accent);
  }

  .landing-page .privacy-benefits span {
    background: #19382b;
    color: #8cdbac;
  }

  .landing-page .google-account-status {
    color: #ffb4a8;
  }

  .landing-page :is(.feature:hover, .feature:focus-visible, .feature[aria-expanded='true']) {
    border-color: #537dae;
    background: #1b2d47;
  }

  .landing-page :is(.google-sign-in:not(:disabled):hover, .landing-feature-popup-close:hover) {
    background: #21262d;
    color: var(--landing-ink);
  }
}

/* Only the workspace entry action uses centered text and pastel colors. */
.landing-home :is(.google-account-controls, .landing-start) {
  font-family: 'Landing Jakarta', sans-serif;
  text-align: center;
}

.landing-home .login-submit {
  display: grid;
  place-items: center;
  border-color: #d1c5ec;
  background: linear-gradient(180deg, #eee7fb, #e3d8f5);
  color: #4d3b72;
  font-family: 'Landing Jakarta', sans-serif;
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.landing-home .login-submit:hover {
  border-color: #bda9e2;
  background: #dcd0f1;
}

.landing-home .landing-feature-popup-intro {
  white-space: pre-line;
}

@media (max-width: 560px) {
  .landing-home .google-account {
    display: none;
  }
}

.landing-home .entry-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.landing-home .entry-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--landing-muted);
  font-size: 11px;
  line-height: 1.5;
}

.landing-home .entry-step-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #f4f4ff;
  color: #787db3;
}

.landing-home .entry-step-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-home .entry-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--landing-muted);
  font-size: 11px;
  line-height: 1.5;
  list-style: none;
}

.landing-home .entry-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.landing-home .entry-benefits svg {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  stroke: #8a8fbe;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (prefers-color-scheme: dark) {
  .landing-home .entry-step-icon {
    background: #202d3d;
    color: #9dbce6;
  }
}

/* Keep feature content vertically centered, with left-aligned icon/title rows. */
.landing-home .landing-features .feature {
  justify-content: center;
}

.landing-home .landing-features .feature-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  box-sizing: border-box;
  width: 100%;
  padding: 0 10px;
  text-align: left;
}

.landing-home .landing-features .feature-icon {
  position: static;
  flex: 0 0 auto;
  transform: none;
}

.landing-home .landing-footer {
  border-top: 0;
}

.landing-home .google-account {
  border-color: #dedff4;
  background: linear-gradient(165deg, #e4e4fa 0, #f1f2fd 100px, #fdfdff 200px, #fff 270px);
  box-shadow: 0 8px 32px #6468870a;
}

.landing-home .google-account .privacy-copy {
  border-color: #e0e1f3;
}

@media (prefers-color-scheme: dark) {
  .landing-home .google-account {
    border-color: #4d4e76;
    background: linear-gradient(165deg, #383453 0, #2a2c42 100px, #212938 200px, #1c2432 270px);
  }

  .landing-home .entry-step-icon {
    background: #363652;
    color: #c5c4ee;
  }
}

/* Temporary homepage while the service is preparing to launch. */
.landing-prelaunch .landing-main {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  min-height: 78dvh;
  padding-top: 0;
}

.landing-prelaunch .prelaunch-notice {
  align-self: center;
  justify-self: center;
  width: min(100%, 640px);
  padding: 64px 0;
  text-align: center;
}

.prelaunch-notice h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.4;
  text-wrap: balance;
}

.prelaunch-notice p {
  margin: 16px 0 32px;
  color: var(--landing-muted);
  font-size: 16px;
  line-height: 1.8;
  text-wrap: pretty;
}

.landing-prelaunch .prelaunch-notice .login-submit {
  width: fit-content;
  min-width: 180px;
  max-width: 100%;
  min-height: 48px;
  margin: 0 auto;
  padding: 12px 24px;
  font-size: 16px;
}

.landing-prelaunch .landing-footer {
  grid-row: auto;
}
