:root {
  color-scheme: light;
  --paper: #f6f8fb;
  --ink: #18243b;
  --muted: #56647b;
  --line: #dbe2ec;
  --blue: #075fc9;
  --amber: #915512;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
svg { display: block; flex-shrink: 0; }
a { color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: #dce9fc; }
p, h1, h2 { margin: 0; }
h1, h2 { text-wrap: balance; scroll-margin-top: 1.5rem; }
p { text-wrap: pretty; }
::selection { background: #d4e5fc; color: #18243b; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
main:focus-visible { outline-offset: 10px; }
.shell { width: min(1080px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 10px 18px; background: var(--ink); color: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; padding-block: 8px; font-size: 19px; font-weight: 650; letter-spacing: -.035em; text-decoration: none; }
.brand-mark, .brand-dot { color: var(--blue); }
.brand:hover { color: var(--blue); }
.header-note { color: var(--muted); font-size: 12px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 32px; padding-block: 66px 48px; }
.eyebrow { color: var(--blue); text-transform: uppercase; font-size: 11px; font-weight: 650; letter-spacing: .14em; margin-bottom: 18px; }
h1 { font-size: clamp(2.65rem, 4.5vw, 3.65rem); font-weight: 650; line-height: 1.08; letter-spacing: -.05em; }
.intro { max-width: 440px; margin-top: 22px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.connection-map { width: 100%; max-width: 390px; height: auto; justify-self: end; margin-top: 28px; }
.map-grid { stroke: #e6ebf3; stroke-width: 1; }

.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tool-card { display: flex; flex-direction: column; padding: 28px 30px 22px; background: #fff; border: 1px solid var(--line); border-top: 3px solid; border-radius: 12px; }
.azure-card { border-top-color: #2376d9; }
.aws-card { border-top-color: #c28535; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.provider { color: var(--muted); font-size: 12px; }
.provider-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; font-weight: 700; line-height: 1; }
.azure-mark { color: var(--blue); background: #eaf2fd; font-size: 25px; font-style: italic; }
.aws-mark { color: var(--amber); background: #fbefdc; font-size: 16px; letter-spacing: -.06em; }
h2 { font-size: 26px; font-weight: 650; letter-spacing: -.035em; line-height: 1.3; }
.card-description { color: var(--muted); margin-top: 12px; font-size: 14px; line-height: 1.8; max-width: 370px; }
.capabilities { display: flex; flex-wrap: wrap; gap: 8px; margin: 21px 0 25px; padding: 0; list-style: none; }
.capabilities li { padding: 4px 9px; border: 1px solid #e1e6ee; border-radius: 5px; color: #526078; background: #fbfcfe; font-size: 11px; line-height: 1.5; }
.tool-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding: 13px 17px; min-height: 48px; border-radius: 7px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.azure-link { background: var(--blue); }
.azure-link:hover { background: #064eaa; }
.aws-link { background: #26374e; }
.aws-link:hover { background: #14253b; }
.tool-link svg { transition: transform 150ms ease; }
.tool-link:hover svg { transform: translateX(3px); }
.tool-link:active { filter: brightness(.92); }
.destination { text-align: center; margin-top: 11px; color: var(--muted); font-size: 11px; }
.tools-note { text-align: center; margin-top: 23px; color: var(--muted); font-size: 12px; }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 49px; padding-block: 25px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
.byline { flex-shrink: 0; }
.byline > span { color: var(--ink); }
.error-main { max-width: 760px; margin: 80px auto; }
.error-main h1 { max-width: 650px; }
.error-main .intro { max-width: 620px; }
.error-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 24px; color: var(--muted); text-underline-offset: 4px; font-size: 13px; }
.back-link:hover { color: var(--blue); }

@media (max-width: 800px) {
  .shell { width: calc(100% - 48px); }
  .site-header { min-height: 90px; }
  .header-note { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 48px 36px; }
  .connection-map { display: none; }
  .intro { max-width: 490px; }
  .tool-card { padding: 24px 22px 20px; }
  .tools { gap: 18px; }
}

@media (max-width: 580px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 80px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { padding-block: 42px 31px; }
  h1 { font-size: clamp(2.25rem, 9.5vw, 3.1rem); }
  .eyebrow { font-size: 10px; margin-bottom: 15px; }
  .intro { font-size: 14px; line-height: 1.8; margin-top: 19px; }
  .tools, .error-links { grid-template-columns: minmax(0, 1fr); }
  .tool-card { padding: 22px 24px 19px; }
  .card-topline { margin-bottom: 10px; }
  .capabilities { margin-block: 18px 22px; }
  .site-footer { margin-top: 35px; align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 23px 28px; }
  .tools-note { max-width: 290px; margin: 21px auto 0; }
  .error-main { margin-block: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .tool-link svg { transition: none; }
  .tool-link:hover svg { transform: none; }
}
