/* ChefScribe homepage v2 — intentionally scoped to the homepage only. */
body.home .chefscribe-main { padding-top: 0; }
.cs2-page {
  --cs2-ink: #202b42;
  --cs2-muted: #647089;
  --cs2-blue: #4c6fff;
  --cs2-purple: #7653e8;
  --cs2-pink: #e64da6;
  --cs2-line: #e4e7f7;
  --cs2-gradient: linear-gradient(105deg,var(--cs2-blue),var(--cs2-purple) 55%,var(--cs2-pink));
  padding: 30px 0 72px;
  color: var(--cs2-ink);
  background: radial-gradient(circle at 5% 2%,rgba(76,111,255,.11),transparent 36rem),
    radial-gradient(circle at 95% 8%,rgba(230,77,166,.08),transparent 38rem),
    #fbfcff;
  font-family: var(--font-family,Inter,Arial,sans-serif);
}
.cs2-page * { box-sizing: border-box; }
.cs2-page .cs2-shell { width: min(1200px,calc(100% - 48px)); margin: 0 auto; }
.cs2-page h1,.cs2-page h2,.cs2-page h3,.cs2-page p { margin: 0; }
.cs2-page h1,.cs2-page h2,.cs2-page h3 {
  color: var(--cs2-ink);
  font-family: var(--heading-family,Inter,Arial,sans-serif);
  font-weight: 800;
  letter-spacing: -.045em;
}
.cs2-page a { text-decoration: none; }
.cs2-page a:focus-visible,.cs2-page button:focus-visible,.cs2-page summary:focus-visible {
  outline: 3px solid var(--cs2-blue);
  outline-offset: 3px;
}
.cs2-page em {
  font-style: normal;
  background: var(--cs2-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.cs2-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.04fr);
  align-items: center;
  gap: clamp(24px,4vw,56px);
  min-height: 555px;
  padding: clamp(26px,4vw,50px);
  border: 1px solid var(--cs2-line);
  border-radius: 30px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 58px rgba(44,59,120,.06);
}
.cs2-eyebrow,.cs2-label {
  color: #6756ca;
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cs2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .8rem;
  border: 1px solid #e4e1ff;
  border-radius: 999px;
  background: #faf9ff;
}
.cs2-page h1 {
  max-width: 13ch;
  margin-top: 20px;
  font-size: clamp(2.3rem,4vw,4.2rem);
  line-height: 1.09;
}
.cs2-lead {
  max-width: 57ch;
  margin-top: 20px !important;
  color: var(--cs2-muted);
  font-size: clamp(1rem,1.25vw,1.13rem);
  line-height: 1.65;
}
.cs2-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.cs2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .94rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .18s ease,box-shadow .18s ease;
}
.cs2-button:hover { transform: translateY(-2px); }
.cs2-button-primary {
  color: #fff !important;
  background: var(--cs2-gradient);
  box-shadow: 0 12px 26px rgba(76,111,255,.18);
}
.cs2-button-light {
  color: #4e58a1 !important;
  background: #fff;
  border-color: #dfe2f5;
  box-shadow: 0 7px 18px rgba(44,59,120,.04);
}
.cs2-hero-note {
  margin-top: 20px !important;
  color: var(--cs2-muted);
  font-size: .76rem;
  line-height: 1.6;
}
.cs2-hero-note span { margin: 0 .35rem; color: #9da8be; }
.cs2-hero-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce1f4;
  border-radius: 20px;
  background: #f5f6fc;
  box-shadow: 0 22px 38px rgba(33,44,93,.12);
}
.cs2-browser-top {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 12px;
  background: #fff;
}
.cs2-browser-top span { width: 7px; height: 7px; border-radius: 50%; background: #d9d8f1; }
.cs2-browser-top span:nth-child(1){background:#ffcce4}
.cs2-browser-top span:nth-child(2){background:#ffe2b9}
.cs2-browser-top span:nth-child(3){background:#cfedde}
.cs2-browser-top small { margin: 0 auto; color: #8490a4; font-size: .65rem; }
.cs2-hero-visual > img {
  display: block;
  width: 100%;
  height: clamp(360px,35vw,470px);
  object-fit: cover;
  object-position: right center;
}
.cs2-hero-sticker {
  position: absolute;
  right: 12px;
  bottom: 13px;
  padding: .55rem .8rem;
  border: 1px solid #dce2ef;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(44,59,120,.14);
  color: #28674f;
  font-size: .72rem;
  font-weight: 850;
}
.cs2-section {
  margin-top: 22px !important;
  padding: clamp(24px,3vw,38px);
  border: 1px solid var(--cs2-line);
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(44,59,120,.04);
}
.cs2-section-heading { margin-bottom: 24px; }
.cs2-section-heading h2,.cs2-details h2,.cs2-final h2 {
  margin-top: 8px;
  font-size: clamp(1.65rem,2.5vw,2.5rem);
  line-height: 1.17;
}
.cs2-section-heading > p:last-child,.cs2-section-heading > div > p:last-child {
  margin-top: 8px;
  color: var(--cs2-muted);
  line-height: 1.5;
}
.cs2-demo-flow { display: grid; grid-template-columns: minmax(0,1fr) 42px minmax(0,1fr); gap: 12px; align-items: center; }
.cs2-demo-video,.cs2-demo-result {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--cs2-line);
  border-radius: 18px;
  background: #fbfbff;
}
.cs2-demo-tag {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  padding: .4rem .65rem;
  border-radius: 999px;
  background: #fff;
  color: #6756ca;
  font-size: .7rem;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(44,59,120,.08);
}
.cs2-demo-play { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #eee; cursor: pointer; }
.cs2-demo-play > img { display: block; width: 100%; height: 250px; object-fit: cover; }
.cs2-demo-play > span {
  position: absolute; top: 50%; left: 50%; display: grid; place-items: center;
  width: 56px; height: 56px; transform: translate(-50%,-50%);
  border-radius: 50%; background: #fff; color: var(--cs2-blue);
  box-shadow: 0 9px 22px rgba(32,43,66,.2);
}
.cs2-demo-video iframe { display: block; width: 100%; height: 250px; border: 0; }
.cs2-demo-arrow { color: var(--cs2-purple); font-size: 2rem; text-align: center; }
.cs2-demo-result { display: grid; grid-template-columns: 43% 1fr; align-items: center; min-height: 250px; }
.cs2-demo-result > img { width: 100%; height: 250px; object-fit: cover; }
.cs2-demo-result > div { padding: 34px 17px 16px; }
.cs2-demo-result strong { font-size: 1rem; }
.cs2-demo-result p { margin: 10px 0 !important; color: var(--cs2-muted); font-size: .82rem; line-height: 1.5; }
.cs2-demo-result a,.cs2-text-link { color: #6052bf; font-size: .83rem; font-weight: 850; }
.cs2-platform-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.cs2-platform-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--cs2-line);
  border-radius: 18px;
  background: #f8faff;
}
.cs2-platform-heading { display: flex; align-items: center; gap: 11px; padding: 16px; background: #fff; }
.cs2-platform-heading h3 { font-size: 1rem; letter-spacing: -.025em; }
.cs2-platform-heading p { margin-top: 3px; color: var(--cs2-muted); font-size: .75rem; line-height: 1.35; }
.cs2-platform-heading a { display: inline-block; margin-top: 5px; color: #6052bf; font-size: .72rem; font-weight: 800; }
.cs2-platform-symbol {
  display: grid; place-items: center; flex: 0 0 38px; height: 38px;
  border-radius: 11px; color: #fff; background: var(--cs2-gradient); font-size: 1.2rem;
}
.cs2-symbol-blue { background: #edf2ff; color: #4866eb; }
.cs2-symbol-pink { background: #fff0f8; color: #d64aa2; }
.cs2-platform-shot { height: 225px; overflow: hidden; border-top: 1px solid var(--cs2-line); }
.cs2-platform-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs2-shot-extension img { object-position: right center; }
.cs2-shot-library img { object-position: left center; }
.cs2-soon-stage { display: grid; place-items: center; height: 225px; padding: 14px; background: linear-gradient(135deg,#eef3ff,#fff0fa); }
.cs2-soon-phone {
  display: grid; place-items: center; width: 105px; height: 174px;
  border: 6px solid #263048; border-radius: 21px; background: #fff;
  box-shadow: 0 16px 23px rgba(32,43,66,.14);
}
.cs2-soon-phone img { width: 64px; height: 64px; border-radius: 13px; }
.cs2-soon-stage > span {
  margin-top: -20px; padding: .4rem .9rem; border: 1px solid #dcd7ff;
  border-radius: 999px; background: #fff; color: #6551c4; font-size: .72rem; font-weight: 850;
}
.cs2-benefit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.cs2-benefit { padding: 20px; border: 1px solid var(--cs2-line); border-radius: 16px; background: #fff; }
.cs2-benefit > span {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 13px;
  border-radius: 12px; background: #edf3ff; color: #4367ef; font-size: 1.4rem;
}
.cs2-benefit:nth-child(2) > span { background: #fff0f8; color: #db4d9f; }
.cs2-benefit:nth-child(3) > span { background: #f0f8ff; color: #447be5; }
.cs2-benefit:nth-child(4) > span { background: #f4edff; color: #8455e0; }
.cs2-benefit h3 { font-size: .98rem; }
.cs2-benefit p { margin-top: 7px; color: var(--cs2-muted); font-size: .78rem; line-height: 1.5; }
.cs2-heading-inline { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.cs2-heading-inline .cs2-text-link { white-space: nowrap; }
.cs2-recipe-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.cs2-recipe-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--cs2-line); border-radius: 17px; background: #fff; color: var(--cs2-ink); }
.cs2-recipe-card img { width: 100%; height: 180px; object-fit: cover; transition: transform .2s ease; }
.cs2-recipe-card:hover img { transform: scale(1.025); }
.cs2-recipe-card strong { padding: 13px 14px 0; font-size: .9rem; }
.cs2-recipe-card small { padding: 4px 14px 16px; color: var(--cs2-muted); font-size: .72rem; }
.cs2-details { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; padding: 0; border: 0; background: none; box-shadow: none; }
.cs2-pricing,.cs2-faq { padding: 28px; border: 1px solid var(--cs2-line); border-radius: 24px; background: #fff; }
.cs2-pricing { background: linear-gradient(125deg,#f0f5ff,#fff0fa); }
.cs2-details h2 { font-size: clamp(1.45rem,2vw,1.9rem); }
.cs2-pricing > p:not(.cs2-label) { max-width: 40ch; margin: 13px 0 20px; color: var(--cs2-muted); line-height: 1.55; }
.cs2-faq details { margin-top: 9px; border: 1px solid var(--cs2-line); border-radius: 10px; background: #fff; }
.cs2-faq summary { display: flex; justify-content: space-between; gap: 14px; padding: 12px 14px; cursor: pointer; font-weight: 750; font-size: .82rem; list-style: none; }
.cs2-faq summary::-webkit-details-marker { display: none; }
.cs2-faq details p { padding: 0 14px 14px; color: var(--cs2-muted); font-size: .8rem; line-height: 1.5; }
.cs2-faq > .cs2-text-link { display: inline-block; margin-top: 15px; }
.cs2-final { margin-top: 22px !important; padding: 42px 24px; border: 1px solid var(--cs2-line); border-radius: 26px; background: linear-gradient(120deg,#edf3ff,#fff,#fff0fa); text-align: center; }
.cs2-final img { width: 48px; height: 48px; border-radius: 12px; }
.cs2-final h2 { max-width: 22ch; margin: 14px auto 0; }
.cs2-final p { margin-top: 8px; color: var(--cs2-muted); }
.cs2-final .cs2-actions { justify-content: center; }
.cs2-final small { display: block; margin-top: 14px; color: var(--cs2-muted); }
@media (max-width: 960px) {
  .cs2-hero { grid-template-columns: 1fr; min-height: 0; }
  .cs2-page h1 { max-width: 17ch; }
  .cs2-hero-visual > img { height: 400px; }
  .cs2-platform-grid { gap: 10px; }
  .cs2-platform-heading { align-items: flex-start; }
}
@media (max-width: 700px) {
  .cs2-page { padding: 12px 0 36px; }
  .cs2-page .cs2-shell { width: min(100% - 28px,540px); }
  .cs2-hero,.cs2-section { padding: 21px; border-radius: 21px; }
  .cs2-hero { gap: 22px; }
  .cs2-page h1 { font-size: clamp(2.1rem,8.6vw,3.1rem); }
  .cs2-eyebrow { font-size: .64rem; }
  .cs2-lead { margin-top: 15px !important; font-size: .94rem; }
  .cs2-actions { flex-direction: column; align-items: stretch; margin-top: 21px; }
  .cs2-actions .cs2-button { width: 100%; }
  .cs2-hero-note { margin-top: 13px !important; font-size: .7rem; }
  .cs2-hero-visual > img { height: 280px; }
  .cs2-section-heading h2 { font-size: 1.65rem; }
  .cs2-demo-flow { grid-template-columns: 1fr; }
  .cs2-demo-arrow { line-height: .8; transform: rotate(90deg); }
  .cs2-demo-play > img,.cs2-demo-video iframe { height: 190px; }
  .cs2-demo-result,.cs2-demo-result > img { min-height: 175px; height: 175px; }
  .cs2-platform-grid { grid-template-columns: 1fr; }
  .cs2-platform-heading { align-items: center; }
  .cs2-platform-shot { height: 190px; }
  .cs2-soon-stage { height: 150px; }
  .cs2-soon-phone { width: 80px; height: 116px; }
  .cs2-soon-phone img { width: 46px; height: 46px; }
  .cs2-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cs2-benefit { padding: 14px; }
  .cs2-heading-inline { align-items: flex-start; flex-direction: column; }
  .cs2-recipe-grid { display: flex; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .cs2-recipe-card { min-width: 76%; scroll-snap-align: start; }
  .cs2-recipe-card img { height: 160px; }
  .cs2-details { grid-template-columns: 1fr; }
  .cs2-pricing,.cs2-faq { padding: 21px; }
  .cs2-final { padding: 28px 20px; border-radius: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs2-page * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Homepage conversion refresh */
.cs2-page {
  padding-top: 22px;
  background:
    radial-gradient(circle at 4% 4%,rgba(76,111,255,.12),transparent 34rem),
    radial-gradient(circle at 96% 5%,rgba(230,77,166,.1),transparent 35rem),
    #fbfcff;
}
.cs2-hero {
  grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr);
  min-height: 570px;
  overflow: hidden;
}
.cs2-page h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem,4.55vw,4.65rem);
  line-height: 1.03;
}
.cs2-lead { max-width: 53ch; font-size: clamp(1rem,1.35vw,1.18rem); }
.cs2-hero-copy .cs2-actions { align-items: center; }
.cs2-demo-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #594ed0 !important;
  font-size: .91rem;
  font-weight: 800;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
.cs2-demo-link > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #dcd7ff;
  border-radius: 50%;
  color: #7653e8;
  background: #fff;
  text-decoration: none;
}
.cs2-hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 440px;
}
.cs2-hero-transform {
  display: block;
  width: min(112%,760px);
  max-width: none;
  height: auto;
  margin: -3% -7% -5%;
  filter: drop-shadow(0 24px 30px rgba(37,48,96,.13));
}

.cs2-proof {
  display: grid;
  grid-template-columns: minmax(260px,1.25fr) minmax(0,1.75fr);
  gap: 28px;
  align-items: center;
  margin-top: 22px !important;
  padding: 25px 30px;
  border: 1px solid var(--cs2-line);
  border-radius: 24px;
  background: linear-gradient(110deg,#f4f7ff,#fff,#fff2fa);
  box-shadow: 0 12px 32px rgba(44,59,120,.04);
}
.cs2-proof h2 {
  margin-top: 7px;
  color: var(--cs2-ink);
  font-size: clamp(1.45rem,2.25vw,2.15rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}
.cs2-proof-items { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
.cs2-proof-items > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  min-width: 0;
  padding: 5px 18px;
  border-left: 1px solid var(--cs2-line);
}
.cs2-proof-items span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #5d58d5;
  background: #eeebff;
  font-weight: 900;
}
.cs2-proof-items strong { color: var(--cs2-ink); font-size: .8rem; line-height: 1.25; }
.cs2-proof-items small { margin-top: 4px; color: var(--cs2-muted); font-size: .69rem; line-height: 1.35; }

.cs2-outcome-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.cs2-outcome {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 14px;
  min-height: 145px;
  padding: 22px;
  border: 1px solid var(--cs2-line);
  border-radius: 18px;
  background: linear-gradient(145deg,#fff,#fafbff);
}
.cs2-outcome-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #506cf0;
  background: #edf2ff;
}
.cs2-outcome:nth-child(2) .cs2-outcome-icon { color: #d64a9e; background: #fff0f8; }
.cs2-outcome:nth-child(3) .cs2-outcome-icon { color: #7653e8; background: #f2edff; }
.cs2-outcome h3 { font-size: 1rem; line-height: 1.25; letter-spacing: -.025em; }
.cs2-outcome p { margin-top: 7px; color: var(--cs2-muted); font-size: .8rem; line-height: 1.5; }

.cs2-recipe-card .cs2-recipe-copy {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 12px;
  padding: 13px 14px 15px;
}
.cs2-recipe-card .cs2-recipe-copy strong { grid-column: 1 / 3; padding: 0; }
.cs2-recipe-card .cs2-recipe-copy small { padding: 0; }
.cs2-recipe-card .cs2-recipe-copy b { padding: 0 4px; color: #b1b8ca; }
.cs2-recipe-card .cs2-recipe-copy em {
  align-self: center;
  font-size: .72rem;
  font-weight: 850;
  white-space: nowrap;
}

.cs2-details { margin-top: 22px !important; }
.cs2-pricing h2 { max-width: 20ch; }
.cs2-plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 22px 0 12px; }
.cs2-plan {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--cs2-line);
  border-radius: 12px;
  background: rgba(255,255,255,.86);
}
.cs2-plan-selected { border: 2px solid #5c70ee; padding: 12px; }
.cs2-plan strong { color: var(--cs2-ink); font-size: .78rem; }
.cs2-plan span { color: var(--cs2-muted); font-size: .68rem; line-height: 1.3; }
.cs2-plan em { font-weight: 800; }
.cs2-pricing-button { width: 100%; }
.cs2-pricing > small { display: block; margin-top: 9px; color: var(--cs2-muted); font-size: .68rem; text-align: center; }

@media (max-width: 960px) {
  .cs2-hero { grid-template-columns: 1fr; }
  .cs2-page h1 { max-width: 15ch; }
  .cs2-proof { grid-template-columns: 1fr; }
  .cs2-proof-items > div:first-child { border-left: 0; }
}
@media (max-width: 700px) {
  .cs2-hero { padding: 26px 21px; text-align: center; }
  .cs2-hero-copy .cs2-actions { align-items: stretch; }
  .cs2-demo-link { justify-content: center; min-height: 46px; }
  .cs2-hero-note span:nth-of-type(2),.cs2-hero-note span:nth-of-type(2) + * { display: none; }
  .cs2-hero-stage { min-height: 0; padding-top: 2px; }
  .cs2-hero-transform { width: 112%; margin: -3% -6% -8%; }
  .cs2-proof { padding: 22px; }
  .cs2-proof-items { grid-template-columns: 1fr; gap: 12px; }
  .cs2-proof-items > div { border-left: 0; padding: 4px 0; }
  .cs2-outcome-grid { grid-template-columns: 1fr; }
  .cs2-outcome { min-height: 0; padding: 17px; }
  .cs2-plans { grid-template-columns: 1fr; }
  .cs2-recipe-card .cs2-recipe-copy { grid-template-columns: 1fr; }
  .cs2-recipe-card .cs2-recipe-copy strong { grid-column: 1; }
}

/* Clear plan allowances without changing the existing responsive grid. */
.cs2-plan small { color: var(--cs2-ink); font-size: .75rem; line-height: 1.45; }
.cs2-pricing > .cs2-plan-note { font-size: .85rem; max-width: none; }
