/* Foundations dashboard concept. Scoped to the Foundations home and the
   Foundations header state (body.fd-foundations). Investor Mindset and the
   later plans do not use these rules. */

body.fd-foundations{background:#e7eef2}
body.fd-foundations .foundation-brand{color:#0c7f72}
body.fd-foundations .foundation-nav{justify-content:flex-end}
body.fd-foundations .foundation-nav button{height:36px;padding:0 12px;color:#24343c;font-size:14px;font-weight:500}
body.fd-foundations .foundation-profile.logged-out{height:32px;border-radius:8px;font-weight:600}
body.fd-foundations #tier-switch{display:none}
body.fd-foundations .fd-plan-name{display:inline;color:#5d6b74;font:600 13px 'Space Grotesk',sans-serif;letter-spacing:.04em;text-transform:uppercase}
.fd-plan-name{display:none}
body.fd-foundations #how-aimi-card,body.fd-foundations #youtube-card{display:none}

#tier1-home{color:#1c2b36}
#tier1-home .fd-hero{margin:0 0 16px}
#tier1-home .fd-hero h1{display:block;font:700 clamp(32px,4vw,44px)/1.05 Georgia,serif;letter-spacing:-.03em;color:#14202a;margin:0 0 6px}
#tier1-home .fd-hero p{font-size:16px;color:#5d6b74;margin:0;max-width:40rem}
#tier1-home .fd-hero .streak-chip{margin:10px 8px 0 0}
#tier1-home .fd-hero .streak-chip.off,
#tier1-home .fd-hero .streak-chip[hidden]{display:none !important}
#tier1-home .fd-status{margin:8px 0 0;font-size:13px;color:#3d6f8f}

#tier1-home .fd-top{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.9fr);gap:16px;align-items:stretch;margin-bottom:16px}
#tier1-home .fd-side{display:flex;flex-direction:column;gap:12px;min-width:0}
#tier1-home .fd-side .card{margin:0}

#tier1-home .fd-ask{background:#0e2438;color:#fff;border:0;border-radius:22px;padding:26px 24px 20px;box-shadow:0 10px 28px rgba(14,36,56,.16);display:flex;flex-direction:column;min-width:0}
#tier1-home .fd-ask h2{color:#fff;font:700 28px/1.1 Georgia,serif;margin:0 0 4px;letter-spacing:-.02em}
#tier1-home .fd-ask-kicker{color:#c5d4e4;font-size:14px;margin:0 0 16px}
#tier1-home .fd-ask-q{margin:0 0 14px;padding:14px 16px;border-radius:14px;background:#16324d;color:#f4f7fb;font-size:15px;line-height:1.4;text-align:center}
#tier1-home .fd-q-mob{display:none}
#tier1-home .fd-prompts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
#tier1-home .fd-prompts-mob{display:none}
#tier1-home .fd-prompt{width:100%;min-height:52px;padding:10px 14px;border:0;border-radius:14px;background:#17344f;color:#f7fbff;font:500 14px/1.35 'Space Grotesk',sans-serif;text-align:left;cursor:pointer}
#tier1-home .fd-prompt:hover{background:#1d4060}
#tier1-home .fd-ask-form{display:flex;gap:10px;align-items:center;margin-top:auto}
#tier1-home .fd-ask-form input{flex:1;min-width:0;height:52px;border:0;border-radius:999px;padding:0 18px;background:#fff;color:#1c2b36;font:16px 'Space Grotesk',sans-serif}
#tier1-home .fd-ask-form button{height:48px;padding:0 18px;border:0;border-radius:999px;background:#0c7f72;color:#fff;font:700 15px 'Space Grotesk',sans-serif;cursor:pointer;white-space:nowrap}
#tier1-home .fd-ask-head,.td-voice-panel .fd-ask-head{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
#tier1-home .fd-ask-head h2,.td-voice-panel .fd-ask-head h2{margin:0}
.fd-voice-lang,.td-voice-lang{height:32px;border:0;border-radius:8px;background:#16324d;color:#fff;font:600 13px 'Space Grotesk',sans-serif;padding:0 8px}
#tier1-home .fd-wave,.td-voice-panel .fd-wave{display:grid;place-items:center;margin:12px auto 4px}
.td-voice-panel{background:#0e2438 !important;border:0 !important;color:#fff}
.td-voice-panel h2,.td-voice-panel .fd-talk{color:#fff !important}
.td-voice-panel .fd-talk{font:700 28px/1.2 Georgia,serif;margin:8px 0}
.td-voice-panel .fd-voice-lead,.td-voice-panel .fd-voice-sub,.td-voice-panel .fd-ask-note,.td-voice-panel .fd-ask-kicker{color:#c5d4e4}
.td-voice-panel .fd-voice{display:block;width:min(420px,100%);margin:8px auto;min-height:48px;border:0;border-radius:999px;background:#1c9a58;color:#fff;font:700 16px 'Space Grotesk',sans-serif;cursor:pointer}
.td-voice-panel .fd-text-link{color:#7dcea0;background:none;border:0;font:600 14px 'Space Grotesk',sans-serif;cursor:pointer}
.td-voice-panel .td-ask-form{margin-top:12px}
.td-voice-panel.td-ask-hero h2{max-width:none;margin:0;color:#fff;font-size:22px;text-align:left}
.td-voice-panel .fd-ask-kicker{margin:14px 0 8px;font:700 13px 'Space Grotesk',sans-serif;letter-spacing:.04em;text-transform:uppercase}
.td-voice-panel .td-ask-prompt{background:#16324d;border-color:#23425f;color:#f4f7fb}
.td-voice-panel .td-ask-prompt:hover{background:#1b3d5c;border-color:#3ddc97}
#tier1-home .fd-voice-lead{margin:0 0 12px;text-align:center;color:#c5d4e4;font-size:14px}
#tier1-home .fd-ask .fd-text-link{display:block;width:100%;margin:0 0 10px;text-align:center;color:#7dcea0}
#tier1-home .fd-wave{display:grid;place-items:center;margin:8px 0 4px}
#tier1-home .fd-talk{margin:8px 0 14px;text-align:center;color:#fff;font:600 22px/1.3 Georgia,serif}
#tier1-home .fd-voice{display:block;width:100%;min-height:48px;margin:0 0 8px;border:0;border-radius:999px;background:#0c7f72;color:#fff;font:700 16px 'Space Grotesk',sans-serif;cursor:pointer}
#tier1-home .fd-voice:hover,#tier1-home .fd-voice.rec{background:#086158}
#tier1-home .fd-voice-sub{margin:0 0 10px;color:#c5d4e4;font-size:13px;text-align:center}
#tier1-home .fd-suggest{display:block;width:100%;margin:0 0 12px;padding:0;border:0;background:none;color:#7dcea0;font:600 15px 'Space Grotesk',sans-serif;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#tier1-home .fd-goal-list{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
#tier1-home .fd-goal{background:none;border:0;padding:0;color:#0c7f72;font:600 15px 'Space Grotesk',sans-serif;text-decoration:none}
#tier1-home .fd-goal:hover{text-decoration:underline}
#tier1-home .fd-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
#tier1-home .fd-tools button{min-height:64px;border:1px solid #e3eaee;border-radius:16px;background:#fff;color:#0c7f72;font:700 15px 'Space Grotesk',sans-serif;cursor:pointer}
#tier1-home .fd-tools button:hover{border-color:#9ed9c0}
#tier1-home .fd-unbuilt{margin:0 0 12px;color:#5d6b74;font-size:13px}
#tier1-home .fd-parked,#tier1-home .fd-bottom,#tier1-home #fd-next{display:none}
#tier1-home #fd-lesson-library:not([open]){display:none}
#tier1-home .fd-parked{display:none !important}
#tier1-home .fd-ask-form button:hover{background:#086158}
#tier1-home .fd-ask-note{margin:12px 2px 0;color:#b7c6d6;font-size:12px;line-height:1.4}
#tier1-home .fd-mob-title{display:none}

#tier1-home .fd-goals h2,#tier1-home .fd-continue h2,#tier1-home .fd-week h2{font:700 18px/1.2 Georgia,serif;margin:0 0 4px;color:#172430}
#tier1-home #savings-planner-card[hidden]{display:none !important}

#tier1-home .fd-continue{display:flex;flex-direction:column;gap:6px}
#tier1-home .fd-lesson-title{font:700 16px/1.3 Georgia,serif;margin:2px 0;color:#172430}
#tier1-home .fd-lesson-meta{margin:0;color:#667781;font-size:13px}
#tier1-home .fd-continue .foundation-progress-track{margin-top:4px}
#tier1-home .foundation-progress-track i{background:#0c7f72}
#tier1-home .fd-continue .foundation-progress-label{font-size:12px}
#tier1-home .fd-continue-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:6px}
#tier1-home .fd-continue .foundation-btn.primary{min-height:40px;padding:8px 16px;border:0;border-radius:999px;background:#0c7f72;color:#fff;font:700 14px 'Space Grotesk',sans-serif}
#tier1-home .fd-continue .foundation-btn.primary:hover{background:#086158}
#tier1-home .fd-continue .td-learn{background:transparent;border:0;color:#0c7f72;font:700 13px 'Space Grotesk',sans-serif;text-decoration:underline;text-underline-offset:2px;min-height:0;padding:0}

#tier1-home .fd-week-line{margin:0;color:#3c4c56;font-size:14px}
#tier1-home .fd-week-line strong{font:700 16px Georgia,serif}
#tier1-home .foundation-week-days{display:flex;gap:8px;margin:10px 0;max-width:none}
#tier1-home .foundation-week-day{font-size:0;color:transparent}
#tier1-home .foundation-week-day i{width:14px;height:14px;margin:0;border:0;background:#d5dee4;color:transparent;font-size:0}
#tier1-home .foundation-week-day.done i{background:#0c7f72}
#tier1-home .foundation-week-day.today i{box-shadow:0 0 0 2px #8fd4b4}

#tier1-home .fd-shortcuts{display:none}

#tier1-home .fd-future{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.15fr);gap:8px 28px;align-items:center;padding:22px;margin-bottom:16px}
#tier1-home .fd-future-copy{grid-column:1;grid-row:1 / span 4;min-width:0}
#tier1-home .fd-future h2{font:700 26px/1.15 Georgia,serif;margin:0 0 8px;color:#172430}
#tier1-home .fd-future-q{margin:0 0 8px;color:#3d4f5c;font-size:15px}
#tier1-home .fd-future-assumptions{margin:0;color:#5d6e79;font-size:14px}
#tier1-home .fd-future-value{font:700 clamp(36px,4vw,48px)/1 Georgia,serif;color:#0c7f72;letter-spacing:-.03em;margin:8px 0}
#tier1-home .fd-future-note{margin:0 0 12px;color:#667781;font-size:13px}
#tier1-home .fd-assumptions-title{margin:8px 0 6px;font:700 14px 'Space Grotesk',sans-serif;color:#1c2b36}
#tier1-home .fd-future .foundation-slider-label{font-size:12px}
#tier1-home .fd-future-chart{grid-column:2;grid-row:1;min-width:0}
#tier1-home .fd-future .savings-chart-wrap{grid-column:auto;height:220px}
#tier1-home .fd-axis{display:flex;justify-content:space-between;color:#7b8b95;font-size:12px;margin-top:4px}
#tier1-home .fd-range{grid-column:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#tier1-home .fd-future .foundation-scenario{padding:8px}
#tier1-home .fd-future .foundation-scenario-value{font-size:16px;margin:4px 0}
#tier1-home .fd-future .foundation-inflation-note,#tier1-home .fd-future .foundation-disclaimer{grid-column:1 / -1}

#tier1-home .fd-bottom{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
#tier1-home .fd-bottom .card{margin:0}
#tier1-home .fd-bottom h2{font:700 20px/1.2 Georgia,serif;margin:0 0 6px}
#tier1-home .fd-topics{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
#tier1-home .fd-topic{padding:6px 10px;border-radius:999px;border:1px solid #d5e0e6;background:#f4f7f8;color:#1d3140;font:600 12px 'Space Grotesk',sans-serif;cursor:pointer}
#tier1-home .fd-text-link{padding:0;border:0;background:none;color:#0c7f72;font:700 14px 'Space Grotesk',sans-serif;cursor:pointer}
#tier1-home .fd-text-link:hover{text-decoration:underline}
#tier1-home .fd-fine{margin:8px 0 0;color:#6b7c86;font-size:12px;line-height:1.45}
#tier1-home .fd-challenge-q{margin:0 0 8px;font-size:15px;color:#1c2b36}

#tier1-home .fd-saved,#tier1-home .fd-convo{margin-bottom:12px}
#tier1-home .fd-saved h2,#tier1-home .fd-convo h2{font:700 18px/1.2 Georgia,serif;margin:0 0 4px}
#tier1-home #fd-continue-q{margin:0 0 6px;font-weight:600;color:#1c2b36}

#tier1-home .foundation-tier-card{background:#fff!important;border:1px solid #e3eaee!important;color:#172430!important;border-radius:18px;padding:18px;margin-bottom:16px}
#tier1-home .foundation-tier-card h2{color:#172430!important;font:700 20px/1.2 Georgia,serif}
#tier1-home .foundation-tier-card p{color:#5d6e79!important}
#tier1-home .foundation-tier-card .foundation-kicker{color:#0c7f72}
#tier1-home #fd-next-plan{display:inline-flex;margin:4px 0 8px;color:#0c7f72;font:700 15px 'Space Grotesk',sans-serif;background:none;border:0;padding:0;cursor:pointer}
#tier1-home .foundation-tier-card .foundation-actions{flex-wrap:wrap}
#tier1-home .foundation-tier-card .foundation-btn{flex:0 1 auto}

#tier1-home .fd-library{margin:8px 0 16px;border:1px solid #e3eaee;border-radius:18px;background:#fff;padding:8px 16px 16px}
#tier1-home .fd-library > summary{cursor:pointer;font:700 18px Georgia,serif;padding:10px 0;color:#172430}
#tier1-home .fd-library[open] > summary{margin-bottom:8px}
#tier1-home .fd-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.fd-tabbar{display:none}

#tier1-home .fd-continue h2 .fd-mob{display:none}

@media(max-width:760px){
  body.fd-foundations .foundation-nav{display:none}
  body.fd-foundations .content{padding-bottom:84px}
  body.fd-foundations .fd-tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;background:#fff;border-top:1px solid #e1e8ec;padding:6px 4px calc(6px + env(safe-area-inset-bottom));justify-content:space-around;gap:2px}
  body.visitor .fd-tabbar{display:none}
  body.visitor.fd-foundations .content{padding-bottom:36px}
  .fd-tabbar button{flex:1;min-width:0;border:0;background:transparent;color:#5c6c76;font:600 11px/1.2 'Space Grotesk',sans-serif;padding:6px 2px;cursor:pointer}
  .fd-tabbar button.active{color:#0c7f72}

  #tier1-home{display:flex;flex-direction:column}
  #tier1-home > *{order:30}
  #tier1-home .fd-top,#tier1-home .fd-side{display:contents}
  #tier1-home .fd-hero{order:1}
  #tier1-home #trial-banner{order:2}
  #tier1-home .fd-mob-title{display:none}
  #tier1-home .fd-hero h1{font-size:30px}
  #tier1-home .fd-mob-title{order:2}
  #tier1-home .fd-ask{order:3;border-radius:18px;padding:18px 16px}
  #tier1-home .fd-ask-form input{font-size:14px;padding:0 14px;height:48px}
  #tier1-home .fd-ask-form button{height:44px;padding:0 14px;font-size:14px}
  #tier1-home .fd-ask h2{font-size:22px}
  #tier1-home .fd-q-desk{display:none}
  #tier1-home .fd-q-mob{display:inline}
  #tier1-home .fd-prompts-desk{display:none}
  #tier1-home .fd-prompts-mob{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
  #tier1-home .fd-prompts-mob .fd-prompt{min-height:0;background:transparent;padding:4px 2px;font-size:15px;text-align:left}
  #tier1-home .fd-saved{order:4}
  #tier1-home .fd-tools{order:5;grid-template-columns:1fr 1fr}
  #tier1-home .fd-continue{order:6}
  #tier1-home .fd-bottom{display:block !important;order:7}
  #tier1-home #fd-markets{display:none !important}
  #tier1-home #fd-challenge{display:block;order:7}
  #tier1-home .fd-future{order:8;grid-template-columns:1fr;padding:16px}
  #tier1-home .fd-future-copy,#tier1-home .fd-future-chart,#tier1-home .fd-range,#tier1-home .fd-future .foundation-inflation-note,#tier1-home .fd-future .foundation-disclaimer{grid-column:1;grid-row:auto}
  #tier1-home .fd-goals{order:7}
  #tier1-home .fd-bottom{order:8;grid-template-columns:1fr}
  #tier1-home .fd-week{order:9}
  #tier1-home .fd-saved,#tier1-home .fd-convo,#tier1-home .foundation-tier-card{order:10}
  #tier1-home .fd-library{order:11}
  #tier1-home .fd-continue h2 .fd-desk{display:none}
  #tier1-home .fd-continue h2 .fd-mob{display:inline}
}

@media(min-width:761px){
  #tier1-home .fd-shortcuts{display:none}
}
