/* FonoOficial 1.0.0 - Shared design tokens and navigation. */
:root {
  --ink: #162b49; --muted: #637086; --blue: #164c99; --blue-dark: #10386f;
  --red: #d9253e; --red-hover: #b91a30; --paper: #ffffff; --wash: #f5f7fa;
  --line: #e1e6ed; --sky: #eaf1fc; --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --shadow: 0 18px 55px rgba(15, 40, 76, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, summary, input, select { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: wait; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: #d5e5ff; color: #123d7a; }
:focus-visible { outline: 3px solid #3381e7; outline-offset: 4px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-160%); padding: 12px 20px; background: var(--ink); color: #fff; border-radius: 6px; }
.skip-link:focus { transform: none; }
.honey-field, .hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-header { position: relative; z-index: 30; background: rgba(255,255,255,.98); border-bottom: 1px solid #edf0f4; }
.header-inner { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; }
.brand-type { font-size: 27px; font-weight: 750; letter-spacing: -1.25px; line-height: 1; color: var(--blue-dark); }
.brand-type > span { color: var(--red); }
.brand-type small { display: block; font-size: 8px; line-height: 1; letter-spacing: 2.15px; margin-top: 8px; color: var(--ink); font-weight: 650; }
.desktop-nav { display: flex; align-items: center; gap: 29px; }
.desktop-nav a { font-size: 13px; font-weight: 600; padding-block: 10px; color: #48576c; transition: color .18s; }
.desktop-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 23px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: #52637c; white-space: nowrap; }
.status-pill i, .signal-dot, .tiny-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 54px; border: 1px solid transparent; padding: 15px 22px; border-radius: 9px; font-size: 13px; font-weight: 650; line-height: 1.3; text-align: center; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button .icon { width: 19px; height: 19px; }
.button:hover { transform: translateY(-1px); }
.button-red, .button-primary, .form-submit { background: var(--red); color: #fff; }
.button-red:hover, .button-primary:hover, .form-submit:hover { background: var(--red-hover); }
.button-small { min-height: 42px; padding: 10px 15px; font-size: 12px; gap: 15px; }
.button-outline { border-color: #ced8e6; background: #fff; }
.button-outline:hover { border-color: var(--blue); background: #f7faff; }
.button-full { display: flex; width: 100%; }
.button:disabled { opacity: .7; transform: none; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 650; border: 0; background: transparent; padding: 6px 0; }
.text-link .icon { width: 17px; height: 17px; }
.text-link:hover { color: var(--blue); }
.back-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.back-link .icon { width: 17px; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.mobile-nav { display: grid; padding: 8px 24px 24px; gap: 4px; border-top: 1px solid var(--line); }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; font-size: 15px; padding: 13px 0; }
.mobile-nav a:last-child { color: var(--red); font-weight: 700; }
.eyebrow { display: flex; gap: 10px; align-items: center; font-size: 10px; letter-spacing: 1.45px; font-weight: 700; line-height: 1.6; color: var(--blue); }
.eyebrow-rule { width: 24px; height: 2px; background: var(--red); }
.brand-red { color: var(--red); }
.field, .form-field { margin: 0 0 16px; }
.field > label, .form-field > label { display: block; font-size: 12px; font-weight: 650; margin-bottom: 7px; }
.field > label > span { color: var(--red); }
.field input, .field select, .form-field input, .form-field select { display: block; width: 100%; height: 49px; padding: 0 14px; border: 1px solid #d9dfe8; border-radius: 7px; background: #fcfdff; color: var(--ink); font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .form-field input::placeholder { color: #8b95a4; opacity: 1; }
.field input:focus, .field select:focus, .form-field input:focus, .form-field select:focus { outline: 0; border-color: #4079c1; box-shadow: 0 0 0 3px #eaf1fc; background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 2px #ffe8ed; }
.field-error { display: block; font-size: 11px; color: #b21d34; line-height: 1.5; margin-top: 5px; }
.field-error:empty { display: none; }
.check-row { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; }
.check-row input { accent-color: var(--blue); flex: 0 0 16px; width: 16px; height: 16px; margin: 3px 0 0; }
.check-row > span { font-size: 11.5px; line-height: 1.65; color: #5d697c; }
.check-row b { color: var(--red); }
.form-message { padding: 12px 14px; border-radius: 7px; font-size: 13px; line-height: 1.6; margin-top: 15px; }
.form-message:empty { display: none; }
.form-message.is-error { background: #fff0f2; color: #a71c32; border: 1px solid #f5ced6; }
.form-message.is-success { background: #eaf2ff; color: #153f78; border: 1px solid #d1e0f6; }
.form-message.is-info { background: #eef3fc; color: #204b87; }
.button-spinner { display: none; width: 17px; height: 17px; border: 2px solid #ffffff5e; border-top-color: #fff; border-radius: 50%; }
.is-loading .button-spinner { display: inline-block; animation: spin .7s linear infinite; }
.is-loading > .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; padding-block: 48px 36px; }
.footer-brand .brand-type { font-size: 23px; }
.footer-brand img { width: 35px; height: 35px; }
.footer-brand .brand-type small { display: none; }
.footer-inner p { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 13px; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 12px; padding-top: 5px; }
.footer-nav a { display: flex; align-items: center; gap: 7px; }
.footer-nav .icon { width: 14px; height: 14px; }
.footer-nav a:hover { color: var(--red); }
.footer-note { justify-self: end; padding-top: 6px; }
.footer-bottom { border-top: 1px solid #edf0f4; display: flex; justify-content: space-between; padding-block: 18px; color: #738095; font-size: 10px; }
.portal-dialog { width: min(590px, calc(100% - 32px)); max-height: calc(100dvh - 48px); border: 1px solid var(--line); border-radius: 20px; padding: 0; color: var(--ink); background: #fff; box-shadow: 0 30px 100px #0e20433b; }
.portal-dialog::backdrop { background: #142a4c9c; backdrop-filter: blur(6px); }
.dialog-inner { padding: 38px; position: relative; }
.dialog-close { position: absolute; right: 17px; top: 17px; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.dialog-icon { width: 57px; height: 57px; display: grid; place-items: center; border-radius: 14px; background: var(--sky); color: var(--blue); margin-bottom: 24px; }
.dialog-icon .icon { width: 27px; height: 27px; }
.dialog-inner h2 { font-size: 34px; letter-spacing: -1.3px; line-height: 1.13; margin: 12px 0 16px; }
.dialog-inner > p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.dialog-list { list-style: none; padding: 0; display: grid; gap: 15px; margin: 23px 0; }
.dialog-list li { display: flex; gap: 12px; font-size: 13px; color: #4c5a70; line-height: 1.6; }
.dialog-list .icon { color: var(--blue); width: 18px; height: 18px; margin-top: 2px; }
.dialog-note { display: flex; gap: 12px; color: #68768b; font-size: 11px; line-height: 1.6; padding: 14px; border-radius: 9px; background: var(--wash); margin-bottom: 25px; }
.dialog-note .icon { width: 18px; height: 18px; }
.preview-ribbon { background: #fff4e4; border-bottom: 1px solid #f0d5a3; color: #715220; font-size: 11px; text-align: center; padding: 8px 20px; }
@media (max-width: 1180px) {
  .container { width: calc(100% - 64px); }
  .header-actions > .status-pill { display: none; }
}
@media (max-width: 900px) {
  .desktop-nav { gap: 17px; }
  .desktop-nav a { font-size: 12px; }
  .header-inner { gap: 16px; }
  .brand-type { font-size: 24px; }
  .brand-type small { font-size: 7px; letter-spacing: 1.7px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 24px; }
  .container { width: calc(100% - 40px); }
  .header-inner { height: 77px; }
  .brand-type { font-size: 25px; }
  .brand img { width: 37px; height: 37px; }
  .brand-type small { font-size: 7px; letter-spacing: 1.7px; margin-top: 7px; }
  .desktop-nav, .header-join { display: none; }
  .menu-toggle { display: flex; }
  .eyebrow { font-size: 9px; letter-spacing: 1.1px; }
  .button { min-height: 52px; font-size: 13px; padding: 14px 18px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 25px; padding-block: 35px 25px; }
  .footer-note { grid-column: 1/-1; justify-self: start; padding-top: 0; }
  .footer-note p { display: none; }
  .footer-bottom { flex-wrap: wrap; gap: 7px; font-size: 10px; }
  .footer-bottom > span:last-child { display: none; }
  .back-link { font-size: 11px; gap: 5px; }
  .dialog-inner { padding: 28px 24px; }
  .dialog-inner h2 { font-size: 30px; }
  .check-row > span { font-size: 12px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .brand-type { font-size: 22px; }
  .brand-type small { font-size: 6px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
