/* Features and About pages. Builds on site.css. */
.fx-hero{padding:40px 0 28px;text-align:center}
.fx-hero h1{font-size:clamp(2.6rem,4.6vw,4.6rem);margin-bottom:18px}
.fx-hero .lede{margin:0 auto 26px;max-width:620px}
.fx-hero .lede a{color:#d9573f;font-weight:700}
.fx-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.fx-chip{border:1.5px solid #e2cfcf;background:#fff;color:var(--plum);border-radius:40px;padding:10px 16px;font-size:.82rem;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}
.fx-chip:hover{border-color:var(--plum)}
.fx-chip.on{background:var(--plum);border-color:var(--plum);color:#fff}

.fx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding-bottom:90px}
.fx-card{border-radius:26px;overflow:hidden;min-width:0}
.fx-card[hidden]{display:none}
.fx-wide{grid-column:span 2}
.fx-open{display:flex;flex-direction:column;width:100%;height:100%;padding:12px 12px 22px;border:0;background:none;text-align:left;color:inherit;cursor:pointer}
.fx-media{position:relative;display:block;border-radius:17px;overflow:hidden;background:#fff;aspect-ratio:16/10;box-shadow:0 8px 22px #422c4614}
.fx-media img,.fx-media video{display:block;width:100%;height:100%;object-fit:cover;object-position:top left;transition:transform .5s ease}
.fx-open:hover .fx-media img,.fx-open:hover .fx-media video{transform:scale(1.03)}
.fx-play{position:absolute;left:12px;bottom:12px;width:44px;height:44px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 6px 16px #422c4626;transition:transform .2s}
.fx-play svg{width:18px;height:18px;fill:var(--coral);margin-left:3px}
.fx-open:hover .fx-play{transform:scale(1.1)}
.fx-text{display:flex;flex-direction:column;gap:6px;padding:16px 10px 0}
.fx-tag{align-self:flex-start;font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#8a5a52;background:#ffffffb3;border-radius:30px;padding:5px 10px}
.fx-h{font-family:Gabarito,Arial,sans-serif;font-weight:800;letter-spacing:-.035em;font-size:1.45rem;line-height:1.12}
.fx-wide .fx-h{font-size:1.9rem}
.fx-p{font-size:.86rem;line-height:1.6;color:#625468}
.fx-watch{margin-top:6px;display:inline-flex;align-items:center;gap:6px;font-size:.8rem;font-weight:700;color:#d9573f}
.fx-watch .i{width:15px;height:15px}
.fx-card.plum{background:var(--plum);color:#fff8ee}
.fx-card.plum .fx-p{color:#e9dbe9}
.fx-card.plum .fx-tag{background:#ffffff1f;color:#ffc9b9}
.fx-card.plum .fx-watch{color:#ffb59e}
.fx-phone{grid-column:1/-1}
.fx-phone .fx-open{flex-direction:row;align-items:center;gap:40px;padding:34px 48px 0}
.fx-phone .fx-text{flex:1;padding:0 0 34px}
.fx-phone .fx-h{font-size:2.1rem}
.fx-phone .fx-p{font-size:.95rem;max-width:460px}
.fx-phone-shot{position:relative;flex:none;width:250px;height:330px;overflow:hidden;border-radius:30px 30px 0 0;border:8px solid var(--plum);border-bottom:0;box-shadow:0 14px 30px #422c4626}
.fx-phone-shot img{display:block;width:100%}
.fx-phone-shot .fx-play{left:auto;right:14px;bottom:14px}
.fx-fine{margin-top:16px;font-size:.78rem;color:#8f7e89}

/* About */
.ab-hero{display:grid;grid-template-columns:minmax(0,42fr) minmax(0,58fr);gap:56px;align-items:center;padding:40px 0 90px}
.ab-photo{position:relative}
.ab-photo__frame{position:relative;aspect-ratio:4/5;border-radius:220px 220px 30px 30px;overflow:hidden;background:linear-gradient(160deg,#ffcfb7,#fce4e9 60%,#f3d9ea)}
.ab-photo__frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.ab-photo__empty{position:absolute;inset:0;display:grid;place-items:center;font-weight:700;color:#8a5a52;font-size:.9rem;border:2px dashed #e8a99a;border-radius:inherit}
.ab-note{position:absolute;right:-26px;bottom:42px;z-index:2;background:#fff;border-radius:18px;padding:15px 19px;font-size:.82rem;font-weight:700;line-height:1.4;box-shadow:0 9px 25px #422c461a;transform:rotate(-4deg)}
.ab-copy h1{font-size:clamp(2.6rem,4.4vw,4.4rem)}
.ab-story{display:grid;grid-template-columns:minmax(0,38fr) minmax(0,62fr);gap:56px;padding:70px 0;border-top:1px solid #ecdcda}
.ab-story h2{font-size:clamp(2.1rem,3.4vw,3.3rem)}
.ab-story__body p{font-size:1.06rem;line-height:1.75;color:#5d4b60;margin-bottom:20px}
.ab-values{padding:40px 0 80px}
.ab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ab-grid .feature-card{min-height:0}
.ab-letter{max-width:760px;text-align:center;padding:30px 0 100px}
.ab-letter p{font-size:1.2rem;line-height:1.7;color:#4f3c52}
.ab-sign{font-family:Gabarito,Arial,sans-serif;font-weight:800;font-size:2rem !important;margin:26px 0 30px;color:var(--plum) !important;letter-spacing:-.04em}
.ab-sign span{display:block;font-family:Rubik,Arial,sans-serif;font-size:.78rem;font-weight:600;letter-spacing:0;color:#8f7e89}
.ab-actions{display:flex;gap:26px;align-items:center;justify-content:center;flex-wrap:wrap}

@media(max-width:970px){
  .fx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fx-wide{grid-column:1/-1}
  .ab-hero,.ab-story{grid-template-columns:1fr;gap:34px}
  .ab-photo{max-width:420px}
}
@media(max-width:690px){
  .fx-hero{padding-top:18px}
  .fx-grid{grid-template-columns:1fr;gap:16px}
  .fx-wide .fx-h,.fx-phone .fx-h{font-size:1.55rem}
  .fx-phone .fx-open{flex-direction:column;align-items:stretch;padding:24px 22px 0;gap:22px}
  .fx-phone .fx-text{padding:0}
  .fx-phone-shot{align-self:center;width:210px;height:260px}
  .ab-grid{grid-template-columns:1fr}
  .ab-note{right:6px}
  .ab-letter p{font-size:1.05rem}
}
/* the first, wide card: picture and words side by side */
@media(min-width:971px){
  .fx-wide .fx-open{display:grid;grid-template-columns:minmax(0,63fr) minmax(0,37fr);align-items:center;gap:8px;padding:14px}
  .fx-wide .fx-text{padding:10px 18px 10px 14px}
  .fx-wide .fx-p{font-size:.92rem}
}

/* last row: the phone app (two columns) next to Settings */
@media(min-width:971px){
  .fx-phone.fx-wide2{grid-column:span 2}
  .fx-wide2 .fx-open{padding:30px 34px 0;gap:28px}
  .fx-wide2 .fx-h{font-size:1.8rem}
  .fx-wide2 .fx-phone-shot{width:220px;height:300px}
}
@media(max-width:970px) and (min-width:691px){ .fx-phone.fx-wide2{grid-column:1/-1} }

/* phone + computer card */
.fx-devices{position:relative;flex:none;display:block;width:430px;height:300px;align-self:flex-end}
.fx-laptop{position:absolute;left:0;bottom:22px;width:370px;display:block}
.fx-laptop__screen{display:block;border:9px solid var(--plum);border-bottom-width:14px;border-radius:14px 14px 4px 4px;overflow:hidden;background:#fff;aspect-ratio:16/10;box-shadow:0 14px 30px #422c4626}
.fx-laptop__screen img{display:block;width:100%;height:100%;object-fit:cover;object-position:top left}
.fx-laptop__base{display:block;height:12px;margin:0 -22px;background:#5a3f5e;border-radius:0 0 14px 14px}
.fx-devices .fx-phone-shot{position:absolute;right:0;bottom:0;width:132px;height:250px;border-width:6px;border-radius:24px 24px 0 0}
.fx-devices .fx-play{left:auto;right:150px;bottom:44px}
@media(min-width:971px){ .fx-wide2 .fx-devices .fx-phone-shot{width:132px;height:250px} }
@media(max-width:690px){
  .fx-devices{align-self:center;width:300px;height:220px}
  .fx-laptop{width:250px;bottom:16px}
  .fx-devices .fx-phone-shot{width:96px;height:180px}
  .fx-devices .fx-play{right:110px;bottom:30px}
}

/* "every feature is a switch" note under the features hero */
.fx-custom{display:inline-flex;align-items:center;gap:12px;margin:-6px auto 26px;padding:10px 18px 10px 12px;border-radius:999px;background:#fff;border:1px solid rgba(66,44,70,.12);color:var(--plum,#422C46);font-size:15px;line-height:1.4;text-align:left;max-width:640px}
.fx-custom b{font-weight:600}
.fx-switch{flex:none;width:38px;height:22px;border-radius:999px;background:var(--coral,#F5775B);position:relative}
.fx-switch span{position:absolute;top:3px;right:3px;width:16px;height:16px;border-radius:50%;background:#fff}
@media (max-width:600px){.fx-custom{border-radius:18px;font-size:14px}}
/* Settings closes the grid full width, picture left and words right (the Rewards card made the count uneven) */
.fx-wide3{grid-column:1/-1}
@media(min-width:691px){
  .fx-wide3 .fx-open{flex-direction:row;align-items:center;gap:40px;padding:22px 40px 22px 22px}
  .fx-wide3 .fx-media{flex:0 0 52%}
  .fx-wide3 .fx-text{flex:1;padding:0}
  .fx-wide3 .fx-h{font-size:2.1rem}
  .fx-wide3 .fx-p{font-size:.95rem;max-width:460px}
}

/* About values: icon, bigger words, a punch line at the bottom so the cards feel full */
.ab-grid .feature-card{min-height:290px;padding:36px 36px 32px}
.ab-grid .feature-card h3{font-size:1.75rem;margin-bottom:12px;max-width:none}
.ab-grid .feature-card p{font-size:1.02rem;line-height:1.65;max-width:480px}
.ab-grid .feature-card .punch{margin-top:auto;font-family:Gabarito,Arial,sans-serif;font-size:1.05rem;font-weight:800;color:var(--plum)}
.ab-grid .icon-stamp svg{width:24px;height:24px}
@media(max-width:690px){.ab-grid .feature-card{min-height:0;padding:28px}.ab-grid .feature-card h3{font-size:1.45rem}}

/* About: the name (Rivka, Nov 25) - set by seven, and the seventh day */
.ab-name{background:var(--plum);color:#fff;margin:40px 0 20px}
.ab-name__inner{display:grid;grid-template-columns:300px 1fr;gap:60px;align-items:center;padding:80px 0}
.ab-name__seven{display:block;width:220px;height:auto;margin:0 auto}
.ab-name__copy .eyebrow{color:#ffd4c7}
.ab-name__copy h2{color:#fff;margin-bottom:22px}
.ab-name__copy em{color:#ffa687}
.ab-name__copy p:not(.eyebrow){color:#eadfe8;font-size:1.08rem;line-height:1.8;max-width:600px}
@media(max-width:690px){.ab-name__inner{grid-template-columns:1fr;gap:10px;padding:56px 0}.ab-name__seven{width:110px;margin:0}}
.ab-photo__frame img{object-position:center 25%}
/* play button: coral, bigger, with a white ring so it reads on any screenshot (Rivka, Nov 25) */
.fx-media .fx-play{width:62px;height:62px;background:var(--coral,#F5775B);border:4px solid #fff;box-shadow:0 10px 26px rgba(66,44,70,.35);z-index:2}
.fx-media .fx-play svg{width:24px;height:24px;fill:#fff;margin-left:4px}
.fx-open:hover .fx-media .fx-play,.fx-open:focus-visible .fx-media .fx-play{transform:scale(1.12)}
@media(max-width:690px){.fx-media .fx-play{width:54px;height:54px}.fx-media .fx-play svg{width:20px;height:20px}}
