:root{
  --bg: #ffffff;
  --fg: #0f172a;            /* slate-900 */
  --muted: #475569;         /* slate-600 */
  --border: #e2e8f0;        /* slate-200 */
  --accent: #111827;        /* gray-900 */
  --accent-contrast: #ffffff;
  --link: #1d4ed8;          /* blue-700 */
  --link-hover: #1e40af;    /* blue-800 */
  --maxw: 72ch;
}

@media (prefers-color-scheme: dark){
  :root{
    --bg: #0b1020;
    --fg: #e5e7eb;
    --muted: #9aa3b2;
    --border: #1f2937;
    --accent: #e5e7eb;
    --accent-contrast: #0b1020;
    --link: #93c5fd;       /* blue-300 */
    --link-hover: #bfdbfe; /* blue-200 */
  }
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus{
  position: fixed;
  top: .75rem;
  left: .75rem;
  width: auto; height: auto;
  padding: .5rem .75rem;
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: .5rem;
  z-index: 1000;
}

.site-header{
  border-bottom: 1px solid var(--border);
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
  background:
    radial-gradient(1200px 400px at 50% -10%, color-mix(in srgb, var(--link) 8%, transparent), transparent);
}
.badge{
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--link) 12%, transparent);
  border: 1px solid var(--border);
  padding: .25rem .5rem;
  border-radius: 999px;
  color: var(--muted);
}
.headline{
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  margin: .4rem 0 .25rem;
}
.dek{
  margin: 0 0 .25rem;
  font-size: 1.05rem;
  color: var(--muted);
}
.meta{
  display: flex;
  gap: .5rem;
  align-items: center;
  color: var(--muted);
  font-size: .95rem;
  margin-top: .25rem;
}

.cta-row{
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.btn{
  appearance: none;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
  padding: .6rem .9rem;
  border-radius: .6rem;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover{ opacity: .94; }
.btn:active{ opacity: .88; }
.btn-outline{
  background: transparent;
  color: var(--accent);
}

.prose{
  padding-block: clamp(1.25rem, 3vw, 2rem);
}
.prose p{
  margin: 0 0 1rem;
  font-size: 1.0625rem;
}
.prose h2{
  font-size: 1.25rem;
  margin: 1.5rem 0 .75rem;
}
.signature h2{ margin-top: 2rem; }
hr{
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.75rem 0;
}
a{
  color: var(--link);
  text-underline-offset: 2px;
  text-decoration-thickness: .08em;
}
a:hover{ color: var(--link-hover); }

.site-footer{
  border-top: 1px solid var(--border);
  padding: 1rem 0 2rem;
  margin-top: 1.5rem;
}
.site-footer .small{
  color: var(--muted);
  margin: 0 0 .5rem;
  font-size: .9rem;
}
.footer-nav{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-nav a{
  color: var(--muted);
  text-decoration: none;
}
.footer-nav a:hover{
  color: var(--link);
  text-decoration: underline;
}

/* Text Action Section */
.text-action-section {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.text-action-container {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding: 0.75rem 1.5rem;
  background-color: #1a73e8;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.text-button:hover,
.text-button:focus {
  background-color: #1557b0;
  color: white;
}

.text-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.small-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Tight top banner */
.top-banner{
  background: #93c5fd;
  border-bottom: 1px solid var(--border);
}
.top-banner .banner-inner{
  margin: 0 auto;
  display: flex;
  padding: 1.25rem;
}
.top-banner p{
  margin: 0;
  font-size: .95rem;
  color:#000;
  margin-block-start: 0;
  margin-block-end: 0;
}
.top-banner .banner-link{
  font-weight: 700;
  text-decoration: underline;
  color:#fff;
}/* Text Action Section */
.text-action-section {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color:#000;
}

.text-action-container {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding: 0.75rem 1.5rem;
  background-color: #1a73e8;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.text-button:hover,
.text-button:focus {
  background-color: #1557b0;
  color: white;
}

.text-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.small-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
