/* Walmart Developer Portal look-alike (static). Colours sampled from developer.walmart.com. */
:root {
  --true-blue: #0053e2;
  --navy: #001e60;
  --sky: #e7f6fe;
  --aqua: #c3e6ef;
  --spark: #ffc220;
  --ink: #32343a;
  --ink-strong: #2e2f32;
  --muted: #5f6268;
  --line: #d6d8dc;
  --gray-bg: #f8f8f8;
  --font: "Everyday Sans UI", "Everyday Sans", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: #fff; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.is-off { cursor: default; }

/* Header */
.hdr { background: #fff; border-bottom: 1px solid #eceef1; position: sticky; top: 0; z-index: 20; }
.hdr-top { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 64px; }
.hdr-top .logo img { height: 24px; width: auto; }
.hdr-util { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--ink); }
.pill-btn { border: 1px solid var(--ink); border-radius: 999px; padding: 3px 12px; font-size: 13px; background: #fff; }
.icon-btn { width: 20px; height: 20px; color: var(--ink); opacity: .8; }
.locale { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.locale img { width: 20px; height: 20px; }
.hdr-nav { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 56px; border-top: 1px solid #f1f2f4; }
.tabs { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tabs a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 5px 10px; border-radius: 6px; color: #3d3f45; }
.tabs a:not(.is-off):hover { background: #f1f2f4; }
.tabs a.active { background: #eceef1; }
.tabs a.new { color: var(--true-blue); font-weight: 600; }
.tabs svg { width: 14px; height: 14px; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid #e3e5e8; border-radius: 6px; padding: 3px 8px; font-size: 13px; color: var(--muted); min-width: 92px; }
.search kbd { font-size: 9px; border: 1px solid #e3e5e8; border-radius: 3px; padding: 0 4px; letter-spacing: 1px; font-family: inherit; }

/* Notice banner */
.notice { margin: 0; background: #fdf1d2; border-bottom: 1px solid #f3dfa5; padding: 8px 12px; font-size: 13px; color: #111; }
.notice.boxed { max-width: 1386px; margin: 12px auto 0; border: 0; border-radius: 4px; padding: 10px 14px; }
.notice b { font-weight: 700; }
.notice a { text-decoration: underline; font-weight: 700; color: #002d72; }
.notice ul { margin: 4px 0 0; padding-left: 18px; }

/* Hero (root) */
.hero-root { background: var(--gray-bg); margin-top: 8px; }
.hero-root .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; min-height: 460px; padding-top: 24px; padding-bottom: 24px; }
.hero-root h1 { font-size: 84px; line-height: 1; font-weight: 400; margin: 0 0 32px; color: var(--ink-strong); letter-spacing: -1px; }
.hero-root h1 b { color: var(--true-blue); font-weight: 700; }
.hero-root p { font-size: 22px; line-height: 1.5; margin: 0; max-width: 560px; }

/* Audience tiles (root) */
.tiles { padding: 64px 0 80px; }
.tile-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.tile { position: relative; border-radius: 8px; overflow: hidden; min-height: 442px; padding: 32px 36px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .15s ease, box-shadow .15s ease; }
.tile h3 { font-size: 34px; line-height: 1.38; margin: 0; font-weight: 700; color: var(--ink-strong); }
.tile p { margin: 8px 0 0; font-size: 16px; max-width: 420px; }
.tile .art { align-self: flex-end; margin-top: 16px; max-height: 280px; width: auto; }
.tile.wide { grid-column: span 4; background: var(--true-blue); }
.tile.wide h3, .tile.wide p { color: #fff; }
.tile.narrow { grid-column: span 2; background: var(--aqua); }
.tile.third { grid-column: span 2; background: var(--aqua); }
.tile.yellow { background: var(--spark); }
.tile:not(.is-off):hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 30, 96, .18); }
.tile .go { position: absolute; right: 28px; top: 30px; width: 40px; height: 40px; }
.tile.is-off { opacity: 1; }
.tile .soon { position: absolute; top: 14px; right: 16px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: rgba(255, 255, 255, .85); color: var(--navy); border-radius: 999px; padding: 2px 9px; }

/* Hero (US Marketplace) */
.hero-mp { background: var(--true-blue); color: #fff; }
.hero-mp .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; min-height: 480px; }
.hero-mp .eyebrow { font-size: 26px; font-weight: 700; letter-spacing: .2px; margin: 0; }
.hero-mp h1 { font-size: 84px; line-height: 1.05; margin: 0 0 28px; font-weight: 400; }
.hero-mp h1 b { font-weight: 700; display: block; }
.hero-mp p { font-size: 22px; margin: 0; max-width: 520px; line-height: 1.5; }

/* Sections */
.sec { padding: 72px 0; }
.sec.gray { background: var(--gray-bg); }
.sec.sky { background: var(--sky); }
.sec.navy { background: var(--navy); color: #fff; }
.sec h2 { font-size: 48px; line-height: 1.2; margin: 0 0 12px; font-weight: 700; color: var(--ink-strong); text-align: center; letter-spacing: -.3px; }
.sec .lede { text-align: center; font-size: 16px; margin: 0 0 40px; }
.sec.navy h2 { color: #fff; text-align: left; }

/* Feedback strip */
.feedback { display: flex; align-items: center; justify-content: space-between; background: var(--sky); border-radius: 14px; padding: 18px 24px; margin-bottom: 56px; }
.feedback .l { display: flex; align-items: center; gap: 16px; }
.feedback .bubble { width: 38px; height: 38px; border-radius: 50%; background: var(--true-blue); display: grid; place-items: center; color: #fff; }
.feedback b { display: block; font-size: 17px; font-weight: 800; color: var(--ink-strong); }
.feedback small { font-size: 13px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); border-radius: 999px; padding: 9px 24px; font-weight: 700; font-size: 16px; color: var(--ink-strong); background: #fff; }
.btn-outline.blue { border-color: var(--true-blue); color: var(--true-blue); }
.btn-solid { display: inline-block; background: var(--true-blue); color: #fff; font-weight: 700; border-radius: 999px; padding: 9px 24px; font-size: 16px; }
.btn-solid:hover { background: #0041b8; }

/* Start integrating */
.start-grid { display: grid; grid-template-columns: repeat(2, 354px); justify-content: center; gap: 24px; }
.start-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 38px 32px 46px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.start-card img { width: 120px; height: 120px; margin-bottom: 30px; }
.start-card h3 { font-size: 28px; margin: 0 0 18px; font-weight: 700; color: var(--ink-strong); }
.start-card p { font-size: 16px; line-height: 1.75; margin: 0 0 40px; min-height: 56px; }

/* API cards */
.api-grid { display: grid; grid-template-columns: repeat(2, 413px); justify-content: center; gap: 24px; }
.api-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px 18px; display: grid; grid-template-columns: 48px 1fr; gap: 0 22px; transition: box-shadow .15s ease, border-color .15s ease; }
.api-card:hover { border-color: #b7bcc4; box-shadow: 0 6px 16px rgba(0, 30, 96, .1); }
.api-card .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--spark); display: grid; place-items: center; }
.api-card .ic img { width: 48px; height: 48px; }
.api-card .ic svg { width: 22px; height: 22px; }
.api-card h3 { font-size: 20px; margin: 0 0 8px; font-weight: 700; color: #1c1d20; }
.api-card p { margin: 0 0 10px; font-size: 14px; color: #3d3f45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.arrow { font-size: 18px; color: var(--ink); }
.center { text-align: center; margin-top: 40px; }

/* Developer tools (new) */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .15s ease, border-color .15s ease; }
.tool-card:hover { border-color: #b7bcc4; box-shadow: 0 6px 16px rgba(0, 30, 96, .1); }
.tool-card .badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--true-blue); background: var(--sky); border-radius: 999px; padding: 3px 10px; }
.tool-card h3 { margin: 0; font-size: 20px; color: #1c1d20; }
.tool-card p { margin: 0; font-size: 14px; color: #3d3f45; flex: 1; }
.tool-card code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; background: #f1f3f6; border-radius: 4px; padding: 6px 8px; display: block; color: #1c1d20; overflow-x: auto; white-space: nowrap; }

/* Use cases (new) */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.uc-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .15s ease, border-color .15s ease; }
.uc-card:hover { border-color: #b7bcc4; box-shadow: 0 6px 16px rgba(0, 30, 96, .1); }
.uc-card .kicker { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.uc-card h3 { margin: 0; font-size: 19px; color: #1c1d20; }
.uc-card p { margin: 0; font-size: 14px; color: #3d3f45; flex: 1; }
.uc-card .apis { font-size: 12.5px; color: var(--true-blue); font-weight: 600; }

/* Track progress */
.track .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.track h2 { text-align: left; }
.track .lede { text-align: left; font-size: 18px; line-height: 1.7; margin-bottom: 36px; max-width: 540px; }
.track-card { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px 14px; display: grid; grid-template-columns: 72px 1fr; gap: 0 22px; margin-bottom: 24px; max-width: 500px; transition: box-shadow .15s ease; }
.track-card:not(.is-off):hover { box-shadow: 0 6px 16px rgba(0, 30, 96, .1); }
.track-card .ic { width: 72px; height: 72px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; }
.track-card .ic img { width: 72px; height: 72px; }
.track-card h3 { margin: 6px 0 2px; font-size: 20px; color: var(--ink-strong); }
.track-card p { margin: 0 0 14px; font-size: 14px; }

/* What's new */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.news-head p { margin: 0; font-size: 18px; }
.news-head h2 { margin-bottom: 8px; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.news { background: #fff; color: var(--ink); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; min-height: 264px; }
.news .date { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.news h3 { font-size: 19px; line-height: 1.12; margin: 0 0 14px; color: #2e2f32; min-height: 64px; }
.news p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: #46474c; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news .arrow { margin-top: auto; }
.btn-white { display: inline-flex; gap: 8px; align-items: center; background: #fff; color: var(--true-blue); border-radius: 999px; padding: 8px 24px; font-weight: 700; font-size: 16px; }

/* Footer */
.ftr { background: var(--true-blue); color: #fff; font-size: 14px; }
.ftr .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; height: 86px; max-width: 1200px; }
.ftr img { height: 18px; width: auto; }
.ftr a:hover { text-decoration: underline; }

/* Second section on root */
.start-building { background: #fff; padding: 72px 0 96px; }
.start-building h2 { font-size: 48px; text-align: center; margin: 0 0 8px; color: var(--ink-strong); }
.start-building .lede { text-align: center; margin: 0 0 40px; font-size: 16px; }
.mini-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mini { border: 1px solid var(--line); border-radius: 8px; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 196px; }
.mini img { width: 56px; height: 56px; }
.mini h3 { margin: 0; font-size: 17px; color: var(--ink-strong); }
.mini p { margin: 0; font-size: 13.5px; color: #46474c; flex: 1; }
.mini.is-off { opacity: .75; }
.mini:not(.is-off):hover { box-shadow: 0 6px 16px rgba(0, 30, 96, .1); }

@media (max-width: 1100px) {
  .hdr-top, .hdr-nav { padding: 0 20px; }
  .tabs { overflow-x: auto; }
  .hero-root .wrap, .hero-mp .wrap, .track .wrap { grid-template-columns: 1fr; }
  .hero-root h1, .hero-mp h1 { font-size: 56px; }
  .tile-grid { grid-template-columns: 1fr 1fr; }
  .tile.wide, .tile.narrow, .tile.third { grid-column: span 2; }
  .start-grid, .api-grid { grid-template-columns: 1fr; }
  .tool-grid, .news-grid, .uc-grid, .mini-grid { grid-template-columns: 1fr 1fr; }
}
