/* DeskLark Studio -- hub site (desklark.com)
   Brand palette matches the free calculators and the Pinterest pin-card
   system: teal #132F32 / teal-light #2C544E / cream #F8F5EF / gold #C9A24B
   / ink #221F1C / gray #55504A. */

:root {
  --teal: #132F32;
  --teal-light: #2C544E;
  --cream: #F8F5EF;
  --cream-dim: #EFEAE0;
  --gold: #C9A24B;
  --ink: #221F1C;
  --gray: #55504A;
  --rule: #DAD3C4;
  --radius: 10px;
  --max-w: 1000px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--teal);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 4vw, 1.7rem); margin-top: 0; }
h3 { font-size: clamp(1.05rem, 3vw, 1.25rem); margin-top: 0; }

p { margin: 0 0 1em; }

a { color: var(--teal-light); }
a:hover, a:focus { color: var(--teal); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal);
  color: var(--cream);
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.site-header {
  background: var(--teal);
  color: var(--cream);
  padding: 28px 0;
}
.site-header .wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  margin: 0 0 6px;
}
.site-header .tagline {
  margin: 0;
  color: var(--cream-dim);
  max-width: 640px;
}

.intro {
  padding: 40px 0 8px;
  max-width: 720px;
}
.intro .lede { color: var(--gray); }

section { padding: 24px 0; }

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}

.tool-card {
  display: block;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tool-card:hover, .tool-card:focus {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.tool-card p { color: var(--gray); margin-bottom: 12px; }
.tool-cta {
  font-weight: 600;
  color: var(--teal-light);
}

.promo-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .promo-cards { grid-template-columns: 1fr 1fr; }
}

.promo-card {
  display: block;
  background: var(--cream-dim);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.promo-card:hover, .promo-card:focus {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.promo-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 6px;
}
.promo-card p:not(.promo-eyebrow) { color: var(--gray); margin-bottom: 12px; }
.promo-cta { font-weight: 600; color: var(--teal-light); }

.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 40px;
  padding: 24px 0 40px;
  color: var(--gray);
  font-size: 0.9rem;
}
.site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 14px;
}
.site-links a {
  color: var(--teal-light);
  text-decoration: none;
}
.site-links a:hover, .site-links a:focus { text-decoration: underline; }
.footer-fine { font-size: 0.82rem; color: var(--gray); }
