/* dianamanifest.app — Support, Subscription, Privacy and Terms, on the site's own standard: the same
   cream page with blush side bands, header and footer as the presentation, the text in a white card. */
@font-face { font-family: "Instrument Serif"; src: url(/marketing/instrument-serif.woff2) format("woff2"); font-display: block; }
@font-face { font-family: "Instrument Serif"; src: url(/marketing/instrument-serif-italic.woff2) format("woff2"); font-style: italic; font-display: block; }
:root {
  --cream: #f7f1eb; --white: #fffdfc; --plum: #321b35; --plum-hover: #4a2c4d; --ink: #2a2328; --body: #4a3f47;
  --muted: #6e6166; --champagne: #b9826b; --line: #ecdfd6; --band: #eedbd0;
  --serif: "Instrument Serif", Georgia, serif; --sans: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav, 70px) + 20px); scrollbar-width: thin; scrollbar-color: #321b3542 transparent; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); font: 16.5px/1.75 var(--sans);
  background: var(--cream) url('/marketing/background-e-vector.svg?v=6') left center / cover no-repeat fixed; }
a { color: var(--champagne); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 32px/1 var(--serif); letter-spacing: -.04em; color: var(--plum); text-decoration: none; }

/* Header: the presentation's own (presentation.css › .mast), with these four pages as its links. */
:root { --nav: 70px; --gutter: clamp(22px, 5.4vw, 100px); --paper: #f7f1eb; --body-ink: #4a3e43; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1480px); margin-inline: auto; }
.mast { height: var(--nav); position: sticky; top: 0; z-index: 12; color: var(--body-ink); background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); border-bottom: 1px solid #e8dad1; }
.mast a { color: inherit; text-decoration: none; }
.mast .brand { gap: 9px; font: 42px/.94 var(--serif); letter-spacing: -.055em; color: var(--plum); }
.mast .brand .lotus { width: .85em; }
.nav-wrap, .nav-end { display: flex; align-items: center; }
.nav-wrap { height: 100%; justify-content: space-between; gap: 30px; }
.chapter-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.chapter-nav a { position: relative; padding: 10px 0; font: 500 14px/1.5 var(--sans); white-space: nowrap; transition: color .25s ease; }
.chapter-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.chapter-nav a:hover, .chapter-nav a[aria-current] { color: var(--plum); }
.chapter-nav a:hover::after, .chapter-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-end { gap: 6px; }
.pill-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 600 14px/1 var(--sans); white-space: nowrap; transition: background-color .25s ease, color .25s ease, transform .25s ease; }
.pill-button .arrow { width: 15px; height: 15px; transition: transform .25s ease; }
.mast .pill-solid { background: var(--plum); color: #fff7ef; }
.mast .pill-solid:hover { background: #45284a; transform: translateY(-1px); }
.pill-solid:hover .arrow { transform: translateX(3px); }
.mast .pill-ghost { color: var(--plum); background: transparent; padding: 0 16px; }
.pill-ghost:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.pill-ghost:hover .arrow { transform: translate(2px, -2px); }
.locale-switch { position: relative; }
.locale-button { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; border-radius: 999px; font: 600 12px/1 var(--sans); letter-spacing: .08em; cursor: pointer; list-style: none; transition: background-color .25s ease; }
.locale-button::-webkit-details-marker { display: none; }
.locale-button:hover, .locale-switch[open] .locale-button { background: color-mix(in srgb, currentColor 9%, transparent); }
.locale-globe { opacity: .8; } .locale-chevron { transition: transform .25s ease; } .locale-switch[open] .locale-chevron { transform: rotate(180deg); }
.locale-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; min-width: 176px; margin: 0; padding: 6px; list-style: none; border-radius: 18px; background: #fffdfc; box-shadow: 0 0 0 1px #ead9cf, 0 22px 44px -20px #321b3566; animation: menu-in .18s ease; }
.locale-menu li { margin: 0; }
.locale-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 0 14px; border-radius: 12px; font: 500 14px/1 var(--sans); color: var(--body-ink); transition: background-color .2s ease, color .2s ease; }
.locale-menu a:hover { background: #f6ece6; color: var(--plum); }
.locale-menu [aria-current] { color: var(--plum); font-weight: 600; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } }
.mobile-nav { display: none; }
.mobile-nav summary { cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
@media (max-width: 1100px) { :root { --gutter: clamp(20px, 4vw, 40px); } .chapter-nav { gap: 18px; } .nav-wrap { gap: 15px; } .chapter-nav a { font-size: 13px; } .nav-end { gap: 10px; } }
@media (max-width: 800px) {
  .chapter-nav { display: none; } .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; align-content: center; gap: 5px; width: 44px; height: 44px; list-style: none; justify-items: center; }
  /* The site's menu button (presentation.css): three lines that turn into a cross when open. */
  .mobile-nav summary i { height: 2px; width: 21px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
  .mobile-nav[open] summary i:first-child { transform: translateY(7px) rotate(45deg); }
  .mobile-nav[open] summary i:nth-child(2) { opacity: 0; }
  .mobile-nav[open] summary i:last-child { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav:not([open]) nav { display: none; }
  .mobile-nav nav { background: #f7f0ea; animation: menu-in .2s ease; }
  .mobile-nav nav a { min-height: 44px; display: flex; align-items: center; }
  .mobile-nav nav { position: absolute; top: calc(100% - 1px); left: 0; right: 0; background: #f4ece3; border-bottom: 1px solid #bfafa9; box-shadow: 0 8px 15px #3b263815; padding: 12px var(--gutter); display: grid; }
  .mobile-nav nav a { padding: 12px 0; border-bottom: 1px solid #d6c8bf; font-size: 15px; } .mobile-nav nav a:last-child { border: 0; }
  .mobile-nav nav a[aria-current] { color: var(--plum); font-weight: 600; }
  .open-app { display: none; } .mobile-nav .menu-open { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--plum); }
}
@media (max-width: 700px) { :root { --nav: 59px; --gutter: clamp(17px, 5.8vw, 28px); } .mast .brand { font-size: 35px; } .mast .brand .lotus { width: .73em; } .nav-end { gap: 9px; } .locale-button { padding: 0 8px; } .nav-start { padding: 0 14px; font-size: 13px; } }
@media (max-width: 480px) { .mast .brand { font-size: 30px; gap: 6px; } .nav-wrap { gap: 8px; } .nav-end { gap: 4px; } .locale-button { gap: 4px; padding: 0 6px; } .nav-start { min-height: 40px; padding: 0 12px; gap: 6px; } .nav-start .arrow { display: none; } .mobile-nav summary { width: 36px; } }

/* The text, in the app's white card. */
.doc-page { flex: 1; width: min(100% - 40px, 940px); margin: 0 auto; padding: clamp(38px, 5vw, 76px) 0 clamp(56px, 7vw, 104px); }
.doc { padding: clamp(28px, 6vw, 76px); border: 1px solid #e9d8d1; border-radius: clamp(26px, 3vw, 44px); background: #fffaf6; box-shadow: 0 18px 48px -40px #321b354d; overflow-wrap: anywhere; }
h1 { font: 400 clamp(48px, 6vw, 78px)/1 var(--serif); letter-spacing: -.035em; color: var(--plum); margin: 0 0 16px; }
/* Each section opens under a thin rule, so a long page reads as chapters rather than one block. */
h2 { font: 400 clamp(27px, 2.4vw, 32px)/1.15 var(--serif); letter-spacing: -.01em; color: var(--plum); margin: 40px 0 12px; padding-top: 34px; border-top: 1px solid var(--line); }
h2:first-of-type { margin-top: 34px; }
.lead + h2, .updated + h2 { border-top: 0; padding-top: 0; }
p, li { color: var(--body); max-width: 70ch; }
p { margin: 0 0 14px; }
ul { padding-left: 20px; } li { margin-bottom: 10px; padding-left: 4px; } li::marker { color: var(--champagne); }
strong { color: var(--plum); font-weight: 600; }
.doc a:not(.pill-button) { color: #9a6653; text-decoration: underline; text-decoration-color: #9a665366; text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.doc a:not(.pill-button):hover { text-decoration-color: currentColor; }
.updated { display: inline-block; color: var(--muted); font-size: 13px; letter-spacing: .02em; margin-bottom: 26px; padding: 5px 12px; border-radius: 999px; background: #f6ebe4; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--body); max-width: none; padding: 18px 22px; border-left: 2px solid #cf9a9e; border-radius: 0 16px 16px 0; background: #f8ece8; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; margin: 14px 0 20px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
th { color: var(--plum); font-weight: 600; background: #f8f0ea; }
td:first-child { width: 58%; }

/* Footer: the site's plum one, smaller. */
.site-foot { background: var(--plum); color: #f7ede6; border-radius: 32px 32px 0 0; }
.foot-wrap { width: min(100% - 48px, 1180px); margin: 0 auto; padding: 44px 0 22px; display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr); gap: 24px 48px; align-items: start; }
.site-foot .brand { color: #fff7ef; font-size: 44px; }
.foot-brand p { margin: 6px 0 0; font: italic 20px var(--serif); color: #e9c3ae; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.site-foot nav a { color: #f7ede6; text-decoration: none; font-size: 14px; min-height: 36px; display: inline-flex; align-items: center; }
.site-foot nav a:hover, .site-foot nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.languages { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid #f7ede61f; }
.languages a { color: #cbb3bd; }
.languages a[aria-current] { color: #fff7ef; font-weight: 600; }
.site-foot small { color: #cbb3bd; font-size: 12px; }

@media (max-width: 760px) {
  .doc { border-radius: 24px; }
  .foot-wrap { grid-template-columns: 1fr; gap: 20px; }
  .languages { grid-column: auto; }
  table, tbody, tr, th, td { display: block; } tr:first-child { display: none; } td:first-child { width: auto; font-weight: 600; color: var(--ink); border-bottom: 0; padding-bottom: 2px; }
  .site-foot { border-radius: 24px 24px 0 0; }
}

/* The header's solid button rises under the pointer: kept on its own layer so it isn't redrawn (and
   blurred) as it moves, as on the site. */
@media (hover: hover) { .mast .pill-solid { will-change: transform; } }
@media (max-width:700px) and (pointer:coarse) {
  body { background-image:url('/marketing/background-e-vector.svg?v=6'); background-position:center bottom; background-size:100% auto; background-color:#fce6e9; }
}
