/* Visual system shared with the Romanian insurance platform. */
@font-face {
  font-family: Fraunces;
  src: url("fonts/fraunces-ro.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/jakarta-ro.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --font-display: Fraunces, Georgia, serif;
  --font-body: "Plus Jakarta Sans", Inter, sans-serif;
  --font-sans: var(--font-body);
  --ink: #1e293b;
  --muted: #52647b;
  --blue: #4f46e5;
  --soft-accent: #eef2ff;
  --surface: #fff;
  --canvas: #f8fafc;
  --line: #e2e8f0;
}
html { scroll-padding-top: 80px; }
body { background: var(--canvas); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.032em; }
.wrap { width: min(1232px, calc(100% - 80px)); }
.btn { min-height: 46px; border-radius: 15px; }
header { position: sticky; top: 0; z-index: 12; background: #fffffff5; border-bottom: 1px solid #e7e9ef; backdrop-filter: blur(15px); }
.head { min-height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
.head > .brand { justify-self: start; }
.head .brand-lockup, footer .brand-lockup { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.head .brand-lockup img { width: 207px; height: auto; }
.head-actions { flex-wrap: nowrap; justify-self: end; }
.head > nav { gap: 10px; }
.head > nav a, .mobile-menu nav a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 9px 14px; border: 1px solid #e2e5ed;
  border-radius: 12px; font-size: .81rem; font-weight: 620; background: #fff;
}
.head nav a .ico { color: var(--blue); width: 15px; height: 15px; }
.head nav a:hover, .head nav a[aria-current] { text-decoration: none; border-color: #c4c5fc; background: var(--soft-accent); color: #3930ab; }
.head .nav-cta, .btn.primary {
  background: var(--blue); color: #fff; border-radius: 15px;
  box-shadow: 0 7px 17px -10px #5046d8a3;
}
.head .nav-cta { min-height: 44px; padding: 10px 18px; }
.head .nav-cta:hover, .btn.primary:hover { background: #4338ca; }
.btn.light { background: #fff; color: var(--ink); border-color: #dfe2e9; box-shadow: 0 2px 4px #0f172a09; }
.btn.light:hover { background: #fafaff; border-color: #bfc2f1; }
.btn.light .ico { color: var(--blue); }
::selection { background: #dddffd; color: #172343; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible, [tabindex="-1"]:focus-visible { outline-color: #3730a3; }
.skip { z-index: 30; }

/* Desktop access panel becomes a horizontally browsable row on a phone. */
.platform-hero {
  display: grid; grid-template-columns: minmax(0,1fr); align-items: center; background: radial-gradient(ellipse at 96% 0, #fafaff, transparent 34%), #fff;
  border-bottom: 1px solid var(--line);
  min-height: clamp(560px, calc(100svh - 65px), 840px);
}
.platform-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 64px; padding-block: 45px; }
.caps, .quick-caption {
  font-size: .67rem; font-weight: 680; line-height: 1.45; text-transform: uppercase; letter-spacing: .14em;
}
.caps { margin: 0 0 14px; color: var(--blue); }
.hero-copy h1 {
  max-width: 23ch; margin: 0; color: #1e293b; font: 600 clamp(2.65rem,3.5vw,3.2rem)/1.09 var(--font-display);
  letter-spacing: -.035em; text-wrap: pretty;
}
.hero-lead { max-width: 51ch; margin: 24px 0 29px; font-size: 1.05rem; line-height: 1.65; color: var(--muted); }
.hero-actions, .hero-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-actions .btn { min-height: 48px; padding: 12px 21px; font-size: .9rem; }
.label-short { display: none; }
.hero-shortcuts { margin-top: 8px; gap: 16px; }
.hero-shortcuts a, .platform-heading .text-link, .tile-open {
  display: inline-flex; align-items: center; gap: 7px; color: #4841cf; font-size: .86rem; font-weight: 600; text-decoration: none;
}
.hero-shortcuts a { min-height: 43px; }
.hero-shortcuts a:hover, .platform-heading a:hover { text-decoration: underline; }
.office-contact { display: flex; align-items: start; gap: 8px; max-width: 51ch; margin: 19px 0 0; color: var(--muted); font-size: .77rem; line-height: 1.6; }
.office-contact .ico { margin-top: 3px; color: var(--blue); }
.office-contact b { font-weight: 620; }
.quick-panel {
  position: relative; min-width: 0; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, #fafaff, #fff 85%);
  border: 1px solid #e1e3ed; border-radius: 27px;
  box-shadow: 0 31px 58px -28px #19234239, 0 0 54px -21px #7568dc44;
}
.quick-panel::before {
  position: absolute; content: ""; z-index: -1; top: -2px; right: -69px;
  width: 186px; height: 186px; border-radius: 50%; pointer-events: none;
  background: linear-gradient(135deg,#dedfffaa,#efeffd35);
}
.quick-heading { padding: 22px 24px 17px; border-bottom: 1px solid #e8e9f0; }
.quick-caption, .resource-type {
  display: inline-flex; align-items: center; gap: 7px; background: var(--soft-accent); color: #4338ca;
  border-radius: 100px; padding: 4px 11px;
}
.quick-caption .ico { width: 13px; height: 13px; }
.quick-heading h2 { margin: 10px 0 0; font: 500 .93rem/1.5 var(--font-body); letter-spacing: 0; color: #52647b; }
.quick-track { display: grid; gap: 3px; padding: 10px 12px; }
.quick-item {
  display: grid; grid-template-columns: 48px minmax(0,1fr) 38px; align-items: center;
  min-height: 77px; gap: 16px; padding: 12px 14px; border-radius: 16px; text-decoration: none; color: var(--ink);
  transition: background .2s, box-shadow .2s;
}
.quick-icon {
  display: inline-grid; align-content: center; justify-content: center; width: 48px; height: 48px; border-radius: 16px;
  border: 1px solid #dfe2ff; background: linear-gradient(135deg,#eff3ff,#f3efff); color: #4f46e5;
  box-shadow: inset 0 1px 1px #fff;
}
.quick-icon .ico { width: 20px; height: 20px; stroke-width: 1.9; }
.quick-copy strong, .quick-copy small { display: block; }
.quick-copy strong { font-size: .93rem; font-weight: 650; line-height: 1.38; }
.quick-copy small { margin-top: 4px; font-size: .8rem; color: var(--muted); line-height: 1.53; }
.quick-open {
  display: grid; place-content: center; width: 38px; height: 38px; color: #6b7181;
  background: #f4f4f7; border: 1px solid #e8e9ef; border-radius: 50%;
}
.quick-open .ico { width: 13px; height: 13px; }
.quick-item:hover { background: #fff; box-shadow: 0 9px 24px -14px #312ca64a; }
.quick-item:hover .quick-open { background: var(--soft-accent); color: var(--blue); }
.quick-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; border-top: 1px solid #e6e7ef; padding: 13px 16px; }
.quick-tools a {
  display: grid; place-content: center; text-decoration: none; color: #324056; background: #f3f4f7;
  border-radius: 11px; min-height: 45px; font-size: .81rem; font-weight: 620;
}
.quick-tools a:hover { background: #e9ebff; color: #3930ab; }

.situations-section, .homeblog, .resource-section { padding-block: clamp(46px, 6vw, 86px); }
.platform-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 27px; }
.platform-heading .caps { margin-bottom: 12px; color: #536480; }
.platform-heading h2 { font-size: clamp(1.95rem,2.7vw,2.55rem); line-height: 1.13; }
.platform-heading .text-link { min-height: 44px; }
.scenario-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.situation-tile, .resource-feature, .resource-note {
  min-width: 0; border: 1px solid var(--line); border-radius: 17px; background: white; text-decoration: none; color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
}
.situation-tile { display: flex; flex-direction: column; align-items: start; padding: clamp(18px,1.7vw,27px); }
.situation-tile:first-child { grid-column: span 2; background: radial-gradient(ellipse at 100% 0,#f0effe,transparent 60%),#fff; }
.situation-tile:nth-last-child(2) { grid-column: span 2; }
.situation-tile .quick-icon { width: 43px; height: 43px; border-radius: 13px; }
.situation-tile h3 { margin: 14px 0 5px; font: 650 1.04rem/1.35 var(--font-body); letter-spacing: -.02em; }
.situation-tile:first-child h3 { font: 600 1.55rem/1.23 var(--font-display); }
.situation-tile p, .resource-feature p { margin: 3px 0 17px; font-size: .88rem; line-height: 1.6; color: var(--muted); }
.tile-open { margin-top: auto; min-height: 26px; }
.situation-tile:hover, .resource-feature:hover, .resource-note:hover { border-color: #c5c6f9; box-shadow: 0 12px 30px -19px #4f46e56b; }
.resource-section { background: white; border-block: 1px solid var(--line); }
.resource-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.resource-feature, .resource-note { display: grid; grid-template-columns: minmax(105px,.8fr) minmax(0,1fr); min-height: 219px; overflow: hidden; }
.resource-grid img { width: 100%; height: 100%; object-fit: cover; }
.resource-grid a > div { align-self: center; padding: clamp(16px,1.9vw,27px); }
.resource-type { margin-bottom: 12px; font-size: .71rem; font-weight: 650; }
.resource-grid h3 { font-size: clamp(1.3rem,1.8vw,1.7rem); line-height: 1.17; margin-bottom: 10px; text-wrap: pretty; }
footer { background: linear-gradient(170deg,#f7f9ff,#fff 54%); color: var(--ink); border-top: 1px solid var(--line); }
.footer-grid { padding-block: 46px 30px; }
.footer-grid p, .footer-grid > div > a:not(.brand), .legalbar { color: var(--muted); }
.footer-grid strong { color: #1e293b; font-size: .9rem; }
.footer-grid > div > a:not(.brand) { margin: 0; padding: 6px 0; }
footer .brand-lockup img { width: 218px; height: auto; }
.legalbar { border-color: var(--line); }
.legalbar a { display: inline-flex; align-items: center; min-height: 36px; }
.legalpage { overflow-wrap: anywhere; }

@media (max-width: 1023px) {
  .wrap { width: calc(100% - 48px); }
  .head { grid-template-columns: auto 1fr auto; gap: 16px; }
  .head > nav { justify-self: center; }
  .head .brand-lockup img { width: 194px; }
  .platform-hero { min-height: auto; }
  .platform-intro { gap: 26px; padding-block: 46px; }
  .quick-item { padding: 11px 8px; gap: 10px; grid-template-columns: 40px 1fr 24px; }
  .quick-icon { width: 40px; height: 40px; border-radius: 13px; }
  .quick-open { width: 24px; height: 24px; }
  .scenario-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .situation-tile:first-child, .situation-tile:nth-last-child(2) { grid-column: auto; }
}
@media (max-width: 730px) {
  .wrap { width: calc(100% - 36px); }
  header { top: 3px; margin: 3px 12px 7px; border: 1px solid #e7e9ef; border-radius: 19px; box-shadow: 0 3px 14px #24274508; }
  .head { display: flex; justify-content: space-between; min-height: 57px; gap: 6px; width: calc(100% - 16px); }
  .head .brand-lockup img { width: clamp(159px,47vw,194px); }
  .head-actions { gap: 6px; flex: none; }
  .head .nav-cta { padding: 8px 12px; font-size: .76rem; min-height: 44px; }
  .mobile-menu summary { width: 44px; height: 44px; border-radius: 12px; }
  .mobile-menu nav { z-index: 12; min-width: 160px; top: 50px; }
  .mobile-menu nav a { display: flex; border: 0; gap: 9px; min-height: 44px; }
  .platform-hero {
    margin: 0 12px; border: 1px solid #e5e7f0; border-radius: 23px;
    background: radial-gradient(ellipse at 0 0,#eeedff 0%,transparent 42%), radial-gradient(ellipse at 100% 100%,#f2efff,transparent 42%),#fff;
    box-shadow: 0 16px 36px -25px #534aa02b;
  }
  .platform-intro { display: block; width: auto; margin: 0; padding: 26px 19px 20px; }
  .hero-copy h1 { font-size: clamp(1.93rem,6.6vw,2.65rem); line-height: 1.1; }
  .hero-copy h1 span { color: #5444db; }
  .hero-lead { margin: 13px 0 19px; font-size: .95rem; line-height: 1.61; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-actions .btn { gap: 6px; min-height: 49px; padding: 11px 5px; font-size: .84rem; border-radius: 15px; }
  .hero-actions .label-short { display: inline; }
  .hero-actions .label-full { display: none; }
  .hero-shortcuts { justify-content: center; gap: 11px; }
  .hero-shortcuts a { min-height: 40px; font-size: .77rem; }
  .office-contact { margin-top: 7px; font-size: .74rem; }
  .quick-panel { margin-top: 25px; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
  .quick-panel::before { display: none; }
  .quick-heading { padding: 0 0 10px; border: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
  .quick-caption { display: none; }
  .quick-heading h2 { margin: 0; font: 700 .65rem/1.5 var(--font-body); text-transform: uppercase; letter-spacing: .12em; }
  .quick-track {
    display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
    padding: 3px 2px 9px; scrollbar-width: thin; scrollbar-color: #cdcafa transparent;
  }
  .quick-item {
    flex: 0 0 clamp(143px,43vw,190px); display: flex; flex-direction: column; align-items: start; gap: 10px;
    padding: 13px; scroll-snap-align: start; border-radius: 17px; border: 1px solid #e3e5ee; background: #ffffffeb;
  }
  .quick-item:last-child { scroll-snap-align: end; }
  .quick-item:focus-visible { outline-offset: -3px; }
  .quick-copy strong { font-size: .79rem; }
  .quick-copy small { font-size: .71rem; line-height: 1.42; }
  .quick-open, .quick-tools { display: none; }
  .quick-controls { display: flex; gap: 5px; }
  .quick-controls button {
    display: grid; place-items: center; background: #fff; border: 1px solid #dfe1ef; border-radius: 12px;
    width: 44px; height: 44px; color: #4940c8;
  }
  .quick-controls button:disabled { opacity: .35; }
  .quick-controls button:first-child .ico { transform: rotate(180deg); }
  .quick-controls .ico { width: 13px; height: 13px; }
  .situations-section, .homeblog, .resource-section { padding-block: 38px; }
  .platform-heading { margin-bottom: 16px; gap: 3px 14px; }
  .scenario-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .situation-tile { padding: 15px; border-radius: 15px; }
  .situation-tile h3, .situation-tile:first-child h3 { font: 650 .99rem/1.35 var(--font-body); }
  .situation-tile p { font-size: .81rem; }
  .resource-grid { grid-template-columns: 1fr; gap: 12px; }
  .resource-grid img { max-height: 230px; }
  .footer-grid { padding-block: 35px 20px; }
  .footer-grid > div > a:not(.brand), .legalbar a { min-height: 44px; padding-block: 9px; }
  .legalbar { gap: 2px 18px; }
}
@media (min-width: 731px) { .quick-controls { display: none; } }
@media (max-width: 359px) {
  header { margin-inline: 7px; }
  .platform-hero { margin-inline: 7px; }
  .platform-intro { padding-inline: 15px; }
  .head .nav-cta { padding-inline: 9px; }
  .scenario-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
@media print {
  header, footer { display: none !important; }
  body { background: white; }
}
