:root{
  --ss-red:#e11d2f;
  --ss-navy:#01457c;
  --ink:#0f172a;
  --text:#0b1220;
  --muted:#64748b;
  --border:#e6e9ef;
  --bg:#ffffff;
  --card-bg:#ffffff;
  --radius:14px;
  --shadow:0 10px 24px rgba(2,8,23,0.08);
  --shadow-hover:0 12px 28px rgba(2,8,23,0.12);
  --maxw:1100px;
  --spacing-x:16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background:var(--bg);
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size:14px;
  line-height:1.5;
}


/* Top bar */
.topbar{
  background:rgba(0, 0, 0, 1);
  color:#ffffff;
  position:sticky;
  top:0;
  z-index:10;
  box-shadow:0 2px 0 rgba(0,0,0,0.05);
  border-bottom:1px solid rgba(225,29,47,0.35);
}
/* Hide nav */
.nav{display:none!important}

.topbar-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:10px var(--spacing-x);
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:inherit}
.brand-mark{height:22px;width:auto;display:block;filter:drop-shadow(0 1px 0 rgba(0,0,0,.08))}
.brand-name{font-weight:600;letter-spacing:.2px}

/* Hero */
.hero{
  max-width:900px;
  margin:44px auto 10px;
  text-align:center;
  padding:0 var(--spacing-x);
}
.hero-logo{height:56px;width:auto;margin:0 auto 12px;display:block}
.hero h1{
  margin:0 0 8px;
  color:#000000;
  font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size:32px;
  font-style:bold;
  font-weight:300;
  line-height:normal;
  text-transform: uppercase;
}

.sub{
  margin:0;
  color:#000000; /* black text for the sentence */
  font-size:15px;
  font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.sub-welcome{
color: #F9423A;
font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
font-size: 32px;
font-style: normal;
font-weight: 300;
line-height: normal;
}


/* Need Help */
.help{padding:0px 0 0}
.help-inner{max-width:var(--maxw);margin:6px auto 22px;text-align:center;color:var(--muted);font-family: Roboto, Arial, sans-serif;font-size:14px}
.help-label{font-weight:700;color:var(--ink);margin-right:24px}
.help-link{color:var(--ss-red);text-decoration:none;font-weight:600}
.help-link:hover{text-decoration:underline}
.help .sep{margin:0 10px;opacity:.5}
.help-link.help-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.help-link.help-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.05));
}

/* TWO COLUMNS — PERFECT TOP ALIGN*/
main.cards{
  max-width:var(--maxw);
  margin:28px auto 48px;
  padding:0 var(--spacing-x);

  /* Force flex layout */
  display:flex !important;
  align-items:flex-start !important;   /* start on the same top line */
  gap:28px;
}

main.cards > article.card{
  flex:1 1 0;        /* equal widths */
  min-width:0;       /* allow shrinking if text is long */
  margin:0 !important;
  align-self:flex-start;              /* never let one card stretch down first */
  display:flex;
  flex-direction:column;
  height:100%;
}

/* Base card styling (make sure it exists once) */
.card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:transform .12s ease,box-shadow .12s ease;
}
.card:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover)}

/* Consistent header height so borders line up */
.card-head{
  padding:18px 22px 10px;
  min-height:72px;               /* same header block height */
  display:flex;
  align-items:center;
  gap:14px;
}

.card-icon{width:88px;height:88px;object-fit:contain;flex-shrink:0}
.card-title{color: #000;

text-align: center;
font-family: Inter;
font-size: 12px;
font-family: font-family: Roboto, Arial, sans-serif;font-size:13px
font-weight: 300;
line-height: normal;}
.card-desc{margin:2px 0 0;color:var(--muted);font-family: font-family: Roboto, Arial, sans-serif;font-size:13px}

/* Body fills remaining space consistently */

.card-body{
  padding:10px 22px 20px;
  display:flex;
  flex-direction:column;
  flex-grow:1;
}
/* Add vertical space only to the right-side (Deployment) card */
main.cards > article.card:nth-of-type(2) .card-body {
  margin-top: 36px; /* adjust value as needed */
}

.muted{margin:6px 0 14px;color:var(--muted);font-size:13px}

/* Inline link */
.inline-link{color:var(--ss-red);text-decoration:none;font-weight:800}
.inline-link:hover{text-decoration:underline}

/* Tool link list */
.tool-links{display:grid;gap:12px;flex-grow:1}
.tool{padding:12px;border:1px dashed #e8edf2;border-radius:10px;background:#f6faff;width:100%}
.tool-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tool h3{margin:0;font-family: font-family: Roboto, Arial, sans-serif;font-size:15px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.link{color:var(--ss-red);text-decoration:none;font-weight:700}
.link:hover{text-decoration:underline}
.links-inline .sep{margin:0 8px;opacity:.5}

/* Footer */
.footer{max-width:var(--maxw);margin:8px auto 32px;padding:0 var(--spacing-x);color:#9aa7b5;font-size:12px;text-align:center}

/* Responsive */
@media (max-width:900px){
  main.cards{flex-direction:column} /* stack on mobile */
  .hero h1{font-size:26px}
  .hero-logo{height:44px}
}
/* ---------- Tool Switch (tabs) ---------- */
.tool-switch{
  max-width: var(--maxw);
  margin: 10px auto 60px;
  padding: 0 var(--spacing-x);
}

/* hide radios */
.tool-switch input[type="radio"]{ position:absolute; left:-9999px; }

/* tabs bar */
.tool-switch .tabs{
  display:flex;
  gap:14px;
  justify-content:center;
  margin-bottom:18px;
}
.tool-switch .tab{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff;
  cursor:pointer;
  box-shadow: var(--shadow);
  font-weight:700;
  font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color:var(--ink);
  user-select:none;
}
.tool-switch .tab img{ width:24px; height:24px; object-fit:contain; }

/* active tab */
#tab-dev:checked ~ .tabs label[for="tab-dev"],
#tab-deploy:checked ~ .tabs label[for="tab-deploy"]{
  background:rgba(225,29,47,0.08);
  border-color:rgba(225,29,47,0.35);
  color:var(--ss-red);
}

/* panes */
.tool-switch .panes{ position:relative; }
.tool-switch .pane{ display:none; }
#tab-dev:checked ~ .panes .pane-dev{ display:block; }
#tab-deploy:checked ~ .panes .pane-deploy{ display:block; }
.pane-dev { padding-left: 20px; }

/* Tile grid */
.tile-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
@media (max-width: 1100px){
  .tile-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px){
  .tile-grid{ grid-template-columns: 1fr; }
}

/* Tile card */
.tile{
  position:relative;
  display:block;
  text-decoration:none;
  padding:14px 14px 44px; /* leave room for CTA */
  background:#ffffff;
  border:1px dashed #e8edf2;
  border-radius:12px;
  box-shadow: var(--shadow);
  color:var(--text);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.tile:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(225,29,47,0.35);
}
.tile-title{ font-weight:600; color:var(--ink); margin-bottom:6px;font-style: normal;font-family: font-family: Roboto, Arial, sans-serif }
.tile-desc{ color:var(--muted); font-size:13px; min-height:34px;font-style: normal;font-family: font-family: Roboto, Arial, sans-serif  }

/* right-aligned CTA */
.tile-cta{
  position:absolute;
  right:12px;
  bottom:10px;
  font-weight:600;
  color:var(--ss-red);
}
.note{ color:var(--muted); margin:0 0 10px; font-size:13px; font-style: normal;font-family: font-family: Roboto, Arial, sans-serif }

/* Tile icon (Material Symbol — upper-right watermark) */
.tile-icon {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: 'Material Symbols Outlined';
  font-size: 34px;
  font-weight: 300;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  color: var(--ss-navy);
  opacity: 0.35;
  user-select: none;
  pointer-events: none;
  transition: opacity .15s ease;
}
.tile:hover .tile-icon { opacity: 0.65; }

/* Side tool icon — pinned to left edge of a tile */
.tile-wrapper {
  position: relative;
}
.tile-side-btn {
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #dde3ec;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #a0aec0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.tile-side-btn:hover {
  background: #e8f2fc;
  border-color: #337AB7;
  color: #337AB7;
  transform: translateY(-50%) scale(1.15);
}
.tile-side-btn svg {
  display: block;
  flex-shrink: 0;
}
/* Tooltip */
.tile-side-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #1a2033;
  font-size: 11px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 20;
}
.tile-side-btn:hover::after { opacity: 1; }

/* Featured quick-access strip */
.featured-strip {
  max-width: var(--maxw);
  margin: 0 auto 18px;
  padding: 0 var(--spacing-x);
  display: flex;
  justify-content: center;
}
.featured-strip-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-family: 'Roboto', system-ui, Arial, sans-serif;
}
.featured-strip-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.featured-strip-sep { color: #cbd5e1; font-size: 13px; }
.featured-strip-link {
  color: var(--ss-red);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.featured-strip-link:hover { text-decoration: underline; }
