/* Shared R10 policy document projection. Same LTR geometry; logical edges prepare RTL. */
html:has(.pl1-policy) {
  scroll-behavior: auto;
}
.pl1-policy {
  display: grid;
  grid-template-columns:
    minmax(24px, 1fr) minmax(0px, 244px) minmax(0px, 800px)
    minmax(24px, 1fr);
  column-gap: 64px;
  margin: 0px;
  padding: 0px 0px 72px;
  font-size: 16px;
  line-height: 1.9;
  color: rgb(67, 83, 107);
}
.pl1-policy * {
  box-sizing: border-box;
}
.pl1-policy a {
  -webkit-tap-highlight-color: rgba(43, 106, 245, 0.133);
  touch-action: manipulation;
}
.pl1-policy .pl1-hero {
  display: contents;
}
.pl1-masthead {
  scroll-margin-top: 76px;
  grid-column: 1 / -1;
  background:
    radial-gradient(at 88% 0px, rgba(233, 231, 255, 0.55), transparent 55%),
    linear-gradient(
      116deg,
      rgb(246, 249, 255),
      rgb(243, 246, 252) 65%,
      rgb(238, 244, 255)
    );
  border-bottom: 1px solid rgb(228, 234, 244);
  margin-bottom: 56px;
}
.pl1-masthead-inner {
  width: 91%;
  max-width: 1312px;
  margin: auto;
  padding: 30px 0px 0px;
}
.pl1-crumb {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  color: rgb(97, 115, 139);
  min-height: 28px;
  margin-bottom: 24px;
}
.pl1-crumb a {
  color: rgb(82, 104, 136);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.pl1-crumb span[aria-hidden] {
  color: rgb(165, 178, 197);
}
.pl1-policy h1 {
  font-size: 48px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: rgb(27, 43, 68);
  margin: 0px 0px 34px;
  max-width: none;
}
.pl1-policies {
  display: flex;
  gap: 40px;
  align-items: stretch;
}
.pl1-policies a {
  position: relative;
  min-height: 60px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: rgb(89, 107, 131);
  padding: 10px 2px;
  transition: color 0.18s;
}
.pl1-policies a[aria-current="page"] {
  color: rgb(40, 91, 217);
  font-weight: 600;
}
.pl1-policies a[aria-current="page"]::after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: 0px;
  inset-inline: 0px;
  background: linear-gradient(95deg, rgb(104, 88, 233), rgb(39, 101, 233));
  border-radius: 3px 3px 0px 0px;
}
.pl1-sidebar {
  grid-area: 2 / 2 / span 5;
  align-self: start;
  position: sticky;
  top: 108px;
  min-width: 0px;
  padding: 0px 0px 22px;
  border-inline-end: 1px solid rgb(228, 234, 243);
}
.pl1-toc-title {
  display: block;
  color: rgb(104, 122, 145);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-block: 0px 17px;
  margin-inline: 0px 18px;
}
.pl1-toc ul {
  display: block;
  list-style: none;
  padding: 0px;
  margin: 0px;
}
.pl1-toc li {
  margin: 0px;
  padding: 0px;
}
.pl1-toc a {
  position: relative;
  display: flex;
  gap: 12px;
  min-height: 48px;
  padding-block: 13px;
  padding-inline: 12px 18px;
  margin: 0px 0px 4px;
  color: rgb(88, 107, 133);
  font-size: 14px;
  line-height: 1.65;
  text-decoration: none;
  border-start-start-radius: 7px;
  border-end-start-radius: 7px;
  transition:
    color 0.16s,
    background-color 0.16s;
}
.pl1-toc a::before {
  content: attr(data-pl1-number);
  font-size: 11px;
  line-height: 23px;
  font-variant-numeric: tabular-nums;
  color: rgb(138, 153, 176);
  flex: 0 0 16px;
}
.pl1-toc a[aria-current="location"] {
  background: linear-gradient(90deg, rgb(242, 245, 255), rgb(249, 251, 255));
  color: rgb(40, 91, 217);
  box-shadow: rgb(61, 101, 231) -2px 0px inset;
}
.pl1-toc a[aria-current="location"]::before {
  color: rgb(86, 120, 205);
}
.pl1-scope,
.pl1-section {
  grid-column: 3;
  min-width: 0px;
  scroll-margin-top: 108px;
  padding: 32px 0px;
  border-width: 0px 0px 1px;
  border-style: none none solid;
  border-color: currentcolor currentcolor rgb(228, 234, 243);
  border-image: none;
  background: transparent;
}
.pl1-scope {
  grid-row: 2;
  padding-top: 0px;
}
.pl1-section:nth-of-type(2) {
  grid-row: 3;
}
.pl1-section:nth-of-type(3) {
  grid-row: 4;
}
.pl1-section:nth-of-type(4) {
  grid-row: 5;
}
.pl1-section:last-of-type {
  border-bottom: 0px;
  padding-bottom: 24px;
}
.pl1-number {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: rgb(122, 141, 172);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.pl1-policy h2 {
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.018em;
  color: rgb(27, 43, 68);
  font-weight: 600;
  margin: 0px 0px 14px;
  max-width: none;
  overflow-wrap: normal;
}
.pl1-policy p {
  font-size: 16px;
  line-height: 1.95;
  color: rgb(78, 96, 122);
  margin: 0px;
  max-width: none;
  text-decoration: none;
}
.pl1-policy p a {
  color: rgb(40, 91, 217);
  text-decoration: underline 1px rgb(175, 193, 237);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
  font-weight: 500;
}
.pl1-end {
  grid-area: 6 / 3;
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid rgb(228, 234, 243);
}
.pl1-end a {
  min-height: 44px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: rgb(82, 107, 147);
  text-decoration: none;
  padding-block: 8px;
  padding-inline: 14px 0px;
}
.pl1-policy :is(a, button):focus-visible {
  outline: rgb(37, 94, 228) solid 3px;
  outline-offset: 4px;
}
.pl1-scope:focus,
.pl1-section:focus {
  outline: none;
}
.pl1-policy ::selection {
  background: rgb(221, 231, 255);
  color: rgb(27, 43, 68);
}
@media (hover: hover) and (pointer: fine) {
  .pl1-crumb a:hover,
  .pl1-policies a:hover,
  .pl1-end a:hover {
    color: rgb(36, 91, 209);
  }
}
@media (hover: hover) and (pointer: fine) {
  .pl1-toc a:hover {
    background: rgb(240, 244, 252);
    color: rgb(36, 91, 209);
  }
}
@media (hover: hover) and (pointer: fine) {
  .pl1-policy p a:hover {
    color: rgb(23, 62, 167);
    text-decoration-color: currentcolor;
  }
}
@media (max-width: 1200px) and (min-width: 901px) {
  .pl1-policy {
    grid-template-columns: 4.5% minmax(0px, 210px) minmax(0px, 1fr) 4.5%;
    column-gap: 32px;
  }
}
@media (max-width: 1200px) and (min-width: 901px) {
  .pl1-policy > :is(.pl1-scope, .pl1-section, .pl1-end) {
    margin-inline-end: -32px;
  }
}
@media (max-width: 1200px) and (min-width: 901px) {
  .pl1-policy h2 {
    font-size: 23px;
  }
}
@media (max-width: 900px) {
  .pl1-policy {
    display: block;
    padding-bottom: 56px;
  }
}
@media (max-width: 900px) {
  .pl1-masthead {
    margin-bottom: 0px;
  }
}
@media (max-width: 900px) {
  .pl1-masthead-inner {
    padding-top: 26px;
  }
}
@media (max-width: 900px) {
  .pl1-policy h1 {
    font-size: 42px;
    margin-bottom: 26px;
  }
}
@media (max-width: 900px) {
  .pl1-policies a {
    min-height: 56px;
  }
}
@media (max-width: 900px) {
  .pl1-sidebar {
    position: static;
    width: 91%;
    max-width: 800px;
    margin: 32px auto 0px;
    padding: 20px 22px;
    border: 1px solid rgb(225, 232, 244);
    border-radius: 12px;
    background: rgb(248, 250, 255);
  }
}
@media (max-width: 900px) {
  .pl1-toc-title {
    margin-bottom: 10px;
  }
}
@media (max-width: 900px) {
  .pl1-toc ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
  }
}
@media (max-width: 900px) {
  .pl1-toc a {
    border-radius: 6px;
    min-height: 48px;
    margin: 0px;
    padding: 10px 8px;
    font-size: 13px;
  }
}
@media (max-width: 900px) {
  .pl1-toc a[aria-current="location"] {
    box-shadow: none;
    background: rgb(237, 242, 255);
  }
}
@media (max-width: 900px) {
  .pl1-scope,
  .pl1-section,
  .pl1-end {
    width: 91%;
    max-width: 800px;
    margin-inline: auto;
    scroll-margin-top: 92px;
    padding: 30px 0px;
  }
}
@media (max-width: 900px) {
  .pl1-scope {
    padding-top: 36px;
  }
}
@media (max-width: 900px) {
  .pl1-end {
    padding: 12px 0px 0px;
    margin-top: 0px;
  }
}
@media (max-width: 900px) {
  .pl1-policy h2 {
    font-size: 24px;
  }
}
@media (max-width: 600px) {
  .pl1-policy {
    padding-bottom: 40px;
  }
}
@media (max-width: 600px) {
  .pl1-masthead-inner {
    width: calc(100% - 40px);
    padding-top: 22px;
  }
}
@media (max-width: 600px) {
  .pl1-crumb {
    font-size: 11px;
    gap: 10px;
    margin-bottom: 17px;
  }
}
@media (max-width: 600px) {
  .pl1-policy h1 {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 24px;
  }
}
@media (max-width: 600px) {
  .pl1-policies {
    gap: 0px;
    justify-content: space-between;
  }
}
@media (max-width: 600px) {
  .pl1-policies a {
    font-size: 13px;
    min-height: 52px;
    padding: 10px 0px;
    line-height: 1.5;
  }
}
@media (max-width: 600px) {
  .pl1-sidebar {
    width: calc(100% - 40px);
    margin-top: 24px;
    padding: 18px 16px 14px;
  }
}
@media (max-width: 600px) {
  .pl1-toc-title {
    font-size: 11px;
    margin-bottom: 9px;
  }
}
@media (max-width: 600px) {
  .pl1-toc ul {
    display: block;
  }
}
@media (max-width: 600px) {
  .pl1-toc a {
    font-size: 13px;
    line-height: 1.6;
    padding: 11px 8px;
    gap: 10px;
    min-height: 44px;
  }
}
@media (max-width: 600px) {
  .pl1-toc a::before {
    line-height: 21px;
  }
}
@media (max-width: 600px) {
  .pl1-scope,
  .pl1-section,
  .pl1-end {
    width: calc(100% - 40px);
    scroll-margin-top: 90px;
    padding: 27px 0px;
  }
}
@media (max-width: 600px) {
  .pl1-scope {
    padding-top: 32px;
  }
}
@media (max-width: 600px) {
  .pl1-policy h2 {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
}
@media (max-width: 600px) {
  .pl1-policy p {
    font-size: 16px;
    line-height: 1.9;
  }
}
@media (max-width: 600px) {
  .pl1-number {
    font-size: 11px;
    margin-bottom: 10px;
  }
}
@media (max-width: 600px) {
  .pl1-end {
    padding: 10px 0px 0px;
  }
}
@media (max-width: 600px) {
  .pl1-policy .pl1-section:last-of-type {
    padding-bottom: 22px;
  }
}
@media (max-width: 360px) {
  .pl1-policies a {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .pl1-policy h1 {
    font-size: 31px;
  }
}
@media (max-width: 360px) {
  .pl1-policy h2 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pl1-policy * {
    transition: none !important;
    animation: auto ease 0s 1 normal none running none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .pl1-policy {
    display: block;
    padding: 0px;
    font-size: 11pt;
  }
}
@media print {
  .pl1-policy .pl1-masthead {
    background: none;
    border: 0px;
    margin: 0px 0px 22pt;
  }
}
@media print {
  .pl1-masthead-inner,
  .pl1-scope,
  .pl1-section {
    width: 100%;
    max-width: none;
    margin: 0px;
    padding: 15pt 0px;
  }
}
@media print {
  .pl1-masthead-inner {
    padding: 0px;
  }
}
@media print {
  .pl1-policy h1 {
    font-size: 24pt;
    margin: 0px;
  }
}
@media print {
  .pl1-policy h2 {
    font-size: 14pt;
    break-after: avoid;
  }
}
@media print {
  .pl1-policy p {
    font-size: 11pt;
    line-height: 1.7;
    color: rgb(0, 0, 0);
  }
}
@media print {
  .pl1-number {
    color: rgb(85, 85, 85);
  }
}
@media print {
  .pl1-policy a {
    color: rgb(0, 0, 0);
  }
}
@media print {
  .pl1-policy .pl1-section {
    break-inside: avoid;
  }
}

@media (min-width: 901px) {
  [dir="rtl"] .pl1-toc a[aria-current="location"] {
    box-shadow: rgb(61, 101, 231) 2px 0px inset;
  }
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
/* German compounds need language-aware breaks before the overflow fallback. */
html[lang="de"] {
  hyphens: auto;
}
body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-hans);
  font-size: 16px;
  line-height: 1.65;
}
body[data-script="arabic"],
body[data-script="arabic"] main {
  font-family: var(--font-arabic);
}
body[data-script="japanese"],
body[data-script="japanese"] main {
  font-family: var(--font-japanese);
}
body[data-script="korean"],
body[data-script="korean"] main {
  font-family: var(--font-korean);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a {
  color: #255ee4;
  text-underline-offset: 4px;
}
a:hover {
  color: #1749b7;
}
button,
input,
textarea,
summary {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
button,
a,
summary {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--color-action);
  outline-offset: 4px;
}
button:disabled {
  cursor: not-allowed;
}
img {
  max-width: 100%;
  height: auto;
}
button {
  color: inherit;
}
.skip-link {
  position: fixed;
  inset-block-start: -90px;
  inset-inline-start: 16px;
  z-index: 100;
  padding: 12px 20px;
  background: white;
  color: #1b2b44;
}
.skip-link:focus {
  inset-block-start: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #1d2944;
  text-decoration: none;
  white-space: nowrap;
}
.r2-brand-mark {
  width: 33px;
  height: 32px;
  flex: 0 0 33px;
  letter-spacing: 0;
  display: inline-grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 100% 0, #83adff70, transparent 70%),
    linear-gradient(145deg, #467cf0, #245ddd);
  border-radius: 9px;
  color: white;
  line-height: 1;
  font-size: 24px;
  font-weight: 650;
}
.l1-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 30;
}
.l1-head-inner {
  display: flex;
  align-items: center;
}
.l1-tools {
  display: flex;
  align-items: center;
}
.l1-nav {
  display: flex;
  align-items: center;
}
.l1-product-menu,
.l1-locale {
  position: relative;
}
.l1-product-menu > summary,
.l1-locale > summary {
  list-style: none;
}
.l1-product-menu > summary::-webkit-details-marker,
.l1-locale > summary::-webkit-details-marker {
  display: none;
}
.l1-mega,
.l1-locale-panel {
  position: absolute;
  z-index: 50;
}
.menu-toggle {
  display: none;
}
.l1-locale-panel a {
  display: flex;
  justify-content: space-between;
}
.l1-nav .primary-cta {
  background: linear-gradient(108deg, #6550e5, #185fdc);
  color: #fff;
}
.ui-icon {
  fill: currentColor !important;
  stroke: none !important;
  vertical-align: middle;
  flex-shrink: 0;
}
.ui-button {
  touch-action: manipulation;
}
.c1-qr-window > img {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  inset: auto !important;
  object-fit: contain;
}
.c1-dialog:not([open]) {
  display: none;
}
.c1-dialog {
  margin: auto;
}
.c1-dialog::backdrop {
  background: rgba(18, 31, 49, 0.55);
}
.y1-young .y1-hero-badge {
  object-fit: contain;
}
.y1-young [data-expression-output],
.y2-keepsake p {
  overflow-wrap: anywhere;
}
.anchor-alias {
  scroll-margin-top: 100px;
}
.pl1-policy [tabindex="-1"] {
  scroll-margin-top: 100px;
}
[dir="rtl"] .y2-editor,
[dir="rtl"] .y2-preview,
[dir="rtl"] .pl1-policy {
  text-align: start;
}
[dir="rtl"] .y1-button .ui-icon,
[dir="rtl"] .y1-text-link .ui-icon {
  transform: scaleX(-1);
}
@media (max-width: 1100px) {
  .menu-toggle {
    display: flex;
  }
  .l1-nav:not(.open) {
    display: none;
  }
  .l1-nav.open {
    display: flex;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .s7-header,
  .r3-footer,
  .skip-link,
  .pl1-sidebar,
  .pl1-policies,
  .pl1-crumb,
  .pl1-end {
    display: none !important;
  }
  .pl1-policy {
    padding: 0 !important;
  }
  .pl1-policy section {
    break-inside: avoid;
  }
}
.review-index,
.review-not-found,
.foundation-sample {
  max-width: 960px;
  margin: 48px auto;
  padding: 24px;
  font-size: 18px;
  line-height: 1.8;
}
.review-index li {
  margin-block: 18px;
}
.foundation-sample h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.foundation-sample input {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  border: 1px solid #7a8aa1;
  border-radius: 8px;
  padding: 10px;
  margin-block: 12px;
}
.foundation-sample button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #9ba7b8;
  border-radius: 8px;
  background: #fff;
  margin-inline-end: 8px;
  color: #1b2b44;
}
.foundation-sample button[aria-selected="true"] {
  background: #255ee4;
  color: #fff;
}
.foundation-sample .ui-tabs {
  margin-block: 24px;
}
.foundation-sample [role="tablist"] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.foundation-sample [role="tabpanel"] {
  padding: 20px;
  border: 1px solid #dfe6f0;
  border-radius: 8px;
  margin-block: 10px;
}
.foundation-sample summary {
  min-height: 44px;
}
.foundation-sample progress {
  width: 100%;
  margin-block: 20px;
}
.review-notice {
  font-size: 14px;
  color: #59697f;
  border-bottom: 1px solid #dfe6f0;
  padding-block-end: 16px;
}
.foundation-sample .c1-dialog {
  max-width: min(90vw, 550px);
  padding: 28px;
}
.sample-motion {
  margin-block: 32px;
}

/* Semantic inline layout formerly supplied by prototype-only body selectors. */
.l1-product-menu > summary,
.l1-locale > summary {
  display: flex;
  align-items: center;
}
/* WCAG text contrast fixes; geometry and hierarchy remain R10. */
.pl1-toc-title,
.pl1-policy .pl1-number {
  color: #60718a;
}
.y2-keepsake-foot {
  color: #657189;
}

.y2-chat > span {
  color: #596c8c;
}
.brand,
.r3-foot-logo {
  font-family: var(--font-hans);
}
/* Preserve the sealed mobile wordmark proportions. */
@media (max-width: 600px) {
  .r2-brand-mark {
    width: 29px !important;
    height: 29px !important;
    font-size: 18px !important;
  }
}

/* R10 shared navigation: the homepage now participates in the active-route state. */
body .s7-header .l1-nav > a:not(.primary-cta)[aria-current="page"] {
  background: transparent !important;
  color: #315ed1 !important;
}
body .s7-header .l1-nav > a:not(.primary-cta)[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 13px;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, #7166e6, #3d7be6);
  border-radius: 2px;
}
@media (max-width: 1100px) {
  body .s7-header .l1-nav > a:not(.primary-cta)[aria-current="page"] {
    background: #f0f4ff !important;
  }
  body .s7-header .l1-nav > a:not(.primary-cta)[aria-current="page"]::after {
    display: none;
  }
}
/* R34 transient press feedback is independent from persistent selection. */
:where(main) button:not(:disabled):active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px #1b2b4424;
}
:where(.b1-brain, .s1-spatial) :is(.b1-button, .s1-button):active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px #1b2b4424;
}

/* Ten-language local previews: keep every option reachable in short viewports. */
body .s7-header .l1-locale-panel {
  width: max-content;
  background: #fff;
  max-height: calc(100dvh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.l1-locale-panel bdi {
  overflow-wrap: anywhere;
}

body .s7-header .l1-locale-panel a {
  text-decoration: none;
}
/* Keep the brand lockup and literal identifiers in their original direction. */
.brand,
.r3-foot-logo {
  direction: ltr;
  unicode-bidi: isolate;
}
[dir="rtl"] .c1-path-arrow .ui-icon {
  transform: scaleX(-1);
}

/* Grid must not stretch a Latin brand lockup across its RTL column. */
#site-footer.r3-footer .r3-foot-logo {
  width: max-content;
  white-space: nowrap;
  overflow-wrap: normal;
}
/* Keep the mark and wordmark intact when a browser enlarges text. */
#site-footer.r3-footer .r3-foot-logo > span {
  flex-shrink: 0;
}
