/* Page-specific styles. Everything outside the guide (in particular the shared
   wordmark, language bar, navigation and footer) keeps the site-wide rules. */
#af-main.wm-guide {
  --wm-ink: #102c49;
  --wm-body: #2b4257;
  --wm-blue: #084d80;
  --wm-rule: #99b5ca;
  --wm-accent: #68c5ff;
  --wm-ice: #e1f1fa;
  --wm-gutter: clamp(1rem, 3.75vw, 4rem);
  --wm-max: 93rem;
  --wm-section-title: clamp(1.52rem, 2.58vw, 2.45rem);
  display: block;
  min-width: 0;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  color: var(--wm-ink);
  background-color: #fff;
  background-image: var(--af-weave, none);
  font-family: var(--mill-sans, system-ui, sans-serif);
  line-height: 1.5;
  text-align: start;
}
#af-main.wm-guide *, #af-main.wm-guide *::before, #af-main.wm-guide *::after { box-sizing: border-box; }
#af-main.wm-guide :where(h1,h2,h3,p,dl,dd,ol) { margin: 0; }
#af-main.wm-guide :where(h1,h2,h3,p,a,dt,dd) { overflow-wrap: break-word; }
#af-main.wm-guide :where(h1,h2,h3) { text-wrap: balance; }
#af-main.wm-guide .wm-inner {
  width: min(var(--wm-max), calc(100% - 2 * var(--wm-gutter)));
  margin-inline: auto;
  min-width: 0;
}
#af-main.wm-guide h2,
#af-main.wm-guide .wm-advice h3 {
  color: var(--wm-ink);
  font: 700 var(--wm-section-title)/1.13 var(--mill-sans, system-ui, sans-serif);
  letter-spacing: -.038em;
}
#af-main.wm-guide :is(a,button):focus-visible {
  outline: 3px solid #226db0;
  outline-offset: 3px;
  border-radius: .17rem;
}
#af-main.wm-guide :is(section,article,[tabindex]) { scroll-margin-top: 6rem; }
#af-main.wm-guide [hidden] { display:none !important; }

#af-main.wm-guide .wm-cover {
  margin: 0;
  padding: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  min-height: clamp(18.5rem,26.05vw,28rem);
  background: #0c253c;
  color: white;
  overflow: clip;
}
#af-main.wm-guide .wm-cover picture { position: absolute; inset:0; z-index:-1; display:block; }
#af-main.wm-guide .wm-cover picture img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 50%; }
[dir="rtl"] #af-main.wm-guide .wm-cover picture img { transform:scaleX(-1); }
#af-main.wm-guide .wm-cover-copy {
  padding-inline: clamp(0rem,1.55vw,1.55rem);
  padding-block: clamp(1.7rem,2.9vw,3rem);
}
#af-main.wm-guide .wm-cover-copy h1 {
  font: 700 clamp(2.35rem,4vw,4.1rem)/1.04 var(--mill-sans, system-ui, sans-serif);
  color: white;
  letter-spacing: -.045em;
  margin: 0;
  max-width: 48%;
  text-wrap: initial;
}
#af-main.wm-guide .wm-cover-copy h1 span { display: block; color: var(--wm-accent); }
#af-main.wm-guide .wm-cover-copy p {
  color: #f0f5f9;
  max-width:min(43%,45ch);
  margin-block:clamp(.7rem,1.05vw,1rem) clamp(1rem,1.9vw,1.9rem);
  font-size:clamp(1rem,1.42vw,1.33rem);
  line-height:1.42;
  text-wrap:pretty;
}
#af-main.wm-guide .wm-cta {
  display:inline-flex; align-items:center; justify-content:center;
  max-width:100%; min-height:2.75rem; padding:.64em 1.4em;
  color:var(--wm-ink); background:#fff; border:1px solid #e5ebef;
  border-radius:.43rem; text-decoration:none; font-size:clamp(1rem,1.25vw,1.16rem); font-weight:680; line-height:1.25;
}
#af-main.wm-guide .wm-cta:hover { background:#e6f2fa; border-color:#a9cfe4; }
#af-main.wm-guide .wm-cover .wm-cta:focus-visible { outline-color:#89d2ff; }

#af-main.wm-guide .wm-match { padding-block:clamp(1.35rem,2.15vw,2rem) 0; }
#af-main.wm-guide .wm-kicker {
  color:var(--wm-blue); font-size:clamp(.77rem,1.1vw,1rem); line-height:1.3;
  font-weight:700; letter-spacing:.052em; text-transform:uppercase;
  display:flex; align-items:center; gap:.67em; margin-block:0 .53em;
}
#af-main.wm-guide .wm-kicker::before {
  content:""; width:1.85em; flex:0 0 1.85em; border-block-start:2px solid #448ebc;
}
#af-main.wm-guide .wm-tabs {
  display:flex; align-items:stretch; flex-wrap:wrap; gap:0;
  margin-block:clamp(.7rem,1.15vw,1.12rem) clamp(.95rem,1.75vw,1.7rem);
}
#af-main.wm-guide .wm-tabs a {
  position:relative; display:flex; align-items:center;
  min-height:2.75rem; max-width:100%; padding-block:.4rem .58rem;
  color:var(--wm-body); text-decoration:none; line-height:1.23;
  font-size:clamp(1rem,1.45vw,1.33rem); font-weight:500;
  border-block-end:3px solid transparent;
}
#af-main.wm-guide .wm-tabs a:not(:last-child) { margin-inline-end:clamp(1.5rem,5.2vw,4.8rem); }
#af-main.wm-guide .wm-tabs a:not(:last-child)::after {
  content:""; border-inline-start:1px solid var(--wm-rule); position:absolute;
  inset-inline-end:clamp(-2.4rem,-2.6vw,-.75rem); height:.95em;
}
#af-main.wm-guide .wm-tabs a:hover { color:var(--wm-blue); border-block-end-color:#b0cedf; }
#af-main.wm-guide .wm-tabs a[aria-selected="true"] { color:var(--wm-blue); font-weight:700; border-block-end-color:#2178bd; }
#af-main.wm-guide .wm-sample {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  overflow:hidden; border-radius:clamp(.58rem,1vw,.95rem);
  background:var(--wm-ice);
  min-height:clamp(14.5rem,19.85vw,20.4rem);
}
#af-main.wm-guide .wm-sample + .wm-sample:not([hidden]) { margin-block-start:.8rem; }
#af-main.wm-guide .wm-sample[hidden] + .wm-sample:not([hidden]) { margin-block-start:0; }
#af-main.wm-guide .wm-sample > img {
  display:block; width:100%; height:100%; min-height:0;
  object-fit:cover; object-position:center;
  /* Limit intrinsic grid contribution: the text sets row height when longer. */
  grid-area:1 / 1; aspect-ratio: 2.36; max-height:none;
}
#af-main.wm-guide .wm-advice {
  align-self:center; min-width:0;
  padding:clamp(1.25rem,2.6vw,2.7rem) clamp(1.4rem,3.35vw,3.4rem);
}
#af-main.wm-guide .wm-advice h3 { font-size:clamp(1.65rem,3.06vw,2.9rem); margin-block-end:.38em; }
#af-main.wm-guide .wm-advice strong {
  display:block; color:var(--wm-ink);
  font-size:clamp(1.06rem,1.72vw,1.57rem); font-weight:680; line-height:1.24;
}
#af-main.wm-guide .wm-advice p, #af-main.wm-guide .wm-legacy {
  color:var(--wm-body); font-size:clamp(1rem,1.3vw,1.19rem); line-height:1.5;
}
#af-main.wm-guide .wm-advice p { margin-block:.52em .83em; max-width:60ch; }
#af-main.wm-guide .wm-details {
  display:inline-block; color:var(--wm-blue); font-size:clamp(1rem,1.35vw,1.24rem); font-weight:700;
  text-decoration:underline; text-decoration-color:#368bc5; text-decoration-thickness:2px; text-underline-offset:.19em;
}
#af-main.wm-guide .wm-details:hover { text-decoration-color:var(--wm-blue); }
#af-main.wm-guide .wm-legacy { padding:.65rem 1rem; margin-block:.35rem 1rem; border-inline-start:3px solid #6394b3; background:#f0f6fa; }
#af-main.wm-guide .wm-legacy:empty { display:none; }
#af-main.wm-guide .wm-legacy a { color:var(--wm-blue); }

#af-main.wm-guide .wm-services {
  margin-block-start:clamp(1.65rem,3.1vw,3.2rem); padding-block:clamp(1.1rem,1.45vw,1.55rem) clamp(1.8rem,3.1vw,3.4rem);
  border-block-start:1px solid #7198b4;
}
#af-main.wm-guide .wm-services dl { margin-block-start:1.05rem; }
#af-main.wm-guide .wm-services dl > div {
  display:grid; grid-template-columns:minmax(12rem,.78fr) minmax(0,2fr); gap:clamp(1.3rem,4vw,4rem);
  align-items:baseline; padding-block:.8rem; border-block-end:1px solid #c4d3de;
}
#af-main.wm-guide .wm-services dl > div:first-child { border-block-start:1px solid #c4d3de; }
#af-main.wm-guide .wm-services dt { color:var(--wm-ink); font-weight:680; font-size:clamp(1rem,1.35vw,1.23rem); }
#af-main.wm-guide .wm-services dt a { color:inherit; text-decoration-color:#91b5c9; }
#af-main.wm-guide .wm-services dt a:hover { color:var(--wm-blue); text-decoration-color:currentColor; }
#af-main.wm-guide .wm-services dd, #af-main.wm-guide .wm-trial li p { color:var(--wm-body); font-size:clamp(1rem,1.15vw,1.13rem); line-height:1.45; }
#af-main.wm-guide .wm-trial { background:#edf5fa; border-block-start:1px solid #d2e2ed; padding-block:clamp(1.5rem,3.1vw,3.4rem); }
#af-main.wm-guide .wm-trial ol {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1.25rem,3.4vw,3.6rem);
  list-style:decimal-leading-zero inside; padding:0; margin-block:clamp(1rem,1.8vw,1.8rem);
}
#af-main.wm-guide .wm-trial li { padding-block-start:.65rem; border-block-start:1px solid #a1bacb; }
#af-main.wm-guide .wm-trial li::marker { color:var(--wm-blue); font-weight:700; font-variant-numeric:tabular-nums; }
#af-main.wm-guide .wm-trial li h3 { display:inline; font-size:clamp(1.06rem,1.38vw,1.3rem); line-height:1.3; letter-spacing:-.015em; color:var(--wm-ink); font-weight:680; }
#af-main.wm-guide .wm-trial li p { margin-block-start:.37rem; }
#af-main.wm-guide .wm-trial .wm-cta { background:#113c5a; color:#fff; border-color:#113c5a; }
#af-main.wm-guide .wm-trial .wm-cta:hover { background:#154e75; }
#af-main.wm-guide:lang(ar) :is(h1,h2,h3,.wm-kicker,.wm-tabs a) { letter-spacing:normal; line-height:1.38; }

@media(max-width:900px) {
  #af-main.wm-guide .wm-cover-copy { padding-inline:0; }
  #af-main.wm-guide .wm-tabs a:not(:last-child) { margin-inline-end:2rem; }
  #af-main.wm-guide .wm-tabs a:not(:last-child)::after { inset-inline-end:-1rem; }
  #af-main.wm-guide .wm-services dl > div { grid-template-columns:minmax(11rem,1fr) minmax(0,1.9fr); gap:1.3rem; }
}
@media(max-width:700px) {
  #af-main.wm-guide .wm-trial ol { grid-template-columns:minmax(0,1fr); gap:.65rem; }
  #af-main.wm-guide .wm-advice { padding:1.15rem; }
  #af-main.wm-guide .wm-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:1rem; row-gap:.12rem; }
  #af-main.wm-guide .wm-tabs a:not(:last-child) { margin-inline-end:0; }
  #af-main.wm-guide .wm-tabs a:not(:last-child)::after { display:none; }
}
@media(max-width:600px) {
  #af-main.wm-guide { --wm-gutter:clamp(.88rem,4vw,1.4rem); }
  #af-main.wm-guide .wm-cover { display:flex; flex-direction:column; min-height:0; }
  #af-main.wm-guide .wm-cover-copy { order:-1; padding-block:1.15rem 1.05rem; }
  #af-main.wm-guide .wm-cover-copy h1 { max-width:100%; font-size:clamp(1.85rem,7.5vw,2.5rem); }
  #af-main.wm-guide .wm-cover-copy h1 span { display:inline; }
  #af-main.wm-guide .wm-cover-copy p { max-width:49ch; margin-block:.48rem .7rem; font-size:1rem; }
  #af-main.wm-guide .wm-cover .wm-cta { min-height:2.45rem; padding:.49rem .92rem; }
  #af-main.wm-guide .wm-cover picture { position:static; z-index:auto; width:100%; }
  #af-main.wm-guide .wm-cover picture img { height:auto; aspect-ratio:3.45; object-fit:cover; object-position:50% 48%; }
  #af-main.wm-guide .wm-match { padding-block-start:1.12rem; }
  #af-main.wm-guide .wm-kicker { margin-block-end:.38em; }
  #af-main.wm-guide .wm-kicker::before { display:none; }
  #af-main.wm-guide .wm-tabs { margin-block:.5rem .75rem; }
  #af-main.wm-guide .wm-tabs a { min-height:2.5rem; font-size:1rem; padding-block:.32rem; }
  #af-main.wm-guide .wm-sample { display:flex; flex-direction:column; min-height:0; }
  #af-main.wm-guide .wm-sample > img { height:auto; aspect-ratio:2.75; }
  #af-main.wm-guide .wm-advice { align-self:stretch; padding:.95rem 1.05rem 1.07rem; }
  #af-main.wm-guide .wm-advice h3 { font-size:1.48rem; margin-block-end:.27em; }
  #af-main.wm-guide .wm-advice strong { font-size:1.05rem; }
  #af-main.wm-guide .wm-advice p { margin-block:.35rem .52rem; font-size:1rem; line-height:1.42; }
  #af-main.wm-guide .wm-services { margin-block-start:1.35rem; padding-block:1rem 1.35rem; }
  #af-main.wm-guide .wm-services dl > div { grid-template-columns:minmax(0,1fr); gap:.21rem; padding-block:.63rem; }
  #af-main.wm-guide .wm-services dl { margin-block-start:.68rem; }
  #af-main.wm-guide .wm-trial { padding-block:1.3rem; }
  #af-main.wm-guide :is(section,article,[tabindex]) { scroll-margin-top:4.3rem; }
}
@media(forced-colors:active) {
  #af-main.wm-guide .wm-tabs a[aria-selected="true"] { border-color:Highlight; }
}

/* Installation checks and sample trials: one shared type scale, two distinct reading patterns. */
#af-main.wm-guide .wm-services,
#af-main.wm-guide .wm-trial {
  --wm-label-size: clamp(1rem, .96rem + .22vw, 1.14rem);
  --wm-copy-size: clamp(.953rem, .92rem + .18vw, 1.04rem);
  --wm-hairline: #ccdae3;
}
#af-main.wm-guide .wm-services { padding-block: clamp(1.2rem,2.4vw,2.2rem) clamp(1.5rem,2.8vw,2.8rem); }
#af-main.wm-guide .wm-services dl {
  margin-block: clamp(.8rem,1.4vw,1.35rem) 0;
  border-block: 1px solid #acc2d2;
  background-color: rgb(250 252 253 / 78%);
}
#af-main.wm-guide .wm-services dl > div {
  display:grid; grid-template-columns: minmax(0,0.95fr) minmax(0,1.75fr);
  align-items:center; gap:clamp(1.1rem,3vw,3rem);
  padding:clamp(.7rem,.9vw,.93rem) clamp(.7rem,1.3vw,1.35rem); border:0;
}
#af-main.wm-guide .wm-services dl > div + div { border-block-start:1px solid var(--wm-hairline); }
#af-main.wm-guide .wm-services dt { margin:0; }
#af-main.wm-guide .wm-services dt a {
  display:inline-flex; flex-wrap:wrap; align-items:baseline; max-width:100%; gap:.2rem .55rem;
  min-block-size:1.6rem; text-decoration:none; line-height:1.32;
}
#af-main.wm-guide .wm-machine-name {
  font-size:var(--wm-label-size); font-weight:650; color:var(--wm-blue);
  text-decoration:underline; text-decoration-color:#a6bfcd; text-decoration-thickness:1px; text-underline-offset:.2em;
}
#af-main.wm-guide .wm-services dt a:is(:hover,:focus-visible) .wm-machine-name { text-decoration-color:currentColor; }
#af-main.wm-guide .wm-model {
  display:inline-flex; flex:none; align-items:baseline; padding-inline-start:.57rem;
  border-inline-start:1px solid #acc2d0; color:#476073; font-size:.81rem; line-height:1.05;
  font-weight:560; letter-spacing:.018em; font-variant-numeric:tabular-nums; white-space:nowrap;
}
#af-main.wm-guide .wm-services dd,
#af-main.wm-guide .wm-trial li p {
  font-size:var(--wm-copy-size); font-weight:400; letter-spacing:normal; line-height:1.45;
  color:var(--wm-body); text-wrap:pretty;
}
#af-main.wm-guide .wm-services dd strong {
  display:block; margin-block:0 .1rem; font-weight:650; color:var(--wm-ink);
}
#af-main.wm-guide .wm-trial {
  background-color:#edf4f8; border-block-start:1px solid #ccdae3;
  padding-block:clamp(1.25rem,2.7vw,2.65rem);
}
#af-main.wm-guide .wm-trial .wm-inner {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center;
  grid-template-areas:"heading action" "steps steps"; column-gap:1.25rem; row-gap:clamp(.85rem,1.65vw,1.55rem);
}
#af-main.wm-guide .wm-trial-heading { grid-area:heading; min-width:0; }
#af-main.wm-guide .wm-trial ol { grid-area:steps; list-style:none; margin:0; gap:clamp(1.15rem,2.75vw,2.6rem); }
#af-main.wm-guide .wm-trial li {
  display:grid; grid-template-columns:auto minmax(0,1fr); align-content:start; align-items:baseline;
  gap:.25rem .55rem; margin:0; padding-block:.75rem 0; border-block-start:1px solid #abbdca;
}
#af-main.wm-guide .wm-step-number {
  color:#426780; font-size:.75rem; font-weight:600; line-height:1.2; letter-spacing:.055em; font-variant-numeric:tabular-nums;
}
#af-main.wm-guide .wm-trial li h3 { margin:0; font-size:var(--wm-label-size); font-weight:650; line-height:1.3; }
#af-main.wm-guide .wm-trial li p { grid-column:2; margin:0; }
#af-main.wm-guide .wm-chat {
  grid-area:action; justify-self:end; min-height:44px; max-width:100%; display:inline-flex;
  align-items:center; text-decoration:none; color:#fff; line-height:1.25;
}
#af-main.wm-guide .wm-chat > span {
  display:inline-flex; align-items:center; gap:.42rem; padding:.41rem .8rem;
  background:#164b61; color:#fff; border-radius:.32rem; font-size:.9rem; font-weight:620;
}
#af-main.wm-guide .wm-chat svg { width:1rem; height:1rem; flex:none; fill:none; stroke:currentColor; }
#af-main.wm-guide .wm-chat:is(:hover,:focus-visible) > span { background:#0e394b; }
#af-main.wm-guide:lang(ar) :is(.wm-chat,.wm-machine-name,.wm-trial li h3) { line-height:1.48; letter-spacing:normal; }
@media(max-width:700px) {
  #af-main.wm-guide .wm-services dl > div { grid-template-columns:minmax(0,1fr); gap:.27rem; padding:.61rem .64rem; }
  #af-main.wm-guide .wm-services dd strong { display:inline; margin:0; }
  #af-main.wm-guide .wm-services dd strong::after { content:" · "; font-weight:400; color:#788c9a; }
  #af-main.wm-guide .wm-trial .wm-inner { grid-template-columns:1fr; grid-template-areas:"heading" "steps" "action"; gap:.68rem; }
  #af-main.wm-guide .wm-trial ol { grid-template-columns:1fr; gap:.6rem; }
  #af-main.wm-guide .wm-trial li { gap:.12rem .55rem; padding-block-start:.6rem; }
  #af-main.wm-guide .wm-chat { justify-self:start; }
}
@media(forced-colors:active) {
  #af-main.wm-guide .wm-chat > span { border:1px solid ButtonText; }
}
