@import url('/global-polish.css');

/* VERITYGRID — executive mobile polish
   Goal: calm, institutional, spacious, premium — never flashy. */
@media (max-width:600px){
  :root{--mobile-gutter:20px}
  html{scroll-padding-top:74px}
  body{font-size:14px;line-height:1.66;overflow-x:hidden}
  .shell,.site-header{width:min(calc(100% - (var(--mobile-gutter) * 2)),1180px)}
  .site-header{height:66px;gap:8px}
  .brand{gap:8px;font-size:10px;letter-spacing:.1em}
  .brand img,.mark{width:27px;height:27px;flex:0 0 27px}
  #language-select{max-width:96px!important;min-height:34px!important;padding:6px 8px!important;font-size:10.5px!important}
  .nav-cta{min-height:34px;padding:6px 10px;font-size:9.5px;display:inline-flex;align-items:center}

  .hero{min-height:auto;padding-block:42px 50px;gap:28px}
  .eyebrow{font-size:9px;line-height:1.4;margin-bottom:12px}
  .hero h1{font-size:42px;line-height:1.04;margin-bottom:18px;max-width:10ch}
  .lede{font-size:14px;line-height:1.68;max-width:38em}
  .hero-actions{margin-top:22px;gap:12px;flex-direction:column;align-items:stretch}
  .hero-actions .button{width:100%;min-height:48px;padding-inline:18px}
  .text-link{align-self:flex-start;font-size:12px}
  .trust-list{margin-top:22px;gap:5px;flex-direction:column;font-size:11.5px}
  .hero-panel{padding:18px;border-radius:4px;box-shadow:0 12px 34px rgba(32,39,37,.045)}
  .panel-question{font-size:21px;line-height:1.42;margin:22px 0}
  .evidence-row{padding:12px 0}

  .manifesto{padding:54px 0 60px}
  .manifesto>p{font-size:12px}
  .manifesto h2{font-size:28px;line-height:1.24;margin-top:13px;max-width:16ch}

  .section{padding-block:54px}
  .section-heading{margin-bottom:26px}
  .section-heading h2{font-size:29px;line-height:1.22;margin-bottom:13px;max-width:17ch}
  .section-heading>p:last-child{font-size:13px;line-height:1.72}

  .flow-grid,.four-checks,.case-grid,.principle-grid{grid-template-columns:1fr}
  .flow-grid li,.case-grid article,.four-checks article{min-height:0;padding:20px 18px}
  .flow-grid b,.case-grid h3,.four-checks h3,.principle-grid h3{font-size:20px;line-height:1.35;margin:11px 0 5px}
  .flow-grid p,.case-grid p,.four-checks p,.principle-grid p{font-size:12.5px;line-height:1.72}
  .principle-grid{gap:18px}
  .principle-grid article{padding-top:18px}

  .credential-layout{gap:28px}
  .section-heading.light h2{font-size:28px;max-width:17ch}
  .principle-note{margin-top:18px;padding-inline-start:13px;font-size:11px;line-height:1.72}
  .credential-card{padding:17px;border-radius:4px}
  .credential-card h3{font-size:20px;line-height:1.4}
  .credential-summary{grid-template-columns:1fr 1fr;margin:19px 0}
  .credential-summary>div{padding:13px 10px}
  .credential-summary strong{font-size:15px}
  .check{padding:11px 0;gap:14px}
  .decision-note{padding:13px;margin-top:18px}

  .product{gap:26px}
  .product-title h2{font-size:31px;line-height:1.08;overflow-wrap:normal;word-break:normal}
  .lede.small{font-size:13.5px;line-height:1.68}
  .use-cases .section-heading{margin-bottom:24px}
  .principles{padding-bottom:56px}

  .validation{padding-block:50px}
  .validation-intro,.request-shell{gap:26px}
  .request-shell{margin-top:30px}
  .validation-scope{padding:20px 18px;border-radius:4px}
  .validation-scope>strong{font-size:44px}
  .request-copy h3{font-size:24px;line-height:1.3;margin-bottom:12px}
  .validation-form{padding:18px 16px;border-radius:4px}
  .field-grid{grid-template-columns:1fr;gap:0}
  .validation-form label{font-size:11px;margin-bottom:12px;gap:6px}
  .validation-form input,.validation-form select{min-height:46px;padding:10px 11px;font-size:16px}
  .validation-form textarea{min-height:108px;padding:11px;font-size:14px;line-height:1.65}
  .validation-form .button{min-height:48px}
  .form-note{font-size:9.5px;line-height:1.6}

  .footer{grid-template-columns:1fr;min-height:0;padding:30px 0 34px;gap:9px}
  .footer p{font-size:17px}
  .footer small{grid-column:auto;text-align:start;font-size:9.5px;line-height:1.65}
}

/* Arabic is intentionally calmer than the Latin display scale. */
@media (max-width:600px){
  html[lang="ar"] body{font-family:"Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;font-size:14px;line-height:1.84}
  html[lang="ar"] .hero{padding-block:38px 44px;gap:24px}
  html[lang="ar"] .hero h1{font-size:32px!important;line-height:1.42!important;font-weight:600;max-width:10.5ch;margin-inline-start:auto;text-wrap:balance}
  html[lang="ar"] .hero .lede{font-size:13.5px!important;line-height:1.9!important;max-width:34em;margin-inline-start:auto;color:#5f6662}
  html[lang="ar"] .hero-actions .button{font-size:13px}
  html[lang="ar"] .text-link{line-height:1.8;color:#39423f}
  html[lang="ar"] .trust-list{font-size:12px;line-height:1.8;color:#626964}
  html[lang="ar"] .panel-question{font-size:20px!important;line-height:1.68!important}
  html[lang="ar"] .manifesto{padding:46px 0 52px}
  html[lang="ar"] .manifesto h2{font-size:25px!important;line-height:1.58!important;max-width:14ch;margin-inline-start:auto}
  html[lang="ar"] .section{padding-block:48px}
  html[lang="ar"] .section-heading{margin-bottom:22px}
  html[lang="ar"] .section-heading h2,html[lang="ar"] .validation h2{font-size:25px!important;line-height:1.58!important;max-width:15ch;margin-inline-start:auto}
  html[lang="ar"] .section-heading>p:last-child{font-size:13px!important;line-height:1.9!important;color:#626964}
  html[lang="ar"] .flow-grid b,html[lang="ar"] .four-checks h3,html[lang="ar"] .case-grid h3,html[lang="ar"] .principle-grid h3{font-size:18px!important;line-height:1.62!important}
  html[lang="ar"] .flow-grid p,html[lang="ar"] .four-checks p,html[lang="ar"] .case-grid p,html[lang="ar"] .principle-grid p{font-size:12.5px!important;line-height:1.88!important;color:#626964}
  html[lang="ar"] .flow-grid li,html[lang="ar"] .case-grid article,html[lang="ar"] .four-checks article{padding-block:18px}
  html[lang="ar"] .credential-layout{gap:24px}
  html[lang="ar"] .credential-card h3{font-size:19px!important;line-height:1.55!important}
  html[lang="ar"] .credential-summary span,html[lang="ar"] .credential-card .check span{font-size:11px!important;line-height:1.65!important}
  html[lang="ar"] .credential-card .check b{font-size:11.5px!important}
  html[lang="ar"] #product .product-title h2{font-family:Georgia,'Times New Roman',serif!important;font-size:27px!important;line-height:1.1!important;direction:ltr;unicode-bidi:isolate;text-align:right;white-space:normal}
  html[lang="ar"] #product .product-title .lede{font-size:13px!important;line-height:1.8!important;color:#626964}
  html[lang="ar"] .latin-isolate{direction:ltr;unicode-bidi:isolate;display:inline-block;font-family:inherit}
  html[lang="ar"] #product .latin-isolate{font-family:Georgia,'Times New Roman',serif}
  html[lang="ar"] .validation{padding-block:46px}
  html[lang="ar"] .validation-intro h2{font-size:24px!important;line-height:1.58!important}
  html[lang="ar"] .validation-intro>div>p:not(.eyebrow){font-size:12.5px!important;line-height:1.9!important;color:#626964}
  html[lang="ar"] .validation-scope>strong{font-size:42px!important;direction:ltr;unicode-bidi:isolate}
  html[lang="ar"] .validation-scope p{font-size:12.5px!important;line-height:1.8!important;color:#555d59}
  html[lang="ar"] .validation-scope small{font-size:10.5px!important;line-height:1.75!important;color:#6a716d}
  html[lang="ar"] .request-copy h3{font-size:21px!important;line-height:1.62!important;max-width:16ch;margin-inline-start:auto}
  html[lang="ar"] .request-copy>p:not(.eyebrow),html[lang="ar"] .request-copy li{font-size:12.5px!important;line-height:1.9!important;color:#626964}
  html[lang="ar"] .validation-form label{font-size:11.5px!important}
  html[lang="ar"] .validation-form input,html[lang="ar"] .validation-form select{font-size:14px!important;min-height:46px!important}
  html[lang="ar"] .validation-form textarea{font-size:13px!important;line-height:1.8!important;min-height:108px!important}
  html[lang="ar"] .validation-form .button{font-size:13px!important}
  html[lang="ar"] .form-note{color:#6b726e}
  html[lang="ar"] .footer>p{font-size:17px!important;line-height:1.6!important}
  html[lang="ar"] .footer small{font-size:10px!important;line-height:1.8!important;color:#686f6b}
}

@media (max-width:390px){
  :root{--mobile-gutter:17px}
  .hero h1{font-size:38px}
  html[lang="ar"] .hero h1{font-size:30px!important}
  html[lang="ar"] #product .product-title h2{font-size:25px!important}
}

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