/* Smart Communications corporate site. Tokens and components follow the 2026 design template. */
:root {
  color-scheme: light;
  --navy: #101f3b;
  --blue: #126cb6;
  --blue-dark: #0b5799;
  --royal: #1b45c9;
  --muted: #425673;
  --pale: #eaf1f9;
  --card: #f2f6fc;
  --border: #d2deef;
  --page: #f1f5fa;
  --focus: #1b45c9;
  --radius: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 3vw, 40px);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "DejaVu Sans", Arial, sans-serif;
  line-height: 1.6;
  color: var(--navy);
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; border-top: 6px solid var(--blue); background: #fff; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; }
p, ul, ol, dl, table { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible { outline-color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: .75rem 1rem; background: var(--navy); color: #fff; font-weight: 700; border-radius: 6px;
}
.skip-link:focus { top: 12px; color: #fff; }

.preview-banner { margin: 0; padding: 8px var(--gutter); background: #fff8eb; color: #7a2e0e; border-bottom: 1px solid #f5c26b; font-size: .9rem; font-weight: 700; text-align: center; }

/* Header and navigation */
.site-header { border-bottom: 1px solid var(--border); background: #fff; }
/* Desktop: header stays at the top while scrolling. scroll-padding keeps focused and linked-to content from hiding under it (WCAG 2.4.11). */
@media (min-width: 961px) {
  .site-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 6px rgba(16, 31, 59, .08); }
  html { scroll-padding-top: 100px; }
}
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 14px; }
.brand img { width: clamp(150px, 16vw, 190px); }
.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: .5rem .9rem;
  border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--navy);
  font: inherit; font-weight: 700; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 6px clamp(12px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-block; padding: .55rem .1rem; color: var(--navy); font-size: .95rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.site-nav .button { padding: .7rem 1.05rem; color: #fff; text-decoration: none; }
.site-nav .button:hover { color: #fff; }
.site-nav a.button, .site-nav a.button:hover, .site-nav a.button[aria-current] { text-decoration: none; }
@media (max-width: 960px) {
  .site-nav { flex-basis: 100%; }
}
@media (max-width: 960px) and (scripting: enabled) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
}
@media (max-width: 960px) {
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--border); }
  .site-nav a { display: block; padding: .8rem .25rem; }
  .site-nav .button { margin-top: .6rem; text-align: center; }
}
/* Section dropdowns. Desktop: open on hover or with the arrow button. Mobile: always listed, indented. */
.sub-toggle { display: none; }
.site-nav .sub { display: block; padding: 0 0 .4rem 1rem; }
.site-nav .sub li { border-top: 0; }
.site-nav .sub a { padding: .45rem .25rem; font-weight: 600; }
@media (min-width: 961px) {
  .has-sub { position: relative; display: flex; align-items: center; }
  .sub-toggle { display: inline-flex; align-items: center; margin-left: 2px; padding: 6px 4px; border: 0; border-radius: 4px; background: none; color: var(--navy); cursor: pointer; }
  .sub-toggle svg { width: 12px; height: 12px; transition: transform .15s; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .site-nav .sub { display: none; position: absolute; top: 100%; left: -14px; z-index: 60; min-width: 250px; padding: 8px 0; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 24px rgba(16, 31, 59, .14); }
  .has-sub:not(.closed):hover > .sub, .sub-toggle[aria-expanded="true"] + .sub { display: block; }
  .site-nav .sub a { display: block; padding: .55rem 1rem; white-space: nowrap; }
}

/* Buttons */
.button {
  display: inline-block; min-height: 44px; padding: .75rem 1.15rem;
  border: 1px solid transparent; border-radius: 7px; background: var(--blue); color: #fff;
  font: inherit; font-size: .95rem; font-weight: 700; line-height: 1.35; text-align: center; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--blue-dark); color: #fff; }
.button.secondary { border-color: var(--border); background: #fff; color: var(--navy); }
.button.secondary:hover { background: #f7faff; color: var(--navy); }
.dark .button { background: var(--royal); }
.dark .button:hover { background: #183ba6; }
.dark .button.secondary { border-color: #9cc8ff; background: transparent; color: #fff; }
.dark .button.secondary:hover { background: rgba(255,255,255,.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 3vw, 36px); }

/* Breadcrumbs */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 14px 0 0; list-style: none; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* Hero */
.hero { background: var(--pale); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(20px, 4vw, 56px); padding-block: clamp(28px, 5vw, 64px); }
.hero.dark { background: var(--navy); color: #fff; }
.hero p.lead { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 38em; margin: 0; }
.hero.dark p.lead { color: #d7e7fa; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero.dark .eyebrow { color: #9cc8ff; }
.hero-image { width: 100%; aspect-ratio: 1.75; object-fit: cover; border-radius: var(--radius); }
.hero.compact .wrap { grid-template-columns: 1fr; padding-block: clamp(20px, 3.5vw, 44px); }
.hero.compact h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.hero h1 small { display: block; margin-top: .3em; font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.hero.dark h1 small { color: #d7e7fa; }

.banner { width: 100%; aspect-ratio: 4 / 1; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 640px) { .banner { aspect-ratio: 2 / 1; } }

.split.align-center { align-items: center; }
.split.align-center .hero-photo { width: min(100%, 300px); }
.hero-figure { justify-self: center; width: min(100%, 480px); margin: 0; }
.hero-figure img { width: 100%; border-radius: var(--radius); background: #fff; }
.hero-figure figcaption { margin-top: 8px; color: var(--muted); font-size: .85rem; font-style: italic; text-align: center; }
.hero-photo { justify-self: center; width: min(100%, 344px); border-radius: var(--radius); background: #fff; }
@media (max-width: 860px) { .split.align-center { align-items: center; }
.split.align-center .hero-photo { width: min(100%, 300px); }
.hero-figure { justify-self: center; width: min(100%, 480px); margin: 0; }
.hero-figure img { width: 100%; border-radius: var(--radius); background: #fff; }
.hero-figure figcaption { margin-top: 8px; color: var(--muted); font-size: .85rem; font-style: italic; text-align: center; }
.hero-photo { width: min(70%, 260px); } }

/* EzraAI hero art: the image carries its own navy background and glow; the mask hides its rectangular edges. */
.hero-ezra { overflow: hidden; }
.hero-art { display: grid; place-items: center; }
.hero-art img {
  width: min(100%, 400px);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 78%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 78%, transparent 100%);
}
@media (max-width: 860px) { .hero-art img { width: min(70%, 280px); } }

/* Sections */
.section { padding-block: clamp(32px, 5vw, 64px); }
.section.tint { background: var(--page); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark a:not(.button) { color: #b5d7ff; }
.section-head { max-width: 46em; margin-bottom: clamp(18px, 2.5vw, 28px); }
.section-head p { color: var(--muted); margin: 0; }
.section.dark .section-head p { color: #d7e7fa; }
.prose { max-width: 46em; }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.split img { border-radius: var(--radius); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.card {
  position: relative; min-width: 0; padding: 20px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card);
}
.card::before { display: block; content: ""; width: 28px; height: 3px; margin-bottom: 14px; border-radius: 2px; background: var(--blue); }
.card h3 { margin: 0; font-size: 1.08rem; overflow-wrap: break-word; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.card ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--muted); font-size: .95rem; }
.card a.stretched { color: var(--navy); text-decoration: none; }
.card a.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card:has(a.stretched):hover { border-color: var(--blue); background: #fff; }
.card:has(a.stretched:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.card a.stretched:focus-visible { outline: none; }
.card .more { display: inline-block; margin-top: 10px; color: var(--blue); font-size: .92rem; font-weight: 700; }
.priority .card::before { background: var(--royal); }

/* Leadership */
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.person { padding: 0; overflow: hidden; }
.person::before { display: none; }
.portrait { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; }
.person-copy { padding: 18px 18px 20px; }
.person-copy::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 14px; border-radius: 2px; background: var(--blue); }
.person h3 { font-size: 1.15rem; }
.person .role { margin: 4px 0 0; color: var(--blue); font-size: .92rem; font-weight: 700; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.stats div { padding: 18px; border-left: 3px solid var(--blue); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.stats dt { color: var(--muted); font-size: .92rem; }
.stats dd { order: -1; margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--navy); line-height: 1.1; }
.stats div { display: flex; flex-direction: column; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px 20px; margin: 0 0 1em; padding: 0; list-style: none; }
.features li { position: relative; padding-left: 28px; }
.features li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }

/* Timeline */
.timeline { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.timeline .card::before { display: none; }
.timeline time { display: block; margin-bottom: 8px; color: var(--blue); font-size: .9rem; font-weight: 800; }
.timeline .featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.timeline .featured time { color: #b5d7ff; }
.timeline .featured p { color: #d7e7fa; }
.timeline .featured a { color: #fff; }

/* Callouts */
.callout { margin: 0 0 1.5em; padding: 16px 18px; border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; background: var(--card); }
.callout > :last-child { margin-bottom: 0; }
.callout.warn { border-left-color: #b45309; background: #fff8eb; }
.callout.error { border-left-color: #b42318; background: #fef3f2; }
.callout.success { border-left-color: #067647; background: #ecfdf3; }
.note-verify { outline: 2px dashed #b45309; outline-offset: 6px; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
thead th { background: var(--card); }

/* Coverage map */
.map figure { margin: 0; }
.map svg { width: 100%; }
.map .states path { fill: #b4bfcc; }
.map .states path.on { fill: var(--blue); }
.map .borders path { stroke: #fff; stroke-width: 1.2; }
.map .separator { stroke: #a9b4c2; stroke-width: 2; }
.map .labels text { fill: #fff; font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-weight: 800; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.map .labels .label-l { font-size: 17px; }
.map .labels .label-m { font-size: 13px; }
.map .labels .label-s { font-size: 8.5px; }
.map .hq { fill: #d92d20; stroke: #fff; stroke-width: 1.5; }
.map .office { fill: #f5a524; stroke: #fff; stroke-width: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; padding: 0; list-style: none; font-size: .92rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend svg { width: 18px; height: 18px; }
.map h3 { margin-top: 1em; }
.state-list { columns: 4 10em; margin: 0; padding: 0; list-style: none; font-size: .95rem; }

/* News */
.article + .article { margin-top: 2.5em; padding-top: 2.5em; border-top: 1px solid var(--border); }
.article .meta { color: var(--muted); font-weight: 700; }

/* Forms */
.form-grid { display: grid; gap: 18px; max-width: 40em; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; }
.hint { color: var(--muted); font-size: .88rem; }
.field .hint { display: block; margin-top: 4px; }
.field [aria-invalid="true"] { border-color: #b42318; border-width: 2px; }
.field input, .field textarea {
  width: 100%; min-height: 44px; padding: .65rem .75rem; border: 1px solid #8193ad; border-radius: 6px;
  background: #fff; color: var(--navy); font: inherit;
}
.field textarea { min-height: 10em; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--focus); }
.req { color: #b42318; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.choice .card h3 { font-size: 1.1rem; }
.contact-aside .office-photo { margin-bottom: 20px; border-radius: var(--radius); }
.contact-aside dl { margin: 0; }
.contact-aside dt { font-weight: 700; margin-top: 1em; }
.contact-aside dd { margin: 0; }
.contact-aside address { font-style: normal; }
.contact-aside .phone { font-size: 1.6rem; font-weight: 800; }
.contact-aside iframe { width: 100%; height: 220px; margin-top: 12px; border: 1px solid var(--border); border-radius: var(--radius); }

/* CTA band */
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.cta h2 { margin: 0 0 .25em; }
.cta p { margin: 0; color: #d7e7fa; }

/* Footer */
.site-footer { padding-block: clamp(32px, 4vw, 48px) 24px; background: var(--page); border-top: 1px solid var(--border); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 24px 32px; }
.site-footer h2 { font-size: 1rem; margin-bottom: .6em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 .35em; }
.site-footer address { font-style: normal; }
.site-footer img { width: 170px; margin-bottom: 12px; }
.legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; }

@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .stats, .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header nav, .nav-toggle, .cta, .site-footer .footer-grid { display: none; }
  body { border: 0; }
}
.pullquote { max-width: 46rem; margin: 1.75em 0; padding: 4px 0 4px 22px; border-left: 5px solid var(--blue); }
.pullquote blockquote { margin: 0 0 .5em; padding: 0; border: 0; color: var(--navy); font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 700; line-height: 1.4; }
.pullquote blockquote p { margin: 0; }
.pullquote figcaption { color: var(--muted); font-size: .95rem; }
.letter { margin: 0 0 1.5em; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.letter > :last-child { margin-bottom: 0; }
.letter-full { margin: 0 0 1.5em; }
.letter-full summary { cursor: pointer; color: var(--blue); font-weight: 700; padding: .35em 0; }
.letter-full summary:hover { text-decoration: underline; }
.letter-full[open] summary { margin-bottom: .75em; }
.person .social { margin: 12px 0 0; }
.person .social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.person .social svg { width: 18px; height: 18px; color: #0a66c2; }
