:root {
  --porcelain: #FCF7ED;
  --blush: #FFF2EB;
  --rose: #C26E80;
  --berry: #943354;
  --ink: #4A2B3B;
  --ink-soft: #8A6870;
  --hairline: rgba(194, 110, 128, 0.22);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
:where(img[width][height]) { height: auto; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--porcelain); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--berry); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

header.top { position: sticky; top: 0; z-index: 10; background: rgba(252, 247, 237, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 21px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
header nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
header nav a { color: var(--ink-soft); text-decoration: none; }
header nav a[aria-current="page"], header nav a:hover { color: var(--ink); }

.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero .flower { position: absolute; right: -60px; top: -30px; width: 300px; opacity: .55; pointer-events: none; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); margin: 0 0 12px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 5vw, 56px); margin: 0 0 14px; position: relative; }
.meta { color: var(--ink-soft); font-size: 15px; margin: 0; position: relative; }

.summary { background: var(--blush); border-radius: 22px; padding: 26px 30px; margin: 8px 0 48px; }
.summary h2 { font-size: 22px; margin: 0 0 12px; }
.summary ul { margin: 0; padding-left: 20px; }
.summary li { margin: 4px 0; }

.layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding-bottom: 96px; }
.layout > * { min-width: 0; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.toc p { font-weight: 600; margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--ink); }

article { max-width: 72ch; }
article h2 { font-size: 28px; margin: 48px 0 12px; padding-top: 8px; border-top: 1px solid var(--hairline); padding-top: 32px; }
article h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
article h3 { font-size: 20px; margin: 28px 0 8px; }
article p, article li { color: #5a3a48; }
article ul, article ol { padding-left: 22px; }
article li { margin: 6px 0; }
article strong { color: var(--ink); font-weight: 600; }
.caps { text-transform: uppercase; font-size: 15px; letter-spacing: .01em; }
.table-wrap { overflow-x: auto; margin: 16px 0 8px; border: 1px solid var(--hairline); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
th { background: #fff; font-weight: 600; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
.note { background: #fff; border-left: 3px solid var(--rose); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 18px 0; }

footer { border-top: 1px solid var(--hairline); padding: 28px 0 40px; font-size: 14px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; margin-bottom: 32px; padding: 20px; background: #fff; border-radius: 16px; border: 1px solid var(--hairline); }
  header nav { gap: 16px; font-size: 14px; }
  .hero .flower { width: 200px; opacity: .35; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  header.top, .toc, .hero .flower, footer nav { display: none; }
  .layout { grid-template-columns: 1fr; }
  body { background: #fff; }
}

.requests { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.requests li { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--hairline); border-radius: 14px; padding: 12px 16px; }
.requests a.req { font-weight: 600; text-decoration: none; color: var(--berry); }
.requests a.req:hover { text-decoration: underline; }
.requests span { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }

/* Question pages (/questions and its translations, built by marketing/web/questions/build.py) */
.qa { padding-bottom: 96px; }
.qa article { max-width: 72ch; }
.qa article h2:first-child { margin-top: 0; }
.qa-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 36px 0 8px; }
.qa-cta span { color: var(--ink-soft); font-size: 15px; }
.btn { display: inline-flex; align-items: center; background: var(--berry); color: #fff; text-decoration: none; font: 600 16px/1 var(--sans); padding: 15px 24px; border-radius: 999px; box-shadow: 0 10px 24px -12px rgba(148, 51, 84, .7); }
.btn:hover { background: #7f2a48; }
.qa-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.qa-list a { display: grid; gap: 6px; height: 100%; background: #fff; border: 1px solid var(--hairline); border-radius: 18px; padding: 20px 22px; text-decoration: none; color: var(--ink); }
.qa-list a:hover { border-color: var(--rose); }
.qa-list strong { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.25; }
.qa-list span { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
footer .qa-langs { margin-top: 14px; font-size: 13px; justify-content: flex-start; gap: 6px 10px; }
.qa-langs a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Help pages (/help and its translations, built by marketing/web/help/build.py) */
.help-group { margin: 48px 0 6px; }
.help-group:first-of-type { margin-top: 8px; }
.help-shot { margin: 24px 0 32px; }
.help-shot img { display: block; width: 100%; max-width: 560px; height: auto; border-radius: 18px; }
.help-device img { max-width: 300px; border-radius: 0; }
.help-shot figcaption { margin-top: 10px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.help-avail { margin-top: 40px; max-width: 72ch; }
.qa article ul li { margin: 0 0 10px; }
.qa .muted { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* Help search */
.help-search { position: relative; max-width: 640px; margin: 8px 0 28px; }
.help-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.help-search input { width: 100%; box-sizing: border-box; font: 17px/1.4 var(--sans); color: var(--ink); padding: 14px 20px 14px 50px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none' stroke='%238A6870' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='7.5' cy='7.5' r='5.5'/%3E%3Cpath d='M11.6 11.6 16 16'/%3E%3C/svg%3E") no-repeat 20px 50%;
  border: 1px solid var(--hairline); border-radius: 999px; -webkit-appearance: none; appearance: none; }
.help-search input::placeholder { color: var(--ink-soft); }
.help-search input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(194, 110, 128, 0.18); }
.qa-list[hidden], .help-group[hidden] { display: none; }
.help-none { margin: 0 0 32px; color: var(--ink-soft); max-width: 72ch; }
