/* Welcome to Contoso — new starter hub style sheet (fictitious demo content) */
/* Branding for the Contoso new starter hub: navy + teal accent wordmark,
   black action bar, light nav, pale hero, green CTAs. */

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700;1,800&display=swap");

:root {
  --adm-navy: #0f3b5c;          /* Contoso wordmark / heading navy */
  --adm-navy-dk: #0a293e91;
  --adm-blue: #0061af;          /* link blue */
  --adm-magenta: #00838f;       /* signature swoosh / teal accent */
  --adm-magenta-dk: #006064;    /* secondary button */
  --adm-gold: #5c6bc0;          /* my account button (indigo) */
  --adm-gold-dk: #3f51b5;
  --adm-green: #1f7a1f;         /* primary CTA */
  --adm-green-dk: #166316;
  --adm-hero: #d2e2e9;          /* pale hero wash */
  --adm-hero-2: #c2d8e2;
  --adm-bright: #0089cf;        /* secondary accent */
  --adm-bright-light: #e9f3f8;
  --adm-bright-mid: #00838f;    /* nav active underline = teal */
  --adm-grey: #f4f6f8;
  --adm-grey-mid: #d9dee3;
  --adm-text: #2a3142;
  --adm-muted: #5b6b7b;
  --adm-white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(15, 59, 92, 0.10);
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--adm-text);
  background: var(--adm-grey);
  line-height: 1.6;
}

a {
  color: var(--adm-blue);
}

/* ---------- Top utility bar (black action bar) ---------- */
.utility-bar {
  background: #111418;
  color: #d4d9df;
  font-size: 0.8rem;
}

.utility-bar .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.utility-bar .util-left {
  display: flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
}

.utility-bar .util-actions {
  display: flex;
  align-items: stretch;
}

.utility-bar a {
  color: #e7eaee;
  text-decoration: none;
  margin-left: 1rem;
}

.utility-bar a:hover {
  color: #fff;
}

.utility-bar .util-btn {
  display: flex;
  align-items: center;
  margin-left: 0;
  padding: 0.55rem 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}

.utility-bar .util-btn.account { background: var(--adm-gold); }
.utility-bar .util-btn.account:hover { background: var(--adm-gold-dk); color: #fff; }
.utility-bar .util-btn.claims { background: var(--adm-magenta-dk); }
.utility-bar .util-btn.claims:hover { background: #004d40; color: #fff; }

/* ---------- Masthead ---------- */
.masthead {
  background: var(--adm-white);
  border-bottom: 1px solid var(--adm-grey-mid);
}

.masthead .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

/* Contoso wordmark with teal swoosh */
.brand-logo {
  position: relative;
  font-weight: 800;
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  color: var(--adm-navy);
  text-decoration: none;
  letter-spacing: -0.5px;
  padding-bottom: 12px;
  flex-shrink: 0;
}

.brand-logo::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -10px;
  bottom: 0;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20150%2026'%3E%3Cpath%20d='M3%2017%20C40%2026%20110%2024%20140%2010%20C146%207%20148%201%20142%203%20C118%2014%2058%2017%2010%2011%20C5%2010%201%2014%203%2017%20Z'%20fill='%2300838f'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
}

.brand-divider {
  width: 1px;
  align-self: stretch;
  background: var(--adm-grey-mid);
  margin: 0.1rem 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-org {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--adm-magenta);
  font-weight: 600;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--adm-navy);
  line-height: 1.1;
}

.brand-spacer {
  margin-left: auto;
  text-align: right;
  font-size: 0.78rem;
  color: var(--adm-muted);
}

.brand-strap {
  display: block;
  font-weight: 700;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--adm-magenta);
  letter-spacing: 0.2px;
  margin-bottom: 0.1rem;
}

/* ---------- Primary nav (light) ---------- */
.primary-nav {
  background: var(--adm-white);
  border-bottom: 1px solid var(--adm-grey-mid);
  box-shadow: var(--shadow);
}

.primary-nav .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
}

.primary-nav a {
  color: var(--adm-navy);
  text-decoration: none;
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}

.primary-nav a:hover {
  background: var(--adm-bright-light);
  color: var(--adm-magenta);
}

.primary-nav a.active {
  border-bottom-color: var(--adm-magenta);
  color: var(--adm-magenta);
}

/* ---------- Hero (pale blue, navy headings) ---------- */
.hero {
  background: linear-gradient(135deg, var(--adm-hero) 0%, var(--adm-hero-2) 100%);
  color: var(--adm-navy);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 131, 143, 0.12) 0%, transparent 70%);
}

.hero .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.25rem 1.25rem;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 1.5rem;
}

.hero-copy {
  min-width: 0;
}

.hero-art {
  margin: 0;
  position: relative;
  z-index: 1;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 460px;
  margin-left: auto;
  filter: drop-shadow(0 14px 26px rgba(15, 59, 92, 0.18));
}

@media (max-width: 760px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
    max-width: 340px;
    margin: 0 auto 0.5rem;
  }
  .hero-art img {
    margin: 0 auto;
  }
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  color: var(--adm-magenta);
  font-weight: 700;
}

.hero h1 {
  font-size: 2.7rem;
  font-weight: 800;
  margin: 0.4rem 0 0.6rem;
  color: var(--adm-navy);
}

.hero p {
  font-size: 1.1rem;
  max-width: 620px;
  color: #344;
}

.btn {
  display: inline-block;
  background: var(--adm-green);
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 1rem;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--adm-green-dk);
}

.btn-light {
  background: #fff;
  color: var(--adm-magenta);
  margin-left: 0.6rem;
}

.btn-light:hover {
  background: #e0f2f1;
}

/* ---------- Layout ---------- */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.25rem;
}

@media (max-width: 860px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

.content h2 {
  color: var(--adm-navy);
  font-weight: 700;
  border-bottom: 2px solid var(--adm-grey-mid);
  padding-bottom: 0.4rem;
  margin-top: 2rem;
}

.content h3 {
  color: var(--adm-navy);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--adm-muted);
  margin-bottom: 0.5rem;
}

.breadcrumb a {
  color: var(--adm-muted);
  text-decoration: none;
}

.page-title {
  color: var(--adm-navy);
  font-weight: 800;
  font-size: 2.1rem;
  margin: 0.2rem 0 0.4rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--adm-muted);
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.card {
  background: var(--adm-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem;
  border-top: 4px solid var(--adm-bright-mid);
}

.card h3 {
  margin-top: 0;
}

.card .icon {
  font-size: 1.8rem;
}

/* ---------- Sidebar ---------- */
.sidebar .box {
  background: var(--adm-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.sidebar h4 {
  margin-top: 0;
  color: var(--adm-navy);
  font-size: 1rem;
  border-bottom: 2px solid var(--adm-bright-light);
  padding-bottom: 0.35rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--adm-grey);
  font-size: 0.92rem;
}

.sidebar li:last-child {
  border-bottom: none;
}

.fact {
  background: var(--adm-bright-light);
  border-left: 4px solid var(--adm-magenta);
  padding: 0.9rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.fact strong {
  display: block;
  font-size: 1.4rem;
  color: var(--adm-navy);
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--adm-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--adm-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--adm-magenta);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .answer {
  padding: 0 1.2rem 1.1rem;
  color: var(--adm-text);
}

.faq-category {
  color: var(--adm-navy);
  margin-top: 2rem;
  border-bottom: 2px solid var(--adm-grey-mid);
  padding-bottom: 0.4rem;
}

/* ---------- Tables ---------- */
table.info {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

table.info th,
table.info td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--adm-grey-mid);
  font-size: 0.92rem;
}

table.info th {
  background: var(--adm-navy);
  color: #fff;
  font-weight: 600;
}

table.info tr:nth-child(even) td {
  background: var(--adm-grey);
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  border-left: 3px solid var(--adm-bright-mid);
}

.timeline li {
  position: relative;
  padding: 0 0 1.5rem 1.5rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--adm-magenta);
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}

.timeline .date {
  font-weight: 700;
  color: var(--adm-magenta);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--adm-navy);
  color: #b7cade;
  margin-top: 3rem;
}

.site-footer .wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.site-footer h5 {
  color: #fff;
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}

.site-footer a {
  color: #b7cade;
  text-decoration: none;
  display: block;
  padding: 0.2rem 0;
  font-size: 0.88rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  background: #0a2438;
  color: #9fb0c8;
  text-align: center;
  font-size: 0.8rem;
  padding: 0.9rem 1.25rem;
}

.notice {
  background: #fff7e6;
  border: 1px solid #ffd591;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  color: #7a5b1e;
  margin-bottom: 1.5rem;
}
