.nav .brand{cursor:default}
.nav-social{display:inline-flex;align-items:center;gap:2px;margin-inline-end:6px}
.nav-social-icon{color:var(--ink,#151515);display:grid;place-items:center;width:34px;height:36px;transition:color .16s ease}
.nav-social-icon svg{display:block;width:18px;height:18px;fill:currentColor}
@media(hover:hover){.nav-social .social-x:hover{color:#1d9bf0}.nav-social .social-in:hover{color:#0a66c2}}
@media(max-width:480px){.nav-social{gap:0;margin-inline-end:3px}.nav-social-icon{width:28px}}
@media(max-width:360px){.nav-in{padding-inline:10px}.nav-social-icon{width:24px}.nav-in .nav-cta{gap:3px}}
@media(prefers-reduced-motion:reduce){.nav-social-icon{transition:none}}
body:has(.download-gate[open]){overflow:hidden}
dialog.download-gate,body.subpage dialog.download-gate{position:fixed;inset:0;box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);border:0;border-radius:24px;padding:0;margin:auto;overflow:hidden;color:#151515;background:#fff;box-shadow:0 24px 90px #14121e30;font:inherit}
.download-gate::backdrop{background:#14121e68;backdrop-filter:blur(4px)}.dg-inner{position:relative;padding:34px 30px 30px}.dg-close{position:absolute;right:12px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:#f2f2f2;font-size:23px;line-height:1;cursor:pointer}.dg-inner h2{font-size:26px;line-height:1.2;letter-spacing:-.035em;margin:0 20px 8px 0}.dg-lead,.dg-note{color:#515151;font-size:14px;line-height:1.5;margin:0 0 18px}.dg-note{margin:12px 0;font-size:13px}.dg-modes{border-bottom:1px solid #ddd;display:flex;gap:20px}.dg-modes button{border:0;border-bottom:2px solid transparent;background:none;padding:9px 1px;cursor:pointer;font:inherit;color:#666}.dg-modes button[aria-pressed=true]{border-color:#151515;color:#151515;font-weight:600}.dg-field{display:grid;gap:7px;margin:18px 0 0;font-size:14px}.dg-field input{box-sizing:border-box;width:100%;min-height:42px;padding:8px 12px;border-radius:10px;border:1px solid #ccc;background:#fff;color:#111;font:inherit;font-size:16px}.dg-check{display:grid;grid-template-columns:16px minmax(0,1fr);gap:9px;align-items:start;margin:16px 0 0;font-size:13px;line-height:20px}.dg-check input{width:16px;height:16px;margin:2px 0 0}.dg-check a{color:inherit;text-decoration:underline}.dg-inner small{font-size:12px;color:#606060}.dg-inner .dg-submit{width:100%;margin-top:20px;min-height:44px}.dg-platforms{list-style:none;margin:20px 0 0;padding:0}.dg-platforms li{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-top:1px solid #e5e5e5}.dg-platforms span{font-size:14px;color:#666}.download-gate :focus-visible{outline:2px solid #6148ff;outline-offset:2px}.dg-inner h2:focus{outline:none}
@media(max-width:480px){.dg-inner{padding:30px 20px 22px}.dg-inner h2{font-size:23px}.nav-in{gap:6px}.nav-cta{gap:5px}}


.dg-label-row{display:flex;align-items:center;justify-content:space-between;gap:2px 8px;flex-wrap:wrap;line-height:22px}.dg-label-row>span{display:inline-flex;gap:3px;align-items:center}
.dg-label-row>span,.dg-label-row>a{font-size:13px;line-height:1.4;color:#555}
.dg-label-row a{color:#292929;text-decoration:underline;text-underline-offset:2px}
.dg-password{position:relative}.dg-password input{padding-inline-end:64px}
.dg-password button{position:absolute;inset-inline-end:4px;top:50%;transform:translateY(-50%);min-height:36px;padding:0 8px;border:0;border-radius:7px;background:transparent;color:#444;cursor:pointer;font:inherit;font-size:13px}
.download-gate .dg-error{margin:0;color:#a62222;font-size:13px;line-height:1.4}
.dg-error:empty{display:none}.dg-check+.dg-error:not(:empty){margin-top:5px}
.dg-field input[aria-invalid=true]{border-color:#a62222}

.download-gate .dg-primary[hidden]{display:none}
.dg-text-action{font:inherit;font-size:13px;color:#292929;padding:0;border:0;background:none;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.dg-help-back{display:block;margin:14px auto 0;min-height:32px}

/* The dialog owns the close control; only its contents scroll. */
.download-gate[open]{display:flex;flex-direction:column}
.download-gate .dg-inner{min-height:0;overflow-y:auto;overscroll-behavior:contain}
.download-gate .dg-close{z-index:1}
@media(max-width:600px),(max-height:600px){
  .download-gate .dg-close{position:static;flex:none;align-self:flex-end;margin:6px 8px 0;width:40px;height:40px}
  .download-gate .dg-inner{padding-top:0}
  .dg-label-row{align-items:center}
}
/* Keep the 44px hit area in the margins, with each visible label on a 22px line. */
.dg-label-row .dg-text-action{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;margin-block:-16px -6px;padding:10px 0 0;line-height:20px}
.dg-inner form>small{display:block;margin-top:5px;line-height:18px}
.dg-note{margin:12px 0 0}
@media(max-width:380px){.dg-label-row{column-gap:4px}.dg-label-row .dg-text-action{padding-inline:0}.dg-label-row>span{flex-wrap:wrap}}

.google-preview { margin-top: 10px; }
form:has(.google-preview) > .pill[type="submit"] { background: var(--violet); border-color: var(--violet); color: white; }
form:has(.google-preview) > .pill[type="submit"]:hover { background: #5039df; border-color: #5039df; }
form:has(.google-preview) > .pill[type="submit"]:active { background: #4430bf; border-color: #4430bf; }
.google-choice {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 0 16px; line-height: 1.2;
  border: 1px solid #babac3; border-radius: 999px;
  background: #fff; color: #292833;
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
}
.google-choice:hover { background: #f7f6fb; border-color: #96939f; }
.google-choice:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.google-choice:active { background: #efedf6; }
.google-selected { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.google-selected button { min-height: 44px; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.google-preview [hidden], form[data-google-mode] [data-email-only] { display: none !important; }

.dg-head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px 4px 30px;
}
.dg-head h2 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.035em; }
.dg-head h2:focus { outline: none; }
.download-gate .dg-head .dg-close { position: static; flex: none; width: 40px; height: 40px; margin: 0; }
.download-gate .dg-inner { padding-top: 0; }
.dg-modes button { min-height: 44px; }
.download-gate:has(.dg-help) .dg-head h2 { visibility: hidden; }
.google-choice svg { width: 16px; height: 16px; flex: none; }
form:has(.google-preview) > .pill[type="submit"], .google-choice {
  box-sizing: border-box; width: 100%; min-height: 44px;
}
@media (max-width: 600px), (max-height: 760px) {
  dialog.download-gate, body.subpage dialog.download-gate {
    width: min(420px, calc(100vw - 20px)); max-width: calc(100vw - 20px); max-height: calc(100dvh - 16px);
  }
  .dg-head { padding: 8px 12px 0 18px; }
  .dg-head h2 { font-size: 22px; }
  .download-gate .dg-inner { padding: 0 18px 12px; }
  .download-gate .dg-note { margin-top: 6px; }
  .download-gate .dg-field { margin-top: 9px; gap: 3px; }
  .dg-label-row .dg-text-action { margin-block: -8px -2px; padding: 0; }
  .dg-label-row .dg-invite-prompt { display: none; }
  .download-gate .dg-check { margin-top: 12px; }
  .download-gate .dg-submit { margin-top: 12px; }
  .download-gate .google-preview { margin-top: 6px; }
}
@media (max-height: 600px) {
  .dg-head { padding-top: 4px; }
  .download-gate .dg-check, .download-gate .dg-submit { margin-top: 9px; }
}
