:root {
  --paper: #ffffff;
  --ink: #0d1726;
  --muted: #617086;
  --line: #dbe3ef;
  --blue: #0057ff;
  --blue-deep: #071c4b;
  --blue-soft: #e9f2ff;
  --font: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 8rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); }
a { color: inherit; }

.page { width: 100%; margin: 0; padding: 1rem 0 2.5rem; overflow-x: clip; }
.page > .site-header, .page > .policy-layout { width: min(calc(100% - 2rem), 72rem); margin-right: auto; margin-left: auto; }
.page > .policy-banner { width: 100%; }
.site-header { position: sticky; top: 0.6rem; z-index: 20; min-height: 4.5rem; padding: 0 0.9rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; background: rgba(255, 255, 255, 0.91); border: 1px solid rgba(255, 255, 255, 0.88); border-radius: 0.9rem; box-shadow: 0 0.55rem 1.6rem rgba(13, 23, 38, 0.09); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
.brand img { width: 8.5rem; height: auto; display: block; }
.desktop-nav { justify-self: center; display: flex; align-items: center; gap: 1.2rem; }
.desktop-nav > a, .services-menu summary { color: #29364a; font-size: 0.84rem; font-weight: 600; text-decoration: none; cursor: pointer; list-style: none; }
.desktop-nav > a:hover, .services-menu summary:hover { color: var(--blue); }
.services-menu { position: relative; }
.services-menu summary { display: flex; align-items: center; gap: 0.3rem; }
.services-menu summary::-webkit-details-marker { display: none; }
.services-menu svg { width: 0.9rem; height: 0.9rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; transition: transform 180ms ease; }
.services-menu[open] svg { transform: rotate(180deg); }
.service-popover { position: absolute; z-index: 3; top: calc(100% + 0.65rem); left: 50%; width: 17.5rem; padding: 0.5rem; display: grid; gap: 0.2rem; background: rgba(255, 255, 255, 0.91); border: 1px solid rgba(255, 255, 255, 0.88); border-radius: 0.9rem; box-shadow: 0 1rem 2rem rgba(13, 23, 38, 0.12); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); transform: translateX(-50%); }
.service-popover a { padding: 0.58rem; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.65rem; align-items: center; border-radius: 0.62rem; color: var(--ink); text-decoration: none; transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.service-popover a:hover { color: var(--blue); background: rgba(233, 242, 255, 0.85); transform: translateX(0.12rem); }
.service-menu-icon { width: 2rem; height: 2rem; display: grid; place-content: center; place-items: center; overflow: hidden; border-radius: 0.55rem; background: rgba(241, 245, 250, 0.88); color: var(--blue); font-size: 0; line-height: 0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.service-menu-icon::before { width: 1rem; height: 1rem; display: block; content: ""; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; transform: translateZ(0); transition: transform 180ms ease; }
.service-popover a:hover .service-menu-icon::before { transform: scale(1.09); }
.service-popover a:nth-child(1) .service-menu-icon::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 18v3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='14' rx='2'/%3E%3Cpath d='M8 21h8M12 18v3'/%3E%3C/svg%3E"); }
.service-popover a:nth-child(2) .service-menu-icon::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='2'/%3E%3Ccircle cx='6' cy='12' r='2'/%3E%3Ccircle cx='18' cy='19' r='2'/%3E%3Cpath d='m8 11 8-5M8 13l8 5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='2'/%3E%3Ccircle cx='6' cy='12' r='2'/%3E%3Ccircle cx='18' cy='19' r='2'/%3E%3Cpath d='m8 11 8-5M8 13l8 5'/%3E%3C/svg%3E"); }
.service-popover a:nth-child(3) .service-menu-icon::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.service-popover a:nth-child(4) .service-menu-icon::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='6' width='16' height='13' rx='3'/%3E%3Cpath d='M9 6V4M15 6V4M9 12h.01M15 12h.01M9 16h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='6' width='16' height='13' rx='3'/%3E%3Cpath d='M9 6V4M15 6V4M9 12h.01M15 12h.01M9 16h6'/%3E%3C/svg%3E"); }
.service-popover a:nth-child(5) .service-menu-icon::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6' height='6' rx='1'/%3E%3Crect x='14' y='4' width='6' height='6' rx='1'/%3E%3Crect x='4' y='14' width='6' height='6' rx='1'/%3E%3Crect x='14' y='14' width='6' height='6' rx='1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6' height='6' rx='1'/%3E%3Crect x='14' y='4' width='6' height='6' rx='1'/%3E%3Crect x='4' y='14' width='6' height='6' rx='1'/%3E%3Crect x='14' y='14' width='6' height='6' rx='1'/%3E%3C/svg%3E"); }
.service-popover strong { display: block; font-size: 0.78rem; font-weight: 700; line-height: 1.25; }
.service-popover small { display: block; margin-top: 0.12rem; color: var(--muted); font-size: 0.62rem; font-weight: 500; line-height: 1.25; }
.header-cta { min-height: 2.45rem; padding: 0.35rem 0.45rem 0.35rem 0.95rem; display: inline-flex; align-items: center; gap: 0.55rem; border-radius: 99rem; background: linear-gradient(135deg, #0a9af5, #0057ff); color: #fff; box-shadow: 0 0.5rem 1.1rem rgba(0, 87, 255, 0.18); font-size: 0.72rem; font-weight: 800; text-decoration: none; }
.header-cta span { width: 1.65rem; height: 1.65rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.22); font-size: 0.95rem; }
.mobile-nav { display: none; }

.policy-banner { position: relative; min-height: 15rem; padding: clamp(1.5rem, 5vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--blue-deep); color: #fff; border-radius: 1rem; box-shadow: 0 1.2rem 2.6rem rgba(7, 28, 75, 0.2); }
.policy-banner::before { content: ""; position: absolute; inset: 0; background: url("../assets/favicon-mattic-hexag.avif") right 2.5rem center / min(19rem, 42%) no-repeat; opacity: 0.18; filter: saturate(0.9) brightness(1.8); }
.policy-banner > * { position: relative; }
.eyebrow { margin: 0 0 0.65rem; color: #7fc7ff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.eyebrow::before { width: 0.82rem; height: 0.82rem; display: inline-block; margin-right: 0.42rem; background: center / contain no-repeat url("../assets/logo-mattic-branca-isolada.avif"); content: ""; vertical-align: -0.12rem; }
h1 { max-width: 14ch; margin: 0; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.98; letter-spacing: 0; }
.banner-copy { max-width: 35rem; margin: 0.8rem 0 0; color: rgba(255, 255, 255, 0.76); font-size: 0.95rem; line-height: 1.6; }
.updated { margin: 1.1rem 0 0; color: rgba(255, 255, 255, 0.62); font-size: 0.75rem; font-weight: 700; }

.policy-layout { margin-top: 2.5rem; display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { position: sticky; top: 120px; align-self: start; }
.toc h2 { margin: 0 0 0.85rem; font-size: 0.82rem; }
.toc nav { display: grid; gap: 0.15rem; }
.toc a { padding: 0.35rem 0 0.35rem 0.75rem; border-left: 2px solid var(--line); color: var(--muted); font-size: 0.72rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--blue); border-left-color: var(--blue); }

.document { min-width: 0; padding-bottom: 1rem; }
.document > section { margin-top: 2.7rem; }
.document > section:first-child { margin-top: 0; }
h2 { margin: 0 0 0.8rem; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; }
h3 { margin: 1.35rem 0 0.5rem; font-size: 0.95rem; line-height: 1.4; }
p, li { color: var(--muted); font-size: 0.94rem; line-height: 1.7; }
p { margin: 0 0 0.95rem; }
ul { margin: 0.7rem 0 0.95rem; padding-left: 1.25rem; }
li + li { margin-top: 0.25rem; }
.document a { color: var(--blue); font-weight: 800; }
.contact-box { padding: 1.1rem 1.2rem; background: var(--blue-soft); border-left: 3px solid var(--blue); border-radius: 0 0.6rem 0.6rem 0; }
.contact-box strong { display: block; margin-bottom: 0.35rem; font-size: 0.85rem; }
.contact-box a { display:inline-flex; align-items:center; min-height:24px; text-decoration:underline; }
.notice { padding: 1rem; background: #fff8eb; border: 1px solid #f3dfb8; border-radius: 0.6rem; }
.notice p { margin: 0; color: #73571f; font-size: 0.82rem; line-height: 1.55; }

.site-footer { position: relative; margin-top: 2.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); overflow: hidden; background: #07101e; color: #e6f1ff; border-radius: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-brand img { width: min(100%, 12rem); height: auto; }
.footer-brand p { max-width: 19rem; margin: 1rem 0; color: #9eb0c6; font-size: 0.78rem; line-height: 1.6; }
.footer-contact { display: grid; gap: 0.35rem; }
.footer-contact a { color: #dfeaff; font-size: 0.75rem; font-weight: 700; text-decoration: none; }
.footer-contact a:first-child { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-contact a:first-child::before { width: 0.95rem; height: 0.95rem; flex: 0 0 auto; content: ""; background: currentColor; -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.footer-contact a:nth-child(2) { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-contact a:nth-child(2)::before { width: 0.95rem; height: 0.95rem; flex: 0 0 auto; content: ""; background: currentColor; -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.7a8.4 8.4 0 0 1-12.4 7.4L3.5 20.5l1.4-4.4A8.4 8.4 0 1 1 20.5 11.7Z'/%3E%3Cpath d='M9 8.3c.2-.4.4-.4.7-.4h.5c.2 0 .4.1.5.4l.8 1.8c.1.2.1.4 0 .6l-.5.6c-.1.1-.2.3-.1.5.5 1 1.3 1.8 2.4 2.3.2.1.3.1.5-.1l.7-.8c.2-.2.4-.2.6-.1l1.7.8c.3.1.4.3.4.5 0 .7-.4 1.4-1 1.6-.5.2-1.3.2-2.5-.4-1.1-.5-2.4-1.6-3.3-2.8-.7-.9-1.2-2-1.2-2.8 0-.5.2-1 .4-1.4Z'/%3E%3C/svg%3E"); mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.7a8.4 8.4 0 0 1-12.4 7.4L3.5 20.5l1.4-4.4A8.4 8.4 0 1 1 20.5 11.7Z'/%3E%3Cpath d='M9 8.3c.2-.4.4-.4.7-.4h.5c.2 0 .4.1.5.4l.8 1.8c.1.2.1.4 0 .6l-.5.6c-.1.1-.2.3-.1.5.5 1 1.3 1.8 2.4 2.3.2.1.3.1.5-.1l.7-.8c.2-.2.4-.2.6-.1l1.7.8c.3.1.4.3.4.5 0 .7-.4 1.4-1 1.6-.5.2-1.3.2-2.5-.4-1.1-.5-2.4-1.6-3.3-2.8-.7-.9-1.2-2-1.2-2.8 0-.5.2-1 .4-1.4Z'/%3E%3C/svg%3E"); }
.footer-contact a:hover, .footer-column a:hover { color: #6fbcff; }
.footer-social { margin-top: 1rem; display: flex; gap: 0.45rem; }
.footer-social a { width: 2.15rem; height: 2.15rem; display: grid; place-items: center; border: 1px solid #29415d; border-radius: 0.68rem; background: rgba(16, 42, 69, 0.42); color: #e6f1ff; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.footer-social a:hover { color: #fff; border-color: transparent; background: linear-gradient(135deg, #0a9af5, #0057ff); box-shadow: 0 0.55rem 1rem rgba(0, 87, 255, 0.28); transform: translateY(-0.16rem); }
.footer-social a:focus-visible { outline: 2px solid #6fbcff; outline-offset: 3px; }
.footer-social svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; transition: transform 180ms ease; }
.footer-social [data-email-social] svg { width: 0.86rem; height: 0.86rem; }
.footer-social a:hover svg { transform: scale(1.1); }
.footer-column h2 { margin: 0 0 0.85rem; color: #fff; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-column h2::after { width: 1.7rem; height: 1px; margin-top: 0.55rem; display: block; background: linear-gradient(90deg, #0a9af5, rgba(10, 154, 245, 0)); content: ""; }
.footer-column nav { display: grid; gap: 0.45rem; }
.footer-column a { color: #9eb0c6; font-size: 0.75rem; font-weight: 600; text-decoration: none; }
.footer-grid > .footer-column:last-child { position: absolute; bottom: 2.05rem; left: 50%; z-index: 1; transform: translateX(-50%); }
.footer-grid > .footer-column:last-child h2 { display: none; }
.footer-grid > .footer-column:last-child nav { display: flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.footer-grid > .footer-column:last-child nav a + a::before { margin-right: 0.6rem; color: #58708b; content: "|"; font-size: 0.8rem; font-weight: 500; }
.footer-bottom { min-height: 1.05rem; margin-top: 2.2rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #1a2b40; color: #71849b; font-size: 0.68rem; font-weight: 700; }

@media (max-width: 800px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav summary { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
  .mobile-menu-panel { position: absolute; z-index: 4; top: calc(100% + 0.6rem); right: 0; width: min(18rem, calc(100vw - 2rem)); padding: 0.6rem; display: grid; gap: 0.15rem; background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 0.9rem; box-shadow: 0 1rem 2rem rgba(13, 23, 38, 0.14); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
  .mobile-menu-panel a { padding: 0.65rem; border-radius: 0.4rem; color: var(--ink); font-size: 0.82rem; font-weight: 800; text-decoration: none; }
  .mobile-menu-panel a:hover { color: var(--blue); background: var(--blue-soft); }
  .policy-layout { grid-template-columns: 1fr; gap: 2rem; }
  .toc { position: static; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 0.75rem; }
  .toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
}

/* Keep document headings legible and prevent accent/descender clipping. */
.page :is(h1, h2, h3) { font-family: "Manrope", Arial, sans-serif; font-weight: 600; line-height: 1.18; overflow: visible; }
.page :is(h1, h2, h3) em { padding-inline: .045em; margin-inline: -.045em; font-style: normal; background: linear-gradient(135deg, #1679df 0%, #1ba9d1 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

@media (max-width: 640px) {
  .page { width: 100%; padding: 0; }
  .site-header { top: 0; min-height: 4.5rem; padding: 0 1.25rem; border-radius: 0 0 0.9rem 0.9rem; }
  .policy-banner { min-height: 13rem; border-radius: 0; }
  .policy-banner::before { right: -3rem; background-size: 12rem; }
  .policy-layout { margin-top: 0; padding: 1.5rem 1.25rem 2rem; }
  .toc nav { grid-template-columns: 1fr; }
  .site-footer { margin-top: 0; border-radius: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > .footer-column:last-child { position: static; transform: none; }
  .footer-grid > .footer-column:last-child h2 { display: block; }
  .footer-grid > .footer-column:last-child nav { display: grid; white-space: normal; }
  .footer-grid > .footer-column:last-child nav a + a::before { display: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
.site-footer { width:100%; border-radius:0; box-sizing:border-box; }
@media (max-width:640px) { .page > .site-header, .page > .policy-layout { width:100%; } }
