:root {
  --read: 680px;
  --ink: #2b1810;
  --ink-soft: #796b64;
  --ink-faint: #87766d;
  --bg: #fff8ee;
  --card: #fff;
  --line: #eee7e1;
  --line-strong: #dccfc5;
  --peach: #faeee5;
  --accent-deep: #c7442a;
  --r-lg: 24px;
  --r-sm: 10px;
  --r-full: 999px;
  --ui: Satoshi, Arial, sans-serif;
  --disp: var(--ui);
  --t-2xs: 11px;
  --t-sm: 13px;
  --t-md: 14px;
  --t-base: 16px;
  --t-lg: 16px;
  --t-xl: 20px;
  --t-5xl: 42px;
  --nav-h: 76px;
  --ease: ease;
  --ease-emphasized: cubic-bezier(0.2, 0.8, 0.2, 1);
  --d-state: 180ms;
  --d-entrance: 500ms;
  --shadow-art: #2b181015;
  --e-raised: 0 4px 20px #2b181007;
  --e-floating: 0 14px 35px #2b181012;
  --bar-protein: #e85a3c;
  --bar-carbs: #f5c34b;
  --bar-fat: #8fa876;
}
body {
  color: var(--ink);
}
.site-header {
  z-index: 100;
  background: #ffffffed;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #eee8e2;
}
.site-header .nav {
  max-width: 1320px;
  height: 76px;
  margin: auto;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.site-header .nav-links {
  position: static;
  transform: none;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.site-header .nav-links a:hover,
.tools-menu summary:hover {
  color: #c7442a;
}
.tools-menu {
  position: relative;
}
.tools-menu summary {
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}
.tools-menu summary::-webkit-details-marker {
  display: none;
}
.tools-dropdown {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-45%);
  width: 660px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 50px #2b181018;
  max-height: 75vh;
  overflow: auto;
}
.tools-dropdown a {
  padding: 11px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tools-dropdown a:hover {
  background: var(--bg);
}
.tools-dropdown small {
  color: var(--ink-soft);
  font-size: 12px;
}
.tools-dropdown .all-tools {
  grid-column: 1/-1;
  background: var(--bg);
  color: var(--accent-deep);
  font-weight: 700;
}
.nav-cta {
  white-space: nowrap;
}
.inner-page main {
  padding-top: 76px;
}
.store-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.store-badge {
  display: flex !important;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: #fff8ee !important;
  padding: 10px 15px;
  border-radius: 12px;
  min-width: 146px;
  text-align: left;
  transition:
    transform 0.2s,
    background 0.2s;
  box-shadow: 0 4px 9px #2b181010;
}
.store-badge:hover {
  transform: translateY(-2px);
  background: #4c3024;
}
.store-badge svg {
  width: 23px;
  height: 27px;
  fill: currentColor;
  flex-shrink: 0;
}
.store-badge > span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.store-badge small {
  font-size: 10px;
  font-weight: 400;
  color: inherit;
}
.store-badge strong {
  font-size: 17px;
  font-weight: 700;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--ink-soft);
}
.directory-head {
  max-width: 980px;
  text-align: center;
  margin: 74px auto 54px;
  padding: 0 24px;
}
.directory-head h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.07;
  margin: 20px 0;
  letter-spacing: -0.055em;
}
.directory-head p {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.6;
  margin: 0 auto 24px;
  color: var(--ink-soft);
}
mark {
  background: #faeee5;
  color: #c7442a;
  padding: 0 0.12em;
  border-radius: 9px;
}
.directory-head .store-badges {
  justify-content: center;
}
.directory-head.compact {
  margin: 58px auto 36px;
}
.directory-content,
.home-resources {
  max-width: 1140px;
  margin: auto;
  padding: 0 28px;
}
.content-grid,
.tools-grid,
.home-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.content-card,
.tool-card {
  background: #faf8f6;
  border: 1px solid #eee9e4;
  border-radius: 22px;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.content-card:hover,
.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px #2b18100b;
}
.content-card > img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  display: block;
}
.content-card > div:not(.guide-symbol) {
  padding: 24px;
}
.content-card h3,
.tool-card h2,
.tool-card h3 {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin: 10px 0;
}
.content-card p,
.tool-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.card-link {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-deep);
  margin-top: 22px;
}
.tool-card {
  padding: 28px;
}
.tool-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #fae5db;
  color: #c7442a;
  border-radius: 12px;
  font-weight: 700;
}
.guide-symbol {
  font-size: 38px;
  color: var(--accent-deep);
  padding: 24px 24px 0;
}
.home-resources {
  padding-top: 75px;
  padding-bottom: 45px;
}
.home-resources .section-heading {
  margin-bottom: 35px;
}
.text-link {
  display: block;
  text-align: center;
  color: var(--accent-deep);
  font-weight: 700;
  margin-top: 28px;
}
.page-cta {
  max-width: 1084px;
  margin: 90px auto;
  background: var(--bg);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 52px;
}
.page-cta > div {
  max-width: 620px;
}
.page-cta h2 {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 14px 0;
}
.page-cta p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 24px;
}
.page-cta > img {
  width: 190px;
  height: 190px;
  object-fit: contain;
}
.article-hero {
  padding: 65px 28px 42px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.article-hero .crumbs {
  font-size: 13px;
  margin-bottom: 20px;
  color: var(--ink-soft);
}
.article-hero h1 {
  font-size: clamp(34px, 4.1vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  max-width: 850px;
  margin: 18px auto;
}
.article-hero .lede {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 700px;
  margin: auto;
}
.article-hero .meta,
.article-hero .article-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 20px;
}
.article-quick-download {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 25px;
  font-size: 13px;
  color: var(--ink-soft);
}
.reader-layout {
  max-width: 1390px;
  margin: 12px auto 75px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 205px minmax(0, 680px) 230px;
  gap: 35px;
  justify-content: center;
  align-items: start;
}
.reader-toc,
.reader-download {
  position: sticky;
  top: 104px;
}
.toc-inner nav {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 255px);
  overflow: auto;
  margin-top: 20px;
  border-left: 1px solid var(--line);
}
.toc-inner nav a {
  padding: 7px 10px 7px 14px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
  border-left: 2px solid transparent;
  margin-left: -1px;
}
.toc-inner nav a.toc-level-3 {
  padding-left: 24px;
  font-size: 11px;
}
.toc-inner nav a[aria-current] {
  color: var(--accent-deep);
  border-color: #e85a3c;
  background: #fff8ee;
}
.reading-status {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ink-soft);
  margin-top: 16px;
}
.reading-track {
  height: 3px;
  background: var(--line);
  margin-top: 8px;
  border-radius: 5px;
  overflow: hidden;
}
.reading-track span {
  display: block;
  height: 100%;
  background: #e85a3c;
  width: 0;
}
.download-card {
  padding: 22px;
  background: var(--bg);
  border: 1px solid #f0e5d8;
  border-radius: 24px;
  text-align: center;
}
.download-card > img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 14px;
}
.download-card .eyebrow {
  display: block;
  font-size: 9px;
}
.download-card h2 {
  font-size: 27px;
  line-height: 1.13;
  letter-spacing: -0.035em;
  margin: 13px 0;
}
.download-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.download-card .store-badges {
  display: grid;
  gap: 9px;
}
.download-card .store-badge {
  justify-content: center;
  min-width: 0;
  padding: 10px;
}
.download-card > small {
  display: block;
  font-size: 10px;
  color: var(--ink-soft);
  margin-top: 14px;
}
.article {
  font-size: 17px;
  line-height: 1.8;
  color: #4b3d35;
  min-width: 0;
}
.article p {
  color: inherit;
  margin: 0 0 22px;
}
.article > p,
.article > ul,
.article > ol {
  max-width: 66ch;
}
.article h2 {
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 45px 0 18px;
  scroll-margin-top: 110px;
}
.article h3 {
  font-size: 21px;
  line-height: 1.35;
  color: var(--ink);
  margin: 30px 0 12px;
  scroll-margin-top: 110px;
}
.article ul,
.article ol {
  padding-left: 24px;
  margin: 18px 0 25px;
}
.article li {
  padding-left: 3px;
  margin: 8px 0;
}
.article a:not(.store-badge):not(.btn) {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}
.article .post-hero-img {
  margin: 0 0 30px;
}
.article figure {
  margin: 25px 0;
}
.article figcaption {
  font-size: 12px;
  color: var(--ink-soft);
}
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 24px 0;
}
.article th,
.article td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.article th {
  background: var(--bg);
  color: var(--ink);
}
.article blockquote,
.article .callout,
.article .note {
  background: var(--bg);
  border-left: 3px solid #e85a3c;
  padding: 20px 24px;
  border-radius: 0 14px 14px 0;
  margin: 25px 0;
}
.article .app-cta {
  padding: 28px;
  background: var(--bg);
  border-radius: 24px;
  margin: 35px 0;
}
.app-cta img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.app-cta h2,
.app-cta h3 {
  margin: 10px 0;
}
.article .btn,
.btn {
  display: inline-flex;
  padding: 11px 19px;
  background: #e85a3c;
  border-radius: 11px;
  color: white;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.article .app-cta .store-badges {
  margin-top: 20px;
}
.mobile-toc {
  display: none;
}
.related {
  max-width: 1084px;
  margin: 70px auto;
  padding: 0 24px;
}
.related h2 {
  font-size: 30px;
  margin-bottom: 28px;
}
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.guide-card {
  display: block;
  padding: 26px;
  background: #faf8f6;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.guide-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.guide-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.guide-card img {
  max-width: 100%;
  border-radius: 12px;
}
.guide-card svg {
  width: 24px;
  height: 24px;
}
.tool-workspace {
  max-width: 1084px;
  margin: 44px auto 72px;
  padding: 0 24px;
}
.tool-workspace > .crumbs {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.calc-intro h1 {
  font-size: clamp(34px, 4.2vw, 53px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-align: left;
}
.tool-hero-download {
  margin-top: 23px;
}
.tool-page .calc-out p {
  color: #fff8ee;
}
.tool-page .calc-out .calc-sub,
.tool-page .calc-out .calc-note {
  color: #cebbb0;
}
.result-download {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid #fff2;
}
.result-download p {
  font-size: 14px;
  margin-bottom: 12px;
}
.result-download .store-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.result-download .store-badge {
  min-width: 0;
  background: #fff8ee !important;
  color: var(--ink) !important;
  padding: 8px;
}
.result-download .store-badge strong {
  font-size: 13px;
}
.result-download .store-badge small {
  font-size: 8px;
}
.result-download .store-badge svg {
  width: 18px;
}
.calc-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.calc-form .hint,
.calc-form .calc-help {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.calc-form button {
  font: inherit;
}
.calc-form .btn {
  font-size: 14px;
}
.site-footer {
  max-width: 1200px;
  margin: auto;
  padding: 55px 28px 25px;
  border-top: 1px solid var(--line);
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}
.site-footer .footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.site-footer .footer-grid p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.site-footer .footer-grid > div > a:not(.brand) {
  font-size: 15px;
}
.site-footer .store-badges {
  margin-top: 7px;
}
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 22px;
  font-size: 12px;
  color: var(--ink-soft);
}
.site-footer .footer-bottom > div {
  display: flex;
  gap: 20px;
}
.comparison-section {
  max-width: 1000px;
  margin: auto;
  padding: 70px 25px;
}
.comparison-section .section-head {
  text-align: center;
  margin-bottom: 30px;
}
.comparison-section h2 {
  font-size: 42px;
  letter-spacing: -0.04em;
}
.comparison-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.comparison-section th,
.comparison-section td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.comparison-section th {
  background: var(--bg);
}
.comparison-section svg {
  width: 20px;
  height: 20px;
}
.legal-content {
  max-width: 760px;
  margin: 20px auto 60px;
  padding: 0 24px;
  line-height: 1.8;
}
.legal-content h2 {
  font-size: 26px;
  margin: 30px 0 14px;
}
.legal-content p {
  margin-bottom: 18px;
}
.legal-content a {
  color: var(--accent-deep);
}
.legal-content ul {
  padding-left: 24px;
}
.legal-content .contact-grid {
  display: grid;
  gap: 25px;
}
.inner-page .week span {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: 13px;
}
.inner-page .week span.selected {
  background: var(--peach);
  color: var(--accent-deep);
}
@media (min-width: 1101px) {
  .site-header .menu-toggle {
    display: none;
  }
}
@media (max-width: 1200px) {
  .reader-layout {
    grid-template-columns: 170px minmax(0, 1fr) 210px;
    gap: 24px;
  }
  .site-header .nav-links {
    gap: 15px;
  }
  .download-card {
    padding: 18px;
  }
}
@media (max-width: 1100px) {
  .site-header .menu-toggle {
    display: block;
  }
  .site-header .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    transform: none;
    padding: 25px 28px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 76px);
    overflow: auto;
  }
  .site-header .nav-links.open {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }
  .site-header .nav-cta {
    margin-left: auto;
  }
  .tools-dropdown {
    position: static;
    transform: none;
    width: 100%;
    max-height: none;
    margin-top: 15px;
    box-shadow: none;
  }
  .reader-layout {
    grid-template-columns: minmax(0, 680px) 220px;
    gap: 28px;
  }
  .reader-toc {
    display: none;
  }
  .mobile-toc {
    display: block;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 15px 18px;
    margin-bottom: 24px;
  }
  .mobile-toc summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
  }
  .mobile-toc nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    font-size: 13px;
  }
  .mobile-toc a {
    color: var(--ink-soft);
  }
  .mobile-toc .toc-level-3 {
    padding-left: 15px;
  }
  .page-cta {
    margin: 70px 28px;
  }
  .content-grid,
  .tools-grid {
    gap: 15px;
  }
  .content-card > div:not(.guide-symbol) {
    padding: 20px;
  }
}
@media (max-width: 760px) {
  .site-header .nav {
    padding: 0 20px;
    height: 68px;
    gap: 13px;
  }
  .site-header .nav-cta {
    font-size: 12px;
    padding: 10px 12px;
  }
  .site-header .brand {
    font-size: 17px;
  }
  .site-header .nav-links {
    top: 68px;
  }
  .inner-page main {
    padding-top: 68px;
  }
  .directory-head {
    margin: 42px auto 35px;
  }
  .directory-head p {
    font-size: 16px;
  }
  .content-grid,
  .tools-grid,
  .home-tool-grid,
  .guides-grid {
    grid-template-columns: 1fr;
  }
  .directory-content,
  .home-resources {
    padding-left: 20px;
    padding-right: 20px;
  }
  .content-card > img {
    max-height: 240px;
  }
  .content-card h3 {
    font-size: 24px;
  }
  .reader-layout {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
  }
  .reading-main {
    width: 100%;
    min-width: 0;
  }
  .reader-download {
    position: static;
    width: 100%;
  }
  .download-card {
    text-align: left;
    padding: 26px;
  }
  .download-card > img {
    float: right;
    margin: 0 0 10px 15px;
  }
  .download-card .store-badges {
    display: flex;
  }
  .download-card .store-badge {
    min-width: 146px;
  }
  .article-hero {
    padding: 40px 20px 30px;
  }
  .article-hero .lede {
    font-size: 16px;
  }
  .article-quick-download {
    flex-direction: column;
    gap: 12px;
  }
  .article {
    font-size: 16px;
  }
  .article h2 {
    font-size: 27px;
  }
  .article table {
    font-size: 12px;
    display: block;
    overflow-x: auto;
  }
  .article th,
  .article td {
    padding: 10px;
  }
  .page-cta {
    margin: 55px 20px;
    padding: 30px;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 15px;
  }
  .page-cta > img {
    width: 100px;
    height: 100px;
  }
  .page-cta h2 {
    font-size: 33px;
  }
  .site-footer {
    padding: 40px 20px 25px;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .site-footer .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .site-footer .footer-bottom {
    gap: 18px;
    flex-direction: column;
  }
  .tool-workspace {
    padding: 0 20px;
    margin-top: 30px;
  }
  .tool-page .calc-head {
    grid-template-columns: minmax(0, 1fr) 80px;
  }
  .tool-page .calc-pip {
    width: 80px;
  }
  .tool-page .calc-intro h1 {
    font-size: 35px;
  }
  .tool-page .calc-head .store-badges {
    min-width: 300px;
  }
  .tool-page .calc-intro p {
    font-size: 15px;
  }
  .comparison-section {
    overflow: auto;
  }
  .comparison-section h2 {
    font-size: 32px;
  }
  .comparison-section table {
    font-size: 12px;
  }
  .comparison-section th,
  .comparison-section td {
    padding: 10px;
  }
  .tools-dropdown {
    grid-template-columns: 1fr;
  }
  .tool-page .result-download .store-badge {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .content-card,
  .tool-card,
  .store-badge {
    transition: none;
  }
}
.contact-form {
  display: grid;
  gap: 20px;
}
.hp {
  display: none;
}
.field-hint,
.form-status,
.plan-foot {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 10px;
}
.contact-form .btn {
  justify-content: center;
}
.guide-card .pill {
  font-size: 11px;
}
.comparison-section .compare-scroll {
  overflow-x: auto;
}
.comparison-section .fine,
.comparison-section .compare-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 14px;
}
.article .wide {
  max-width: 100%;
}
.article .article-image {
  margin: 26px 0;
}
.home-page .hero {
  padding-top: 104px;
}
.comparison-section caption {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: left;
  margin-bottom: 14px;
}
.comparison-section .col-us {
  background: #fff8ee;
}
.comparison-section tbody th {
  background: transparent;
}
.tool-page .calc-out table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
  margin-top: 20px;
}
.tool-page .calc-out td,
.tool-page .calc-out th {
  padding: 8px 0;
  border-bottom: 1px solid #ffffff20;
  text-align: left;
}
.tool-page .calc-out tr.active {
  color: #f5c34b;
}
@media (max-width: 760px) {
  .home-page .hero {
    padding-top: 95px;
  }
}
/* Editorial cards: a consistent portrait image and a compact reading preview. */
.content-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fcfaf8;
}
.content-card > img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 3/4;
  max-height: none !important;
  object-fit: cover;
  flex: none;
}
.content-card > div:not(.guide-symbol) {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}
.content-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 22px;
}
.content-card h3 {
  font-size: 22px;
}
.content-card .card-link {
  margin-top: auto;
  padding-top: 4px;
}
.guide-card {
  padding: 0;
}
.content-card > img {
  transition: filter 0.45s;
}
.content-card:hover > img {
  filter: saturate(1.08);
}
.home-page .hero {
  position: relative;
  isolation: isolate;
}
.hero-background {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: min(940px, 72vw);
  min-height: 660px;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}
.hero-copy .badge {
  background: #ffffffd9;
  backdrop-filter: blur(8px);
}
.hero-copy h1 {
  position: relative;
}
.hero-copy p {
  color: #4a3428;
}
.hero-copy mark {
  background: #fff8eee6;
}
.hero-stage {
  z-index: 1;
}
.tool-card {
  position: relative;
  isolation: isolate;
  min-height: 285px;
  padding: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, #fffdfa, #f7eee7);
  border-color: #ecdfd5;
}
.tool-card:nth-child(3n + 2) {
  background: linear-gradient(145deg, #fcfdf9, #eff3e9);
}
.tool-card:nth-child(3n) {
  background: linear-gradient(145deg, #fffdfa, #fbefd6);
}
.tool-card p,
.tool-card h2,
.tool-card h3,
.tool-card .card-link {
  position: relative;
  z-index: 2;
}
.tool-card p {
  padding-right: 24px;
}
.tool-icon {
  width: 36px;
  height: 36px;
  color: #c7442a;
  margin-bottom: 15px;
  display: block;
}
.tool-card:nth-child(3n + 2) .tool-icon {
  color: #668451;
}
.tool-card:nth-child(3n) .tool-icon {
  color: #a57b23;
}
.tool-number {
  position: absolute;
  right: 25px;
  top: 25px;
  background: transparent;
  font-size: 12px;
  color: #97877c;
}
.tool-watermark {
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 132px;
  height: 132px;
  color: #df866d;
  opacity: 0.14;
  filter: blur(1px);
  z-index: -1;
  transform: rotate(-14deg);
}
.tool-card:nth-child(3n + 2) .tool-watermark {
  color: #8fa876;
}
.tool-card:nth-child(3n) .tool-watermark {
  color: #d7ab43;
}
.tool-card .card-link {
  padding-right: 50px;
}
.section-sparkle {
  width: 29px;
  height: 29px;
  margin: 0 auto 18px;
  display: block;
  color: #b78627;
}
.ambient-price {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.price-sparkle {
  position: absolute;
  right: 25px;
  top: 25px;
  width: 35px;
  height: 35px;
  color: #c7442a;
  opacity: 0.38;
  pointer-events: none;
  z-index: 2;
}
.featured .price-info {
  background-size: 180% 180%;
}
.price-card {
  transition:
    box-shadow 0.3s,
    translate 0.3s;
}
.price-card:hover {
  translate: 0 -5px;
  box-shadow: 0 20px 36px #2b181015;
}
.motion-in-view .tool-watermark {
  animation: gentle-turn 7s ease-in-out infinite;
}
.motion-in-view .section-sparkle,
.motion-in-view .price-sparkle {
  animation: soft-twinkle 5s ease-in-out infinite;
}
.motion-in-view.featured .price-info {
  animation: warm-shift 9s ease-in-out infinite;
}
.page-cta.motion-in-view > img,
.download-card.motion-in-view > img {
  animation: gentle-bob 6s ease-in-out infinite;
}
.content-card.motion-in-view .card-link {
  animation: link-breathe 6s ease-in-out infinite;
}
.ambient-card:nth-child(2n) .tool-watermark {
  animation-delay: -3s;
}
.ambient-price:nth-child(2n) .price-sparkle {
  animation-delay: -2s;
}
@keyframes gentle-turn {
  0%,
  100% {
    transform: translateY(0) rotate(-14deg);
  }
  50% {
    transform: translateY(-10px) rotate(0);
  }
}
@keyframes soft-twinkle {
  0%,
  100% {
    transform: rotate(-8deg) scale(0.92);
    opacity: 0.4;
  }
  50% {
    transform: rotate(12deg) scale(1.06);
    opacity: 0.75;
  }
}
@keyframes warm-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes gentle-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes link-breathe {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.download-dialog {
  border: 1px solid #eadfd5;
  border-radius: 28px;
  padding: 40px;
  max-width: 460px;
  width: calc(100% - 36px);
  color: var(--ink);
  background: #fffdfa;
  box-shadow: 0 30px 100px #2b181035;
  text-align: center;
}
.download-dialog::backdrop {
  background: #2b181065;
  backdrop-filter: blur(5px);
}
.download-dialog > img {
  margin: 0 auto 22px;
  border-radius: 16px;
}
.download-dialog h2 {
  font-size: 34px;
  letter-spacing: -0.04em;
}
.download-dialog p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 15px 0 24px;
}
.download-dialog .store-badges {
  justify-content: center;
}
.download-dialog > small {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  margin-top: 22px;
}
.download-close {
  position: absolute;
  right: 17px;
  top: 12px;
  font-size: 28px;
  border: 0;
  background: none;
  color: var(--ink-soft);
}
.nav-cta {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
@media (max-width: 760px) {
  .hero-background {
    height: 760px;
    min-height: 0;
    object-position: 51% top;
  }
  .content-grid {
    gap: 25px;
  }
  .content-card > img {
    aspect-ratio: 3/4;
  }
  .content-card h3 {
    font-size: 24px;
  }
  .download-dialog {
    padding: 35px 23px;
  }
  .download-dialog .store-badges {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .download-dialog .store-badge {
    min-width: 0;
    padding: 10px;
  }
  .download-dialog .store-badge strong {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion-in-view .tool-watermark,
  .motion-in-view .section-sparkle,
  .motion-in-view .price-sparkle,
  .motion-in-view.featured .price-info,
  .page-cta.motion-in-view > img,
  .download-card.motion-in-view > img,
  .content-card.motion-in-view .card-link {
    animation: none !important;
  }
}

/* Additions for trycalfit.com on top of the redesign: the parts of the old
   site that carried SEO weight and had no home in the new layout. */
.site-footer .footer-grid {
  grid-template-columns: 1.3fr 0.8fr 1.6fr;
}
.site-footer .footer-grid > .footer-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  align-content: start;
}
.footer-tools .muted {
  grid-column: 1 / -1;
}
.more-links {
  max-width: 1140px;
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 15px;
}
.more-links span {
  font-weight: 700;
  color: var(--ink);
  flex-basis: 100%;
}
.more-links a {
  color: var(--accent-deep);
  font-weight: 600;
}
.tools-explainer .article {
  max-width: 760px;
  margin: 72px auto 0;
}
.lang-menu summary svg {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
}
.not-found-foot {
  text-align: center;
  margin-top: 36px;
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* The byline carried over from the old site is an inline flex row; centre its
   wrapped lines under the centred article hero. */
.article-hero .crumbs[style*="flex"] {
  justify-content: center;
}
/* .guide-hero reuses the home page's device screenshot (the same 1189:1834
   asset as .step-phone, style.css) but had no width rule of its own, so the
   plain `img{max-width:100%}` reset let it stretch edge to edge across
   whichever column it landed in: the .article-hero header on guide pages
   (no styling at all there, .article starts further down the template) and
   the .article body on blog and calculator pages (680-820px, dwarfing the
   paragraph above it). Cap it at the same 430px .step-phone already uses for
   this artwork and centre it, the way Zendesk insets a narrow portrait phone
   mockup into a wider section rather than stretching it to the column:
   mobbin.com/sites/sections/0d95dabd-6338-438a-94de-4f4200521e30
   .article .guide-hero carries the extra class to outweigh .article figure's
   margin: 25px 0, which would otherwise win on specificity and keep the
   left/right margin at 0 instead of centering it. */
.guide-hero,
.article .guide-hero {
  max-width: 430px;
  margin: 25px auto;
}
.guide-hero img {
  border-radius: 20px;
}
/* QR codes to /get, for desktop visitors only: a phone cannot scan its own
   screen, so they stay hidden unless the pointer is a mouse or trackpad. */
.download-qr {
  display: none;
}
@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  .download-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0 auto 22px;
  }
  .download-qr img {
    background: #fff;
    padding: 10px;
    border: 1px solid #eadfd5;
    border-radius: 18px;
  }
  .download-qr figcaption {
    font-size: 13px;
    color: var(--ink-soft);
  }
  .final-cta .download-qr {
    margin: 28px auto 0;
  }
}
