/* Pronto's playful help center. Self-hosted, open-source Nunito type. */
@font-face { font-family: Nunito; src: url('../fonts/nunito-regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Nunito; src: url('../fonts/nunito-bold.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: Nunito; src: url('../fonts/nunito-black.ttf') format('truetype'); font-style: normal; font-weight: 900; font-display: swap; }
:root { color-scheme: light; --blue: #0165f9; --blue-dark: #0047b8; --blue-soft: #edf6ff; --ink: #35435a; --ink-soft: #66758a; --line: #dde5ee; --bg: #fff; --card: #fff; --font: Nunito, "Arial Rounded MT Bold", Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 900; }
h1 { font-size: clamp(2.15rem, 3.7vw, 3rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -.02em; }
h3 { font-size: 1.25rem; }
p + p { margin-top: 1em; }
.wrap { width: min(100% - 64px, 1060px); margin-inline: auto; }
.narrow { max-width: 760px; }
.eyebrow { display: block; font-size: .75rem; color: var(--ink-soft); font-weight: 900; letter-spacing: .075em; text-transform: uppercase; margin-bottom: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-size: .875rem; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.text-link span { font-size: 1.25rem; }

/* A free-standing wordmark and simple, app-like navigation. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 2px solid var(--line); }
.site-header .wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 19px; }
.brand:hover { text-decoration: none; }
.brand-mark { display: block; width: 142px; background: var(--blue); -webkit-mask: url('../img/pronto-logo.png') center / contain no-repeat; mask: url('../img/pronto-logo.png') center / contain no-repeat; }
.brand img { width: 142px; aspect-ratio: 1942 / 809; height: auto; opacity: 0; }
.brand-label { font-size: .75rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-soft); font-size: .8125rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 10px 0; }
.nav a[aria-current="page"] { color: var(--blue); }
.nav a.nav-contact { padding: 11px 18px; border: 2px solid var(--line); border-radius: 12px; box-shadow: 0 2px 0 var(--line); color: var(--blue); }
.nav a.nav-contact:hover { background: var(--blue-soft); text-decoration: none; }
.nav a.nav-contact:active { transform: translateY(2px); box-shadow: none; }
.nav-toggle { display: none; align-items: center; gap: 7px; padding: 9px 12px; background: #fff; border: 2px solid var(--line); border-radius: 11px; box-shadow: 0 2px 0 var(--line); color: var(--blue); font-size: .875rem; font-weight: 900; cursor: pointer; }

/* Friendly character, simple message, two unmistakable choices. */
.hero { padding: 54px 0 58px; border-bottom: 2px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; max-width: 980px; }
.hero-character { display: flex; flex-direction: column; align-items: center; margin: 0; }
.hero-character img { width: 330px; margin-top: 8px; }
.hero-note { position: relative; width: 290px; padding: 15px 20px; margin: 0 0 4px 34px; border: 2px solid var(--line); border-radius: 18px; color: var(--ink); background: #fff; font-size: 1.0625rem; line-height: 1.4; font-weight: 900; text-align: center; }
.hero-note::after { content: ""; position: absolute; left: 43%; bottom: -9px; width: 14px; height: 14px; border: solid var(--line); border-width: 0 2px 2px 0; background: #fff; transform: rotate(45deg); }
.hero-copy { text-align: center; }
.hero-copy h1 span { color: var(--blue); }
.hero-copy > p { margin: 22px auto 28px; max-width: 34ch; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.6; }
.hero-actions { display: flex; flex-direction: column; gap: 16px; max-width: 340px; margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 13px 24px; border: 2px solid var(--line); border-radius: 13px; background: #fff; color: var(--blue); box-shadow: 0 4px 0 var(--line); font-size: .875rem; font-weight: 900; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .15s, transform .1s, box-shadow .1s; }
.btn:hover { background: var(--blue-soft); text-decoration: none; }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--line); }
.btn.primary { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 4px 0 var(--blue-dark); }
.btn.primary:hover { border-color: #1976ff; background: #1976ff; }
.btn.primary:active { box-shadow: 0 0 0 var(--blue-dark); }
.btn:disabled { opacity: .6; cursor: wait; }

/* Chunky topic tiles use the same tactile interaction as the buttons. */
section { padding: 76px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { color: var(--blue); }
.section-title p { color: var(--ink-soft); margin-top: 14px; font-size: 1.0625rem; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic-tile { display: flex; flex-direction: column; align-items: center; padding: 28px 24px; border: 2px solid var(--line); border-radius: 20px; box-shadow: 0 4px 0 var(--line); color: var(--ink); text-align: center; transition: background .15s, transform .1s, box-shadow .1s; }
.topic-tile:hover { background: #f5faff; border-color: #bfd8ff; box-shadow: 0 4px 0 #bfd8ff; text-decoration: none; }
.topic-tile:active { transform: translateY(4px); box-shadow: none; }
.topic-icon { display: grid; place-items: center; width: 68px; height: 68px; background: var(--blue-soft); color: var(--blue); border-radius: 20px; margin-bottom: 18px; }
.topic-icon svg { width: 36px; height: 36px; stroke-width: 2.2; }
.topic-tile h3 { margin-bottom: 10px; }
.topic-tile p { font-size: .9375rem; line-height: 1.5; color: var(--ink-soft); max-width: 28ch; }
.all-topics { text-align: center; margin-top: 35px; }
.assistant-section { background: var(--blue-soft); padding: 42px 0; }
.assistant-panel { max-width: 850px; display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: 70px; }
.assistant-illustration { display: flex; flex-direction: column; align-items: center; }
.assistant-illustration img { width: 210px; }
.mini-message { padding: 10px 22px; margin: 0 0 5px 28px; border: 2px solid #bedbff; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--blue); font-size: 1.0625rem; font-weight: 900; }
.assistant-copy h2 { color: var(--blue); }
.assistant-copy p { color: var(--ink-soft); margin: 20px 0 22px; font-size: 1.0625rem; }
.contact-section { padding: 55px 0 66px; text-align: center; border-top: 2px solid var(--line); }
.contact-section h2 { color: var(--blue); }
.contact-section p { margin: 15px 0 28px; font-size: 1.0625rem; color: var(--ink-soft); }
.contact-section .btn { min-width: 280px; }

/* Interior pages */
.sky { padding: 56px 0; background: var(--blue-soft); }
.sky h1 { color: var(--blue); }
.sky p { max-width: 58ch; margin: 20px auto 0; color: var(--ink-soft); font-size: 1.0625rem; }
.sky .eyebrow { color: var(--blue); }
.faq-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 52px; align-items: start; }
.topic-nav { position: sticky; top: 113px; border: 2px solid var(--line); border-radius: 18px; padding: 21px; }
.topic-nav h2 { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 13px; color: var(--ink-soft); }
.topic-nav a { display: block; padding: 8px 0; color: var(--ink-soft); font-size: .875rem; font-weight: 700; }
.topic-nav a:hover { color: var(--blue); }
.faq-group { margin-bottom: 45px; scroll-margin-top: 110px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group h2 { font-size: 1.65rem; color: var(--blue); margin-bottom: 20px; }
details.faq { margin-bottom: 13px; padding: 0 22px; border: 2px solid var(--line); border-radius: 15px; background: #fff; }
details.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px 0; list-style: none; font-size: 1rem; font-weight: 900; cursor: pointer; line-height: 1.45; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; flex-shrink: 0; color: var(--blue); font-size: 1.6rem; font-weight: 700; }
details.faq[open] { border-color: #aecfff; }
details.faq[open] summary::after { content: "−"; }
details.faq .answer { padding: 0 20px 22px 0; font-size: 1rem; color: var(--ink-soft); }
.form { padding: 34px; border: 2px solid var(--line); border-radius: 22px; box-shadow: 0 4px 0 var(--line); }
.field { margin-bottom: 23px; }
.field label { display: block; margin-bottom: 8px; font-size: .9375rem; font-weight: 900; }
.field input, .field select, .field textarea { width: 100%; border: 2px solid var(--line); border-radius: 12px; background: #f8fafc; color: var(--ink); padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid #b6d7ff; outline-offset: 2px; }
.field textarea { min-height: 170px; resize: vertical; }
.field .hint { color: var(--ink-soft); margin-top: 7px; font-size: .875rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form > .hint { margin-bottom: 23px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: none; padding: 16px; margin-top: 24px; border-radius: 12px; }
.notice.ok { display: block; color: #146c3a; background: #e7f8ee; }
.notice.err { display: block; color: #9b1c1c; background: #fdebec; }
.legal { overflow-wrap: anywhere; }
.legal h1 { color: var(--blue); }
.legal .meta { color: var(--ink-soft); font-size: .875rem; margin: 18px 0 35px; }
.legal h2 { font-size: 1.5rem; margin: 2em 0 .7em; }
.legal h3 { font-size: 1.15rem; margin: 1.5em 0 .6em; }
.legal p { color: var(--ink-soft); margin-bottom: 1em; }
.legal strong { color: var(--ink); }
.legal ul { padding-left: 1.2em; }
.legal li { color: var(--ink-soft); margin-bottom: .5em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .875rem; }
.legal th, .legal td { text-align: left; border-bottom: 2px solid var(--line); padding: 12px 8px; vertical-align: top; }
.callout { padding: 20px; margin: 1.5em 0; background: var(--blue-soft); border-radius: 14px; border: 2px solid #c9e1ff; }
.error-mascot { width: 190px; margin: 0 auto 24px; }

.site-footer { padding: 46px 0 24px; border-top: 2px solid var(--line); background: #f7fbff; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; margin-bottom: 38px; }
.footer-brand { margin-bottom: 16px; }
.site-footer p { color: var(--ink-soft); font-size: .9375rem; max-width: 29ch; }
.site-footer h4 { font-size: .9375rem; margin: 13px 0 15px; }
.site-footer a, .site-footer button.linklike { color: var(--ink-soft); font-size: .875rem; font-weight: 700; }
.site-footer .cols > div > a:not(.footer-brand) { display: block; width: fit-content; padding: 5px 0; }
.site-footer button.linklike { padding: 5px 0; background: none; border: 0; cursor: pointer; }
.site-footer a:hover, .site-footer button.linklike:hover { color: var(--blue); text-decoration: underline; }
.site-footer .fine { border-top: 2px solid var(--line); padding-top: 22px; color: var(--ink-soft); font-size: .75rem; }
#cookie-banner { position: fixed; bottom: 18px; left: 18px; z-index: 100; display: none; width: min(365px, 100% - 36px); padding: 20px; background: #fff; border: 2px solid var(--line); border-radius: 18px; box-shadow: 0 5px 0 var(--line); }
#cookie-banner.show { display: block; }
#cookie-banner p { font-size: .8125rem; color: var(--ink-soft); margin-bottom: 15px; }
#cookie-banner strong { display: block; font-size: .9375rem; color: var(--ink); margin-bottom: 5px; }
#cookie-banner .actions { display: flex; gap: 12px; }
#cookie-banner .btn { flex: 1; min-height: 42px; padding: 10px; font-size: .75rem; }
.skip { position: fixed; top: 12px; left: -9999px; z-index: 200; padding: 10px 18px; background: #fff; border: 2px solid var(--blue); border-radius: 10px; }
.skip:focus { left: 12px; }

@supports not (mask-image: url('../img/pronto-logo.png')) { .brand-mark { background: none; } .brand img { opacity: 1; filter: drop-shadow(0 1px 1px #0165f9); } }
@media (max-width: 1000px) {
  .hero-layout { gap: 35px; }
  .hero-character img { width: 300px; }
  .hero-note { width: 265px; font-size: 1rem; margin-left: 10px; }
  .hero-copy .eyebrow { font-size: .6875rem; }
  .hero-copy > p { font-size: 1.0625rem; }
  .topic-tile { padding: 25px 18px; }
  .topic-tile h3 { font-size: 1.15rem; }
  .assistant-panel { gap: 45px; }
  .site-footer .cols { gap: 30px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header .wrap { min-height: 74px; }
  .brand { gap: 12px; }
  .brand-mark, .brand img { width: 122px; }
  .brand-label { font-size: .6875rem; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 15px 20px 23px; background: #fff; border-bottom: 2px solid var(--line); flex-direction: column; align-items: stretch; gap: 9px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 12px; }
  .nav a.nav-contact { text-align: center; }
  .hero { padding: 32px 0 45px; }
  .hero-layout { grid-template-columns: 1fr; gap: 24px; }
  .hero-character img { width: 215px; margin-top: 6px; }
  .hero-note { width: 260px; font-size: .9375rem; padding: 12px 18px; margin: 0; }
  .hero-copy .eyebrow { display: none; }
  .hero-copy h1 { font-size: 2.15rem; }
  .hero-copy > p { max-width: 32ch; margin-block: 16px 22px; font-size: 1rem; }
  .hero-actions { max-width: 365px; }
  section { padding: 52px 0; }
  .section-title { margin-bottom: 28px; }
  .section-title h2 { font-size: 1.9rem; }
  .section-title p { font-size: 1rem; }
  .topic-grid { grid-template-columns: 1fr 1fr; gap: 17px 14px; }
  .topic-tile { padding: 23px 16px; }
  .topic-tile h3 { font-size: 1.125rem; }
  .topic-tile p { font-size: .9375rem; }
  .topic-icon { width: 58px; height: 58px; border-radius: 17px; margin-bottom: 15px; }
  .topic-icon svg { width: 31px; height: 31px; }
  .assistant-panel { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .assistant-illustration img { width: 165px; }
  .assistant-copy { max-width: 40ch; margin-inline: auto; }
  .assistant-copy h2 { font-size: 2rem; }
  .assistant-copy p { font-size: 1rem; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .topic-nav { position: static; }
  .topic-nav div { display: flex; flex-wrap: wrap; gap: 0 18px; }
  .sky { padding-block: 42px; }
  .sky p { font-size: 1rem; }
  .form { padding: 25px; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .site-footer .cols > div:first-child { grid-column: 1 / -1; }
  .site-footer p { max-width: 40ch; }
}
@media (max-width: 400px) {
  .brand-label { display: none; }
  .topic-tile { padding: 21px 12px; }
  .topic-tile h3 { font-size: 1.0625rem; }
  .topic-tile p { font-size: .875rem; }
  .form { padding: 20px; }
  details.faq { padding-inline: 17px; }
  .legal th, .legal td { padding: 10px 5px; font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
