/* ===========================================================
   Stacie — home page
   =========================================================== */

/* nav + wordmark now live in style.css so every page gets them */

/* --- hero / current status --- */
.hero {
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(ellipse at 50% 0%, rgba(199, 154, 70, 0.16), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.06;
  color: var(--paper-text);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--paper-text-muted);
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* --- dual dial instrument (the signature element) --- */
.instrument {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.instrument-panel {
  position: relative;
  background: linear-gradient(160deg, var(--ink-raised), var(--ink-deep));
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 34px 30px 26px;
  box-shadow: var(--shadow-panel);
  width: 100%;
}

.instrument-label {
  text-align: center;
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-text-muted);
  margin-bottom: 18px;
}

.dial-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dial-arc-wrap {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.dial-arc-wrap svg {
  width: 60%;
  opacity: 0.55;
}

.dial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dial-face {
  position: relative;
  width: 100%;
  max-width: 210px;
}

.dial-readout {
  margin-top: 14px;
}

.dial-days {
  font-family: var(--font-data);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--paper-text);
  font-variant-numeric: tabular-nums;
}

.dial-days span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--paper-text-muted);
}

.dial-caption {
  font-size: 0.78rem;
  color: var(--paper-text-muted);
  margin-top: 2px;
}

.dial-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid;
}

.dial-tag.ok {
  color: #8fd0a4;
  border-color: rgba(143, 208, 164, 0.4);
  background: rgba(143, 208, 164, 0.08);
}

.dial-tag.warn {
  color: #ecc46b;
  border-color: rgba(236, 196, 107, 0.45);
  background: rgba(236, 196, 107, 0.08);
}

.dial-tag.bad {
  color: #e08a90;
  border-color: rgba(224, 138, 144, 0.45);
  background: rgba(224, 138, 144, 0.08);
}

.instrument-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line);
  margin: 20px 0 16px;
}

.instrument-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: var(--paper-text-muted);
  letter-spacing: 0.04em;
}

/* --- section shell --- */
.section {
  padding: 60px 0 88px;
  border-top: 1px solid var(--line);
}

/* --- two link cards to the tools --- */
.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.link-card {
  display: block;
  background: var(--ink-raised);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: var(--paper-text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.link-card:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
}

.link-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 14px;
}

.link-card-dot.uk {
  background: var(--uk-dial);
}

.link-card-dot.us {
  background: var(--us-dial);
}

.link-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.link-card p {
  color: var(--paper-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* --- footer --- */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

footer .wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.foot-note {
  font-size: 0.82rem;
  color: var(--paper-text-muted);
  margin: 0;
}

/* --- responsive --- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .two-up {
    grid-template-columns: 1fr;
  }
}
