
:root {
  --green: #123b2d;
  --green2: #245c43;
  --leaf: #8ba968;
  --lime: #dce9b7;
  --cream: #f5f5ec;
  --white: #fffefa;
  --ink: #18372c;
  --muted: #78867d;
  --line: #e7e9df;
  --gold: #d6a64e;
  --shadow: 0 18px 50px rgba(20, 54, 39, .09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  min-height: 100vh;
}
button, input { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }

.top-line { height: 5px; background: linear-gradient(90deg, #123b2d, #8ba968, #e0c57e); }

.header {
  height: 78px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0e8;
  background: rgba(255,254,250,.96);
  position: relative;
  z-index: 5;
}
.logo, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1px;
}
.logo > span:last-child > span, .footer-brand > span:last-child { color: var(--leaf); }
.logo-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--green);
  color: var(--lime);
  font-size: 25px;
}
.header-right { display: flex; align-items: center; gap: 20px; }
.header-caption { color: #8a968c; font-size: 9px; font-weight: 800; letter-spacing: 1.6px; }
.logout-button {
  border: 1px solid var(--line); background: white; color: var(--green);
  padding: 10px 14px; border-radius: 6px; font-size: 11px; font-weight: 700;
}

.screen { animation: appear .45s ease both; }
@keyframes appear {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.welcome-screen {
  min-height: 640px;
  background: var(--cream);
  padding: 75px 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 7%;
  overflow: hidden;
}
.welcome-copy { max-width: 550px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #7b945b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}
.eyebrow > span { width: 7px; height: 7px; background: #a6bd78; border-radius: 50%; }
.welcome-copy h1, .flow-heading h1, .summary-heading h1, .finish-screen h1 {
  color: var(--green);
  font-family: "Playfair Display", serif;
  font-size: clamp(43px, 5.3vw, 69px);
  line-height: 1.06;
  letter-spacing: -2px;
  margin: 23px 0 20px;
}
.welcome-copy h1 em, .flow-heading h1 em, .summary-heading h1 em, .finish-screen h1 em { color: #91a96d; }
.welcome-copy > p {
  max-width: 450px;
  color: #6f7e73;
  font-size: 14px;
  line-height: 1.9;
}
.welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  min-height: 49px;
  border-radius: 6px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 12px;
  font-weight: 800;
  transition: .22s ease;
}
.button-primary { border: 1px solid var(--green); background: var(--green); color: white; }
.button-primary span { color: var(--lime); font-size: 17px; }
.button-primary:hover { background: #285c43; transform: translateY(-2px); box-shadow: 0 8px 18px #123b2d20; }
.button-outline { background: transparent; border: 1px solid #cbd4c6; color: var(--green); }
.button-outline:hover { background: white; border-color: var(--leaf); }
.button-full { width: 100%; }
.welcome-footnote { margin-top: 45px; color: #89968a; font-size: 10px; letter-spacing: .4px; }
.welcome-footnote span { color: var(--gold); margin-right: 7px; }

.welcome-art { position: relative; min-height: 450px; display: grid; place-items: center; }
.welcome-art > img {
  width: 82%; height: 420px; object-fit: cover; border-radius: 180px 180px 12px 12px;
  position: relative; z-index: 1; box-shadow: var(--shadow);
}
.art-backdrop {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: #e2e9c8; top: 0; right: 0;
}
.art-label {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: white; padding: 12px 17px; border-radius: 9px; box-shadow: var(--shadow);
}
.art-label > span { font-size: 25px; }
.art-label b, .art-label small { display: block; }
.art-label b { color: var(--green); font-size: 11px; }
.art-label small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.label-one { top: 65px; left: -2%; }
.label-two { right: -3%; bottom: 60px; }

.auth-screen {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
}
.auth-decoration {
  background: var(--green);
  color: white;
  padding: 65px 12%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}
.auth-leaf { color: var(--lime); font-size: 38px; }
.auth-decoration h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 20px 0 12px;
}
.auth-decoration p { color: #c2d0c4; font-size: 13px; line-height: 1.8; }
.auth-mini-image { width: 100%; max-width: 370px; height: 175px; margin-top: 28px; border-radius: 9px; overflow: hidden; }
.auth-mini-image img { width: 100%; height: 100%; object-fit: cover; }
.auth-panel {
  width: 100%; max-width: 490px; margin: auto; padding: 50px 55px;
}
.back-link {
  border: 0; background: none; color: #728176; font-size: 11px;
  font-weight: 700; padding: 8px 0; margin-bottom: 27px;
}
.back-link:hover { color: var(--green); }
.auth-panel h2 {
  font-family: "Playfair Display", serif;
  color: var(--green); font-size: 42px; margin-top: 17px;
}
.auth-subtitle { color: var(--muted); font-size: 12px; margin: 8px 0 27px; }
.auth-panel form { display: flex; flex-direction: column; }
.auth-panel label { color: #42584b; font-size: 11px; font-weight: 800; margin: 15px 0 8px; }
.auth-panel input {
  height: 46px; border: 1px solid #dfe5da; border-radius: 6px;
  background: white; padding: 0 13px; outline: 0; font-size: 12px; color: var(--ink);
}
.auth-panel input:focus { border-color: #8ba968; box-shadow: 0 0 0 3px #8ba96820; }
.auth-panel form .button { margin-top: 20px; }
.form-message { min-height: 17px; margin-top: 9px; color: #b35c4b; font-size: 11px; }
.switch-auth { color: #7d897f; text-align: center; font-size: 11px; margin-top: 23px; }
.switch-auth button { border: 0; background: none; color: #66874c; font-weight: 800; }

.dashboard-screen, .flow-screen, .options-screen, .summary-screen {
  max-width: 1180px; margin: auto; padding: 65px 6% 90px;
}
.dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 35px; }
.dashboard-heading h1 {
  font-family: "Playfair Display", serif; font-size: clamp(35px, 4vw, 48px);
  color: var(--green); margin: 13px 0 8px;
}
.dashboard-heading h1 span { color: #8ca96a; }
.dashboard-heading p { color: var(--muted); font-size: 13px; }
.date-card { display: flex; align-items: center; gap: 11px; background: var(--cream); padding: 14px 18px; border-radius: 8px; }
.date-card > span { font-size: 24px; color: #8ba968; }
.date-card b, .date-card small { display: block; }
.date-card b { font-size: 9px; letter-spacing: 1px; color: var(--green); }
.date-card small { font-size: 10px; color: var(--muted); margin-top: 4px; }

.meal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.meal-card {
  min-width: 0; height: 390px; position: relative; border: 0;
  border-radius: 10px; overflow: hidden; text-align: left;
  background: var(--green); color: white; isolation: isolate;
  box-shadow: 0 12px 30px #163c2c12; transition: .3s;
}
.meal-card:hover { transform: translateY(-7px); box-shadow: 0 20px 40px #163c2c20; }
.meal-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #071b1280 0%, transparent 35%, #071b12df 100%);
}
.meal-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; z-index: -1; }
.meal-card:hover img { transform: scale(1.06); }
.meal-number { position: absolute; top: 22px; left: 22px; font-size: 9px; letter-spacing: 1.8px; font-weight: 800; }
.meal-info { position: absolute; bottom: 23px; left: 23px; right: 18px; }
.meal-info b { display: block; font-family: "Playfair Display", serif; font-size: 30px; }
.meal-info small { display: block; color: #e1e9df; font-size: 10px; margin-top: 5px; }
.meal-info i { display: inline-block; margin-top: 20px; color: var(--lime); font-style: normal; font-size: 10px; font-weight: 800; }
.dashboard-tip { margin-top: 28px; color: #859187; font-size: 11px; }
.dashboard-tip span { color: #9ab576; margin-right: 8px; }

.flow-screen > .back-link, .options-screen > .back-link, .summary-screen > .back-link { margin-bottom: 22px; }
.flow-heading { text-align: center; max-width: 680px; margin: 15px auto 28px; }
.flow-heading h1 { font-size: clamp(36px, 4vw, 51px); margin: 17px 0 12px; }
.flow-heading p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.progress-track { height: 5px; background: #edf0e8; max-width: 720px; margin: 0 auto 32px; border-radius: 10px; overflow: hidden; }
.progress-fill { display: block; width: 0; height: 100%; background: #90a96d; transition: width .3s; }
.category-choice-grid { max-width: 850px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.choice-card {
  display: grid; grid-template-columns: 42% 1fr; min-height: 220px;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: white; text-align: left; transition: .25s;
}
.choice-card:hover { border-color: #a7bb89; transform: translateY(-5px); box-shadow: var(--shadow); }
.choice-image { overflow: hidden; min-height: 100%; }
.choice-image img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.choice-card:hover img { transform: scale(1.06); }
.choice-text { padding: 24px 17px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.choice-text > span { color: #91a66f; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.choice-text b { color: var(--green); font-family: "Playfair Display", serif; font-size: 24px; margin-top: 12px; }
.choice-text small { color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 7px; }
.choice-text i { color: #779451; font-size: 10px; font-style: normal; font-weight: 800; margin-top: 18px; }
.selection-progress {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 30px;
  margin: 33px auto 20px; color: #78867d; font-size: 11px;
}
.selection-progress > div { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 9px; height: 9px; background: #d7ddd2; border-radius: 50%; }
.status-dot.done { background: #81a45d; box-shadow: 0 0 0 4px #81a45d20; }
.selection-progress b { color: var(--green); }
.summary-button { display: flex; margin: 20px auto 0; }
.summary-button:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

.options-toolbar {
  max-width: 1000px; margin: 25px auto 15px; display: flex;
  justify-content: space-between; color: #8a978c; font-size: 9px;
  letter-spacing: 1.3px; font-weight: 800;
}
.options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.option-card {
  background: white; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; transition: .25s; box-shadow: 0 5px 20px #153c2b08;
}
.option-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #b8c9a0; }
.option-visual { height: 150px; display: grid; place-items: center; background: #f0f3e9; position: relative; }
.option-emoji { font-size: 65px; filter: drop-shadow(0 8px 8px #233b2810); }
.option-number { position: absolute; top: 13px; left: 15px; color: #84927f; font-size: 9px; letter-spacing: 1px; font-weight: 800; }
.option-info { padding: 18px; }
.option-info > span { color: #8ba36c; font-size: 9px; letter-spacing: 1px; font-weight: 800; text-transform: uppercase; }
.option-info h3 { font-family: "Playfair Display", serif; font-size: 22px; color: var(--green); margin: 7px 0; }
.option-info p { color: var(--muted); font-size: 11px; line-height: 1.65; min-height: 37px; }
.option-info button {
  width: 100%; margin-top: 16px; padding: 12px; border: 0; border-radius: 5px;
  background: var(--green); color: white; font-size: 10px; font-weight: 800; transition: .2s;
}
.option-info button:hover { background: #2d6248; }
.option-info button span { color: var(--lime); margin-left: 8px; }

.summary-heading { text-align: center; margin: 20px auto 35px; }
.summary-heading h1 { font-size: clamp(37px, 4vw, 53px); }
.summary-heading p { color: var(--muted); font-size: 12px; }
.summary-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.summary-card { background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 8px 30px #193b2b08; }
.summary-card-top { padding: 20px 23px; background: var(--cream); display: flex; align-items: center; gap: 13px; }
.summary-card-top > span { font-size: 32px; }
.summary-card-top small { display: block; color: #8a9a83; font-size: 8px; letter-spacing: 1.5px; font-weight: 800; }
.summary-card-top h3 { color: var(--green); font-family: "Playfair Display", serif; font-size: 22px; margin-top: 3px; }
.summary-card-body { padding: 22px; }
.summary-card-body > p { color: #718077; font-size: 11px; line-height: 1.8; }
.summary-card-body h4 { color: var(--green); font-size: 11px; margin: 17px 0 9px; }
.benefit-list { list-style: none; display: grid; gap: 8px; }
.benefit-list li { color: #69796e; font-size: 11px; line-height: 1.6; padding-left: 17px; position: relative; }
.benefit-list li::before { content: "✓"; color: #85a35e; position: absolute; left: 0; font-weight: 800; }
.vitamin-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.vitamin-tags span { background: #eff4e8; color: #607b4d; border-radius: 20px; padding: 7px 10px; font-size: 9px; font-weight: 700; }
.recommendation { padding: 12px; background: #faf8ef; border-radius: 6px; color: #78816f; font-size: 10px; line-height: 1.7; }
.summary-note { max-width: 850px; margin: 25px auto; padding: 16px 19px; display: flex; gap: 12px; background: #f3f5ec; border-radius: 7px; }
.summary-note > span { color: #9bb575; }
.summary-note p { color: #738072; font-size: 10px; line-height: 1.8; }
.summary-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.finish-screen {
  min-height: 550px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 70px 7%; background: var(--cream);
}
.finish-symbol {
  width: 74px; height: 74px; display: grid; place-items: center;
  border-radius: 50%; background: var(--green); color: var(--lime);
  font-size: 34px; margin-bottom: 25px; box-shadow: 0 0 0 10px #e4ebd5;
}
.finish-screen h1 { font-size: clamp(40px, 5vw, 61px); }
.finish-screen > p { max-width: 530px; color: #718077; font-size: 13px; line-height: 1.9; }
.finish-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }

.footer { background: var(--green); color: white; padding: 35px 8% 18px; }
.footer-brand { color: white; font-size: 17px; }
.footer-brand .logo-mark { background: #2c5540; }
.footer > p { color: #c0cec1; font-size: 10px; margin-top: 12px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 15px;
  border-top: 1px solid #ffffff22; margin-top: 28px; padding-top: 17px;
  color: #a9bcae; font-size: 9px;
}
.toast {
  position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 20px);
  background: var(--green); color: white; padding: 13px 20px; border-radius: 7px;
  box-shadow: var(--shadow); font-size: 11px; opacity: 0; pointer-events: none;
  transition: .25s; z-index: 20; text-align: center; max-width: 90%;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 850px) {
  .header { padding: 0 5%; }
  .welcome-screen { padding: 65px 7%; }
  .welcome-art > img { height: 360px; }
  .meal-card { height: 330px; }
  .meal-info b { font-size: 25px; }
  .dashboard-screen, .flow-screen, .options-screen, .summary-screen { padding-left: 5%; padding-right: 5%; }
  .option-visual { height: 130px; }
}
@media (max-width: 650px) {
  .header { height: 68px; }
  .header-caption { display: none; }
  .logo { font-size: 18px; }
  .welcome-screen { grid-template-columns: 1fr; padding: 55px 7% 65px; gap: 35px; }
  .welcome-copy h1 { font-size: 53px; }
  .welcome-art { min-height: 330px; }
  .welcome-art > img { width: 78%; height: 320px; }
  .label-one { left: -1%; top: 30px; }
  .label-two { right: -1%; bottom: 30px; }
  .auth-screen { grid-template-columns: 1fr; }
  .auth-decoration { padding: 35px 8%; }
  .auth-decoration h2 { font-size: 31px; }
  .auth-mini-image { display: none; }
  .auth-panel { padding: 38px 8% 55px; }
  .auth-panel h2 { font-size: 36px; }
  .dashboard-screen, .flow-screen, .options-screen, .summary-screen { padding: 40px 6% 65px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .date-card { align-self: stretch; }
  .meal-grid { grid-template-columns: 1fr; }
  .meal-card { height: 300px; }
  .category-choice-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 175px; }
  .choice-image { min-height: 175px; }
  .flow-heading h1 { font-size: 37px; }
  .options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .option-visual { height: 110px; }
  .option-emoji { font-size: 48px; }
  .option-info { padding: 12px; }
  .option-info h3 { font-size: 18px; }
  .option-info p { font-size: 10px; }
  .option-info button { font-size: 9px; padding: 10px 5px; }
  .summary-cards { grid-template-columns: 1fr; }
  .summary-card-top { padding: 16px; }
  .summary-card-body { padding: 17px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 370px) {
  .options-grid { grid-template-columns: 1fr; }
  .option-visual { height: 150px; }
}
.creadores {
    padding: 65px 20px;
    text-align: center;
    background: #f1f7ef;
}

.creadores h2 {
    color: #245b3d;
    font-size: 30px;
    margin-bottom: 10px;
}

.creadores p {
    color: #647568;
    margin-bottom: 30px;
}

.creadores-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.creador-card {
    background: white;
    padding: 30px;
    width: 220px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.creador-card:hover {
    transform: translateY(-7px);
}

.creador-icono {
    font-size: 48px;
    margin-bottom: 12px;
}

.creador-card h3 {
    color: #245b3d;
    font-size: 19px;
}