/* Readability, alignment, logo and icon polish. Loads last. */

/* ---- icons: one consistent weight ---- */
svg.i{stroke-width:1.75}

/* ---- header & logo ---- */
.bar{height:84px;gap:20px}
.brand{gap:14px!important;align-items:center}
.brand .seal{width:60px;height:60px;border-radius:17px;border:1.5px solid #b69765;box-shadow:0 4px 14px rgba(30,44,77,.18)}
.brand>span:last-child{display:flex;flex-direction:column;justify-content:center;line-height:1}
.brand .brandask{font-size:13px;letter-spacing:.02em;margin-bottom:3px;line-height:1.1}
.brand b{font-size:31px;line-height:1.02}
.brand small{font-size:11px;letter-spacing:.16em;margin-top:5px;line-height:1.1}
html[dir="rtl"] .brand small{letter-spacing:0;font-size:12.5px}
html[dir="rtl"] .brand .brandask{font-size:14px}
nav.desk a{font-size:16px;padding:9px 15px}
.langs{padding:4px}
.langs button{font-size:13.5px;min-width:38px;height:32px;padding:0 10px}
.inbox{width:44px;height:44px}
.inbox svg.i{width:21px;height:21px}
.demo-strip{font-size:12.5px;padding:8px 16px;line-height:1.45;letter-spacing:.01em}

/* ---- type sizes ---- */
.eyebrow{font-size:13px;letter-spacing:.14em}
html[dir="rtl"] .eyebrow{font-size:14px;letter-spacing:0}
.hero .lead{font-size:19px;line-height:1.6}
.sf label{font-size:12.5px}
html[dir="rtl"] .sf label{font-size:13.5px}
.sf .in{font-size:17px}
.stab{font-size:16px}
.stab svg.i{width:20px;height:20px}
.qk{font-size:15px;padding:8px 16px}
.assure{font-size:15px;gap:8px 26px}
.assure svg.i{width:18px;height:18px}
.ph p{font-size:17px}
.tag{font-size:13.5px;padding:5px 11px}
.kv{font-size:15px}
.price small{font-size:13px}
.rbar b{font-size:16px}
.rbar select,.rbar label{font-size:15px!important}
.chip{font-size:15px;padding:8px 16px}
.box ul,.box p{font-size:15.5px}
.chathead small,.composer small{font-size:13.5px}
.msg{font-size:16px}
footer{font-size:15px}
.install-mini{font-size:14px}

/* ---- entry tiles & icons ---- */
.tile{padding:22px;gap:12px}
.tile .ic{width:52px;height:52px;border-radius:15px;background:var(--navy);border-color:var(--navy);color:#E1C793}
.tile .ic svg.i{width:26px;height:26px}
.tile.dark .ic{background:rgba(255,255,255,.08);border-color:rgba(225,199,147,.55)}
.tile p{font-size:15.5px}
.tile .meta{font-size:14.5px}
.doc .ic{width:52px;height:60px}
.doc .ic svg.i{width:26px;height:26px}
.doc p{font-size:15.5px}

/* ---- service cards ---- */
.who{align-items:center;gap:16px}
.who>div{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.who br{display:none}
.prof-link{display:block;text-align:start;font:inherit;color:var(--navy)}
.who b{font-size:23px;line-height:1.15}
.who .sub{font-size:14.5px;display:block}
.rate{font-size:14.5px}
.card .cf{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px}
.card .cf .price b{font-size:30px}
.card .viewpro{font-size:14px!important;padding:9px 14px!important}
.card .cf .btn.pri{padding:10px 18px}
.pro-demo{font-size:12.5px;margin-top:2px;color:#8f7547}

/* ---- scrollable chip rows: show there is more ---- */
.chiprow{-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
html[dir="rtl"] .chiprow{-webkit-mask-image:linear-gradient(270deg,#000 88%,transparent);mask-image:linear-gradient(270deg,#000 88%,transparent)}

/* ---- bottom navigation (phones & tablets) ---- */
nav.tabs a{font-size:12.5px;gap:4px;padding:10px 2px 9px}
nav.tabs svg.i{width:24px;height:24px}
nav.tabs .ai{width:52px;height:52px;margin-top:-24px;border:2px solid var(--surface)}
nav.tabs .ai svg.i{width:24px;height:24px}
body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
@media (min-width:900px){body{padding-bottom:0}}

/* ---- phones ---- */
@media (max-width:600px){
  .bar{height:74px;gap:10px}
  .brand{gap:11px!important}
  .brand .seal{width:50px;height:50px;border-radius:14px}
  .brand .brandask{font-size:12px}
  .brand b{font-size:25px}
  .brand small{display:none}
  .brand b{white-space:nowrap}
  .langs button{font-size:13px;min-width:34px;height:32px;padding:0 8px}
  .inbox{width:42px;height:42px}
  .demo-strip{font-size:12px;padding:7px 14px}
  .hero .rule{font-size:12px!important}
  .hero .lead{font-size:16.5px!important}
  .stab{font-size:13.5px}
  .stab svg.i{width:21px;height:21px}
  .sf label{font-size:12px}
  .quick{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;scrollbar-width:none;padding-inline:12px}
  .quick::-webkit-scrollbar{display:none}
  .quick>*{flex:none}
  .assure{font-size:13.5px!important;gap:6px 16px!important}
  .tiles{grid-template-columns:1fr;gap:10px;margin-top:22px!important}
  .tile{display:grid;grid-template-columns:52px 1fr;grid-template-areas:"ic h" "ic p" "ic m";column-gap:14px;row-gap:4px;align-items:start;padding:16px}
  .tile .ic{grid-area:ic;align-self:center}
  .tile h3{grid-area:h;font-size:22px}
  .tile p{grid-area:p;font-size:14.5px}
  .tile .meta{grid-area:m;font-size:14px;margin-top:4px}
  .eyebrow{font-size:12px}
  .ph p{font-size:15.5px}
  .who b{font-size:22px}
  .card{padding:18px}
  .card .cf{grid-template-columns:1fr auto auto;gap:8px}
  .card .cf .price b{font-size:27px}
  .kv{font-size:14.5px}
  /* results pages: compact search shows one line; tapping opens full search */
  .searchcard.compact:not(.fs):not(.has-place) .sform>.sf:nth-of-type(2){display:none}
  .searchcard.compact:not(.fs) .sform{grid-template-columns:1fr auto}
  .searchcard.compact:not(.fs) .sform .go{height:52px;padding-inline:16px;font-size:0;gap:0;width:52px}
  .searchcard.compact:not(.fs) .sform .go svg.i{width:21px;height:21px}
  .searchcard.compact.has-place:not(.fs) .sform{grid-template-columns:1fr}
  .searchcard.compact.has-place:not(.fs) .sform .go{width:auto;font-size:16px;gap:8px}
  footer{font-size:14px}
}
html[dir="rtl"] .demo-strip{font-size:14px}
html[dir="rtl"] .assure{font-size:15.5px}
@media (max-width:600px){html[dir="rtl"] .demo-strip{font-size:13px}html[dir="rtl"] .assure{font-size:14px!important}}
