/* Product story on the home page. Static content stays useful without JavaScript. */
.product-story,
.product-features {
    padding-block: 88px;
}

.product-section-heading {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 64px;
    margin-bottom: 54px;
}

.product-section-heading h2 {
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -1.4px;
    text-wrap: balance;
}

.product-section-heading > p,
.product-section-intro > p {
    max-width: 430px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.65;
}

.product-section-heading .product-eyebrow {
    margin-bottom: 17px;
    color: var(--accent-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.product-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-block: 8px;
    color: #cedde3;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #52636b;
    text-underline-offset: 5px;
    transition: color .15s ease;
}

.product-inline-link:hover {
    color: var(--accent-blue);
}

.product-inline-link:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 5px;
    border-radius: 3px;
}

.product-section-intro .product-inline-link {
    margin-top: 12px;
}

.product-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-steps li {
    --step-accent: #83c9e8;
    position: relative;
    padding: 24px;
    border: 1px solid #344047;
    border-radius: 18px;
    background: linear-gradient(135deg, #20303980, #1b222780 65%);
    box-shadow: inset 0 1px 0 #ffffff06, 0 10px 24px #050b101c;
}

.product-steps li:nth-child(2) {
    --step-accent: #9cb8ee;
    background: linear-gradient(135deg, #29304770, #1b222780 65%);
}

.product-steps li:nth-child(3) {
    --step-accent: #89cfb1;
    background: linear-gradient(135deg, #223d3570, #1b222780 65%);
}

.product-steps li:not(:last-child)::after {
    content: "›";
    position: absolute;
    top: 40px;
    right: -16px;
    width: 12px;
    color: #6f8793;
    font-size: 20px;
    line-height: 1;
    text-align: center;
}

.product-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.product-step-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #ffffff12;
    border-radius: 14px;
    background: #ffffff05;
    color: var(--step-accent);
    box-shadow: inset 0 1px 0 #ffffff08;
}

.product-step-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-step-marker {
    color: var(--step-accent);
    opacity: .7;
    font-size: 24px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
}

.product-steps h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.3px;
}

.product-steps p {
    max-width: 340px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}

.product-steps .product-inline-link,
.product-step-note {
    margin-top: 14px;
}

.product-step-note {
    display: block;
    padding-block: 8px;
    color: #9caeb7;
    font-size: 12px;
}

.product-feature-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    gap: 64px;
}

.product-plan-example {
    margin: 0;
    padding: 26px;
    border: 1px solid #303f44;
    border-radius: 20px;
    background: radial-gradient(ellipse at top left, #1c3339 0, #172126 44%, #151a1e 100%);
}

.product-preview-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #bacbd2;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.4px;
}

.product-example-label {
    padding: 3px 8px;
    border: 1px solid #425057;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
}

.product-preview-target {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 24px 0 20px;
}

.product-macro-ring {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
}

.product-preview-small {
    color: #b9c8cf;
    font-size: 13px;
}

.product-preview-calories {
    margin-top: 3px;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -1px;
    white-space: nowrap;
}

.product-preview-calories span {
    color: #bcc8ce;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
}

.product-preview-macros {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: 18px;
    margin: 0;
    border-bottom: 1px solid #354047;
}

.product-preview-macros > div + div {
    padding-left: 18px;
    border-left: 1px solid #354047;
}

.product-preview-macros dt {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #b8c4cb;
    font-size: 12px;
}

.product-preview-macros dt i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.product-protein-dot { background: #62c69b; }
.product-carb-dot { background: #5597f3; }
.product-fat-dot { background: #efb84a; }

.product-preview-macros dd {
    margin: 4px 0 0;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -.5px;
}

.product-preview-macros dd span {
    color: #b8c4cb;
    font-size: 13px;
    font-weight: 400;
    margin-left: 3px;
}

.product-plan-example figcaption {
    margin-top: 22px;
    color: #a8b9c2;
    font-size: 11px;
    line-height: 1.6;
}

.product-feature-list {
    margin: 0;
}

.product-feature-list > div {
    padding: 22px 0;
    border-bottom: 1px solid #2b3237;
}

.product-feature-list > div:first-child { padding-top: 0; }
.product-feature-list > div:last-child { border-bottom: 0; padding-bottom: 0; }

.product-feature-list dt {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: start;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: -.15px;
}

.product-feature-list dt svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #9cbbc9;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-feature-list dd {
    margin: 6px 0 0 34px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.65;
}

.product-tier {
    margin-top: 2px;
    color: #cab8e9;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1px;
    padding: 1px 6px;
    border: 1px solid #44374f;
    border-radius: 4px;
    white-space: nowrap;
}

.product-tier-free { color: #8bc9e7; border-color: #315163; }

@media (max-width: 1100px) {
    .product-section-heading,
    .product-feature-layout { gap: 36px; }
    .product-plan-example { padding: 24px; }
    .product-feature-list dt { font-size: 14px; }
}

@media (max-width: 820px) {
    .product-section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 44px; }
    .product-section-heading > p,
    .product-section-intro > p { max-width: 540px; }
    .product-steps h3 { font-size: 17px; }
    .product-steps li { padding: 20px; }
}

@media (max-width: 740px) {
    .product-feature-layout { grid-template-columns: 1fr; gap: 36px; }
    .product-plan-example { max-width: 520px; width: 100%; margin-inline: auto; }
}

@media (max-width: 600px) {
    .section.product-story,
    .section.product-features { padding: 56px 24px; }
    .product-section-heading h2 { font-size: 32px; letter-spacing: -1px; }
    .product-section-heading > p,
    .product-section-intro > p { font-size: 15px; }
    .product-section-heading .product-eyebrow { font-size: 10px; }
    .product-steps { grid-template-columns: 1fr; gap: 14px; }
    .product-steps li { padding: 20px; }
    .product-steps li:not(:last-child)::after { display: none; }
    .product-step-top { margin-bottom: 17px; }
    .product-step-icon { width: 42px; height: 42px; border-radius: 12px; }
    .product-steps h3 { font-size: 18px; }
    .product-steps p { max-width: none; }
    .product-steps .product-inline-link,
    .product-step-note { margin-top: 8px; }
    .product-plan-example { padding: 22px; border-radius: 16px; }
    .product-preview-target { gap: 17px; margin-block: 24px; }
    .product-macro-ring { flex-basis: 74px; width: 74px; height: 74px; }
    .product-preview-calories { font-size: 32px; }
    .product-preview-small { font-size: 12px; }
    .product-preview-macros > div + div { padding-left: 13px; }
    .product-feature-list dt { font-size: 14px; column-gap: 10px; }
    .product-feature-list dd { margin-left: 32px; }
    .product-feature-list > div { padding-block: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    .product-inline-link { transition: none; }
}

/* A catalog-calculated day, with the same meals, portions and tools as the app. */
.product-preview-calories b {
    font-weight: inherit;
}
.product-example-week {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-top: 22px;
    border-bottom: 1px solid #354047;
    color: #a9bac2;
    font-size: 11px;
}
.product-example-week span {
    padding: 0 2px 9px;
}
.product-example-week .selected {
    color: #83ccea;
    border-bottom: 2px solid #64bce8;
    font-weight: 600;
}
.product-example-target-note {
    margin: 13px 0 20px;
    color: #b2c4cd;
    font-size: 11px;
    line-height: 1.6;
}
.product-example-target-note span {
    display: block;
    margin-top: 3px;
    color: #8fb4c5;
}
.product-example-menu {
    border-top: 1px solid #354047;
}
.product-example-meal {
    margin: 0;
    border-bottom: 1px solid #354047;
}
.product-example-meal:last-child {
    border-bottom: 0;
}
.product-example-meal summary {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
}
.product-example-meal summary::-webkit-details-marker {
    display: none;
}
.product-example-meal summary::marker {
    content: "";
}
.product-example-meal summary:focus-visible {
    outline: 2px solid #64bce8;
    outline-offset: 4px;
    border-radius: 4px;
}
.product-example-meal summary strong {
    display: block;
    color: #edf3f5;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.45;
}
.product-example-meal-type {
    display: block;
    margin-bottom: 3px;
    color: #8fb7ca;
    font-size: 10px;
}
.product-example-meal[data-meal-key="lunch"] .product-example-meal-type {
    color: #efbd72;
}
.product-example-meal-energy {
    display: grid;
    grid-template-columns: auto 13px;
    align-items: center;
    gap: 0 8px;
    color: #e6eef1;
    text-align: right;
}
.product-example-meal-energy b {
    font-size: 16px;
    font-weight: 550;
}
.product-example-meal-energy small {
    grid-column: 1;
    color: #a8bdc8;
    font-size: 9px;
}
.product-example-meal-energy i {
    grid-column: 2;
    grid-row: 1/3;
    font-style: normal;
    color: #91a9b5;
    font-size: 15px;
}
.product-example-meal[open] .product-example-meal-energy i {
    transform: rotate(180deg);
}
.product-example-meal-detail {
    padding: 0 0 18px;
}
.product-example-meal-macros {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 13px;
    color: #c6d5dc;
    font-size: 10px;
    margin-bottom: 13px;
}
.product-example-ingredients {
    padding: 0;
    margin: 0;
    list-style: none;
}
.product-example-ingredients li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    color: #b5c8d1;
    font-size: 11px;
}
.product-example-ingredients b {
    color: #e0ebf0;
    font-weight: 500;
    white-space: nowrap;
}
.product-example-prep-label {
    margin-top: 13px;
    color: #9ec8dc;
    font-size: 10px;
}
.product-example-prep {
    padding-left: 16px;
    margin: 7px 0 0;
    color: #b4c4cd;
    font-size: 11px;
    line-height: 1.65;
}
.product-example-prep li + li {
    margin-top: 4px;
}

/* Illustrative messages lead to an action; the examples are not extra alerts. */
.product-scenarios {
    padding-block: 88px;
}
.product-scenarios .product-section-heading {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
}
.product-scenario-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}
.product-scenario-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 1px;
    color: #b4c4cc;
}
.product-scenario-caption > span:last-child {
    letter-spacing: 0;
    color: #8fa4af;
}
.product-notification-example {
    min-height: 144px;
    padding: 20px 22px;
    background: linear-gradient(120deg, #28363e, #222d33);
    border: 1px solid #49616e70;
    border-radius: 16px;
    box-shadow: 0 8px 20px #060b103d, inset 0 1px 0 #ffffff08;
}
.product-notification-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b8cad3;
    font-size: 10px;
    margin-bottom: 12px;
}
.product-notification-heading > span:last-child {
    margin-left: auto;
}
.product-notification-app {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 8px;
    background: #17313f;
    box-shadow: 0 2px 5px #00000020;
    color: #e1f3fa;
}
.product-notification-app svg {
    width: 25px;
    height: 25px;
}
.product-notification-heading b {
    color: #deeaef;
    font-size: 11px;
    font-weight: 550;
}
.product-notification-example h3 {
    font-size: 17px;
    letter-spacing: -.25px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 6px;
}
.product-notification-example p {
    color: #c0cfd6;
    font-size: 13px;
    line-height: 1.6;
}
.product-scenario-next {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ab6c5;
    font-size: 11px;
    margin: 14px 0 2px;
}
.product-scenario-next > span:first-child {
    color: #64bce8;
    font-size: 18px;
}
.product-focus-example {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 120px;
    padding: 16px 0;
    border-bottom: 1px solid #354047;
}
.product-recovery-score {
    flex: 0 0 110px;
    padding: 10px;
    border: 1px solid #ed928a20;
    border-radius: 12px;
    background: #ee928a07;
    text-align: center;
}
.product-recovery-score strong {
    display: block;
    color: #ee928a;
    font-size: 31px;
    line-height: 1.2;
    font-weight: 600;
}
.product-recovery-score strong span {
    font-size: 17px;
    font-weight: 400;
}
.product-recovery-score > span {
    font-size: 10px;
    color: #b3c3cb;
}
.product-focus-example h4 {
    color: #e5eef2;
    font-size: 14px;
    margin: 0 0 4px;
    font-weight: 550;
}
.product-focus-example p {
    color: #aebfc9;
    font-size: 12px;
    line-height: 1.55;
}
.product-burn-example {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 120px;
    padding: 16px 0;
    border-bottom: 1px solid #354047;
}
.product-burn-example > div {
    flex-shrink: 0;
}
.product-burn-example span {
    display: block;
    color: #b3c3cb;
    font-size: 10px;
    margin-bottom: 3px;
}
.product-burn-example strong {
    font-size: 22px;
    color: #e2eef3;
    font-weight: 550;
    white-space: nowrap;
}
.product-burn-example small {
    font-size: 11px;
    font-weight: 400;
    color: #acbfca;
}
.product-burn-example svg {
    width: 120px;
    min-width: 30px;
    height: 44px;
}
.product-notification-note {
    max-width: 840px;
    margin: 28px 0 0;
    color: #98adb9;
    font-size: 11px;
    line-height: 1.7;
}
.product-practical-cases {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    margin-top: 30px;
    border-top: 1px solid #354047;
    padding-top: 34px;
}
.product-practical-case {
    display: grid;
    grid-template-columns: 146px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
}
.product-practical-case h3 {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 550;
    margin-bottom: 7px;
}
.product-practical-case p {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.7;
}
.product-mini-visual {
    padding: 16px 0;
    color: #dce8ee;
    font-size: 11px;
}
.product-swap-visual {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
}
.product-swap-visual > span:not(.product-swap-arrows) {
    padding: 6px 10px;
    border: 1px solid #465c68;
    border-radius: 7px;
}
.product-swap-arrows {
    margin-left: 13px;
    font-size: 19px;
    color: #64bce8;
    line-height: 1;
}
.product-shopping-visual span {
    display: flex;
    gap: 8px;
    margin-bottom: 13px;
    font-size: 10px;
}
.product-shopping-visual i {
    font-style: normal;
    color: #89cfb1;
}
@media (max-width: 1000px) {
    .product-scenario-pair,
    .product-practical-cases {
        gap: 32px;
    }
    .product-practical-case {
        grid-template-columns: 1fr;
        gap: 5px;
        align-items: start;
    }
    .product-swap-visual {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }
    .product-swap-arrows {
        margin: 0;
    }
    .product-shopping-visual span {
        margin-bottom: 8px;
    }
    .product-focus-example {
        gap: 16px;
    }
}
@media (max-width: 740px) {
    .product-scenario-pair {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .product-scenarios .product-section-heading {
        margin-bottom: 34px;
    }
    .product-practical-cases {
        gap: 24px;
    }
    .product-notification-example { padding: 18px; }
}
@media (max-width: 600px) {
    .section.product-scenarios {
        padding: 56px 24px;
    }
    .product-example-week {
        margin-top: 19px;
    }
    .product-example-meal summary {
        gap: 10px;
    }
    .product-example-meal-energy {
        column-gap: 5px;
    }
    .product-example-meal summary strong {
        font-size: 12px;
    }
    .product-example-meal-macros {
        column-gap: 10px;
    }
    .product-preview-target {
        margin-block: 22px;
    }
    .product-notification-heading { font-size: 9px; }
    .product-notification-example h3 { font-size: 16px; }
    .product-notification-example p { font-size: 12px; }
    .product-scenario-caption {
        font-size: 9px;
        letter-spacing: 0.7px;
    }
    .product-burn-example {
        gap: 10px;
    }
    .product-burn-example strong {
        font-size: 20px;
    }
    .product-burn-example svg {
        width: 90px;
    }
    .product-notification-note {
        font-size: 10px;
    }
    .product-practical-cases {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-top: 34px;
        padding-top: 25px;
    }
    .product-practical-case {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 18px;
    }
    .product-swap-visual {
        flex-direction: column;
        align-items: start;
    }
    .product-swap-arrows {
        margin-left: 12px;
    }
    .product-swap-visual > span:not(.product-swap-arrows) {
        font-size: 10px;
        padding: 5px 7px;
    }
    .product-practical-case h3 {
        font-size: 15px;
    }
    .product-practical-case p {
        font-size: 12px;
    }
    .product-shopping-visual span {
        font-size: 9px;
        gap: 6px;
    }
}
