/* The current Twimly palette: forest, ivory, navy and restrained gold. */
:root {
  --paper: #f8f9f6;
  --surface: #ffffff;
  --ink: #172d25;
  --muted: #64736a;
  --soft: #edf2ec;
  --line: #dce4dc;
  --green: #24674e;
  --blue: #1d3e5c;
  --gold: #c5a34c;
  --coral: #ba7849;
  --shadow: 0 24px 72px #183b2920;
  --habit-serif: Georgia, "Times New Roman", serif;
}
[hidden] {
  display: none !important;
}
html {
  scroll-padding-top: 100px;
}
body {
  background: var(--paper);
}
::selection {
  background: #d5e5c7;
  color: #173c2b;
}
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--green);
  color: white;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  min-height: 88px;
  padding-inline: max(5vw, calc((100vw - 1440px) / 2));
  background: #f8f9f6ed;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(20px);
}
.brand {
  gap: 9px;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -1.1px;
}
.brand img {
  width: 36px;
  height: 36px;
}
.brand-dot {
  font-size: 10px;
  vertical-align: super;
  margin-left: 3px;
}
.site-nav {
  color: #526358;
  gap: clamp(16px, 2.1vw, 32px);
  font-size: 12px;
  font-weight: 500;
}
.site-nav a:hover {
  color: var(--green);
}
.header-actions {
  gap: 18px;
}
.language-switch {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 0;
}
.lang-button {
  color: #7b857c;
  padding: 6px;
  font-size: 10px;
  border: 0;
}
.lang-button.is-active {
  color: var(--ink);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav-cta,
.primary-cta,
.habit-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  background: var(--green);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 550;
  padding: 16px 22px;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.nav-cta {
  padding: 12px 16px;
  font-size: 11px;
  gap: 15px;
}
.habit-button:hover,
.nav-cta:hover,
.primary-cta:hover {
  background: #194d39;
  color: #fff;
  transform: translateY(-2px);
}
.habit-button > span:last-child,
.nav-cta > span:last-child {
  font-size: 19px;
  line-height: 1;
}
.mobile-menu-button {
  color: var(--green);
  background: transparent;
  border-color: var(--line);
}
.mobile-menu {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.mobile-menu a {
  border-color: var(--line);
}
.site-footer {
  background: var(--paper);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 40px 5vw;
  font-size: 10px;
  gap: 24px;
}
.footer-brand {
  color: var(--ink);
  font-size: 23px;
}
.footer-links {
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.footer-links a {
  color: var(--muted);
  font-size: 10px;
}
.footer-links a:hover {
  color: var(--green);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-language {
  position: relative;
  color: var(--ink);
  font-size: 13px;
}
.footer-language summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0 8px 12px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}
.footer-language summary::-webkit-details-marker {
  display: none;
}
.footer-language summary:hover {
  color: var(--green);
}
.footer-language summary svg {
  width: 18px;
  height: 18px;
}
.footer-language-flag {
  display: none;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  flex-shrink: 0;
}
html[lang="tr"] .footer-language-flag {
  display: block;
}
html[lang="tr"] .footer-language-globe {
  display: none;
}
.footer-language-chevron {
  width: 14px !important;
  height: 14px !important;
  transition: transform 0.2s ease;
}
.footer-language[open] .footer-language-chevron {
  transform: rotate(180deg);
}
.footer-language-options {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  z-index: 10;
  width: 224px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 40px #183b291a;
}
.footer-language-options p {
  padding: 6px 10px 10px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.footer-language .lang-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
  min-height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.footer-language .lang-button:hover {
  background: var(--soft);
}
.footer-language .lang-button.is-active {
  background: var(--soft);
  color: var(--green);
  text-decoration: none;
}
.footer-language .lang-button.is-active::after {
  content: "✓";
}
@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-language summary {
    padding-left: 0;
  }
  .footer-language-options {
    left: 0;
    right: auto;
  }
}
/* Shared supporting pages */
.eyebrow {
  color: var(--green);
}
.legal-hero h1,
.legal-section h2 {
  color: var(--ink);
}
.legal-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.legal-section p,
.legal-section li {
  color: #526159;
}
.legal-section a {
  color: var(--green);
}
.terms-page .legal-hero h1,
.terms-page .legal-hero p,
.terms-page .legal-section h2,
.terms-page .legal-section p,
.terms-page .legal-section li {
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: normal;
}
.terms-page .legal-hero h1 {
  max-width: none;
}
.terms-page .legal-toc a {
  font-weight: 400;
}
.release-ad-page,
.seo-page {
  background: var(--paper);
}
.feature-hero-image {
  opacity: 0.24;
}
.release-hero .feature-hero-shade,
.seo-hero .feature-hero-shade {
  background: linear-gradient(90deg, #173e31 12%, #173e31ee 40%, #173e3144);
}
.release-hero,
.seo-hero {
  background: #173e31;
}
.release-hero .eyebrow,
.seo-hero .eyebrow {
  color: #c8d9b4;
}
.release-hero .primary-cta,
.seo-hero .primary-cta {
  background: #e5eddc;
  color: #194a38;
}
.release-free-panel {
  background: #e8f0e5;
  color: var(--green);
  border-color: var(--line);
}
.release-price-card-featured {
  border-color: var(--green);
}
.release-screen-band .ad-visual::before,
.seo-product-section::before {
  background: #e9efe5;
}
/* Homepage and product tour */
.habit-site main {
  overflow: clip;
}
.habit-site h1,
.habit-site h2,
.habit-site h3 {
  max-width: none;
  color: var(--ink);
  white-space: pre-line;
}
.habit-site h1,
.habit-site h2 {
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 1.06;
}
.habit-site h2 {
  font-size: clamp(37px, 4.35vw, 64px);
  margin-bottom: 24px;
}
.habit-site h3 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.habit-site p {
  line-height: 1.75;
}
.habit-eyebrow {
  margin-bottom: 25px;
  color: var(--green);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.habit-hero {
  max-width: 1560px;
  margin: 0 auto;
  min-height: 720px;
  padding: 70px 5vw 75px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 2vw;
}
.habit-hero-copy {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}
.habit-hero .habit-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
  vertical-align: middle;
  margin-right: 11px;
}
.habit-hero h1 {
  font-size: clamp(60px, 6.6vw, 102px);
  margin: 0 0 30px;
}
.habit-hero h1 em {
  font-family: var(--habit-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.065em;
  color: var(--green);
}
.habit-lede {
  font-size: 15px;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 28px;
}
.habit-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.habit-text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 550;
  padding: 10px 0;
}
.habit-text-link > span:first-child {
  border-bottom: 1px solid #8caa96;
  padding-bottom: 4px;
}
.habit-text-link > span:last-child {
  font-size: 20px;
}
.habit-hero-note {
  margin: 27px 0 0;
  color: #7c857b;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.habit-hero-note > span:first-child {
  color: var(--gold);
  font-size: 16px;
}
.habit-hero-art {
  position: relative;
  height: 580px;
  isolation: isolate;
}
.habit-orbit {
  position: absolute;
  z-index: -1;
  inset: 50px 0 12px 0;
  border-radius: 50%;
  background: #e8eee1;
  border: 1px solid #dce5d4;
}
.habit-orbit::before {
  content: "";
  position: absolute;
  inset: -35px;
  border: 1px solid #e4e9df;
  border-radius: 50%;
}
.habit-orbit::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed #ced9c5;
  border-radius: 50%;
}
.habit-phone {
  position: relative;
  margin: 0;
  border: 6px solid #21372f;
  border-radius: 34px;
  overflow: hidden;
  background: #f8f9f7;
  box-shadow:
    0 28px 50px -15px #173c2e33,
    0 0 0 1px #1c30294d;
  aspect-ratio: 1206 / 2622;
  width: 238px;
  flex: none;
}
.habit-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-phone-main {
  position: absolute;
  width: 253px;
  top: 4px;
  left: 11%;
  transform: rotate(-7deg);
  z-index: 2;
}
.hero-phone-back {
  position: absolute;
  width: 231px;
  top: 66px;
  right: 1%;
  transform: rotate(9deg);
  z-index: 1;
}
.habit-art-index,
.habit-art-bottom {
  position: absolute;
  font-family: ui-monospace, monospace;
  font-size: 8px;
  color: #758675;
  letter-spacing: 0.12em;
  z-index: 0;
}
.habit-art-index {
  top: 0;
  right: 2%;
}
.habit-art-bottom {
  bottom: 0;
  left: 13%;
}
.habit-float {
  position: absolute;
  right: 0;
  bottom: 35px;
  z-index: 3;
  padding: 17px 21px 17px 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fffffff2;
  border: 1px solid #dde6d7;
  border-radius: 12px;
  box-shadow: 0 14px 32px #183b2910;
}
.habit-float-icon {
  width: 35px;
  height: 35px;
  background: #edf2e9;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  font-size: 23px;
}
.habit-float strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.habit-float div > span {
  font-size: 10px;
  color: var(--muted);
}
.habit-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 27px 5vw;
  background: #eef2e9;
  border-block: 1px solid var(--line);
}
.habit-band p {
  margin: 0;
  color: #5b6a5f;
  font-size: 10px;
}
.habit-band > span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 500;
}
.habit-band i {
  font-size: 19px;
  color: #779071;
  font-style: normal;
}
.habit-section {
  max-width: 1440px;
  margin-inline: auto;
  padding: 110px 5vw;
}
.habit-section-head {
  text-align: center;
  margin: 0 auto 55px;
}
.habit-section-head h2 {
  max-width: 820px;
  margin-inline: auto;
}
.habit-section-head .habit-eyebrow {
  margin-bottom: 20px;
}
.habit-section-lede {
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  font-size: 14px;
}
.habit-goals {
  padding-bottom: 70px;
}
.habit-goal-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 8%;
  align-items: center;
}
.habit-goal-content {
  padding-left: 3vw;
}
.habit-goal-tabs {
  display: flex;
  gap: 5px;
  padding: 5px;
  background: #edf1e9;
  border: 1px solid #e1e7db;
  border-radius: 9px;
  margin-bottom: 38px;
  width: fit-content;
}
.habit-goal-tabs button {
  border: 0;
  border-radius: 6px;
  padding: 13px 17px;
  background: transparent;
  color: #697768;
  font-size: 11px;
  white-space: nowrap;
}
.habit-goal-tabs button[aria-selected="true"] {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 9px #1e503b15;
}
.habit-goal-panel h3 {
  max-width: 350px;
  font-size: 36px;
}
.habit-goal-panel p {
  color: var(--muted);
  font-size: 14px;
  max-width: 420px;
}
.habit-checks {
  padding: 0;
  margin: 28px 0 32px;
  list-style: none;
  display: grid;
  gap: 14px;
}
.habit-checks li {
  color: #506352;
  font-size: 12px;
  display: flex;
  gap: 11px;
  align-items: baseline;
}
.habit-checks li::before {
  content: "✓";
  font-size: 11px;
  color: var(--green);
}
.habit-goal-visual {
  position: relative;
  min-height: 530px;
  padding: 35px 0 10px;
  display: grid;
  justify-items: center;
  align-items: start;
}
.habit-goal-visual::before {
  content: "";
  position: absolute;
  inset: 60px 0 60px;
  background: #edf1e7;
  border-radius: 50%;
  z-index: -1;
}
.habit-goal-visual .habit-phone {
  width: 226px;
}
.habit-screen-note {
  font-size: 9px;
  color: #7d887b;
  text-align: center;
  margin: 20px 0 0;
}
.habit-how {
  border-top: 1px solid var(--line);
}
.habit-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.habit-steps article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.habit-step-number {
  display: block;
  font-family: var(--habit-serif);
  font-style: italic;
  color: #9da98e;
  font-size: 39px;
  margin-bottom: 30px;
}
.habit-steps h3 {
  font-size: 25px;
  margin-bottom: 14px;
}
.habit-steps p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.habit-food {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #e9eee3;
}
.habit-food-art {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  background: #ecd6d2;
}
.habit-bowl {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 48% 50%;
}
.habit-food-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #725d4920;
  pointer-events: none;
}
.habit-food-phone {
  position: absolute;
  width: 215px;
  top: 58px;
  right: 8%;
  z-index: 2;
  transform: rotate(6deg);
}
.habit-food-caption {
  position: absolute;
  bottom: 28px;
  left: 7%;
  right: 7%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 12px;
  text-shadow: 0 1px 10px #0008;
}
.habit-food-copy {
  padding: 85px 6vw;
  align-self: center;
}
.habit-food-copy h2 {
  font-size: clamp(35px, 3.8vw, 58px);
}
.habit-food-copy > p:not(.habit-eyebrow) {
  color: #5f6f5e;
  font-size: 14px;
  max-width: 400px;
}
.habit-food-copy small {
  display: block;
  color: #7d8875;
  font-size: 9px;
  margin-top: 25px;
}
.habit-coach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 1000px;
  margin-inline: auto;
}
.habit-coach {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
}
.habit-coach-portrait {
  position: relative;
  background: #e7ece1;
  height: 335px;
  overflow: hidden;
}
.habit-coach-dita .habit-coach-portrait {
  background: #eeeadd;
}
.habit-coach-portrait img {
  position: absolute;
  z-index: 1;
  width: 84%;
  height: 94%;
  object-fit: contain;
  object-position: center bottom;
  bottom: 0;
  left: 8%;
}
.habit-coach-monogram {
  position: absolute;
  font-family: var(--habit-serif);
  font-style: italic;
  font-size: 360px;
  color: #d3ddc9;
  line-height: 0.9;
  top: 30px;
  left: 1%;
}
.habit-coach-dita .habit-coach-monogram {
  color: #dfd7c3;
}
.habit-coach-type {
  position: absolute;
  bottom: 16px;
  left: 20px;
  color: #6d7a66;
  font-size: 8px;
  letter-spacing: 0.12em;
  z-index: 2;
}
.habit-coach-copy {
  padding: 25px 30px 24px;
}
.habit-coach-copy h3 {
  display: flex;
  justify-content: space-between;
  font-size: 32px;
  margin-bottom: 12px;
}
.habit-coach-copy h3 span {
  color: #809375;
  font-size: 22px;
}
.habit-coach-tag {
  font-size: 11px;
  font-weight: 550;
  color: var(--green);
  margin-bottom: 13px;
}
.habit-coach-copy p:last-child {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.habit-style-note {
  text-align: center;
  color: #798475;
  font-size: 11px;
  margin-top: 30px;
}
.habit-style-note > span:first-child {
  color: var(--gold);
  margin-right: 8px;
}
.habit-progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 7%;
  border-top: 1px solid var(--line);
  padding-block: 85px;
}
.habit-progress-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  padding: 25px 0;
}
.habit-progress-visual::before {
  content: "";
  position: absolute;
  inset: 15% -4%;
  border-radius: 50%;
  background: #eaf0e5;
  z-index: -1;
}
.habit-progress-visual .habit-phone {
  width: 43%;
  max-width: 218px;
  border-width: 5px;
  border-radius: 28px;
}
.habit-progress-visual .habit-phone:first-child {
  transform: translateY(-20px) rotate(-4deg);
}
.habit-progress-visual .habit-phone:last-child {
  transform: translateY(20px) rotate(5deg);
}
.habit-progress-copy > p:not(.habit-eyebrow) {
  color: var(--muted);
  font-size: 14px;
  max-width: 425px;
}
.habit-privacy {
  display: grid;
  grid-template-columns: 0.28fr 1fr 1fr;
  align-items: center;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding-block: 55px;
}
.habit-privacy h2 {
  font-size: 35px;
  margin-bottom: 0;
}
.habit-privacy .habit-eyebrow {
  margin-bottom: 15px;
}
.habit-privacy > div:last-child p {
  color: var(--muted);
  font-size: 12px;
}
.habit-privacy-icon {
  font-size: 85px;
  color: #809973;
  line-height: 1;
}
.habit-closing {
  position: relative;
  background: #1b4635;
  padding: 88px 20px 96px;
  text-align: center;
  overflow: hidden;
}
.habit-closing h2 {
  color: #f6f6ed;
  margin: 0 0 22px;
  font-size: clamp(38px, 4.5vw, 65px);
}
.habit-closing .habit-eyebrow {
  color: #bcc9aa;
}
.habit-closing > p:not(.habit-eyebrow) {
  color: #b9c8b5;
  font-size: 13px;
  margin-bottom: 30px;
}
.habit-closing .habit-button {
  background: #ecf0de;
  color: #244a34;
}
.habit-closing .habit-button:hover {
  background: #fff;
}
.habit-closing-mark {
  position: absolute;
  right: -12px;
  top: -80px;
  font-weight: 100;
  font-size: 380px;
  color: #47705230;
  pointer-events: none;
}
.habit-feature-hero {
  padding: 85px 6vw 60px;
  text-align: center;
  background: #eff3e9;
  border-bottom: 1px solid var(--line);
}
.habit-feature-hero h1 {
  font-size: clamp(45px, 5.5vw, 80px);
  max-width: 1000px;
  margin: 0 auto 28px;
}
.habit-feature-hero .habit-lede {
  margin-inline: auto;
  max-width: 510px;
}
.habit-explorer {
  padding-top: 45px;
}
.habit-tour-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line);
  gap: 12px;
  margin-bottom: 45px;
}
.habit-tour-tabs button {
  padding: 15px 5px 20px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #778372;
  background: transparent;
  font-size: 11px;
  text-align: left;
  display: grid;
  gap: 12px;
}
.habit-tour-tabs button > span:first-child {
  color: #9ca58f;
  font-family: ui-monospace, monospace;
  font-size: 9px;
}
.habit-tour-tabs button[aria-selected="true"] {
  border-bottom-color: var(--green);
  color: var(--green);
}
.habit-tour-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8%;
  min-height: 600px;
  padding: 25px 4vw;
  border-radius: 18px;
  background: #edf2e7;
}
.habit-tour-panel > div:first-child {
  padding-left: 2vw;
}
.habit-tour-panel > div:first-child > p:not(.habit-eyebrow) {
  font-size: 15px;
  color: var(--muted);
  max-width: 350px;
  margin-bottom: 28px;
}
.habit-tour-panel > div:last-child {
  display: grid;
  justify-items: center;
}
.habit-tour-panel .habit-phone {
  width: 235px;
}
.habit-gallery {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.habit-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 24px;
}
.habit-gallery-item {
  position: relative;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #eef1e9;
  padding: 28px 20px 20px;
  min-width: 0;
  text-align: left;
  color: var(--ink);
}
.habit-gallery-item:hover {
  border-color: #99ae90;
  background: #e8eee0;
}
.habit-gallery-item .habit-phone {
  width: 100%;
  border-width: 4px;
  border-radius: 23px;
  box-shadow: 0 10px 18px #173c2e17;
}
.habit-gallery-caption {
  display: block;
  font-size: 11px;
  margin-top: 24px;
  max-width: 85%;
}
.habit-gallery-plus {
  position: absolute;
  right: 16px;
  bottom: 15px;
  font-size: 23px;
  font-weight: 300;
  color: #667b5c;
}
.habit-preview {
  padding: 0;
  background: #f9faf7;
  border: 0;
  border-radius: 12px;
  width: min(90vw, 440px);
  max-height: 92vh;
  box-shadow: var(--shadow);
}
.habit-preview::backdrop {
  background: #112d23bd;
  backdrop-filter: blur(10px);
}
.habit-preview img {
  width: 100%;
  height: auto;
}
.habit-preview form {
  position: sticky;
  height: 0;
  top: 12px;
  margin: 0;
  z-index: 2;
}
.habit-preview-close {
  position: absolute;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #c7d6bf;
  background: #fff;
  color: var(--green);
  border-radius: 50%;
  font-size: 27px;
  box-shadow: 0 4px 14px #183b2926;
}
@media (min-width: 1600px) {
  .habit-hero {
    padding-inline: 80px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    padding-inline: 4vw;
  }
  .site-nav {
    gap: 17px;
    font-size: 11px;
  }
  .header-actions {
    gap: 10px;
  }
  .habit-hero {
    min-height: 650px;
    padding-inline: 4vw;
    gap: 0;
  }
  .habit-hero h1 {
    font-size: 70px;
  }
  .habit-hero-art {
    height: 510px;
  }
  .hero-phone-main {
    width: 215px;
    left: 7%;
  }
  .hero-phone-back {
    width: 192px;
    right: 0;
  }
  .habit-float {
    bottom: 22px;
    padding: 12px;
  }
  .habit-goal-content {
    padding-left: 0;
  }
  .habit-goal-tabs button {
    padding-inline: 12px;
    font-size: 10px;
  }
  .habit-food-art {
    min-height: 550px;
  }
  .habit-food-phone {
    width: 185px;
    top: 65px;
  }
  .habit-food-copy {
    padding-inline: 5vw;
  }
  .habit-coach-portrait {
    height: 300px;
  }
}
@media (max-width: 980px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }
  .site-nav {
    display: none;
  }
  .mobile-menu-button {
    display: grid;
  }
  .mobile-menu {
    top: 76px;
    padding: 15px 5vw;
  }
  .header-actions .nav-cta {
    display: inline-flex;
  }
  .habit-section {
    padding-block: 75px;
  }
  .habit-hero {
    grid-template-columns: 1.1fr 1fr;
    min-height: 610px;
  }
  .habit-hero h1 {
    font-size: clamp(49px, 7vw, 68px);
  }
  .habit-lede {
    font-size: 13px;
  }
  .habit-hero-art {
    height: 460px;
  }
  .hero-phone-main {
    width: 188px;
    left: 7%;
    top: 7px;
  }
  .hero-phone-back {
    width: 168px;
    right: -5%;
  }
  .habit-phone {
    border-radius: 28px;
    border-width: 5px;
  }
  .habit-art-index,
  .habit-art-bottom {
    display: none;
  }
  .habit-float {
    right: -3%;
    bottom: 8px;
  }
  .habit-actions {
    gap: 14px;
  }
  .habit-band {
    justify-content: center;
    gap: 23px;
  }
  .habit-band p {
    flex-basis: 100%;
    text-align: center;
  }
  .habit-goal-layout {
    gap: 5%;
  }
  .habit-goal-panel h3 {
    font-size: 29px;
  }
  .habit-goal-tabs {
    flex-wrap: wrap;
  }
  .habit-goal-visual .habit-phone {
    width: 210px;
  }
  .habit-steps {
    gap: 28px;
  }
  .habit-privacy {
    grid-template-columns: 0.2fr 1fr 1fr;
    gap: 20px;
  }
  .habit-privacy h2 {
    font-size: 29px;
  }
  .habit-privacy-icon {
    font-size: 60px;
  }
  .habit-tour-tabs {
    gap: 7px;
  }
  .habit-tour-tabs button {
    font-size: 10px;
  }
  .habit-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 680px) {
  .site-header {
    padding-inline: 5vw;
    min-height: 72px;
  }
  .brand {
    font-size: 25px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .header-actions {
    gap: 10px;
  }
  .header-actions .nav-cta {
    display: none;
  }
  .lang-button {
    padding: 6px;
  }
  .mobile-menu {
    top: 72px;
  }
  .mobile-menu a {
    color: var(--ink);
  }
  .habit-hero {
    display: flex;
    flex-direction: column;
    padding: 42px 6vw 34px;
    gap: 25px;
    min-height: auto;
  }
  .habit-hero-copy {
    padding: 0;
    width: 100%;
  }
  .habit-eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
  }
  .habit-hero h1 {
    font-size: clamp(48px, 12vw, 77px);
    margin-bottom: 22px;
  }
  .habit-hero .habit-lede {
    font-size: 13px;
    max-width: 440px;
    margin-bottom: 24px;
  }
  .habit-actions {
    gap: 18px;
  }
  .habit-button {
    font-size: 12px;
    padding: 15px 17px;
    gap: 22px;
  }
  .habit-text-link {
    font-size: 11px;
    gap: 11px;
  }
  .habit-hero-note {
    margin-top: 19px;
  }
  .habit-hero-art {
    width: 100%;
    height: 470px;
    max-width: 430px;
  }
  .hero-phone-main {
    width: 200px;
    top: 4px;
    left: 9%;
  }
  .hero-phone-back {
    width: 180px;
    top: 45px;
    right: 3%;
  }
  .habit-orbit {
    inset: 28px 10px 15px;
  }
  .habit-orbit::before {
    inset: -15px;
  }
  .habit-float {
    right: 0;
    bottom: 13px;
    padding: 12px 16px;
  }
  .habit-float strong {
    font-size: 11px;
  }
  .habit-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 22px 6vw;
    gap: 17px 12px;
  }
  .habit-band p {
    grid-column: 1/-1;
    text-align: left;
    margin-bottom: 4px;
  }
  .habit-band > span {
    font-size: 9px;
    gap: 7px;
  }
  .habit-band i {
    font-size: 16px;
  }
  .habit-section {
    padding: 64px 6vw;
  }
  .habit-section-head {
    text-align: left;
    margin-bottom: 30px;
  }
  .habit-site h2 {
    font-size: clamp(34px, 8.8vw, 48px);
  }
  .habit-section-lede {
    margin: 0;
    font-size: 13px;
  }
  .habit-goals {
    padding-bottom: 40px;
  }
  .habit-goal-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .habit-goal-tabs {
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 28px;
  }
  .habit-goal-tabs button {
    padding: 12px 9px;
    font-size: 10px;
  }
  .habit-goal-panel h3 {
    font-size: 29px;
    max-width: none;
  }
  .habit-goal-panel p {
    font-size: 13px;
    max-width: none;
  }
  .habit-checks {
    margin-block: 22px 25px;
    gap: 13px;
  }
  .habit-goal-visual {
    min-height: auto;
    padding: 35px 0 10px;
  }
  .habit-goal-visual .habit-phone {
    width: 222px;
  }
  .habit-screen-note {
    font-size: 8px;
    max-width: 270px;
  }
  .habit-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .habit-steps article {
    position: relative;
    padding: 23px 0 0 50px;
  }
  .habit-step-number {
    position: absolute;
    top: 23px;
    left: 0;
    font-size: 28px;
  }
  .habit-steps h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .habit-steps p {
    font-size: 13px;
  }
  .habit-food {
    grid-template-columns: 1fr;
  }
  .habit-food-art {
    min-height: 510px;
  }
  .habit-food-phone {
    width: 190px;
    top: 40px;
    right: 11%;
  }
  .habit-food-copy {
    padding: 48px 6vw 55px;
  }
  .habit-food-copy h2 {
    font-size: 38px;
  }
  .habit-food-copy > p:not(.habit-eyebrow) {
    font-size: 13px;
  }
  .habit-coach-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .habit-coach-portrait {
    height: 310px;
  }
  .habit-coach-copy {
    padding: 23px;
  }
  .habit-coach-copy h3 {
    font-size: 32px;
  }
  .habit-coach-portrait img {
    width: 86%;
    left: 7%;
  }
  .habit-style-note {
    text-align: left;
    font-size: 10px;
    line-height: 1.8;
  }
  .habit-progress {
    display: flex;
    flex-direction: column-reverse;
    gap: 35px;
  }
  .habit-progress-visual {
    width: 100%;
    padding-block: 25px;
  }
  .habit-progress-visual .habit-phone {
    width: 43%;
    max-width: 200px;
  }
  .habit-progress-copy > p:not(.habit-eyebrow) {
    font-size: 13px;
  }
  .habit-privacy {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .habit-privacy h2 {
    font-size: 36px;
  }
  .habit-privacy-icon {
    font-size: 47px;
  }
  .habit-closing {
    padding: 65px 6vw 70px;
    text-align: left;
  }
  .habit-closing h2 {
    font-size: 38px;
  }
  .habit-closing-mark {
    top: -45px;
    right: -10px;
    font-size: 240px;
  }
  .habit-closing > p:not(.habit-eyebrow) {
    font-size: 12px;
  }
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 6vw;
    gap: 25px;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 14px 18px;
  }
  .habit-feature-hero {
    padding: 48px 6vw;
    text-align: left;
  }
  .habit-feature-hero h1 {
    font-size: 45px;
    margin-bottom: 22px;
  }
  .habit-feature-hero .habit-lede {
    margin-inline: 0;
  }
  .habit-explorer {
    padding-top: 24px;
  }
  .habit-tour-tabs {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px 12px;
    margin-bottom: 25px;
  }
  .habit-tour-tabs button {
    gap: 8px;
    padding-block: 12px;
    font-size: 10px;
  }
  .habit-tour-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 22px;
    min-height: auto;
  }
  .habit-tour-panel > div:first-child {
    padding: 0;
  }
  .habit-tour-panel h2 {
    font-size: 34px;
  }
  .habit-tour-panel > div:first-child > p:not(.habit-eyebrow) {
    font-size: 13px;
  }
  .habit-tour-panel .habit-phone {
    width: min(235px, 100%);
  }
  .habit-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
  .habit-gallery-item {
    padding: 20px 12px 17px;
  }
  .habit-gallery-item .habit-phone {
    border-width: 3px;
    border-radius: 17px;
  }
  .habit-gallery-caption {
    font-size: 10px;
    line-height: 1.5;
    margin-top: 18px;
  }
  .habit-gallery-plus {
    right: 10px;
    bottom: 13px;
  }
  .release-hero .feature-hero-shade,
  .seo-hero .feature-hero-shade {
    background: #173e31e6;
  }
  .legal-hero h1 {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 360px) {
  .habit-hero h1 {
    font-size: 44px;
  }
  .habit-actions {
    gap: 12px;
  }
  .habit-actions .habit-text-link {
    font-size: 10px;
    gap: 7px;
  }
  .habit-goal-tabs button {
    padding-inline: 6px;
    font-size: 9px;
  }
  .habit-hero-art {
    height: 435px;
  }
  .hero-phone-main {
    width: 182px;
    left: 3%;
  }
  .hero-phone-back {
    width: 164px;
    right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* The hero heading contains styled spans, so formatted HTML whitespace must collapse. */
.habit-hero h1 {
  white-space: normal;
}

/* A direct route from the product story to official store availability. */
.habit-download-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 7%;
  align-items: center;
  padding-top: 75px;
  padding-bottom: 80px;
}
.habit-download-intro h1 {
  font-size: clamp(45px, 5vw, 70px);
  margin-bottom: 28px;
}
.habit-download-stores {
  margin-top: 30px;
}
.habit-download-stores h2 {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.habit-download .platform-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.habit-download .platform-choice-card {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  gap: 13px;
  padding: 20px 14px;
  min-height: 95px;
  box-shadow: none;
}
.habit-download .platform-choice-card strong {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: -0.02em;
}
.habit-download .platform-choice-card small {
  color: var(--muted);
  font-size: 10px;
}
.habit-download .platform-choice-icon {
  width: 26px;
  height: 31px;
  flex: none;
  color: var(--green);
}
.habit-download .platform-choice-card[aria-disabled="true"] {
  opacity: 0.78;
  cursor: default;
}
.habit-download .platform-choice-card[aria-disabled="true"]:hover {
  transform: none;
}
.habit-store-note {
  font-size: 10px;
  color: var(--muted);
  margin: 14px 0;
}
.habit-download-visual .habit-progress-visual {
  min-height: 550px;
}
.habit-download-visual .habit-screen-note {
  max-width: none;
}
@media (max-width: 980px) {
  .habit-download-layout {
    gap: 5%;
  }
  .habit-download .platform-choice-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .habit-download-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 45px;
  }
  .habit-download-intro h1 {
    font-size: 46px;
  }
  .habit-download .platform-choice-grid {
    grid-template-columns: 1fr 1fr;
  }
  .habit-download .platform-choice-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 14px;
  }
  .habit-download .platform-choice-card strong {
    font-size: 11px;
  }
  .habit-download-visual .habit-progress-visual {
    min-height: auto;
  }
}

/* Product refinement: precise surfaces, deeper contrast, and purposeful motion. */
:root {
  --tech-dark: #0d191a;
  --tech-mint: #b8dcca;
  --tech-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.habit-site {
  background: #f6f7f5;
}
.habit-site h1,
.habit-site h2 {
  font-weight: 550;
  letter-spacing: -0.065em;
}
.habit-home .habit-hero {
  position: relative;
  isolation: isolate;
  max-width: none;
  margin: 0;
  padding: 74px max(5vw, calc((100vw - 1440px) / 2)) 92px;
  min-height: 750px;
  background: var(--tech-dark);
  color: #f2f6f3;
  grid-template-columns: 1.08fr 1fr;
}
.habit-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 77% 48%, #3c6c5b26, transparent 55%),
    radial-gradient(ellipse at 15% 0%, #28454f18, transparent 65%);
}
.habit-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(#b7d2c703 1px, transparent 1px),
    linear-gradient(90deg, #b7d2c703 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.habit-home .site-header {
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}
.habit-home:not(.has-scrolled) .site-header {
  background: #0d191af5;
  border-bottom-color: #c7e1d310;
  color: #edf5ee;
}
.habit-home:not(.has-scrolled) .site-nav {
  color: #a7bbb2;
}
.habit-home:not(.has-scrolled) .site-nav a:hover {
  color: #f3f7f3;
}
.habit-home:not(.has-scrolled) .nav-cta {
  background: #b8dcca;
  color: #123a2b;
}
.habit-home:not(.has-scrolled) .mobile-menu-button {
  border-color: #b7d2c72b;
  color: #c7e1d3;
}
.habit-home:not(.has-scrolled) .mobile-menu {
  background: #10211f;
  color: #d7e7dc;
}
.habit-home:not(.has-scrolled) .mobile-menu a {
  color: #d7e7dc;
  border-color: #b7d2c71c;
}
.habit-hero h1 {
  font-size: clamp(60px, 6.35vw, 98px);
  line-height: 1.02;
  color: #f1f5f2;
  margin-bottom: 30px;
}
.habit-hero h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--tech-mint);
}
.habit-hero .habit-eyebrow {
  color: #8eb7a2;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.habit-hero .habit-eyebrow::before {
  width: 5px;
  height: 5px;
  background: #a3c9b4;
  border-radius: 50%;
  box-shadow: 0 0 12px #91b9a845;
}
.habit-hero .habit-lede {
  color: #a2b4ad;
  font-size: 15px;
  max-width: 440px;
}
.habit-hero .habit-button {
  background: #c2dfcf;
  color: #15372c;
  border-color: #d6eee04f;
}
.habit-hero .habit-button:hover {
  background: #d8ebdf;
}
.habit-hero .habit-text-link {
  color: #d0ded6;
}
.habit-hero .habit-text-link > span:first-child {
  border-color: #7e9b8d65;
}
.habit-hero-note {
  color: #6d897b;
}
.habit-hero-note > span:first-child {
  color: #90b09b;
}
.habit-hero-art {
  height: 590px;
  perspective: 1200px;
}
.habit-orbit {
  inset: -44px -65px -18px;
  border: 0;
  border-radius: 0;
  background: none;
}
.habit-orbit::before,
.habit-orbit::after {
  display: none;
}
.habit-orbit-diagram {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.orbit-track {
  transform-origin: 360px 340px;
}
.motion-enabled .orbit-track {
  animation: orbit-turn 58s linear infinite;
  animation-play-state: paused;
}
.motion-enabled .orbit-track-inner {
  animation-direction: reverse;
  animation-duration: 88s;
}
.motion-enabled.hero-in-view:not(.motion-paused) .orbit-track {
  animation-play-state: running;
}
.habit-hero .habit-phone {
  border-color: #283a35;
  border-width: 5px;
  border-radius: 32px;
  box-shadow:
    0 36px 80px -10px #0008,
    0 0 0 1px #d7e9e233,
    inset 0 0 0 1px #d7e9e20d;
}
.hero-phone-main {
  width: 252px;
  left: 9%;
  top: 10px;
  transform: translate3d(
      calc(var(--hero-x, 0) * 11px - var(--hero-progress, 0) * 22px),
      calc(var(--hero-y, 0) * 9px + var(--hero-progress, 0) * 48px),
      0
    )
    rotate(
      calc(-6deg + var(--hero-x, 0) * 1.3deg + var(--hero-progress, 0) * 3deg)
    );
}
.hero-phone-back {
  width: 228px;
  top: 76px;
  right: 2%;
  transform: translate3d(
      calc(var(--hero-x, 0) * -7px + var(--hero-progress, 0) * 24px),
      calc(var(--hero-y, 0) * -6px - var(--hero-progress, 0) * 20px),
      0
    )
    rotate(calc(7deg - var(--hero-progress, 0) * 4deg));
}
.motion-enabled .hero-phone-main,
.motion-enabled .hero-phone-back {
  animation: phone-drift 9s ease-in-out infinite;
  animation-play-state: paused;
}
.motion-enabled .hero-phone-back {
  animation-delay: -4s;
}
.motion-enabled.hero-in-view:not(.motion-paused) .hero-phone-main,
.motion-enabled.hero-in-view:not(.motion-paused) .hero-phone-back {
  animation-play-state: running;
}
.habit-art-index,
.habit-art-bottom {
  color: #668275;
  font-size: 8px;
}
.habit-art-index {
  right: 3%;
  top: -8px;
}
.habit-art-bottom {
  bottom: -8px;
  left: 9%;
  letter-spacing: 0.19em;
}
.habit-float {
  bottom: -36px;
  right: 1%;
  padding: 13px 0 13px 16px;
  border: 0;
  border-left: 1px solid #718e7f66;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.habit-float-icon {
  display: none;
}
.habit-float strong {
  color: #d4e3d9;
  font-size: 11px;
  font-weight: 500;
}
.habit-float div > span {
  color: #6f8a7b;
  font-size: 9px;
}
.habit-band {
  background: #eef1ed;
  border-block-color: #dce3dd;
  padding-block: 24px;
}
.habit-band > span {
  color: #426151;
}
.habit-band i {
  color: #718c7b;
}
.habit-section-head {
  text-align: left;
  max-width: none;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  column-gap: 8%;
  align-items: end;
}
.habit-section-head .habit-eyebrow {
  grid-column: 1/-1;
}
.habit-section-head h2 {
  margin: 0;
  max-width: 680px;
}
.habit-section-head .habit-section-lede {
  margin: 0 0 3px;
  max-width: 420px;
  font-size: 14px;
}
.habit-goals .habit-section-head {
  margin-bottom: 65px;
}
.habit-goal-tabs {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  padding: 0;
  gap: 20px;
}
.habit-goal-tabs button {
  position: relative;
  border-radius: 0;
  background: none;
  color: #718078;
  padding: 14px 0;
  font-size: 11px;
}
.habit-goal-tabs button::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--tech-ease);
}
.habit-goal-tabs button[aria-selected="true"] {
  background: none;
  color: #164b36;
  box-shadow: none;
}
.habit-goal-tabs button[aria-selected="true"]::after {
  transform: scaleX(1);
}
.habit-goal-visual::before {
  inset: 25px -10px 50px;
  border-radius: 0;
  background:
    radial-gradient(ellipse at center, #e3ebe1 0, #f6f7f500 68%),
    linear-gradient(#a9b9ad12 1px, transparent 1px),
    linear-gradient(90deg, #a9b9ad12 1px, transparent 1px);
  background-size:
    auto,
    32px 32px,
    32px 32px;
  mask-image: radial-gradient(ellipse, #000 40%, transparent 72%);
}
.habit-goal-visual .habit-phone {
  box-shadow:
    0 26px 50px -20px #183b2930,
    0 0 0 1px #1c30294d;
}
.habit-step-number {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-style: normal;
  font-size: 13px;
  color: #6b8c77;
  letter-spacing: 0.08em;
  margin-bottom: 35px;
}
.habit-steps article {
  position: relative;
  padding-top: 24px;
}
.habit-steps article::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 46px;
  height: 1px;
  background: #386e51;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--tech-ease);
}
.habit-steps article.motion-entered::before {
  transform: scaleX(1);
}
.habit-food {
  background: #e9eeea;
}
.habit-food-art {
  isolation: isolate;
  background: #142420;
}
.habit-food-art::after {
  background: linear-gradient(0deg, #0a1b2370, transparent 35%, #0d1c2510);
  z-index: 1;
}
.habit-bowl {
  transform: scale(calc(1.09 - var(--meal-progress, 1) * 0.09));
  transform-origin: 40% 55%;
}
.habit-food-phone {
  opacity: clamp(0.12, calc(var(--meal-progress, 1) * 1.7), 1);
  transform: translate3d(0, calc((1 - var(--meal-progress, 1)) * 85px), 0)
    rotate(calc(8deg - var(--meal-progress, 1) * 5deg));
  box-shadow:
    0 30px 60px #091c2452,
    0 0 0 1px #aabbb42e;
}
.habit-food-caption {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.015em;
}
.habit-coach {
  border: 0;
  border-bottom: 1px solid #d9e1d9;
  border-radius: 0;
  background: transparent;
}
.habit-coach-grid {
  gap: 40px;
  max-width: none;
}
.habit-coach-portrait {
  height: 350px;
  border-radius: 3px;
  background: #e4ebe5;
}
.habit-coach-dita .habit-coach-portrait {
  background: #e5e9e7;
}
.habit-coach-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, transparent 35%, #1a443b08);
}
.habit-coach-monogram {
  display: none;
}
.habit-coach-copy {
  padding: 28px 0;
}
.habit-coach-copy h3 {
  font-weight: 550;
  font-size: 31px;
}
.habit-coach-type {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}
.habit-coach-tag {
  font-size: 12px;
}
.habit-coach-copy p:last-child {
  max-width: 420px;
  font-size: 14px;
}
.habit-style-note {
  text-align: left;
}
.habit-progress-visual::before {
  border-radius: 0;
  inset: 10% -4%;
  background: radial-gradient(ellipse, #dce8de70, #dce8de00 68%);
}
.habit-closing {
  background: #10251e;
}
.habit-closing-mark {
  display: none;
}
.habit-closing::before {
  content: "";
  position: absolute;
  left: calc(50% - 390px);
  top: -265px;
  width: 780px;
  height: 780px;
  border: 1px solid #c7e3d313;
  border-radius: 50%;
  pointer-events: none;
}
.habit-closing .habit-button {
  background: #c2dfcf;
  border-radius: 5px;
}
.habit-button,
.nav-cta {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}
.habit-button::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: -40% -100%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, #fff2, transparent 65%);
  transform: translateX(-65%);
}
.habit-button:hover::after,
.nav-cta:hover::after {
  transform: translateX(65%);
  transition: transform 0.7s var(--tech-ease);
}
.habit-button > span:last-child,
.nav-cta > span:last-child,
.habit-text-link > span:last-child {
  transition: transform 0.35s var(--tech-ease);
}
.habit-button:hover > span:last-child,
.nav-cta:hover > span:last-child,
.habit-text-link:hover > span:last-child {
  transform: translate(2px, -2px);
}
.habit-feature-hero {
  position: relative;
  text-align: left;
  background: #10211f;
  border: 0;
}
.habit-feature-hero h1 {
  color: #e8f1eb;
  max-width: none;
  margin-left: 0;
}
.habit-feature-hero .habit-eyebrow {
  color: #8eaf9d;
}
.habit-feature-hero .habit-lede {
  color: #a3b8aa;
  margin-left: 0;
}
.habit-feature-hero .habit-button {
  background: #c2dfcf;
  color: #183a2b;
}
.habit-tour-panel {
  border-radius: 3px;
  background: #edf1ec;
}
.habit-gallery-item {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 22px 12px;
}
.habit-gallery-item:hover {
  background: transparent;
}
.habit-gallery-item .habit-phone {
  transition:
    translate 0.5s var(--tech-ease),
    box-shadow 0.5s ease;
}
.habit-gallery-item:hover .habit-phone {
  translate: 0 -5px;
  box-shadow: 0 22px 34px -16px #173c2e2d;
}
.habit-gallery-caption {
  font-size: 12px;
}
@keyframes orbit-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes phone-drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}
@media (max-width: 1100px) {
  .habit-hero h1 {
    font-size: 68px;
  }
  .habit-hero-art {
    height: 535px;
  }
  .hero-phone-main {
    width: 220px;
    left: 5%;
  }
  .hero-phone-back {
    width: 199px;
    right: -1%;
  }
  .habit-home .habit-hero {
    min-height: 680px;
  }
  .habit-float {
    bottom: -30px;
  }
}
@media (max-width: 980px) {
  .habit-home .habit-hero {
    min-height: 630px;
    padding-block: 60px 65px;
  }
  .habit-hero h1 {
    font-size: clamp(48px, 6.8vw, 67px);
  }
  .habit-hero-art {
    height: 470px;
  }
  .hero-phone-main {
    width: 190px;
  }
  .hero-phone-back {
    width: 172px;
  }
  .habit-hero .habit-lede {
    font-size: 14px;
  }
  .habit-section-head {
    column-gap: 5%;
  }
  .habit-goal-tabs {
    gap: 15px;
  }
}
@media (max-width: 680px) {
  .habit-home .habit-hero {
    min-height: auto;
    padding: 44px 6vw 45px;
    gap: 32px;
  }
  .habit-hero h1 {
    font-size: clamp(46px, 11.5vw, 70px);
    line-height: 1.05;
    letter-spacing: -0.07em;
  }
  .habit-hero .habit-lede {
    font-size: 14px;
  }
  .habit-hero .habit-eyebrow {
    font-size: 9px;
  }
  .habit-hero-art {
    height: 455px;
    max-width: 395px;
    width: 100%;
  }
  .hero-phone-main {
    width: 192px;
    left: 5%;
    top: 0;
  }
  .hero-phone-back {
    width: 173px;
    top: 47px;
    right: 1%;
  }
  .habit-orbit {
    inset: -35px -38px -10px;
  }
  .habit-float {
    bottom: -18px;
    right: 0;
    padding: 9px 0 9px 12px;
  }
  .habit-float strong {
    font-size: 10px;
  }
  .habit-float div > span {
    font-size: 8px;
  }
  .habit-section-head {
    display: block;
  }
  .habit-section-head h2 {
    margin-bottom: 22px;
  }
  .habit-section-head .habit-section-lede {
    font-size: 14px;
  }
  .habit-goals .habit-section-head {
    margin-bottom: 32px;
  }
  .habit-goal-tabs {
    justify-content: space-between;
    gap: 10px;
  }
  .habit-goal-tabs button {
    font-size: 10px;
    padding: 13px 0;
  }
  .habit-goal-panel p,
  .habit-food-copy > p:not(.habit-eyebrow),
  .habit-progress-copy > p:not(.habit-eyebrow),
  .habit-steps p {
    font-size: 14px;
  }
  .habit-step-number {
    font-size: 12px;
    top: 27px;
  }
  .habit-coach-grid {
    gap: 30px;
  }
  .habit-coach-portrait {
    height: 320px;
  }
  .habit-coach-copy {
    padding: 24px 0;
  }
  .habit-feature-hero {
    padding-block: 48px;
  }
  .habit-gallery-caption {
    font-size: 11px;
  }
  .habit-food-caption {
    font-size: 9px;
  }
}
@media (max-width: 360px) {
  .habit-hero h1 {
    font-size: 43px;
  }
  .habit-hero-art {
    height: 425px;
  }
  .hero-phone-main {
    width: 177px;
    left: 1%;
  }
  .hero-phone-back {
    width: 159px;
    right: 0;
  }
  .habit-goal-tabs {
    gap: 8px;
  }
  .habit-goal-tabs button {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .habit-hero .habit-phone,
  .orbit-track {
    animation: none !important;
  }
  .habit-bowl {
    transform: none;
  }
  .habit-food-phone {
    transform: rotate(3deg);
    opacity: 1;
  }
  .habit-gallery-item:hover .habit-phone {
    translate: none;
  }
  .habit-steps article::before {
    transform: none;
  }
}
