/* Home presentation. Original brand tokens and app scene live in site.css. */
body:has(.landing) {
  background:
    radial-gradient(ellipse at 91% 15%, #eef1fb 0, transparent 37%),
    radial-gradient(ellipse at 8% 58%, #ffffff85 0, transparent 50%),
    linear-gradient(165deg, #fffffff0 0%, #f4f1ea 70%, #ffffffe8 100%);
}
.header-links {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.home-header {
  width: min(1320px, calc(100% - 112px));
  height: 104px;
}
.header-status {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 13px 18px;
  border: 1px solid #14223824;
  border-radius: 30px;
  background: #ffffff70;
  display: flex;
  gap: 9px;
  color: var(--muted);
}
.landing .wrap {
  width: min(1320px, calc(100% - 112px));
}
.landing .hero {
  grid-template-columns: minmax(0, 1fr) 358px;
  grid-template-areas: "copy phone" "benefits phone" "week phone";
  grid-template-rows: auto auto auto;
  gap: 22px 50px;
  align-items: start;
  padding-block: 17px 48px;
}
.landing .hero > * {
  min-width: 0;
}
.landing .hero-copy {
  grid-area: copy;
  padding: 19px 0 0;
  align-self: start;
  text-align: left;
}
.landing .hero-copy > .eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  gap: 11px;
  flex-wrap: wrap;
  justify-content: flex-start;
  color: var(--muted);
}
.landing .hero h1 {
  font-size: clamp(3.2rem, 4.85vw, 4.5rem);
  line-height: 1.14;
  letter-spacing: -0.052em;
  margin: 24px 0 22px;
  font-weight: 650;
  text-wrap: initial;
}
.landing .hero-description {
  max-width: 660px;
  font-size: 1.09rem;
  line-height: 1.75;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.landing .hero .button {
  margin: 0;
  border-radius: 17px;
  box-shadow: 0 8px 18px -12px #315fe899;
  padding: 16px 23px;
  min-height: 54px;
  font-size: 0.875rem;
}
.landing .launch-note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--ink);
  text-align: left;
  font-weight: 600;
}
.landing .launch-note span {
  font-weight: 400;
  color: var(--muted);
}
.landing .hero-product {
  grid-area: phone;
  align-self: center;
  isolation: isolate;
  margin-top: 0;
}
.landing .hero-product::before,
.landing .hero-product::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.landing .hero-product::before {
  width: 450px;
  height: 570px;
  max-width: calc(100% + 92px);
  top: 45px;
  left: -70px;
  border-radius: 54% 46% 51% 49% / 41% 53% 47% 59%;
  background: linear-gradient(
    160deg,
    #315fe81b 0%,
    #315fe812 50%,
    #f4f1ea65 100%
  );
}
.landing .hero-product::after {
  width: 355px;
  height: 380px;
  max-width: 100%;
  bottom: 50px;
  right: -24px;
  border-radius: 50% 47% 53% 45%;
  background: linear-gradient(125deg, #f4f1ea 0%, #deded95e 100%);
}
.landing .product-figure {
  width: 338px;
}
.landing .phone {
  border-color: #1b283b;
  box-shadow:
    0 35px 42px -23px #14223855,
    0 10px 15px -10px #14223850,
    inset 0 0 0 1px #ffffff80;
  outline: 1px solid #14223825;
  outline-offset: 2px;
}
.landing figcaption {
  margin-top: 17px;
  font-size: 0.6875rem;
}
.landing .benefits {
  grid-area: benefits;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  padding: 0;
  text-align: left;
}
.landing .benefits article {
  display: block;
  padding: 19px 17px 18px;
  border: 1px solid #ffffffd9;
  background: linear-gradient(145deg, #ffffffbb, #fffffff0);
  border-radius: 21px;
  box-shadow: 0 4px 22px -18px #14223848;
}
.benefit-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 39px;
}
.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ink);
  box-shadow: inset 0 1px 0 #ffffff30;
}
.landing .benefits .icon {
  width: 21px;
  height: 21px;
  color: var(--ivory);
  margin: 0;
}
.landing .benefits h2 {
  font-size: 0.9375rem;
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.4;
  text-wrap: initial;
  font-weight: 650;
}
.landing .benefits p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 13px;
  max-width: none;
  color: var(--muted);
}
.week-preview {
  grid-area: week;
  display: flex;
  gap: 24px;
  align-items: center;
  background: linear-gradient(120deg, #eef1fbb0, #ffffffa6);
  border: 1px solid #ffffffdb;
  padding: 22px 23px;
  border-radius: 22px;
  text-align: left;
}
.week-copy {
  flex: 1;
  min-width: 145px;
}
.week-copy .eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  justify-content: flex-start;
  color: var(--muted);
}
.week-copy h2 {
  font-size: 1.36rem;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.04em;
  margin-top: 9px;
  text-wrap: initial;
}
.week-copy > p:last-child {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 8px;
}
.week-days {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  padding: 0;
  margin: 0;
  flex: 1.65;
  min-width: 0;
}
.week-days li {
  padding: 12px 5px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 13px;
  background: #fffffff0;
  border: 1px solid #1422380d;
  min-width: 0;
  text-align: center;
}
.day-name {
  font-size: 0.75rem;
  color: var(--ink);
  font-weight: 500;
}
.day-mark {
  width: 22px;
  height: 5px;
  display: block;
  border-radius: 4px;
  margin: 13px 0;
  background: var(--cobalt);
}
.day-walk .day-mark {
  background: #58657a;
}
.day-rest .day-mark {
  background: transparent;
  border: 1px solid var(--line);
}
.week-days strong {
  font-size: 0.6875rem;
  font-weight: 600;
}
.day-duration {
  font-size: 0.625rem;
  color: var(--muted);
  margin-top: 4px;
}
.landing .how-section {
  padding: 43px 0 46px;
  background: #ffffff65;
  color: var(--ink);
  border-top: 1px solid #1422380c;
  border-bottom: 1px solid #14223810;
}
.landing .how-layout {
  display: block;
}
.how-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.landing .how-section .eyebrow {
  color: var(--muted);
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  justify-content: flex-start;
}
.landing .how-section h2 {
  font-size: 2.25rem;
  letter-spacing: -0.045em;
  margin-top: 10px;
  font-weight: 600;
  line-height: 1.2;
}
.landing .how-intro {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
.landing .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.landing .steps li {
  border: 0;
  border-top: 1px solid #14223829;
  padding: 22px 0 0;
  gap: 17px;
}
.landing .step-number {
  font-size: 0.8125rem;
  line-height: 1.8;
  padding: 0;
  color: var(--cobalt);
  font-weight: 600;
}
.landing .steps h3 {
  font-size: 1rem;
  font-weight: 650;
}
.landing .steps p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 310px;
}
body:has(.landing) .site-footer {
  width: min(1320px, calc(100% - 112px));
  padding-block: 29px;
}
@media (max-width: 1200px) {
  .home-header,
  .landing .wrap,
  body:has(.landing) .site-footer {
    width: calc(100% - 72px);
  }
  .landing .hero {
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 18px 32px;
  }
  .landing .product-figure {
    width: 308px;
  }
  .landing .hero h1 {
    font-size: 3.25rem;
    letter-spacing: -0.052em;
  }
  .landing .hero-description {
    font-size: 1rem;
  }
  .landing .benefits article {
    padding: 17px 14px;
  }
  .benefit-heading {
    gap: 8px;
  }
  .benefit-icon {
    flex-basis: 31px;
    height: 33px;
    border-radius: 10px;
  }
  .landing .benefits h2 {
    font-size: 0.875rem;
  }
  .landing .benefits p {
    font-size: 0.8125rem;
  }
  .week-preview {
    padding: 20px 17px;
    gap: 15px;
  }
  .week-days {
    gap: 4px;
  }
  .week-copy {
    min-width: 130px;
  }
  .week-copy h2 {
    font-size: 1.2rem;
  }
  .week-copy > p:last-child {
    font-size: 0.75rem;
  }
  .week-copy .eyebrow {
    font-size: 0.5625rem;
  }
  .week-days strong {
    font-size: 0.625rem;
  }
}
@media (max-width: 980px) {
  .home-header,
  .landing .wrap,
  body:has(.landing) .site-footer {
    width: calc(100% - 64px);
  }
  .landing .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "phone" "benefits" "week";
    gap: 32px;
    padding: 24px 0 42px;
  }
  .landing .hero-copy {
    padding: 0;
    text-align: center;
  }
  .landing .hero-copy > .eyebrow {
    justify-content: center;
  }
  .landing .hero h1 {
    font-size: clamp(2.8rem, 6.8vw, 4rem);
    margin: 22px 0;
  }
  .landing .hero-description {
    margin-inline: auto;
    max-width: 550px;
    font-size: 1.0625rem;
  }
  .hero-actions {
    justify-content: center;
    margin-top: 23px;
  }
  .landing .product-figure {
    width: 350px;
  }
  .landing .hero-product {
    margin: 7px 0;
  }
  .landing .hero-product::before {
    left: calc(50% - 235px);
  }
  .landing .hero-product::after {
    right: calc(50% - 215px);
  }
  .landing .benefits article {
    padding: 19px 18px;
  }
  .landing .benefits h2 {
    font-size: 0.9375rem;
  }
  .landing .benefits p {
    font-size: 0.875rem;
  }
  .week-preview {
    padding: 23px;
    gap: 24px;
  }
  .week-copy {
    min-width: 170px;
  }
  .week-copy h2 {
    font-size: 1.4rem;
  }
  .week-copy .eyebrow {
    font-size: 0.625rem;
  }
  .week-copy > p:last-child {
    font-size: 0.8125rem;
  }
  .week-days strong {
    font-size: 0.6875rem;
  }
  .landing .steps {
    gap: 25px;
  }
  .landing .how-section h2 {
    font-size: 2rem;
  }
}
@media (max-width: 680px) {
  .home-header,
  .landing .wrap,
  body:has(.landing) .site-footer {
    width: calc(100% - 40px);
  }
  .home-header {
    height: auto;
    min-height: 84px;
    padding-block: 18px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .home-header .brand img {
    width: 92px;
  }
  .home-header .header-links {
    gap: 0;
    flex: 1;
  }
  .home-header nav {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .home-header nav a {
    font-size: 0.8125rem;
  }
  .header-status {
    display: none;
  }
  .landing .hero {
    padding-top: 22px;
    gap: 27px;
  }
  .landing .hero-copy > .eyebrow {
    font-size: 0.5625rem;
    letter-spacing: 0.095em;
    gap: 7px;
  }
  .landing .hero h1 {
    font-size: clamp(2.25rem, 8.9vw, 3.65rem);
    line-height: 1.18;
    letter-spacing: -0.05em;
    margin: 20px 0;
  }
  .landing .hero-description {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 360px;
  }
  .hero-actions {
    gap: 14px;
    flex-direction: column;
  }
  .landing .launch-note {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 400;
    display: flex;
    gap: 4px;
  }
  .landing .launch-note br {
    display: none;
  }
  .landing .launch-note span {
    color: var(--ink);
  }
  .landing .product-figure {
    width: 338px;
  }
  .landing .hero-product {
    margin: 9px 0;
  }
  .landing .hero-product::before {
    width: 360px;
    max-width: 100%;
    height: 540px;
    left: -15px;
    top: 30px;
  }
  .landing .hero-product::after {
    width: 300px;
    max-width: 92%;
    right: -5px;
    bottom: 75px;
    height: 360px;
  }
  .landing .benefits {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .landing .benefits article {
    padding: 20px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 14px;
    border-radius: 19px;
  }
  .benefit-heading {
    display: contents;
  }
  .benefit-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
  }
  .landing .benefits h2 {
    font-size: 1rem;
    grid-column: 2;
  }
  .landing .benefits p {
    font-size: 0.875rem;
    grid-column: 2;
    margin: 0;
    line-height: 1.7;
  }
  .week-preview {
    padding: 23px 18px;
    display: block;
  }
  .week-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px;
    align-items: center;
    min-width: 0;
  }
  .week-copy .eyebrow {
    flex-basis: 100%;
    font-size: 0.5625rem;
  }
  .week-copy h2 {
    font-size: 1.35rem;
    margin-top: 10px;
    flex: 1 1 8rem;
  }
  .week-copy > p:last-child {
    font-size: 0.75rem;
    margin-top: 10px;
    flex: 1 1 8rem;
  }
  .week-days {
    margin-top: 20px;
    gap: 5px;
  }
  .week-days li {
    padding: 12px 2px 11px;
    border-radius: 10px;
  }
  .day-name {
    font-size: 0.6875rem;
  }
  .day-mark {
    width: 19px;
    margin-block: 12px;
  }
  .week-days strong {
    font-size: 0.5625rem;
  }
  .day-duration {
    font-size: 0.5625rem;
  }
  .landing .how-section {
    padding: 36px 0 40px;
  }
  .how-heading {
    display: block;
    margin-bottom: 25px;
  }
  .landing .how-section h2 {
    font-size: 2.1rem;
  }
  .landing .how-intro {
    font-size: 0.875rem;
    margin-top: 15px;
  }
  .landing .how-intro br {
    display: none;
  }
  .landing .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .landing .steps li {
    padding-top: 21px;
    gap: 19px;
  }
  .landing .steps p {
    max-width: none;
    font-size: 0.9375rem;
  }
  .landing .steps h3 {
    font-size: 1.0625rem;
  }
}
@media (max-width: 360px) {
  .home-header,
  .landing .wrap,
  body:has(.landing) .site-footer {
    width: calc(100% - 32px);
  }
  .home-header .brand img {
    width: 78px;
  }
  .home-header nav {
    gap: 13px;
  }
  .home-header nav a {
    font-size: 0.75rem;
  }
  .landing .hero-copy > .eyebrow {
    font-size: 0.5rem;
    gap: 5px;
    letter-spacing: 0.08em;
  }
  .landing .hero h1 {
    font-size: 2.08rem;
  }
  .landing .hero-product::before {
    left: 0;
  }
  .landing .product-figure {
    width: 100%;
  }
  .week-preview {
    padding: 20px 12px;
  }
  .week-days {
    gap: 3px;
  }
}

/* Keep the added editorial text readable at small sizes and with enlarged text. */
.landing .hero-copy > .eyebrow,
.landing .how-section .eyebrow,
.week-copy .eyebrow,
.landing figcaption {
  font-size: 0.75rem;
}
.week-days {
  grid-template-columns: repeat(auto-fit, minmax(3.5rem, 1fr));
}
.week-days strong,
.day-duration {
  font-size: 0.75rem;
}
.day-name {
  font-size: 0.8125rem;
}
@media (max-width: 680px) {
  .landing .hero-copy > .eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.07em;
  }
  .week-copy .eyebrow {
    font-size: 0.6875rem;
  }
  .week-days {
    grid-template-columns: repeat(auto-fit, minmax(3.5rem, 1fr));
  }
}

/* Compact, always-visible language links; each leads to a complete HTML page. */
.site-header {
  height: auto;
  min-height: 100px;
  padding-block: 18px;
}
.header-links {
  gap: 22px;
}
.site-header .language-switch {
  gap: 2px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  border: 1px solid #14223825;
  border-radius: 30px;
  padding: 3px;
  background: #ffffff80;
}
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 7px;
  font-size: 0.75rem;
  line-height: 1;
  border-radius: 50%;
}
.language-switch a[aria-current="true"] {
  color: white;
  background: var(--ink);
  text-decoration: none;
}
html[lang="en"] .phone-heading strong {
  font-size: 15px;
}
html[lang="en"] .week-list li {
  grid-template-columns: 88px 1fr;
}
@media (max-width: 1200px) {
  .header-status {
    display: none;
  }
}
@media (max-width: 680px) {
  .home-header .header-links,
  .header-links {
    gap: 8px 13px;
  }
  .home-header nav {
    gap: 13px;
  }
  .home-header .brand img {
    width: 82px;
  }
  .home-header nav a {
    font-size: 0.75rem;
  }
  .site-header .language-switch a {
    min-height: 32px;
    min-width: 32px;
    font-size: 0.6875rem;
  }
  .site-header {
    gap: 12px;
  }
}
@media (max-width: 360px) {
  .home-header .header-links > nav:first-child {
    gap: 9px;
  }
  .home-header .brand img {
    width: 70px;
  }
}
