/* Inter (SIL Open Font License 1.1, see content/v3/fonts/OFL.txt), self-hosted. All scripts: Latin, Latin Ext, Cyrillic, Greek, Vietnamese. The browser downloads only the files a page needs. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-greek-ext.woff2") format("woff2"); unicode-range: U+1F00-1FFF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-greek.woff2") format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --accent: #C62828;
  --accent-strong: #B71C1C;
  --tint: #FCF3F2;
  --tint-line: #F3DCD9;
  --ink: #171A1F;
  --text: #3B4149;
  --muted: #5F6873;
  --line: #E4E7EB;
  --surface: #F5F6F8;
  --wrap: 1160px;
  --r: 12px;
}
.theme-cb { --accent: #1565C0; --accent-strong: #0D47A1; --tint: #F1F6FD; --tint-line: #D9E6F7; }
.theme-asr { --accent: #C62828; --accent-strong: #B71C1C; --tint: #FCF3F2; --tint-line: #F3DCD9; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: #fff; color: var(--text); font: 400 16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body.is-doc { background: var(--surface); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.3; font-weight: 650; letter-spacing: -.01em; margin: 1.7em 0 .6em; }
h1 { font-size: 30px; margin-top: 0; letter-spacing: -.02em; }
h2 { font-size: 23px; }
h3 { font-size: 19px; }
h4 { font-size: 17px; }
h5 { font-size: 15px; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
body[style*="top: 40px"] .site-header { top: 40px; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -.02em; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.site-nav a, .site-nav summary { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; color: var(--ink); text-decoration: none; font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.3; }
.site-nav a:hover, .site-nav summary:hover, .has-sub details[open] > summary { background: #fff; }
.site-nav .active > a { background: #fff; color: var(--accent-strong); }
.site-nav .nav-contact a { background: var(--accent); color: #fff; }
.site-nav .nav-contact a:hover { background: var(--accent-strong); }
.site-nav img { width: 20px; height: 20px; margin-right: 10px; border-radius: 5px; }
.has-sub { position: relative; }
.has-sub summary { cursor: pointer; list-style: none; }
.has-sub summary::-webkit-details-marker { display: none; }
.has-sub summary::after { content: ""; display: inline-block; margin-left: 8px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.has-sub details > ul { display: none; position: absolute; top: 100%; left: 0; z-index: 10; min-width: 220px; margin: 0; padding: 10px 6px 6px; list-style: none; background: transparent; }
.has-sub details > ul::before { content: ""; position: absolute; inset: 6px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); z-index: -1; }
.has-sub details[open] > ul { display: block; }
.has-sub details[open] > summary::after { transform: translateY(-2px) rotate(180deg); }
.has-sub details > ul a { display: flex; width: 100%; min-height: 44px; border-radius: 8px; }
.has-sub details > ul a:hover { background: #fff; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-btn { display: none; margin-left: auto; padding: 9px; border-radius: 999px; cursor: pointer; color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.nav-btn svg { display: block; width: 24px; height: 24px; fill: currentColor; }
.nav-toggle:focus-visible + .nav-btn { outline: 2px solid var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 72px; padding: 28px 0; color: var(--muted); font-size: 14px; }
body.is-doc .site-footer { margin-top: 56px; }
.site-footer p { margin: 0; }

/* Buttons */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.play img { display: block; width: 151px; height: 45px; }
.btn { display: inline-flex; align-items: center; min-height: 45px; padding: 0 20px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.btn:hover { background: var(--accent-strong); }

/* Text pages: white reading card on light surface */
.page { padding: 40px 0 0; }
.doc-card { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 48px 56px; overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.prose > :first-child, .prose > div:first-child > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose h2, .prose h3 { padding-top: 1.1em; border-top: 1px solid var(--line); }
.prose h4 { margin-top: 1.5em; }
.prose blockquote { margin: 1em 0; padding: 12px 18px; border-left: 3px solid var(--tint-line); background: var(--surface); border-radius: 0 8px 8px 0; }
.prose hr, hr.featurette-divider { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose img { border-radius: 8px; }
.gap { height: 8px; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink); }
.prose div.lead { font-size: 20px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em; color: var(--ink); margin-bottom: 12px; }
.prose p.lead { font-size: 16px; font-weight: 400; line-height: 1.65; color: var(--text); }
.small { font-size: 14px; }
.text-muted { color: var(--muted); }
.img-responsive { display: block; max-width: 100%; height: auto; }
.prose table { display: block; overflow-x: auto; width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 10px; margin: 16px 0 28px; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose tr > :last-child { border-right: 0; }
.prose tr:last-child > * { border-bottom: 0; }
.prose th, .prose thead td { background: var(--surface); color: var(--ink); font-weight: 600; }
.prose pre, .prose code { font-size: 14px; background: var(--surface); border-radius: 6px; }
.prose code { padding: 1px 5px; }
.prose pre { padding: 14px; overflow-x: auto; }
.prose iframe { max-width: 100%; border: 0; border-radius: 10px; }
.prose input[type=text], .prose input[type=email], .prose input[type=tel], .prose textarea, .prose select { font: inherit; min-height: 44px; padding: 8px 12px; border: 1px solid #7A838D; border-radius: 8px; max-width: 100%; background: #fff; }
.prose button, .prose input[type=submit], .prose input[type=button] { font: inherit; font-weight: 600; min-height: 44px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer; }
.prose button:hover, .prose input[type=submit]:hover { background: var(--accent-strong); }
.prose form { margin: 12px 0 8px; padding: 18px; background: var(--surface); border-radius: var(--r); }
.g-recaptcha { margin: 12px 0; max-width: 100%; overflow: hidden; }
#google_translate_element { margin-bottom: 16px; }

/* ACR Phone banner on legacy ACR pages (original block, static) */
.acr-phone-snackbar { margin: 0 0 28px; padding: 16px 18px; border: 1px solid #D9E6F7; border-radius: var(--r); background: #F1F6FD; }
.acr-phone-snackbar a { color: #0D47A1; }
.acr-phone-ad { display: flex; align-items: center; gap: 16px; }
.acr-phone-logo img { width: 56px; height: 56px; border-radius: 12px; }

/* App sections (home + app pages) */
.app-hero { background: var(--tint); border-bottom: 1px solid var(--tint-line); padding: 64px 0 48px; overflow: hidden; }
.app + .app .app-hero { border-top: 0; }
.app-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.app-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.app-head h1, .app-head h2 { margin: 0; font-size: 36px; letter-spacing: -.025em; border: 0; padding: 0; }
.app-head .sub { display: block; margin-top: 4px; font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.app-head h2.tagline { margin-top: 6px; font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.app-icon { width: 76px; height: 76px; border-radius: 18px; flex: none; background: #fff; border: 1px solid var(--tint-line); }
.app-info .lead { max-width: 32em; }
.app-shots { min-width: 0; }
.shots { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 0; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots > li { flex: 0 0 calc((100% - 16px) / 3); scroll-snap-align: start; scroll-snap-stop: always; }
.shots img { display: block; width: 100%; height: auto; }
.shots-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.shots-nav button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--tint-line); background: #fff; color: var(--ink); cursor: pointer; }
.shots-nav button:hover { border-color: var(--accent); color: var(--accent); }
.shots-nav svg { width: 24px; height: 24px; fill: currentColor; }
.app-body { padding-top: 48px; padding-bottom: 80px; }
.app:last-child .app-body { padding-bottom: 8px; }
.fi { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: var(--accent); }
/* short feature list: balanced columns, hairline rows (no grid gaps) */
.features { list-style: none; padding: 0; margin: 0; column-count: 3; column-gap: 48px; }
.features > li { display: flex; gap: 12px; align-items: flex-start; break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; line-height: 24px; }
.features > li > span { min-width: 0; }
/* detail list: spec rows, title left / description right */
.features.detail { column-count: auto; border-top: 1px solid var(--line); }
.features.detail > li { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; padding: 22px 0; font-weight: 400; color: var(--text); line-height: 1.65; }
.features.detail h3 { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 0; border: 0; font-size: 16px; line-height: 24px; font-weight: 600; }
.features.detail > li > div > :first-child { margin-top: 0; }
.features.detail ul { padding-left: 1.2em; margin: 6px 0 0; }
.features.detail li li::marker { color: var(--accent); }
.features .small { color: var(--muted); }
.app-note { margin-top: 32px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.app-note > :last-child { margin-bottom: 0; }

/* Responsive */
@media (max-width: 960px) {
  .features { column-count: 2; }
  .features.detail > li { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 860px) {
  .nav-btn { display: block; }
  .site-nav { display: none; flex-basis: 100%; margin: 0; padding: 4px 0 16px; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; border-radius: var(--r); padding: 6px; }
  .site-nav a, .site-nav summary { display: flex; width: 100%; min-height: 46px; padding: 0 14px; border-radius: 8px; text-align: left; }
  .has-sub details > ul { position: static; margin: 0; padding: 0 0 4px 12px; min-width: 0; }
  .has-sub details > ul::before { display: none; }
  .app-hero { padding: 40px 0; }
  .app-grid { grid-template-columns: 1fr; gap: 32px; }
  .shots { gap: 0; }
  .shots > li { flex-basis: 100%; }
  .shots img { width: auto; max-width: 100%; max-height: 520px; margin: 0 auto; }
  .shots-nav { justify-content: center; }
  .doc-card { padding: 36px 32px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 25px; }
  h2 { font-size: 21px; }
  .app-head h1, .app-head h2 { font-size: 27px; }
  .app-icon { width: 60px; height: 60px; border-radius: 14px; }
  .features { column-count: 1; }
  .shots img { max-height: 460px; }
  .page { padding-top: 16px; }
  .doc-card { padding: 26px 20px; border-radius: 12px; }
  .prose div.lead { font-size: 18px; }
}
.features .more { display: block; margin-top: 4px; font-weight: 400; font-size: 15px; line-height: 1.6; color: var(--text); }
.features .more ul { padding-left: 1.2em; margin: 4px 0 0; }
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main { flex: 1 0 auto; }
.shots:has(> li:only-child) { justify-content: center; }
@media (min-width: 861px) { .app-shots:has(.shots > li:only-child) .shots > li { flex-basis: 46%; } }
/* items with a sub-list: full-width row of small tags under the columns */
.feature-wide { margin-top: 28px; }
.feature-wide h3 { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 14px; padding: 0; border: 0; font-size: 16px; line-height: 24px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0 0 0 32px; }
.chips > li { margin: 0; padding: 6px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 14px; line-height: 20px; color: var(--ink); }
.chips a { text-decoration: none; }
@media (max-width: 560px) { .chips { padding-left: 0; } }
/* detail rows: title, icon and first description line share one baseline */
.features.detail > li { line-height: 26px; }
.features.detail h3 { line-height: 26px; }
.features.detail .fi { margin-top: 2px; }
.features.detail > li > div > ul > li { line-height: 26px; }
.features.detail .placeholder { margin: 0; }
/* a description that is only a list: show it as compact tags */
.features.detail > li > div > ul:only-child, .features.detail > li > div > ul:has(> li:nth-child(6)) { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.features.detail > li > div > ul:has(> li:nth-child(6)):not(:only-child) { margin-top: 12px; }
.features.detail > li > div > ul:only-child > li, .features.detail > li > div > ul:has(> li:nth-child(6)) > li { margin: 0; padding: 4px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 14px; line-height: 20px; color: var(--ink); }
/* page title and "Translate this page" on one row */
.doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.doc-head > h1, .doc-head > .lead { flex: 1 1 auto; min-width: 0; margin: 0; }
.doc-head .translate { flex: none; text-align: right; }
.doc-head .translate h4 { margin: 0 0 6px; padding: 0; border: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.doc-head #google_translate_element { margin: 0; }
@media (max-width: 640px) {
  .doc-head { flex-direction: column; gap: 14px; }
  .doc-head .translate { text-align: left; }
}
/* mobile menu: panel over the content, does not push the page */
@media (max-width: 860px) {
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; max-height: calc(100vh - 80px); overflow-y: auto; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); }
}
/* link row under policy titles: gray tags like the cloud services list */
.prose .link-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 20px; padding: 0; }
.prose .link-pills > li { margin: 0; }
.prose .link-pills a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 14px; line-height: 20px; color: var(--ink); text-decoration: none; overflow-wrap: normal; }
.prose .link-pills a:hover { border-color: var(--accent); color: var(--accent); }
/* footer links (home page): right of the copyright, same line */
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.footer-links { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 24px; font: inherit; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.footer-links a:hover, .footer-links button:hover { color: var(--ink); text-decoration: underline; }

/* Accessibility (WCAG 2.2 AA) */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
