/* AI x Design Thinking Early Career Credential — shared styles (Dent brand: orange, blue, Rubik) */
:root {
  --orange: #f08108;
  --orange-dark: #a85400;   /* text-safe orange for links on white */
  --orange-soft: #fff3e6;
  --blue: #83acf3;
  --blue-soft: #eef4fe;
  --ink: #1f2328;
  --body: #3d4248;
  --muted: #646b73;
  --line: #e3e5e8;
  --bg: #ffffff;
  --bg-alt: #f7f7f8;
  --radius: 12px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Rubik", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--orange-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 14px; }
ul { padding-left: 20px; margin: 0 0 14px; }
li { margin-bottom: 6px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; }
.brand span { font-weight: 600; font-size: 15px; line-height: 1.25; }
.brand small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.nav { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--body); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--orange-soft) 0%, #fff 55%, var(--blue-soft) 100%); padding: 64px 0 56px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 14px; }
.lede { font-size: 20px; max-width: 760px; color: var(--body); }
.byline { font-size: 15px; color: var(--muted); margin-top: 8px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid var(--orange); }
.btn-primary { background: var(--orange); color: #1a1a1a; }
.btn-primary:hover { background: #f59a3a; }
.btn-ghost { background: #fff; color: var(--ink); }
.btn-ghost:hover { background: var(--orange-soft); }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--bg-alt); }
.section-intro { max-width: 720px; margin-bottom: 28px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .num { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #1a1a1a; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 15px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.accent { border-top: 4px solid var(--orange); }
.card.blue { border-top: 4px solid var(--blue); }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); box-shadow: inset 0 0 0 4px var(--orange-soft); }

.two-col { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--bg-alt); color: var(--ink); font-weight: 600; font-size: 14px; }
tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-dark); margin-left: 6px; white-space: nowrap; }

.callout { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; }
.callout p:last-child { margin: 0; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details[open] summary { margin-bottom: 8px; }

/* Footer */
.site-footer { background: #1f2328; color: #d3d6da; padding: 36px 0; font-size: 15px; }
.site-footer a { color: #ffc27a; }
.site-footer .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.site-footer p { margin: 0 0 6px; }
