*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --navy: #0F172A;
  --navy-mid: #1E293B;
  --text: #1E293B;
  --muted: #64748B;
  --border: #E2E8F0;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --azure: #0078D4;
  --gcp: #EA4335;
  --aws: #FF9900;
  --oci: #C74634;
  --radius: 10px;
  --ok: #15803D;
  --warn: #B45309;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span { color: #93C5FD; font-weight: 600; }
.nav { display: flex; flex-wrap: wrap; gap: 1.1rem; list-style: none; }
.nav a {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }

main {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 3.5rem;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--navy);
}
h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--navy);
}
h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--navy-mid);
}
.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 1.75rem;
}
p, li { color: var(--text); }
p + p { margin-top: 0.85rem; }
ul, ol { margin: 0.75rem 0 1rem 1.25rem; }
li + li { margin-top: 0.35rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: block;
}
.tile:hover {
  border-color: #BFDBFE;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  text-decoration: none;
}
.tile h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.tile p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.tile .cloud {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.cloud.azure { color: var(--azure); }
.cloud.gcp { color: var(--gcp); }
.cloud.aws { color: var(--aws); }
.cloud.oci { color: var(--oci); }

.note, .warn, .ok {
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}
.note { background: #EFF6FF; border: 1px solid #BFDBFE; }
.warn { background: #FFFBEB; border: 1px solid #FDE68A; }
.ok { background: #F0FDF4; border: 1px solid #BBF7D0; }

code, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}
code {
  background: #F1F5F9;
  padding: 0.12em 0.4em;
  border-radius: 4px;
}
pre {
  background: var(--navy);
  color: #E2E8F0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.85rem;
  margin: 1rem 0;
  line-height: 1.5;
}
pre code { background: none; padding: 0; color: inherit; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}
th, td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { background: #F1F5F9; font-weight: 600; color: var(--navy); }
tr:last-child td { border-bottom: none; }

.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  margin: 1.25rem 0;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-top: 1px;
}

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 1.5rem;
  font-size: 0.85rem;
}
.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: white; }
.footer-links { display: flex; gap: 1.25rem; list-style: none; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }

@media (max-width: 640px) {
  h1 { font-size: 1.6rem; }
  .site-header-inner { height: auto; padding: 0.85rem 1rem; flex-direction: column; align-items: flex-start; }
  .nav { gap: 0.75rem; }
}
