/* Home calculators toolkit (tools.html): the page the installed app opens on */
.tools { padding-top: 40px; }
.tools__intro { max-width: 640px; margin: 0 auto 24px; text-align: center; }
.tools__intro h1 { color: var(--cream); font-size: clamp(2rem, 6vw, 3rem); margin: 6px 0 10px; }
.tools__intro .lede { color: #cfc6b8; margin: 0; }
.tools__tabs {
  position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  max-width: 640px; margin: 0 auto 18px; padding: 6px; border-radius: 999px; background: var(--ink-soft); border: 1px solid #3b3833;
}
.tools__tabs a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 999px;
  color: #cfc6b8; text-decoration: none; font-size: .8rem; line-height: 1.15; text-align: center;
}
.tools__tabs svg { width: 20px; height: 20px; }
.tools__tabs a[aria-current="true"] { background: var(--cream); color: var(--ink); }
.tools__tabs a:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 2px; }
.tools__panel { max-width: 640px; margin: 0 auto; }
.tools__panel[hidden] { display: none; }
.tools__panel > .fine { color: #cfc6b8; text-align: center; margin: 0 0 14px; }
.tools__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.tools__actions .btn { justify-content: center; width: 100%; }
.tools__status { min-height: 1.4em; text-align: center; color: var(--brass-light); margin: 10px 0 0; font-size: .9rem; }
.tools__install { max-width: 640px; margin: 28px auto 0; text-align: center; color: #cfc6b8; font-size: .9rem; }
.tools__install[hidden] { display: none; }
@media (max-width: 520px) {
  .tools { padding-top: 24px; }
  .tools__tabs { border-radius: 22px; }
  .tools__tabs a { border-radius: 16px; font-size: .72rem; padding: 8px 2px; }
  .tools__actions { grid-template-columns: 1fr; }
}
/* Opened from the home screen: drop the website's top contact strip so it feels like an app */
@media (display-mode: standalone) {
  .topbar { display: none; }
}

/* Get the app page (app.html, amywilliamsyeg.com/app) */
.getapp { padding-top: 48px; text-align: center; }
.getapp__hero { max-width: 600px; margin: 0 auto; }
.getapp__icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6); margin-bottom: 18px; }
.getapp__hero h1 { color: var(--cream); font-size: clamp(2rem, 7vw, 3.2rem); margin: 6px 0 12px; }
.getapp__hero .lede { color: #cfc6b8; }
.getapp__card { max-width: 520px; margin: 28px auto 0; padding: 26px 22px; border-radius: var(--radius-lg); background: var(--ink-soft); border: 1px solid #3b3833; }
.getapp__card[hidden] { display: none; }
.getapp__card h2 { color: var(--cream); font-size: 1.5rem; margin: 0 0 14px; }
.getapp__card .fine { color: #cfc6b8; margin: 14px 0 0; }
.getapp__cta { width: 100%; justify-content: center; font-size: 1.1rem; min-height: 56px; }
.getapp__steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; text-align: left; }
.getapp__steps li { display: flex; gap: 14px; align-items: flex-start; color: #cfc6b8; }
.getapp__steps strong { color: var(--cream); }
.getapp__num { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brass-light); color: var(--ink); font-weight: 500; }
.getapp__glyph { width: 20px; height: 20px; vertical-align: -4px; color: var(--brass-light); }
.getapp__qr { display: block; margin: 0 auto; border-radius: 16px; background: #fff; padding: 10px; }
.getapp__features { list-style: none; max-width: 520px; margin: 32px auto 0; padding: 0; display: grid; gap: 12px; text-align: left; }
.getapp__features li { display: flex; gap: 12px; align-items: center; color: #cfc6b8; }
.getapp__features svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--brass-light); }
.getapp__features strong { color: var(--cream); }
.getapp__fine { color: #cfc6b8; margin-top: 24px; }
/* Calculators page opened from "Download the app": the install box sits at the top */
.tools__install--top { margin: 0 auto 18px; padding: 16px; border-radius: var(--radius); background: var(--ink-soft); border: 1px solid var(--brass-light); color: var(--cream); font-size: 1rem; }
