
:root {
  --sage: #9cc9a8;
  --seafoam: #6ed6c2;
  --mist: #e0f5eb;
  --lavender: #b594f5;
  --success: #57a673;
  --canvas: #fffaf5;
  --surface: #ffffff;
  --surface-muted: #f6f3ed;
  --text: #171515;
  --text-soft: #655f5b;
  --accent-ink: #176f62;
  --on-brand: #14332d;
  --line: rgba(20, 18, 18, 0.1);
  --line-strong: rgba(20, 18, 18, 0.16);
  --gradient: linear-gradient(100deg, var(--sage), var(--seafoam));
  --gradient-soft: linear-gradient(135deg, rgba(156, 201, 168, 0.23), rgba(110, 214, 194, 0.18) 54%, rgba(224, 245, 235, 0.42));
  --shadow-card: 0 12px 42px rgba(20, 18, 18, 0.07);
  --shadow-control: 0 9px 26px rgba(63, 155, 137, 0.2);
  --radius-hero: 34px;
  --radius-card: 22px;
  --radius-control: 14px;
  --radius-pill: 999px;
  --section-space: clamp(5rem, 10vw, 8.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--seafoam);
  outline-offset: 4px;
  border-radius: 6px;
}

::selection {
  background: var(--seafoam);
  color: var(--on-brand);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--text);
  color: var(--canvas);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.nav-shell {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.2rem, 4.7vw, 4rem);
  font-weight: 760;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 720;
  letter-spacing: -0.025em;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--gradient);
  box-shadow: var(--shadow-control);
  color: var(--on-brand);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 30px rgba(63, 155, 137, 0.27);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: none;
  color: var(--text);
}

.button-secondary:hover {
  box-shadow: 0 8px 24px rgba(20, 18, 18, 0.06);
}

.button-small {
  min-height: 48px;
  padding-inline: 20px;
  font-size: 0.86rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-ink);
  font-weight: 750;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease-out;
}

.text-link:hover span {
  transform: translateX(3px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--canvas) 85%, transparent);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 5px 22px rgba(20, 18, 18, 0.04);
}

.nav-shell {
  display: grid;
  min-height: 72px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.17rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(23, 111, 98, 0.13);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.3vw, 34px);
}

.desktop-nav a {
  color: var(--text-soft);
  font-size: 0.89rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease-out;
}

.desktop-nav a:hover {
  color: var(--text);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 0.89rem;
  font-weight: 650;
  list-style: none;
  transition: color 160ms ease-out;
}

.nav-dropdown summary::-webkit-details-marker,
.mobile-nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
  color: var(--text);
}

.menu-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease-out;
}

details[open] > summary .menu-chevron {
  transform: translateY(2px) rotate(225deg);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  display: grid;
  min-width: 170px;
  gap: 3px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transform: translateX(-50%);
}

.nav-submenu a {
  padding: 10px 12px;
  border-radius: 9px;
}

.nav-submenu a:hover {
  background: var(--surface-muted);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease-out;
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  width: min(100% - 40px, 500px);
  margin: 0 20px 16px auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.mobile-nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding-inline: 15px;
  border-radius: 11px;
  color: var(--text-soft);
  font-weight: 680;
  text-decoration: none;
}

.mobile-nav a:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.mobile-nav-group summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 15px;
  border-radius: 11px;
  color: var(--text-soft);
  cursor: pointer;
  font-weight: 680;
  list-style: none;
}

.mobile-nav-group summary:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.mobile-nav-group > div a {
  padding-left: 32px;
}

.hero {
  padding-block: 48px 42px;
}

.hero-panel {
  position: relative;
  display: grid;
  min-height: 680px;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  overflow: hidden;
  padding: clamp(42px, 6vw, 78px);
  border: 1px solid rgba(23, 111, 98, 0.05);
  border-radius: var(--radius-hero);
  background: var(--gradient-soft);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 780px;
}

.hero-lede {
  max-width: 620px;
  margin: 26px 0 34px;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-facts span {
  color: var(--success);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 640px;
  place-items: center;
}

.hero-glow {
  position: absolute;
  inset: 7% 2% 4%;
  border-radius: 48% 52% 42% 58%;
  background: radial-gradient(circle at 50% 35%, rgba(110, 214, 194, 0.32), rgba(156, 201, 168, 0.13) 48%, transparent 72%);
  filter: blur(3px);
}

.hero-screenshot {
  position: relative;
  z-index: 2;
  width: min(100%, 350px);
  margin: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 48px;
  background: #171817;
  box-shadow: 0 30px 80px rgba(38, 92, 80, 0.2);
  transform: rotate(1deg);
}

.hero-screenshot img {
  width: 100%;
  height: auto;
  border-radius: 39px;
}


.section-heading-row > p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.features {
  padding-block: var(--section-space);
  scroll-margin-top: 100px;
}

.features-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.features-heading > p:last-child {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: flex;
  min-height: 330px;
  align-items: flex-start;
  flex-direction: column;
  padding: clamp(28px, 3.5vw, 40px);
  border: 1px solid rgba(20, 18, 18, 0.055);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 15px;
  background: var(--mist);
  color: var(--accent-ink);
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.feature-card h3 {
  margin-top: 48px;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.feature-card p {
  margin: 18px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: end;
  gap: 50px;
  margin-bottom: 48px;
}

.section-heading-row h2 {
  max-width: 770px;
}


.showcase-copy {
  max-width: 610px;
}

.showcase-copy h2 {
  max-width: 680px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.045em;
}

.showcase-copy > p {
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--text-soft);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 29px;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--success);
  content: "✓";
  font-weight: 850;
}


.photo-showcase {
  margin-bottom: 24px;
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-hero);
  background: var(--gradient-soft);
}

.photo-showcase .showcase-copy {
  max-width: 840px;
  margin-bottom: 44px;
}

.progress-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 28px);
}

.progress-gallery figure {
  margin: 0;
  overflow: hidden;
  padding: 8px 8px 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  background: #171817;
  box-shadow: 0 20px 52px rgba(38, 92, 80, 0.12);
}

.progress-gallery img {
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.progress-gallery figcaption {
  padding: 12px 10px 14px;
  color: #f7f7f5;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.02em;
  text-align: center;
}


.pro {
  scroll-margin-top: 100px;
  padding-bottom: var(--section-space);
}

.pro-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  align-items: start;
  gap: clamp(48px, 8vw, 110px);
  padding: clamp(42px, 7vw, 80px);
  border-radius: var(--radius-hero);
  background: var(--on-brand);
  color: #f6fffc;
}

.pro-panel .eyebrow,
.pro-panel .check-list li::before {
  color: var(--seafoam);
}

.pro-panel h2 {
  max-width: 720px;
}

.pro-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pro-columns > div {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.pro-columns h3 {
  font-size: 1.1rem;
}

.pro-panel .check-list {
  color: #d7e9e4;
  font-size: 0.9rem;
}

.resource-card {
  position: relative;
  overflow: hidden;
  padding: clamp(25px, 3vw, 34px);
  border: 1px solid rgba(20, 18, 18, 0.055);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}






.resource-card {
  display: flex;
  min-height: 315px;
  flex-direction: column;
}

.resource-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 42px;
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 750;
}

.resource-meta > span {
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  background: var(--mist);
  color: var(--accent-ink);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.resource-card h2,
.resource-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.55rem);
}

.resource-card h2 a,
.resource-card h3 a {
  text-decoration: none;
}

.resource-card h2 a::after,
.resource-card h3 a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.resource-card > p {
  margin: 15px 0 26px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.resource-card .text-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-size: 0.83rem;
}


.faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(50px, 9vw, 120px);
  padding-bottom: var(--section-space);
  scroll-margin-top: 100px;
}

.faq-heading {
  align-self: start;
  position: sticky;
  top: 110px;
}

.faq-heading p:last-child {
  margin-top: 22px;
  color: var(--text-soft);
}

.faq-heading a {
  color: var(--accent-ink);
  font-weight: 700;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 52px 24px 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 730;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 4px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--accent-ink);
  content: "+";
  font-size: 1.15rem;
  transition: transform 180ms ease-out;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 68ch;
  margin: -4px 45px 24px 0;
  color: var(--text-soft);
}

.disclaimer {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 34px;
  margin-bottom: var(--section-space);
  padding-block: 28px;
  border-block: 1px solid var(--line);
}

.disclaimer > strong {
  color: var(--text-soft);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.disclaimer p {
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 0.87rem;
}

.disclaimer p:last-child {
  margin-bottom: 0;
}

.download {
  padding-bottom: var(--section-space);
  text-align: center;
}

.download-panel {
  padding: clamp(50px, 9vw, 100px) 24px;
  border-radius: var(--radius-hero);
  background: var(--gradient-soft);
}

.download-panel img {
  width: 104px;
  height: 104px;
  margin: 0 auto 25px;
  border-radius: 24px;
  box-shadow: 0 18px 38px rgba(23, 111, 98, 0.18);
}

.download-panel h2 {
  max-width: 780px;
  margin-inline: auto;
}

.not-found-page .download {
  padding-top: clamp(5rem, 12vw, 9rem);
}

.not-found-page .download-panel h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.download-panel > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px auto 30px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.download-panel small {
  display: block;
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 0.71rem;
  font-weight: 700;
}

.site-footer {
  padding: 66px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, 0.6fr);
  gap: 50px;
}

.footer-brand p {
  max-width: 340px;
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.footer-grid h2 {
  margin: 3px 0 17px;
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 10px;
}

.footer-grid li a {
  color: var(--text-soft);
  font-size: 0.83rem;
  text-decoration: none;
}

.footer-grid li a:hover {
  color: var(--accent-ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.72rem;
}

/* Resource indexes */
.listing-hero {
  padding-block: clamp(70px, 10vw, 130px) 54px;
}

.listing-hero .eyebrow,
.listing-hero h1,
.listing-hero > p {
  max-width: 820px;
}

.listing-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.listing-hero > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 1.15rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: var(--section-space);
}

.listing-grid .resource-card {
  min-height: 290px;
}

/* Utility pages */

.utility-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.utility-hero > p {
  max-width: 740px;
  margin: 24px 0 22px;
  color: var(--text-soft);
  font-size: 1.15rem;
}


.prose {
  min-width: 0;
  font-size: 1.03rem;
}

.prose h2,
.prose h3 {
  scroll-margin-top: 110px;
}

.prose h2 {
  margin: 2.6em 0 0.7em;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
}

.prose h3 {
  margin: 2em 0 0.65em;
  font-size: 1.25rem;
}

.prose p,
.prose li {
  color: var(--text-soft);
  line-height: 1.8;
}

.prose strong {
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 0.55em;
}

.prose blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  border-left: 4px solid var(--seafoam);
  border-radius: 0 15px 15px 0;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.prose blockquote p {
  margin: 0;
  color: var(--text);
  font-weight: 620;
}

.utility-hero {
  padding-block: clamp(70px, 10vw, 120px) 45px;
}

.utility-shell {
  max-width: 760px;
  margin: 0 auto var(--section-space);
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.support-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.support-card p {
  margin: 10px 0 20px;
  color: var(--text-soft);
}


/* Interactive tools */
.tool-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 38px;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.tool-breadcrumbs a {
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
}

.tool-hero {
  max-width: 920px;
  padding-block: clamp(62px, 9vw, 110px) 38px;
  text-align: center;
}

.tool-hero .eyebrow,
.tool-hero h1,
.tool-hero > p {
  margin-inline: auto;
}

.tool-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.tool-hero > p:not(.eyebrow) {
  max-width: 730px;
  margin-top: 25px;
  color: var(--text-soft);
  font-size: 1.12rem;
  line-height: 1.7;
}

.tool-instruction {
  max-width: 900px;
  margin-bottom: 18px;
  padding: 20px 24px;
  border-block: 1px solid var(--line);
  color: var(--text-soft);
  text-align: center;
}

.tool-instruction p {
  margin: 0;
}

.tool-instruction strong {
  color: var(--text);
}

.calculator-shell {
  width: min(100% - 40px, 980px);
  margin-bottom: var(--section-space);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-hero);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}


.calculator-form {
  padding: clamp(26px, 4vw, 42px);
}

.calculator-results {
  padding: clamp(28px, 5vw, 58px);
}

.calculator-section {
  min-width: 0;
  margin: 0;
  padding: 0 0 24px;
  border: 0;
}

.calculator-section + .calculator-section,
[data-mode-panel] .calculator-section {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.calculator-section legend {
  width: 100%;
  margin-bottom: 16px;
  padding: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 750;
  letter-spacing: -0.025em;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.choice-card {
  position: relative;
  display: flex;
  min-height: 96px;
  align-items: flex-start;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--canvas);
  cursor: pointer;
}

.choice-card:has(input:checked) {
  border-color: color-mix(in srgb, var(--accent) 65%, var(--line));
  background: var(--mist);
}

.choice-card input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.choice-card span,
.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card small {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.75rem;
  line-height: 1.5;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-grid-weight {
  grid-template-columns: minmax(0, 1fr) 180px;
}

.unit-toggle {
  display: grid;
  min-height: 51px;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--canvas);
}

.unit-toggle label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.unit-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  opacity: 0;
}

.unit-toggle span {
  display: grid;
  height: 100%;
  place-items: center;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.unit-toggle input:checked + span {
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(20, 18, 18, 0.08);
  color: var(--accent-ink);
}

.unit-toggle input:focus-visible + span {
  outline: 3px solid var(--seafoam);
  outline-offset: 1px;
}

.form-field {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 720;
}

.form-field > small {
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.45;
}

.form-field input,
.form-field select,
.monthly-dose-row input {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: 0;
  background: var(--canvas);
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.monthly-dose-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--seafoam) 40%, transparent);
}

.form-field input[aria-invalid="true"],
.monthly-dose-row input[aria-invalid="true"] {
  border-color: #b84848;
  box-shadow: 0 0 0 3px rgba(184, 72, 72, 0.12);
}

.input-suffix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--canvas);
}

.input-suffix:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--seafoam) 40%, transparent);
}

.input-suffix input {
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.input-suffix input:focus {
  box-shadow: none;
}

.input-suffix > span {
  padding: 0 13px;
  color: var(--text-soft);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.history-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 27px 0;
  padding: 18px;
  border-radius: 14px;
  background: var(--surface-muted);
}

.history-choice p {
  width: 100%;
  margin: 0;
  font-weight: 720;
}

.history-choice label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.history-choice input {
  accent-color: var(--accent);
}


.monthly-dose-list {
  display: grid;
  gap: 10px;
}

.monthly-dose-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 720;
}

.monthly-dose-row .input-suffix {
  width: 100%;
}

.monthly-dose-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 5px;
}

.calculator-assumption {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: 0.73rem;
  line-height: 1.55;
}

.calculator-error {
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(184, 72, 72, 0.25);
  border-radius: 14px;
  background: rgba(184, 72, 72, 0.08);
  color: var(--text);
}

.calculator-error ul {
  margin: 9px 0 0;
  padding-left: 20px;
}

.calculator-results {
  scroll-margin-top: 95px;
  border-top: 1px solid var(--line);
  background: var(--gradient-soft);
}

.results-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  align-items: end;
  gap: 28px;
}

.results-heading span,
.results-heading strong {
  display: block;
}

.results-heading span {
  margin-bottom: 7px;
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 720;
}

.results-heading strong {
  font-size: clamp(2.3rem, 5vw, 4rem);
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.results-heading p {
  margin: 0 0 8px;
  color: var(--text-soft);
  line-height: 1.6;
}


.dose-progress {
  position: relative;
  height: 12px;
  margin: 58px 0 42px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--line-strong) 65%, transparent);
}

.dose-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-ink), var(--accent));
  transition: width 280ms ease-out;
}

.dose-progress-current {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(8px, var(--dose-progress-position), calc(100% - 8px));
  width: 16px;
  height: 16px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--accent-ink);
  box-shadow: 0 2px 8px rgba(20, 18, 18, 0.2);
  transform: translate(-50%, -50%);
  transition: left 280ms ease-out;
}

.dose-progress-current-total {
  position: absolute;
  bottom: calc(100% + 10px);
  left: clamp(38px, var(--dose-progress-position), calc(100% - 38px));
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 5px 16px rgba(20, 18, 18, 0.09);
  color: var(--text);
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: left 280ms ease-out;
}

.dose-progress-marker {
  position: absolute;
  top: 19px;
  color: var(--text-soft);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
}

.dose-progress-marker::before {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  width: 1px;
  height: 18px;
  background: var(--line-strong);
  content: "";
}

.dose-progress-marker-150 {
  left: 68.18%;
  transform: translateX(-50%);
}

.dose-progress-marker-220 {
  right: 0;
}

.result-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.calculator-results[data-result-mode="starting"] .result-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.result-facts > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.result-facts dt,
.milestone-card dt {
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 700;
}

.result-facts dd,
.milestone-card dd {
  margin: 6px 0 0;
  font-weight: 720;
}

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.milestone-card {
  padding: clamp(22px, 3.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.milestone-label {
  color: var(--accent-ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.milestone-card h3 {
  margin-top: 11px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.milestone-total {
  margin: 9px 0 22px;
  color: var(--text-soft);
}

.milestone-card dl {
  display: grid;
  gap: 13px;
  margin: 0;
}

.milestone-card dl > div {
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.result-warning {
  margin: 22px 0 0;
  padding: 17px 19px;
  border-radius: 14px;
  background: rgba(181, 148, 245, 0.1);
  color: var(--text-soft);
  font-size: 0.77rem;
  line-height: 1.55;
}

.tool-copy,
.tool-faq {
  width: min(100% - 40px, 900px);
  padding-bottom: var(--section-space);
}

.tool-copy h2 {
  margin-top: 55px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.tool-copy h2:first-child {
  margin-top: 0;
}

.tool-copy p,
.tool-copy li {
  color: var(--text-soft);
  line-height: 1.75;
}

.tool-copy p {
  margin: 18px 0 0;
}

.tool-copy ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding-left: 22px;
}

.tool-copy a {
  color: var(--accent-ink);
  font-weight: 700;
}

.tool-faq > h2 {
  margin-bottom: 30px;
}

.tool-noscript {
  margin-bottom: var(--section-space);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text-soft);
}

@media (max-width: 800px) {
  .choice-grid,
  .field-grid,
  .field-grid-three,
  .results-heading,
  .result-facts,
  .milestone-grid {
    grid-template-columns: 1fr;
  }

  .field-grid-weight {
    grid-template-columns: minmax(0, 1fr) 160px;
  }

}

@media (max-width: 620px) {
  .tool-breadcrumbs {
    padding-top: 24px;
  }

  .tool-hero {
    padding-block: 52px 30px;
    text-align: left;
  }

  .tool-hero .eyebrow,
  .tool-hero h1,
  .tool-hero > p {
    margin-inline: 0;
  }

  .tool-instruction {
    text-align: left;
  }

  .calculator-shell {
    width: min(100% - 28px, 980px);
    border-radius: 27px;
  }


  .calculator-form {
    padding: 24px 20px;
  }

  .calculator-results {
    padding: 28px 20px;
  }

  .choice-card {
    min-height: auto;
  }

  .field-grid-weight {
    grid-template-columns: 1fr;
  }

  .monthly-dose-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .calculator-actions .button {
    width: 100%;
  }

  .dose-progress-marker {
    font-size: 0.58rem;
  }

  .dose-progress-current-total {
    font-size: 0.64rem;
  }

  .tool-copy,
  .tool-faq {
    width: min(100% - 28px, 900px);
  }
}

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }

  .nav-shell {
    grid-template-columns: 1fr auto auto;
  }

  .menu-button {
    display: flex;
  }

  .hero-panel {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: min(100%, 640px);
    min-height: 520px;
    margin: 0 auto;
  }


  .pro-panel {
    grid-template-columns: 1fr;
  }


  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 0.7fr);
  }
}

@media (max-width: 800px) {
  :root {
    --section-space: 5.5rem;
  }

  .section-heading-row,
  .faq,
  .disclaimer {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    align-items: start;
    gap: 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }




  .resource-card {
    min-height: 270px;
  }

  .faq-heading {
    position: static;
  }

  .disclaimer {
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

}

@media (max-width: 620px) {
  .section-shell,
  .nav-shell {
    width: min(100% - 28px, 1200px);
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .nav-shell {
    min-height: 64px;
    gap: 10px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-panel {
    gap: 35px;
    padding: 34px 22px 25px;
    border-radius: 27px;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-screenshot {
    width: min(88%, 320px);
    border-radius: 42px;
  }

  .feature-card {
    min-height: auto;
    padding: 28px 24px;
  }



  .photo-showcase,
  .pro-panel {
    padding: 34px 22px;
    border-radius: 27px;
  }

  .showcase-copy h2 {
    font-size: clamp(1.85rem, 9vw, 2.8rem);
  }

  .progress-gallery {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    overflow-x: auto;
    padding: 0 2px 15px;
    scroll-snap-type: x mandatory;
  }

  .progress-gallery figure {
    scroll-snap-align: start;
  }

  .pro-columns {
    grid-template-columns: 1fr;
  }


  .storage-row {
    grid-template-columns: 38px 1fr;
  }

  .storage-row > span:last-child {
    display: none;
  }

  .resource-actions .button {
    flex: 1 1 150px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }


  .support-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #171918;
    --surface: #232625;
    --surface-muted: #2b2f2d;
    --text: #f6f2ed;
    --text-soft: #bdb8b2;
    --accent-ink: #8cdece;
    --on-brand: #14332d;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --mist: #263d36;
    --gradient-soft: linear-gradient(135deg, rgba(156, 201, 168, 0.14), rgba(110, 214, 194, 0.1) 54%, rgba(181, 148, 245, 0.08));
    --shadow-card: 0 12px 42px rgba(0, 0, 0, 0.2);
  }

  .site-header {
    background: color-mix(in srgb, var(--canvas) 86%, transparent);
  }



  .privacy-note {
    color: #eaf9f5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
