:root {
  --navy: #062a57;
  --navy-2: #0a3b76;
  --blue: #0879d9;
  --blue-2: #2b9bea;
  --ice: #edf7ff;
  --ink: #10223a;
  --muted: #63758a;
  --line: #dce7f1;
  --soft: #f5f8fb;
  --white: #fff;
  --shadow: 0 22px 60px rgba(9, 43, 79, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.skip-link { position: fixed; left: 12px; top: -80px; background: #fff; color: var(--navy); padding: 10px 14px; z-index: 100; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.site-header {
  height: 82px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  gap: 42px;
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid rgba(11, 54, 99, .08);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 30;
}
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 39px; height: 39px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; transform: rotate(-8deg); }
.brand-mark i { display: block; background: var(--navy); border-radius: 1px; }
.brand-mark i:nth-child(2) { background: #5f6d7c; }
.brand-mark i:nth-child(3) { background: #0a4b89; }
.brand-mark i:nth-child(4) { background: #2995de; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { color: var(--navy); font-size: 20px; letter-spacing: .055em; }
.brand-copy small { color: #59687a; font-size: 9px; letter-spacing: .28em; margin-top: 7px; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; }
.site-header nav a { text-decoration: none; font-size: 14px; font-weight: 700; color: #496077; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--blue); }
.private-badge { border: 1px solid #cbe1f3; background: #f2f9ff; color: #245a88; border-radius: 999px; padding: 9px 13px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.private-badge span { color: #2cb579; font-size: 10px; margin-right: 4px; }

.hero {
  min-height: 660px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 79% 18%, rgba(51, 164, 245, .20), transparent 26%),
    linear-gradient(124deg, #041d3e 0%, #062e61 62%, #084783 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.hero-glow { position: absolute; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.10); transform: rotate(32deg); border-radius: 56px; }
.glow-a { right: -120px; top: 90px; box-shadow: inset 0 0 90px rgba(37,154,235,.13); }
.glow-b { right: 90px; bottom: -260px; width: 500px; height: 500px; }
.hero-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 88px 0 46px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: #9ecdf5; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 30px; height: 2px; background: #47a7ed; }
.eyebrow.dark { color: #2874b4; }
.eyebrow.light { color: #80c7fa; }
.hero h1 { margin: 0; font-size: clamp(50px, 7vw, 83px); line-height: .98; letter-spacing: -.055em; max-width: 830px; }
.hero h1 em { color: #4fb1f4; font-style: normal; }
.hero-lead { max-width: 720px; margin: 28px 0 35px; color: #d9e8f5; font-size: 19px; line-height: 1.6; }
.search-panel { width: min(900px, 100%); background: rgba(255,255,255,.98); border: 1px solid rgba(255,255,255,.35); padding: 10px; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.search-box { display: flex; height: 58px; align-items: center; gap: 12px; padding: 0 13px; }
.search-box svg { width: 23px; height: 23px; fill: none; stroke: #3478ad; stroke-width: 2; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); font-size: 17px; background: transparent; }
.search-box input::placeholder { color: #8998a7; }
kbd { color: #728398; font-size: 11px; border: 1px solid #d7e0e8; background: #f7f9fb; padding: 5px 7px; border-radius: 6px; box-shadow: 0 1px 0 #cbd6df; white-space: nowrap; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; padding-top: 9px; border-top: 1px solid #e6edf3; }
.filter-row label { padding: 5px 12px; border-right: 1px solid #e7edf3; }
.filter-row label > span { display: block; color: #8997a5; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; font-weight: 800; margin-bottom: 3px; }
.filter-row select { width: 100%; border: 0; outline: 0; background: transparent; color: #24425f; font-size: 13px; font-weight: 700; cursor: pointer; }
.ghost-button { align-self: center; border: 0; color: #3e7098; background: transparent; padding: 14px 18px; font-size: 13px; font-weight: 800; cursor: pointer; border-radius: 10px; }
.ghost-button:hover { background: #eef7fe; }
.search-feedback { display: none; color: #597086; margin: 7px 12px 3px; font-size: 12px; }
.search-feedback.visible { display: block; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; color: #aac5db; font-size: 12px; }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row span::before { content: "✓"; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: #75c9ff; border: 1px solid rgba(117,201,255,.5); font-size: 9px; }

.deadlines-section, .faq-section { padding: 88px max(24px, calc((100% - 1120px) / 2)); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; }
.section-heading h2 { color: var(--navy); margin: 0 0 10px; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.045em; }
.section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 16px; }
.outline-button { border: 1px solid #bcd2e5; background: #fff; color: var(--navy); padding: 12px 17px; border-radius: 11px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.outline-button:hover { border-color: var(--blue); color: var(--blue); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.metric-card { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 24px; min-height: 152px; position: relative; overflow: hidden; }
.metric-card::after { content: ""; position: absolute; right: -35px; bottom: -55px; width: 110px; height: 110px; border-radius: 50%; background: #eef7fd; }
.metric-card.accent { background: linear-gradient(145deg, #087bdc, #0753a2); color: #fff; border: 0; box-shadow: 0 18px 40px rgba(6,105,190,.25); }
.metric-card.accent::after { background: rgba(255,255,255,.09); }
.metric-icon { float: right; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: #238dd8; background: #ecf7ff; font-weight: 900; }
.metric-card.accent .metric-icon { color: #fff; background: rgba(255,255,255,.15); }
.metric-card strong { display: block; font-size: 42px; line-height: 1; color: var(--navy); margin-top: 24px; }
.metric-card.accent strong { color: #fff; }
.metric-card p { color: #6b7c8d; margin: 9px 0 0; font-size: 13px; }
.metric-card.accent p { color: #d5ebfb; }
.upcoming-wrap { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.upcoming-title { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; background: var(--soft); border-bottom: 1px solid var(--line); }
.upcoming-title h3 { margin: 0; color: var(--navy); }
.upcoming-title span { color: #74869a; font-size: 12px; }
.deadline-row { display: grid; grid-template-columns: 78px 1fr auto; gap: 20px; align-items: center; padding: 20px 25px; border-bottom: 1px solid #e8eef4; cursor: pointer; background: #fff; transition: .18s ease; }
.deadline-row:last-child { border-bottom: 0; }
.deadline-row:hover { background: #f8fbfe; transform: translateX(3px); }
.date-tile { width: 60px; height: 62px; border: 1px solid #d5e4f0; border-radius: 12px; display: grid; place-items: center; align-content: center; background: #f8fcff; }
.date-tile strong { color: var(--navy); font-size: 24px; line-height: 1; }
.date-tile small { color: #3782b9; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; margin-top: 5px; font-weight: 900; }
.deadline-content h4 { margin: 0 0 7px; color: #183653; font-size: 16px; }
.deadline-content p { margin: 0; color: #728395; font-size: 13px; line-height: 1.45; }
.deadline-meta { text-align: right; display: flex; align-items: center; gap: 12px; }
.tag { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #edf6fd; color: #2779b8; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
.tag.ss { color: #5a4ab0; background: #f0efff; }
.tag.contas { color: #8a5a1f; background: #fff4df; }
.row-arrow { color: #92a3b1; font-size: 20px; }
.empty-state { text-align: center; padding: 48px 20px; }
.empty-state span { font-size: 34px; color: #8bb6d7; }
.empty-state h3 { color: var(--navy); margin-bottom: 5px; }
.empty-state p { color: var(--muted); margin: 0; }

.calendar-section { padding: 88px max(24px, calc((100% - 1120px) / 2)); background: linear-gradient(145deg, #051e40, #083c75); color: #fff; }
.calendar-heading h2 { color: #fff; }
.calendar-heading p:not(.eyebrow) { color: #bbd2e6; }
.calendar-controls { display: flex; gap: 7px; }
.calendar-controls button { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; min-width: 43px; height: 42px; padding: 0 13px; border-radius: 10px; cursor: pointer; font-weight: 800; }
.calendar-controls button:hover { background: rgba(255,255,255,.16); }
.calendar-shell { padding: 24px; background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.calendar-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 3px 21px; }
.calendar-topline h3 { margin: 0; text-transform: capitalize; color: var(--navy); font-size: 24px; }
.legend { display: flex; gap: 16px; color: #738498; font-size: 11px; font-weight: 700; }
.legend span { display: flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--blue); }
.dot.social { background: #7161cc; }
.dot.corporate { background: #d7963d; }
.weekday-row, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.weekday-row { color: #8190a0; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; text-align: center; padding-bottom: 10px; }
.calendar-day { min-width: 0; min-height: 112px; padding: 9px; border-top: 1px solid #e3ebf2; border-left: 1px solid #edf2f6; background: #fff; }
.calendar-day:nth-child(7n+1) { border-left: 0; }
.calendar-day.outside { background: #fafcfd; color: #bac3cc; }
.calendar-day.today { background: #f1f9ff; box-shadow: inset 0 0 0 2px #3b9ce2; }
.calendar-day .day-number { display: block; text-align: right; font-size: 11px; font-weight: 800; margin-bottom: 6px; }
.calendar-day.today .day-number { color: var(--blue); }
.calendar-event { width: 100%; border: 0; border-left: 3px solid var(--blue); background: #edf7fe; color: #165c91; padding: 5px 5px 5px 7px; margin: 2px 0; border-radius: 4px; text-align: left; font-size: 9px; font-weight: 800; line-height: 1.2; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event:hover { background: #dceffc; }
.calendar-event.ss { border-left-color: #7161cc; background: #f0efff; color: #5747aa; }
.calendar-event.contas { border-left-color: #d7963d; background: #fff4df; color: #8b5b1c; }
.more-events { color: #6c7c8c; font-size: 9px; font-weight: 800; margin: 4px 0 0 6px; }
.mobile-agenda { display: none; }
.calendar-note { color: #a9c5db; font-size: 11px; line-height: 1.6; margin: 20px 4px 0; }
.calendar-note strong { color: #fff; }

.faq-section { background: #f7fafc; }
.faq-count { color: #3e7eaf; background: #e9f4fc; border-radius: 999px; padding: 9px 13px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.faq-item[open] { border-color: #a9d2ee; box-shadow: 0 14px 32px rgba(19,61,97,.08); }
.faq-item summary { list-style: none; padding: 21px 52px 21px 21px; color: #173754; font-size: 14px; font-weight: 800; cursor: pointer; position: relative; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 19px; top: 17px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #eff8fe; font-size: 20px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 21px 22px; color: #62758a; font-size: 13px; line-height: 1.65; }
.faq-answer p { margin: 0 0 13px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer .technical { background: #f3f8fc; border-left: 3px solid #55a7df; padding: 12px 14px; color: #49647a; }
.faq-answer .technical strong { color: #184c75; }
.sources-card { margin-top: 34px; background: linear-gradient(115deg, #edf7fe, #fff); border: 1px solid #cfe4f3; border-radius: 18px; padding: 22px; display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.sources-card > div:first-child { display: flex; gap: 15px; align-items: center; }
.source-icon { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: var(--blue); font-weight: 900; font-family: Georgia, serif; }
.sources-card h3 { margin: 0 0 4px; color: var(--navy); font-size: 15px; }
.sources-card p { margin: 0; color: #6b7e91; font-size: 12px; line-height: 1.5; }
.source-links { display: flex; gap: 13px; flex-wrap: wrap; justify-content: flex-end; }
.source-links a { color: #176dad; font-size: 12px; font-weight: 800; text-decoration: none; }
.source-links a:hover { text-decoration: underline; }

footer { min-height: 130px; padding: 35px max(24px, calc((100% - 1120px) / 2)); display: flex; align-items: center; gap: 35px; color: #738498; border-top: 1px solid #e6edf3; }
.footer-brand .brand-mark { width: 31px; height: 31px; }
.footer-brand .brand-copy strong { font-size: 15px; }
.footer-brand .brand-copy small { font-size: 7px; }
footer p { font-size: 12px; }
.footer-meta { margin-left: auto; }

dialog { width: min(570px, calc(100% - 28px)); border: 0; padding: 30px; border-radius: 22px; color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.36); }
dialog::backdrop { background: rgba(2,18,37,.68); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 17px; top: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #edf3f7; color: #446078; font-size: 23px; cursor: pointer; }
.dialog-date { color: #2a82bf; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.dialog-tag { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #eaf5fd; color: #236fa7; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
dialog h2 { color: var(--navy); font-size: 30px; letter-spacing: -.03em; margin: 14px 0 10px; }
.dialog-summary { color: #617589; line-height: 1.6; font-size: 14px; }
.dialog-block { padding: 16px; background: #f5f9fc; border-radius: 12px; margin: 20px 0 12px; }
.dialog-block h3 { color: #214c70; margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.dialog-block p { color: #5e7387; margin: 0; font-size: 13px; line-height: 1.55; }
.technical-note { border: 1px solid #dce7ef; border-radius: 12px; padding: 0 14px; margin-bottom: 20px; }
.technical-note summary { color: #276d9f; font-size: 12px; font-weight: 900; padding: 13px 0; cursor: pointer; }
.technical-note p { color: #5a7083; font-size: 12px; line-height: 1.6; }
.legal-ref { color: #2f648d !important; font-weight: 800; }
.primary-button { width: 100%; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(100deg, #0879d9, #07519c); padding: 13px 18px; font-weight: 900; cursor: pointer; }
.primary-button:hover { filter: brightness(1.07); }

:focus-visible { outline: 3px solid #66b9f4; outline-offset: 3px; }

@media (max-width: 850px) {
  .site-header { height: 70px; padding: 0 20px; }
  .site-header nav { display: none; }
  .private-badge { margin-left: auto; }
  .brand-copy strong { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { min-height: 620px; }
  .hero-inner { width: min(100% - 32px, 680px); padding-top: 65px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { min-height: 126px; }
  .metric-card strong { margin-top: 12px; }
  .faq-grid { grid-template-columns: 1fr; }
  .sources-card { align-items: flex-start; flex-direction: column; }
  .source-links { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .site-header { padding: 0 14px; }
  .brand-copy small { display: none; }
  .private-badge { font-size: 10px; padding: 8px 10px; }
  .hero-inner { padding-top: 48px; }
  .hero h1 { font-size: clamp(44px, 13vw, 61px); }
  .hero-lead { font-size: 16px; margin: 22px 0 27px; }
  .search-panel { padding: 8px; }
  .search-box { height: 54px; }
  .search-box input { font-size: 15px; }
  kbd { display: none; }
  .filter-row { grid-template-columns: 1fr; }
  .filter-row label { border-right: 0; border-bottom: 1px solid #e7edf3; padding: 9px 12px; }
  .ghost-button { width: 100%; }
  .trust-row { gap: 10px; }
  .trust-row span { width: 100%; }
  .deadlines-section, .calendar-section, .faq-section { padding: 66px 16px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .section-heading h2 { font-size: 35px; }
  .outline-button { width: 100%; }
  .deadline-row { grid-template-columns: 62px 1fr; gap: 12px; padding: 17px 14px; }
  .deadline-meta { display: none; }
  .calendar-heading .calendar-controls { width: 100%; }
  .calendar-controls button { flex: 1; }
  .calendar-shell { padding: 16px 12px; border-radius: 18px; }
  .calendar-topline { align-items: flex-start; }
  .calendar-topline h3 { font-size: 21px; }
  .legend { display: none; }
  .weekday-row, .calendar-grid { display: none; }
  .mobile-agenda { display: block; border-top: 1px solid var(--line); }
  .mobile-day { display: grid; grid-template-columns: 55px 1fr; gap: 10px; padding: 15px 4px; border-bottom: 1px solid #e7edf3; }
  .mobile-day-date { color: #76879a; font-size: 10px; text-transform: uppercase; font-weight: 800; text-align: center; }
  .mobile-day-date strong { display: block; color: var(--navy); font-size: 25px; line-height: 1.1; }
  .mobile-day-events button { display: block; width: 100%; text-align: left; border: 0; border-left: 3px solid var(--blue); background: #edf7fe; color: #165c91; border-radius: 5px; padding: 9px 10px; margin-bottom: 5px; font-size: 11px; font-weight: 800; }
  .mobile-day-events button.ss { border-color: #7161cc; background: #f0efff; color: #5747aa; }
  .mobile-day-events button.contas { border-color: #d7963d; background: #fff4df; color: #8b5b1c; }
  .mobile-empty { padding: 30px 8px; text-align: center; color: #75869a; font-size: 13px; }
  .faq-count { display: none; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-meta { margin-left: 0; }
  dialog { padding: 25px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
