/* CloudPastry landing 2026-10-10 — owner-approved redesign (marketing/app-redesign-20261010).
   One type family (Cairo 400/600/700), one button system, no gradients, no heavy shadows. */
:root{
  --ground:#F7F4F0; --surface:#FFFFFF; --ink:#1F1C1B; --muted:#5F5A57; --line:#E8E2DB; --soft:#F1EEEA;
  --red:#C8102E; --red-press:#9E0C24; --red-tint:#FBE9EC; --grey:#464A52;
  --btn-h:48px; --btn-r:14px; --btn-h-sm:44px; --btn-r-sm:12px; --btn-fs:15px;
  --wrap:1200px; --gutter:24px;
  color-scheme: light;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;background:var(--ground);color:var(--ink);font-family:Cairo,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.6;font-weight:400;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:var(--red)} a:hover{color:var(--red-press)}
h1,h2,h3{margin:0;font-weight:700}
p{margin:0}
:focus-visible{outline:3px solid var(--red);outline-offset:2px;border-radius:6px}
.skip-link{position:absolute;inset-inline-start:12px;top:-60px;z-index:200;background:var(--ink);color:#fff;padding:10px 16px;border-radius:10px;font-weight:600;text-decoration:none}
.skip-link:focus{top:12px;color:#fff}
.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:var(--gutter)}
.red{color:var(--red)}
.anchor{position:relative;top:-16px;display:block;height:0}

/* ---------- Buttons: one system ---------- */
.cp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:var(--btn-h);padding:0 22px;border-radius:var(--btn-r);
  font-family:inherit;font-size:var(--btn-fs);font-weight:700;line-height:1;white-space:nowrap;text-decoration:none;cursor:pointer;
  border:1px solid transparent;transition:background-color .15s,border-color .15s,color .15s;flex-shrink:0;-webkit-tap-highlight-color:transparent}
.cp-btn--sm{height:var(--btn-h-sm);padding:0 18px;border-radius:var(--btn-r-sm);font-size:14px}
.cp-btn--red{background:var(--red);color:#fff}
.cp-btn--red:hover,.cp-btn--red:active{background:var(--red-press);color:#fff}
.cp-btn--ghost{background:var(--surface);border-color:var(--line);color:var(--ink)}
.cp-btn--ghost:hover{border-color:var(--ink);color:var(--ink)}
.cp-btn--sm.cp-btn--ghost{font-weight:600}
.cp-btn--white{background:#fff;color:var(--ink)}
.cp-btn--white:hover{background:var(--soft);color:var(--ink)}
.cp-btn--ink{background:var(--ink);color:#fff}
.cp-btn--ink:hover{background:#000;color:#fff}
.cp-btn--block{display:flex;width:100%}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}
.btn-row>.cp-btn{min-width:168px}

/* ---------- Header ---------- */
.site-header{background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.site-header__in{display:flex;align-items:center;gap:18px;padding-block:14px;min-height:72px}
.brand{display:flex;align-items:center;flex-shrink:0}
.brand img{height:30px;width:auto}
.site-nav{display:flex;align-items:center;gap:20px;font-size:14px;font-weight:600;white-space:nowrap}
.site-nav a,.lang-link{color:var(--ink);text-decoration:none;padding:10px 0;min-height:44px;display:inline-flex;align-items:center}
.site-nav a:hover,.lang-link:hover{color:var(--red)}
.lang-link{background:none;border:0;font:inherit;font-weight:600;cursor:pointer;color:var(--muted)}
.site-header__actions{margin-inline-start:auto;display:flex;align-items:center;gap:10px}
.cp-logout{display:none}

/* ---------- Hero ---------- */
.hero{display:flex;flex-wrap:wrap;align-items:center;gap:40px;padding-top:56px;padding-bottom:88px}
.hero__text{flex:1 1 460px;display:flex;flex-direction:column;gap:18px;min-width:0}
.pill{align-self:flex-start;font-size:14px;font-weight:700;color:var(--red-press);background:var(--red-tint);padding:6px 14px;border-radius:999px;white-space:nowrap}
.hero h1{font-size:clamp(30px,4.2vw,42px);line-height:1.3}
.lead{font-size:16px;line-height:1.8;color:var(--muted);max-width:560px}
.hero__media{flex:1 1 420px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.hero__media picture{display:block;aspect-ratio:1/1;border-radius:22px;overflow:hidden;background:var(--soft)}
.hero__media picture.is-low{margin-top:40px;margin-bottom:-40px}
.hero__media img{width:100%;height:100%;object-fit:cover;display:block}

/* ---------- HACE strip ---------- */
.expo{background:var(--ink);color:#fff}
.expo__in{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding-block:22px}
.expo strong{font-size:16px;font-weight:700}
.expo__when{font-size:16px;opacity:.85}
.expo__offer{margin-inline-start:auto;font-size:15px;font-weight:700;background:var(--red);padding:8px 16px;border-radius:999px;white-space:nowrap}

/* ---------- Sections ---------- */
.section{display:flex;flex-direction:column;gap:24px;padding-top:48px;padding-bottom:24px}
#sellers{padding-top:64px;gap:28px}
.section--last{padding-bottom:64px}
.section h2{font-size:clamp(22px,2.6vw,28px);line-height:1.35}
.section__head{display:flex;flex-direction:column;gap:8px;max-width:720px}
.section__head p{font-size:16px;color:var(--muted);line-height:1.7}
.grid{display:grid;gap:16px}
.grid--features{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.grid--plans{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.card,.plan{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:22px;display:flex;flex-direction:column;gap:10px}
.card__icon{width:48px;height:48px;border-radius:14px;background:var(--red-tint);color:var(--red);display:flex;align-items:center;justify-content:center}
.card h3{font-size:17px;line-height:1.4}
.card p{font-size:15px;color:var(--muted);line-height:1.7}
.plan{gap:8px}
.plan--featured{border:2px solid var(--red);padding:21px}
.plan__name{font-size:16px;font-weight:700;line-height:1.4}
.plan__price{font-size:28px;font-weight:700;line-height:1.3;white-space:nowrap}
.plan__price .unit{font-size:15px;color:var(--muted);font-weight:600}
.plan__note{font-size:14px;color:var(--muted);line-height:1.6;flex:1}
.plan .cp-btn{margin-top:8px}
.fineprint{font-size:14px;color:var(--muted);line-height:1.7}

/* ---------- Buyers band ---------- */
.buyers{background:var(--red);color:#fff;border-radius:28px;padding:36px;display:flex;flex-wrap:wrap;align-items:center;gap:24px}
.buyers__text{flex:1 1 420px;display:flex;flex-direction:column;gap:10px;min-width:0}
.buyers h2{font-size:clamp(22px,2.6vw,26px)}
.buyers p{font-size:17px;line-height:1.7;opacity:.92}
.buyers__web{align-self:flex-start;color:#fff;font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.buyers__web:hover{color:#fff;opacity:.85}
.btn-row--stores>.cp-btn{min-width:150px}

/* ---------- Footer ---------- */
.site-footer{background:var(--surface);border-top:1px solid var(--line)}
.site-footer__in{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;padding-block:28px 12px;font-size:14px;color:var(--muted)}
.site-footer__in>img{height:22px;width:auto}
.footer__wa{color:var(--muted);text-decoration:none;min-height:44px;display:inline-flex;align-items:center;gap:6px}
.footer__wa:hover{color:var(--ink)}
.footer__num{font-weight:700;color:var(--ink)}
.footer__links{margin-inline-start:auto;display:flex;flex-wrap:wrap;gap:4px 18px}
.footer__links a{min-height:44px;display:inline-flex;align-items:center;font-weight:600}
.footer__copy{font-size:12px;color:var(--muted);padding-bottom:24px}

/* ---------- Chat launcher + dock (existing Chef Cloud widget) ---------- */
.chat-launcher{position:fixed;z-index:60;bottom:calc(16px + env(safe-area-inset-bottom));inset-inline-end:16px;height:var(--btn-h);padding:0 18px;border-radius:999px;
  display:inline-flex;align-items:center;gap:8px;background:var(--ink);color:#fff;border:0;font-family:inherit;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer;box-shadow:0 6px 18px rgba(31,28,27,.18)}
.chat-launcher:hover{background:#000}
.chat-launcher[aria-expanded="true"]{display:none}
.chat-dock{position:fixed;z-index:70;bottom:calc(16px + env(safe-area-inset-bottom));inset-inline-end:16px;width:min(400px,calc(100vw - 32px));height:min(600px,calc(100vh - 110px))}
.chat-dock[hidden]{display:none}
.chat-dock .cp-gen7-terminal{height:100%;max-width:none;margin:0;box-shadow:0 12px 32px rgba(31,28,27,.16)}
.chat-dock__close{flex-shrink:0;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;margin-inline-start:8px}
html[dir=ltr] .cp-gen7-terminal{direction:ltr}

/* Chat re-skin to the new identity (overrides the older dark/gradient theme). */
html.light .cp-gen7-terminal{background:var(--surface);border:1px solid var(--line);border-radius:22px;backdrop-filter:none}
html.light .cp-gen7-header{background:var(--surface);border-bottom:1px solid var(--line);padding:12px 14px;gap:8px}
.cp-gen7-avatar,.cp-msg-avatar{background:var(--red-tint)!important;box-shadow:none!important}
.cp-gen7-avatar img,.cp-msg-avatar img{width:62%;height:62%}
html.light .cp-gen7-title{font-size:15px;font-weight:700;color:var(--ink)}
html.light .cp-gen7-status{font-size:12px;color:var(--muted)}
.cp-plan-badge{display:none!important}
html.light .cp-gen7-messages{background:var(--ground)}
html.light .cp-msg-bot .cp-msg-bubble{border-color:var(--line);color:var(--ink);box-shadow:none}
.cp-msg-user .cp-msg-bubble{background:var(--red)!important;color:#fff!important;box-shadow:none!important}
html.light .cp-gen7-chips{background:var(--surface);border-top:1px solid var(--line)}
html.light .cp-chip{background:var(--soft);border-color:var(--line);color:var(--ink);font-weight:600;white-space:nowrap;min-height:40px;text-decoration:none;display:inline-flex;align-items:center}
html.light .cp-chip:hover{background:var(--red-tint);border-color:var(--red);color:var(--red-press)}
html.light .cp-chip-primary{background:var(--red);border-color:var(--red);color:#fff}
html.light .cp-chip-primary:hover{background:var(--red-press);color:#fff}
html.light .cp-gen7-input-bar{background:var(--surface);border-top:1px solid var(--line);padding:12px 14px}
html.light .cp-gen7-input-bar input{background:var(--surface);border:1px solid var(--line);color:var(--ink);border-radius:12px;min-height:44px}
.cp-gen7-send-btn{background:var(--red)!important;box-shadow:none!important;font-weight:700!important;white-space:nowrap}
.cp-gen7-terminal h3,.cp-gen7-terminal button,.cp-gen7-terminal input{font-family:Cairo,system-ui,sans-serif}

/* ---------- Tablet ---------- */
@media (max-width:1023px){
  .site-header__in{gap:14px}
  .site-nav{gap:16px}
  .hero{padding-top:40px;gap:32px}
  .hero__text,.hero__media{flex-basis:100%}
  .hero__media{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
  .hero__media picture.is-low{margin-top:28px;margin-bottom:0}
  .hero{padding-bottom:56px}
  .expo__offer{margin-inline-start:0}
}
/* ---------- Phone ---------- */
@media (max-width:767px){
  :root{--gutter:16px}
  html{scroll-padding-top:16px}
  .site-header{position:static}
  .site-header__in{flex-wrap:wrap;gap:8px 10px;padding-block:10px 0;min-height:0}
  .brand img{height:24px}
  .site-header__actions{gap:8px}
  .site-header__actions .cp-btn{padding:0 14px}
  .site-nav{order:3;flex-basis:100%;justify-content:space-between;gap:8px;border-top:1px solid var(--soft);overflow-x:auto;scrollbar-width:none}
  .site-nav::-webkit-scrollbar{display:none}
  .hero{padding-top:28px;padding-bottom:32px;gap:24px}
  .hero__media{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hero__media picture{border-radius:18px}
  .hero__media picture.is-low{margin-top:24px;margin-bottom:-24px}
  .hero{padding-bottom:48px}
  .btn-row{gap:10px}
  .btn-row>.cp-btn{flex:1 1 0;min-width:0;padding:0 14px}
  .expo__in{flex-direction:column;align-items:flex-start;gap:6px;padding-block:18px}
  .expo strong,.expo__when{font-size:15px}
  .expo__offer{margin-inline-start:0;margin-top:6px;font-size:14px}
  #sellers{padding-top:44px}
  .section{padding-top:36px}
  .card,.plan{padding:18px;border-radius:18px}
  .plan--featured{padding:17px}
  .buyers{padding:24px 20px;border-radius:22px}
  .buyers__text{flex-basis:100%}
  .btn-row--stores{width:100%}
  .site-footer__in{flex-direction:column;align-items:flex-start;gap:4px}
  .footer__links{margin-inline-start:0}
  .chat-launcher{width:var(--btn-h);padding:0;justify-content:center}
  .chat-launcher span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .footer__copy{padding-bottom:84px}
  .chat-dock__close{display:none}
}
@media (max-width:359px){
  .brand img{height:20px}
  .site-header__actions .cp-btn{padding:0 10px;font-size:13px}
}
/* ---------- Motion (2026-10-10): transforms/opacity only, html.motion is set only when motion is allowed ---------- */
@keyframes cpUp{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:none}}
@keyframes cpPhoto{from{opacity:0;transform:translate3d(0,24px,0) scale(.97)}to{opacity:1;transform:none}}
@keyframes cpFloat{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-8px,0)}}
html.motion .hero__text>*{animation:cpUp .6s cubic-bezier(.2,.7,.2,1) both}
html.motion .hero__text>:nth-child(1){animation-delay:.05s}
html.motion .hero__text>:nth-child(2){animation-delay:.15s}
html.motion .hero__text>:nth-child(3){animation-delay:.25s}
html.motion .hero__text>:nth-child(4){animation-delay:.35s}
html.motion .hero__media picture{animation:cpPhoto .7s cubic-bezier(.2,.7,.2,1) both,cpFloat 6s ease-in-out infinite alternate}
html.motion .hero__media picture:nth-child(1){animation-delay:.2s,.9s}
html.motion .hero__media picture:nth-child(2){animation-delay:.32s,1.02s;animation-duration:.7s,7s}
html.motion .hero__media picture:nth-child(3){animation-delay:.44s,1.14s;animation-duration:.7s,6.5s}
html.motion .hero__media picture:nth-child(4){animation-delay:.56s,1.26s;animation-duration:.7s,7.5s}
.hero__media{will-change:transform}
html.motion-ready [data-reveal]{opacity:0;transform:translate3d(0,20px,0);transition:opacity .6s cubic-bezier(.2,.7,.2,1),transform .6s cubic-bezier(.2,.7,.2,1)}
html.motion-ready [data-reveal].is-in{opacity:1;transform:none}
html.motion-ready [data-reveal-group]>*{opacity:0}
html.motion-ready [data-reveal-group].is-in>*{opacity:1;animation:cpUp .6s cubic-bezier(.2,.7,.2,1) backwards;animation-delay:calc(var(--i,0)*90ms)}
/* hover lift (after reveal, so it does not fight the reveal transform) */
.card,.plan{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
html.motion-ready [data-reveal-group].is-in>.card:hover, html.motion-ready [data-reveal-group].is-in>.plan:hover,
html:not(.motion-ready) .card:hover, html:not(.motion-ready) .plan:hover{transform:translate3d(0,-4px,0);box-shadow:0 10px 24px rgba(31,28,27,.08)}
.cp-btn{transition:background-color .3s,border-color .3s,color .3s,transform .3s ease}
.cp-btn:hover{transform:translate3d(0,-1px,0)}
.cp-btn:active{transform:none}
.chat-launcher{transition:background-color .3s,transform .3s ease}
.chat-launcher:hover{transform:translate3d(0,-2px,0)}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  [data-reveal],[data-reveal-group]>*{opacity:1!important;transform:none!important}
  .card:hover,.plan:hover,.cp-btn:hover,.chat-launcher:hover{transform:none!important}
}
